CN113553371A - Block chain-based medical data processing method and device and computer equipment - Google Patents

Block chain-based medical data processing method and device and computer equipment Download PDF

Info

Publication number
CN113553371A
CN113553371A CN202010333832.0A CN202010333832A CN113553371A CN 113553371 A CN113553371 A CN 113553371A CN 202010333832 A CN202010333832 A CN 202010333832A CN 113553371 A CN113553371 A CN 113553371A
Authority
CN
China
Prior art keywords
detection
medical
node
standard
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
CN202010333832.0A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010333832.0A priority Critical patent/CN113553371A/en
Publication of CN113553371A publication Critical patent/CN113553371A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • 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
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Bioethics (AREA)
  • Accounting & Taxation (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Epidemiology (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The application relates to a medical data processing method and device based on a blockchain, computer equipment and a storage medium. The method comprises the following steps: acquiring medical detection data uploaded by detection equipment in a block chain network; acquiring medical detection standards uploaded by standard formulation nodes in the block chain network; matching the medical detection data with the medical detection standard to obtain a detection result; counting each detection result to obtain a statistical result, and sending the statistical result to a publishing node in the block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result. By adopting the method, the statistical efficiency can be improved, and the statistical result can be released in time.

Description

Block chain-based medical data processing method and device and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing medical data based on a blockchain, a computer device, and a storage medium.
Background
With the development of economy and society, countries and people are more concerned about medical health. For medical health, especially for some important medical data related to the life safety of the country and people, the country needs to timely and accurately publish the medical data to the public, so that the public can timely know some medical data, and thus, corresponding measures are taken. In the traditional statistical and publishing method of medical health data, the local health committee reports to the national health committee layer by layer, and then the national health committee makes statistics and publishes the statistics.
However, the current statistical method of medical health data has the problem of low efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for processing medical data based on a block chain, which can improve efficiency.
A blockchain-based medical data processing method, the method comprising:
acquiring medical detection data uploaded by detection equipment in a block chain network;
acquiring medical detection standards uploaded by standard formulation nodes in the block chain network;
matching the medical detection data with the medical detection standard to obtain a detection result;
counting each detection result to obtain a statistical result, and sending the statistical result to a publishing node in the block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result.
A blockchain-based medical data processing apparatus, the apparatus comprising:
the medical detection data acquisition module is used for acquiring medical detection data uploaded by detection equipment in the block chain network;
the medical detection standard acquisition module is used for acquiring a medical detection standard uploaded by a standard formulation node in the block chain network;
the matching module is used for matching the medical detection data with the medical detection standard to obtain a detection result;
the statistical module is used for counting each detection result to obtain a statistical result and sending the statistical result to a publishing node in the block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when executing the computer program.
A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
The medical data processing method and device based on the blockchain, the computer equipment and the storage medium acquire medical detection data uploaded by detection equipment in the blockchain network; acquiring a medical detection standard uploaded by a standard formulation node in a block chain network; matching the medical detection data with the medical detection standard to obtain a detection result; the detection results are obtained and counted, so that the counting result can be directly obtained, the problem that the detection results are finally organized and summarized by a superior level through layer-by-layer reporting is avoided, the counting efficiency can be improved, and the counting result is sent to a publishing node in a block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result in time.
Moreover, each node in the block chain network stores the same data of the detection result, and the detection results are counted based on the block chain network, so that the reliability is high, the problems of artificial misoperation, error counting, error reporting and the like can be avoided, and the accuracy of the counting results is improved.
Drawings
FIG. 1 is a diagram of an embodiment of an application environment of a blockchain-based medical data processing method;
FIG. 2 is a block chain system with a distributed system according to one embodiment;
FIG. 3 is a block diagram of an embodiment;
FIG. 4 is a flow diagram illustrating a method for blockchain-based medical data processing according to one embodiment;
FIG. 5 is a flowchart illustrating the step of updating the detection result according to an embodiment;
FIG. 6 is a block diagram of a blockchain-based medical data processing apparatus according to an embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The block chain-based medical data processing method provided by the application can be applied to the application environment shown in fig. 1. Each node in the block chain network comprises a node where the detection equipment is located, a standard making node and a publishing node. Acquiring medical detection data uploaded by detection equipment in the blockchain network by computer equipment where a computing node in the blockchain network is located; acquiring a medical detection standard uploaded by a standard formulation node in a block chain network; matching the medical detection data with the medical detection standard to obtain a detection result; counting each detection result to obtain a statistical result, and sending the statistical result to a publishing node in the block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result. Wherein, the computing node can be set as any one node in the block chain network.
Each node in the blockchain network may be any form of computer device in the access network, such as a server and a user terminal. The user terminal may be, but not limited to, various detection devices, a personal computer, a notebook computer, a smart phone, a tablet computer, and a portable wearable device, and the server may be implemented by an independent server or a server cluster formed by a plurality of servers.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block.
Taking a distributed system as an example of a blockchain system, referring To fig. 2, fig. 2 is an optional structural schematic diagram of a blockchain system To which a distributed system 202 provided by the embodiment of the present invention is applied, where the blockchain system is formed by a plurality of nodes 204 (computer devices in any form in an access network, such as servers and user terminals), a Peer-To-Peer (P2P, Peer To Peer) network is formed between the nodes, and a P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, and the node comprises a hardware layer, a middle layer, an operating system layer and an application layer.
Referring to the functions of each node in the blockchain system shown in fig. 2, the functions involved include:
1) routing, a basic function that a node has, is used to support communication between nodes.
Besides the routing function, the node may also have the following functions:
2) the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization functions to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain system, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.
For example, the services implemented by the application include:
2.1) wallet, for providing the function of transaction of electronic money, including initiating transaction (i.e. sending the transaction record of current transaction to other nodes in the blockchain system, after the other nodes are successfully verified, storing the record data of transaction in the temporary blocks of the blockchain as the response of confirming the transaction is valid; of course, the wallet also supports the querying of the remaining electronic money in the electronic money address;
and 2.2) sharing the account book, wherein the shared account book is used for providing functions of operations such as storage, query and modification of account data, record data of the operations on the account data are sent to other nodes in the block chain system, and after the other nodes verify the validity, the record data are stored in a temporary block as a response for acknowledging that the account data are valid, and confirmation can be sent to the node initiating the operations.
2.3) Intelligent contracts, computerized agreements, which can enforce the terms of a contract, implemented by codes deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions according to actual business requirement codes, such as querying the logistics status of goods purchased by a buyer, transferring the buyer's electronic money to the merchant's address after the buyer signs for the goods; of course, smart contracts are not limited to executing contracts for trading, but may also execute contracts that process received information.
3) And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and recorded data submitted by nodes in the Block chain system are recorded in the blocks.
Referring to fig. 3, fig. 3 is an optional schematic diagram of a Block Structure (Block Structure) according to an embodiment of the present invention, where each Block includes a hash value of a transaction record stored in the Block (hash value of the Block) and a hash value of a previous Block, and the blocks are connected by the hash values to form a Block chain. The block may include information such as a time stamp at the time of block generation.
In one embodiment, as shown in fig. 4, a method for processing medical data based on a blockchain is provided, which is described by taking the method as an example applied to a computer device where any one of the nodes in fig. 1 is located, and includes the following steps:
step 402, acquiring medical detection data uploaded by detection equipment in a block chain network.
The detection device is connected to the blockchain, i.e. the detection device is a node in the blockchain network and can communicate with other nodes in the blockchain network. The medical examination data refers to examination-derived medical data. For example, the medical test data are 2019-nCoV virus test positive, 2019-nCoV virus test positive test negative, leukocyte count: 7X 109/L, and so on.
The number of detection devices connected to the blockchain network may be one or more. After each detection device acquires the medical detection data, the medical detection data is uploaded to the block chain network, and then the computer device can acquire the medical detection data.
The blockchain network comprises a plurality of nodes, each node can receive input information during normal operation, and the shared data in the blockchain network is maintained based on the received input information. In order to ensure information intercommunication in the blockchain network, information connection can exist between each node in the blockchain network, and information transmission can be carried out between the nodes through the information connection. For example, when any node in the blockchain network receives medical detection data, other nodes in the blockchain network acquire the medical detection data according to a consensus algorithm, and store the medical detection data as data in shared data, so that the data stored in all nodes in the blockchain network are consistent.
Each node in the block chain network has a corresponding node identifier, and each node in the data sharing system can store the node identifiers of other nodes in the block chain network, so that the generated block can be broadcast to other nodes in the block chain network according to the node identifiers of other nodes. Each node may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
Figure BDA0002465900460000051
Figure BDA0002465900460000061
And step 404, acquiring medical detection standards uploaded by standard formulation nodes in the block chain network.
The standard making node refers to a node making a detection standard. It can be understood that, in order to match the nodes with the same medical detection standard, a standard-making node is set in the blockchain network, and the medical detection standard is issued or uploaded through the standard-making node. For example, the standards-making node may be a computer device of the national health commission, or a computer device of the provincial health commission.
The computer device can obtain the medical detection standard uploaded by the standard-making node. The medical detection standard is that, for example, the medical detection data of the same detected person which is identified twice (with the interval of more than 24 hours) is positive, and the detected person is identified as a confirmed case; the white blood cell count in the range of (1-10)109/L is normal.
And 406, matching the medical detection data with the medical detection standard to obtain a detection result.
Specifically, the computer equipment sequentially obtains a first type of each subdata from the medical detection data, searches a standard matching item matched with the first type from the medical detection standard as a target matching item, and matches the target matching item with the subdata to obtain a subdetection result; and obtaining a detection result based on each sub-detection result.
The medical examination data includes at least one sub-data. Accordingly, at least one criteria match is included in the medical test criteria. The subdata corresponds to the standard matching items one by one. A first type of subdata, such as 2019-nCoV virus assay, white blood cell count, platelet count, and the like.
Further, after obtaining the detection result, the computer device uploads the detection result to the block chain network. Specifically, the computer device obtains node identifiers of other nodes in the block chain network, and sends the detection result to the node where the node identifier is located.
Step 408, counting each detection result to obtain a statistical result, and sending the statistical result to a publishing node in the block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result.
In the blockchain network, one of the nodes may be designated as a publishing node for publishing the statistical result.
The computer device where the publishing node in the block chain network is located may be a computer device where the national health committee is located, and the statistical result may be published to various media, such as to a television, to social media, and the like, by the computer device.
Specifically, the computer device obtains each detection result, and counts each detection result to obtain a statistical result. Optionally, the statistical results may be summarized according to regions, or may be summarized according to the identification of the detection physician corresponding to the detection device, or may be summarized according to a time sequence, which is not limited to this.
In another embodiment, when the publishing request is acquired, the statistical result is sent to the publishing node in the block chain network according to the publishing request; and the statistical result is used for indicating the publishing node to publish the statistical result.
Alternatively, the issue request may be generated by an instruction input by a user, or may be generated at intervals of a preset duration. When the computer equipment acquires the release request, the computer equipment acquires the latest statistical result, sends the latest statistical result to the release node in the block chain network and releases the latest statistical result through the release node.
For example, when a major emergency occurs, the statistical result needs to be issued in time, and at this time, the user may actively input an issuing instruction, the computer device generates an issuing request according to the received issuing instruction, acquires the latest statistical result according to the issuing request, and sends the statistical result to the issuing node for issuing. The issuing instruction may be a preset command such as "issue statistics", or may be a click instruction to an "issue" button in a display interface of the computer device, and so on.
For another example, in a normal period, a specified time point is set to issue a statistical result, and if the statistical result is issued at eight morning points each day, an issue request is generated at eight morning points each day, and the computer device obtains the statistical result according to the issue request and sends the statistical result to the issue node for issue.
According to the medical data processing method based on the block chain, medical detection data uploaded by detection equipment connected in a block chain network are acquired; acquiring a medical detection standard uploaded by a standard formulation node in a block chain network; matching the medical detection data with the medical detection standard to obtain a detection result; the detection results are obtained and counted, so that the counting result can be directly obtained, the problem that the detection results are finally organized and summarized by a superior level through layer-by-layer reporting is avoided, the counting efficiency can be improved, and the counting result is sent to a publishing node in a block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result in time.
Moreover, each node in the block chain network stores the same data of the detection result, and the detection results are counted based on the block chain network, so that the reliability is high, the problems of artificial misoperation, error counting, error reporting and the like can be avoided, and the accuracy of the counting results is improved.
In one embodiment, before acquiring the medical detection standard uploaded by the standard-making node in the blockchain network, the method further includes: acquiring a medical detection standard through a standard formulation node in a block chain network; when the standard establishing node acquires an input first key, matching the first key with a first reference key; and when the matching is successful, acquiring the first identifications of other nodes except the standard formulation node in the block chain network through the standard formulation node, and sending the medical detection standard to the node where each first identification in the block chain is located.
The first key may include at least one of numbers, letters, voice, etc., and may also be a biometric key, such as a fingerprint, a human face, etc., without being limited thereto. The first reference key is a key pre-stored in the computer device for matching with the first key. The standard-making node also has a corresponding account, namely a public key, and a corresponding private key, namely a first key.
The method comprises the steps that the computer equipment where the standard formulation node is located obtains a private key signature input by a user, the private key signature is a first secret key, and the private key signature is matched with a first reference secret key which is stored in the computer equipment where the standard formulation node is located in advance. The user may be an official of the national health commission, an engineer maintaining a computer device in which the standard-setting node is located, or the like.
When the first key is successfully matched with the first reference key, the identity of the first key is verified, and the medical detection standard can be uploaded to the block chain network through the standard establishing node, so that the safety of the medical detection standard can be ensured, and other personnel can be prevented from uploading wrong data to the block chain network.
Further, when the matching is successful, the computer device may encrypt the medical detection standard by using the first key to obtain a first ciphertext, and send the first ciphertext to the node where each first identifier is located in the block chain; and when the node where the first identifier is located receives the first ciphertext, decrypting the first ciphertext by adopting a first public key corresponding to the first secret key to obtain the medical detection standard. The first public key may be one of an account identifier of the standard-making node, an identifier of a computer device in which the standard-making node is located, and the like.
It can be understood that each node in the blockchain network includes the public key of other nodes, and similarly, the node where each first identifier is located in the blockchain network also includes the first public key of the standard-making node. The first public key corresponds to the first private key, i.e. the first private key is used to encrypt data, and the first public key can decrypt the encrypted data. When the node where the first identifier is located receives the first ciphertext, the first public key is adopted to decrypt the first ciphertext, and plaintext data, namely medical detection standards, can be obtained.
In one embodiment, the method further comprises: acquiring a new medical detection standard when the medical detection standard is changed; and matching the medical detection data with the medical detection standard to obtain a detection result based on the new medical detection standard.
It will be appreciated that as medical data, viruses or diseases are further studied, the criteria for medical testing may be altered accordingly in order to test more accurate results. When the medical detection standard changes, the computer equipment acquires the new medical detection standard, and matches the medical detection data with the new medical detection standard based on the new medical detection standard to obtain a new detection result.
Further, after acquiring the new medical detection standard, the method further comprises: when the standard establishing node acquires an input first key, matching the first key with a first reference key; when the matching is successful, uploading the new medical detection standard to a block chain network through a standard establishing node; and when the matching is unsuccessful, generating prompt information through the standard formulating node. The prompt message is used to prompt that the first key used for input is inaccurate and needs to be re-input.
In one embodiment, as shown in fig. 5, the method further includes:
step 502, obtaining a preset timestamp.
The time stamp is preset, for example, 2020/4/2117: 06. The preset time stamp may be the current time, or may be any time before the current time, and may be set as needed.
Step 504, medical detection data before a preset time stamp is acquired.
And step 506, matching the medical detection data before the preset time stamp with the new medical detection standard to obtain a new detection result.
Between the preset time stamps, the computer equipment is matched by adopting the original medical detection standard, so that the obtained detection result is also obtained based on the original medical detection standard. In order to update the corresponding detection result before the preset timestamp, the computer device needs to reacquire the medical detection data before the preset timestamp, and match the medical detection data before the preset timestamp with the new medical detection standard to obtain a new detection result.
And step 508, updating the corresponding detection result before the preset timestamp based on the new detection result.
The computer device may update the new detection result by replacing the corresponding detection result before the preset timestamp.
In this embodiment, a preset timestamp is obtained; acquiring medical detection data before a preset timestamp; the medical detection data before the preset timestamp is matched with the new medical detection standard to obtain a new detection result, the new detection result obtained by matching the new medical detection standard can be obtained, the corresponding detection result before the preset timestamp is updated, when the detection result is inquired again, the new detection result is inquired, and the latest and accurate detection result can be obtained.
In one embodiment, before acquiring medical test data uploaded by a test device in a blockchain network, the method further includes: obtaining a detection sample through detection equipment; when the detection equipment acquires an input second key, matching the second key with a second reference key; when the matching is successful, detecting the detection sample through detection equipment to obtain medical detection data; and acquiring second identifications of other nodes except the detection equipment in the blockchain network through the detection equipment, and sending the medical detection data to the nodes where the second identifications are located in the blockchain network.
The test sample refers to a sample for testing, such as blood, saliva, etc., of a subject. The second key may include at least one of numbers, letters, voice, etc., and may also be a biometric key, such as a fingerprint of a detecting physician, a human face, etc., without being limited thereto. Alternatively, the second key may be a key of a detecting physician for which the detecting device is responsible, such as a key signature of the detecting physician, or may be a key of a detected person, such as a fingerprint of the detected person, without being limited thereto. The second reference key is a key pre-stored in the computer device for matching with the second key.
When the second key is successfully matched with the second reference key, the identity of the second key is verified, a detection process can be executed through the detection equipment, the detection sample is detected, medical detection data are obtained, the detection safety can be guaranteed, and other personnel are prevented from operating the detection equipment.
After the detection device obtains the detection sample, when a private key signature input by a detection doctor is obtained, the private key signature is a second secret key, the private key signature is matched with a second reference secret key stored in the detection device in advance, and when the matching is successful, the detection sample is detected.
Further, after the detecting device obtains the second identifier of the node in the blockchain network except the detecting device, the method further includes: the computer equipment encrypts the medical detection data by adopting a second secret key to obtain a second ciphertext; the step of sending the medical detection data to the node where each second identifier in the block chain network is located includes: sending the second ciphertext to the node where each second identifier is located in the block chain network; and when the node where the second identifier is located receives the second ciphertext, decrypting the second ciphertext by adopting a second public key corresponding to the second secret key to obtain the medical detection data. The second public key may be one of an identification of the detection device, an identification of a detection physician for whom the detection device is responsible, and the like.
It can be understood that each node in the blockchain network includes the public key of other nodes, and similarly, the node where each second identifier is located in the blockchain network also includes the second public key of the detection device. The second public key corresponds to the second private key, i.e. the second private key is used for encrypting data, and the second public key can decrypt the encrypted data. When the node where the second identifier is located receives the second ciphertext, the second public key is adopted to decrypt the second ciphertext, and plaintext data, namely medical detection data, can be obtained.
Further, identity information of the detected person is obtained through the detection equipment; the identity information of the detected person and the medical detection data are in corresponding relation, so that the data can be summarized and the detection result of the detected person can be inquired conveniently and subsequently according to the identity information of the detected person. The identity information of the detected person includes name, age, area, ID card number, etc. The current timestamp, the identification of the detecting physician, etc. can also be obtained by the detecting device.
The identification of a detection doctor can be obtained through the detection equipment; the corresponding relation is established between the identification of the detecting physician and the medical detection data, so that the data can be summarized according to the identification of the detecting physician and the detection result of the detection in charge of the identification of the detecting physician can be inquired.
In one embodiment, the method further comprises: acquiring each detection result obtained by each node in the block chain network; generating blocks based on each detection result, and sending the blocks to each node in the block chain network; the method comprises the steps of obtaining a block aiming at each node in a block chain network, comparing each detection result included in the block with a detection result stored in the node, removing repeated detection results in the block, and storing the rest detection results in the block into the node.
Specifically, the computer device may receive the detection results sent by other nodes and the detection results obtained by the node where the computer device is located, generate blocks from the detection results, and send the blocks to the nodes in the block chain network. After removing the duplicate detection results in the block for each node in the blockchain network, further, the latest detection result may be obtained from the remaining detection results, and stored in the node after consensus.
In one implementation, each detection result obtained by each node in a block chain network in a preset time length is obtained; and generating blocks based on each detection result in the preset time length. In another embodiment, the data volume of each detection result is counted in real time; when the data amount reaches the data amount threshold, a block is generated based on the obtained respective detection results.
In the embodiment, each detection result obtained by each node in the block chain network is obtained; generating blocks based on each detection result, and sending the blocks to each node in the block chain network; the block is acquired aiming at each node in the block chain network, each detection result included in the block is compared with the detection result stored in the node, repeated detection results in the block are removed, and the rest detection results in the block are stored in the node, so that the data in each node in the block chain network can be ensured to be the same, the risks of tampering and losing the data are avoided, and the safety of the data is improved.
In one embodiment, counting the detection results to obtain a statistical result, including: screening the detection results to obtain target detection results; the target detection result indicates that the detected person corresponding to the medical detection data is abnormal; and counting the detection results of each target according to the identification of the detection doctor corresponding to the region or the detection equipment to obtain a statistical result.
The target detection result indicates that the detected person corresponding to the medical detection data is abnormal, namely the detected person is diseased.
In the detection result, a label of the detection result may be included, and it is determined whether the detection result is the target detection result based on the label of the detection result. For example, when the label of the detection result is negative, the detection result is not the target detection result; when the label of the detection result is positive, the detection result is a target detection result.
In one embodiment, the computer device classifies the target detection results according to regions, and counts the target detection results of the regions to obtain a statistical result. For example, province A shares 100 target detection results, and province B shares 90 target detection results.
In another embodiment, the computer device classifies each target detection result according to the identification of the detection physician corresponding to the detection device, and counts the target detection results corresponding to the identification of each detection physician to obtain a statistical result. For example, a detects 100 target detection results and B detects 90 target detection results.
In this embodiment, the computer device screens each detection result to obtain a target detection result; the target detection result indicates that the detected person corresponding to the medical detection data is abnormal; and counting each target detection result according to the identification of the detection doctor corresponding to the region or the detection equipment to obtain a statistical result, and obtaining the target detection result detected by each region or the detection doctor, so that the statistical result is generated more accurately and is used for prompting people to protect. After the statistical results are obtained, the medical personnel can take further action based on the statistical results.
The application also provides an application scenario applying the medical data processing method based on the block chain. Specifically, the application of the block chain-based medical data processing method in the application scenario is as follows:
a standard setting node where national health service committee in a block chain network is located acquires a medical detection standard; when the standard establishing node acquires an input first key, matching the first key with a first reference key; and when the matching is successful, acquiring the first identifications of other nodes except the standard formulation node in the block chain network through the standard formulation node where the national health committee is located, and sending the medical detection standard to the node where each first identification is located in the block chain network.
A detection device node in a block chain network obtains a detection sample; when the detection equipment acquires an input second key, matching the second key with a second reference key; when the matching is successful, executing a detection process through detection equipment, and detecting a detection sample to obtain medical detection data; and acquiring second identifications of other nodes except the detection equipment in the blockchain network through the detection equipment, and sending the medical detection data to the nodes where the second identifications are located in the blockchain network.
A computer equipment node in the blockchain network acquires medical detection data sent by detection equipment in the blockchain network, and acquires a medical detection standard sent by a standard formulation node in the blockchain network; and matching the medical detection data with the medical detection standard to obtain a detection result.
When the computer equipment node monitors that the medical detection standard is changed, acquiring a new medical detection standard; and matching the medical detection data with the new medical detection standard based on the new medical detection standard to obtain a detection result.
The computer equipment node acquires a preset timestamp; acquiring medical detection data before a preset timestamp; matching the medical detection data before the preset timestamp with a new medical detection standard to obtain a new detection result; and updating the corresponding detection result before the preset timestamp based on the new detection result.
The method comprises the steps that a computer equipment node obtains each detection result obtained by each node in a block chain network; generating blocks based on each detection result, and sending the blocks to each node in the block chain network; the method comprises the steps of obtaining a block aiming at each node in a block chain network, comparing each detection result included in the block with a detection result stored in the node, removing repeated detection results in the block, and storing the rest detection results in the block into the node.
The computer equipment node screens all detection results to obtain target detection results; the target detection result indicates that the detected person corresponding to the medical detection data is abnormal; and counting the detection results of each target according to the identification of the detection doctor corresponding to the region or the detection equipment to obtain a statistical result, and sending the statistical result to a publishing node in the block chain network.
And after the distribution node in the block chain network obtains the statistical result, distributing the statistical result.
It should be understood that although the steps in the flowcharts of fig. 4 and 5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 4 and 5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 6, there is provided a blockchain-based medical data processing apparatus 600, which may be a part of a computer device using software modules or hardware modules, or a combination of the two, specifically comprising: a medical examination data acquisition module 602, a medical examination criteria acquisition module 604, a matching module 606, and a statistics module 608, wherein:
a medical detection data obtaining module 602, configured to obtain medical detection data uploaded by a detection device in the blockchain network.
A medical detection standard obtaining module 604, configured to obtain a medical detection standard uploaded by a standard-making node in the blockchain network.
And the matching module 606 is used for matching the medical detection data with the medical detection standard to obtain a detection result.
A counting module 608, configured to count each detection result to obtain a statistical result, and send the statistical result to a publishing node in the block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result.
The block chain-based medical data processing device acquires medical detection data uploaded by detection equipment in a block chain network; acquiring a medical detection standard uploaded by a standard formulation node in a block chain network; matching the medical detection data with the medical detection standard to obtain a detection result; the detection results are obtained and counted, so that the counting result can be directly obtained, the problem that the detection results are finally organized and summarized by a superior level through layer-by-layer reporting is avoided, the counting efficiency can be improved, and the counting result is sent to a publishing node in a block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result in time.
Moreover, each node in the block chain network stores the same data of the detection result, and the detection results are counted based on the block chain network, so that the reliability is high, the problems of artificial misoperation, error counting, error reporting and the like can be avoided, and the accuracy of the counting results is improved.
In one embodiment, the above medical data processing apparatus 600 based on a blockchain further includes a medical detection standard uploading module, configured to obtain a medical detection standard through a standard-making node in a blockchain network; when the standard establishing node acquires an input first key, matching the first key with a first reference key; and when the matching is successful, acquiring the first identifications of other nodes except the standard formulation node in the block chain network through the standard formulation node, and sending the medical detection standard to the node where each first identification in the block chain is located.
In one embodiment, the medical examination criteria obtaining module 604 is further configured to obtain a new medical examination criteria when the medical examination criteria changes; and matching the medical detection data with the medical detection standard through the matching module 606 based on the new medical detection standard to obtain a detection result.
In one embodiment, the above block chain-based medical data processing apparatus 600 further includes an updating module, configured to obtain a preset timestamp; acquiring medical detection data before a preset timestamp; matching the medical detection data before the preset timestamp with a new medical detection standard to obtain a new detection result; and updating the corresponding detection result before the preset timestamp based on the new detection result.
In one embodiment, the block chain-based medical data processing apparatus 600 further includes a medical test data uploading module, configured to obtain a test sample through a testing device; when the detection equipment acquires an input second key, matching the second key with a second reference key; when the matching is successful, detecting the detection sample through detection equipment to obtain medical detection data; and acquiring second identifications of other nodes except the detection equipment in the blockchain network through the detection equipment, and sending the medical detection data to the nodes where the second identifications are located in the blockchain network.
In one embodiment, the device 600 for processing medical data based on a blockchain further includes a storage module, configured to obtain each detection result obtained by each node in the blockchain network; generating blocks based on each detection result, and sending the blocks to each node in the block chain network; the method comprises the steps of obtaining a block aiming at each node in a block chain network, comparing each detection result included in the block with a detection result stored in the node, removing repeated detection results in the block, and storing the rest detection results in the block into the node.
In an embodiment, the statistical module 608 is further configured to filter the detection results to obtain target detection results; the target detection result indicates that the detected person corresponding to the medical detection data is abnormal; and counting the detection results of each target according to the identification of the detection doctor corresponding to the region or the detection equipment to obtain a statistical result.
For specific limitations of the blockchain-based medical data processing apparatus, reference may be made to the above limitations of the blockchain-based medical data processing method, which are not described herein again. The modules in the above block chain-based medical data processing apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a blockchain-based medical data processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for processing medical data based on a blockchain, the method comprising:
acquiring medical detection data uploaded by detection equipment in a block chain network;
acquiring medical detection standards uploaded by standard formulation nodes in the block chain network;
matching the medical detection data with the medical detection standard to obtain a detection result;
counting each detection result to obtain a statistical result, and sending the statistical result to a publishing node in the block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result.
2. The method according to claim 1, wherein before acquiring the medical detection standard uploaded by the standard-making node in the blockchain network, the method further comprises:
acquiring a medical detection standard through a standard formulation node in the block chain network;
when the standard establishing node acquires an input first key, matching the first key with a first reference key;
and when the matching is successful, acquiring the first identifications of other nodes except the standard formulation node in the block chain network through the standard formulation node, and sending the medical detection standard to the node where each first identification is located in the block chain.
3. The method of claim 1, further comprising:
when the medical detection standard is changed, acquiring a new medical detection standard;
and executing the step of matching the medical detection data with the medical detection standard to obtain a detection result based on the new medical detection standard.
4. The method of claim 3, further comprising:
acquiring a preset timestamp;
acquiring medical detection data before the preset timestamp;
matching the medical detection data before the preset timestamp with the new medical detection standard to obtain a new detection result;
and updating the corresponding detection result before the preset timestamp based on the new detection result.
5. The method of claim 1, wherein before acquiring the medical test data uploaded by the test devices in the blockchain network, further comprising:
obtaining a detection sample through detection equipment;
when the detection equipment acquires an input second key, matching the second key with a second reference key;
when the matching is successful, detecting the detection sample through the detection equipment to obtain medical detection data;
and acquiring second identifications of other nodes except the detection equipment in the block chain network through the detection equipment, and sending the medical detection data to the nodes where the second identifications are located in the block chain network.
6. The method of claim 1, further comprising:
obtaining each detection result obtained by each node in the block chain network;
generating blocks based on the detection results, and sending the blocks to the nodes in the block chain network;
the block is acquired for each node in the block chain network, each detection result included in the block is compared with the detection result stored in the node, repeated detection results in the block are removed, and the remaining detection results in the block are stored in the node.
7. The method of claim 1, wherein said counting each of said detection results to obtain a statistical result comprises:
screening the detection results to obtain target detection results; the target detection result indicates that the detected person corresponding to the medical detection data is abnormal;
and counting the detection results of each target according to the area or the identification of the detection doctor corresponding to the detection equipment to obtain a statistical result.
8. A blockchain-based medical data processing apparatus, the apparatus comprising:
the medical detection data acquisition module is used for acquiring medical detection data uploaded by detection equipment in the block chain network;
the medical detection standard acquisition module is used for acquiring a medical detection standard uploaded by a standard formulation node in the block chain network;
the matching module is used for matching the medical detection data with the medical detection standard to obtain a detection result;
the statistical module is used for counting each detection result to obtain a statistical result and sending the statistical result to a publishing node in the block chain network; and the statistical result is used for indicating the publishing node to publish the statistical result.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202010333832.0A 2020-04-24 2020-04-24 Block chain-based medical data processing method and device and computer equipment Pending CN113553371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010333832.0A CN113553371A (en) 2020-04-24 2020-04-24 Block chain-based medical data processing method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010333832.0A CN113553371A (en) 2020-04-24 2020-04-24 Block chain-based medical data processing method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN113553371A true CN113553371A (en) 2021-10-26

Family

ID=78101286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010333832.0A Pending CN113553371A (en) 2020-04-24 2020-04-24 Block chain-based medical data processing method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN113553371A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116596197A (en) * 2023-07-18 2023-08-15 青岛博什兰物联技术有限公司 Standard public service platform based on block chain technology

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116596197A (en) * 2023-07-18 2023-08-15 青岛博什兰物联技术有限公司 Standard public service platform based on block chain technology

Similar Documents

Publication Publication Date Title
Ismail et al. Lightweight blockchain for healthcare
US11689362B2 (en) Distributed ledger for generating and verifying random sequence
CN108846010B (en) Method, system, computer system and storage medium for tracing product source in network
CN111556120B (en) Data processing method and device based on block chain, storage medium and equipment
US8042193B1 (en) Systems and methods for controlling data access by use of a universal anonymous identifier
CN110602217B (en) Block chain-based alliance management method, device, equipment and storage medium
CN111314067B (en) Block storage method and device, computer equipment and storage medium
WO2019072823A1 (en) Method and system for asynchronous traceable data sharing in a communication network
CN111881481A (en) Block chain-based medical data processing method, device, equipment and storage medium
CN111488372A (en) Data processing method, device and storage medium
CN112202779B (en) Block chain based information encryption method, device, equipment and medium
US20220158840A1 (en) Methods and systems for exchanging confidential information via a blockchain
CN110968644A (en) Data processing method and equipment
CN111340483A (en) Data management method based on block chain and related equipment
CN110689348A (en) Income verification method, device, terminal and medium based on alliance chain
CN112165383B (en) Encryption method, device, equipment and medium based on shared root key
CN113688430A (en) Block chain-based data access authorization method, device, equipment and storage medium
CN113553371A (en) Block chain-based medical data processing method and device and computer equipment
US11477611B2 (en) System and method for verifiably proving proximity
WO2024104901A1 (en) Method and system for re-associating anonymised data with a data owner
CN111259075A (en) Block chain-based medical information generation method, device, equipment and storage medium
CN112286703B (en) User classification method and device, client device and readable storage medium
CN111652740B (en) Method and device for monitoring online behavior, computer equipment and storage medium
CN113538019A (en) Food traceability information evidence storing method and device
JP2023505686A (en) Partner anonymization

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