CN110289060A - A kind of personal medical data storage method under the chain based on random Merkle tree - Google Patents

A kind of personal medical data storage method under the chain based on random Merkle tree Download PDF

Info

Publication number
CN110289060A
CN110289060A CN201910535720.0A CN201910535720A CN110289060A CN 110289060 A CN110289060 A CN 110289060A CN 201910535720 A CN201910535720 A CN 201910535720A CN 110289060 A CN110289060 A CN 110289060A
Authority
CN
China
Prior art keywords
data
block
merkle tree
random
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
CN201910535720.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.)
Fuzhou Institute Of Data Technology Co Ltd
Original Assignee
Fuzhou Institute Of Data 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 Fuzhou Institute Of Data Technology Co Ltd filed Critical Fuzhou Institute Of Data Technology Co Ltd
Priority to CN201910535720.0A priority Critical patent/CN110289060A/en
Publication of CN110289060A publication Critical patent/CN110289060A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/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/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
    • 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
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Epidemiology (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Storage Device Security (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses a kind of personal medical data storage method under the chain based on random Merkle tree, the random piecemeal of data of storage, then the data block randomly ordered to its establishes a Merkle tree, only Merkle tree root Hash can be stored on block chain, and randomly ordered data block will store under chain, the sequence of data block is encrypted by the public key of data owner and is stored on block chain, data owner itself is decrypted sequence ciphertext using the private key of their own, then acquisition initial data is reconstructed to randomly ordered data block according to the former sequence that decryption obtains, ensure that initial data will not be revealed in data storage procedure under chain.The present invention uses block chain using distributed storage, Merkle tree, random data block sequencing to solve the scalability problem of block chain, while can guarantee that data can not be distorted and be can verify that in fly-by-night network environment.

Description

A kind of personal medical data storage method under the chain based on random Merkle tree
Technical field
The present invention relates to personal under medical data secure storage field more particularly to a kind of chain based on random Merkle tree Medical data storage method.
Background technique
Currently, people often go to a doctor in multiple hospitals, but the Personal medical data between multiple hospitals is not It mutually circulates, this all causes a degree of trouble for the health of diagnosis, medical institutions or individual.It there is now base In a series of data sharing proposition solutions of the block catenary system for Personal medical data between each medical institutions, but that A little methods have been unable to meet the rapid growth of current medical data, and Personal medical data amount is huge, and current block catenary system Mostly be all it is non-expandable, cause performance with data increase and decline.
Summary of the invention
The purpose of the present invention is to provide a kind of medical data storage methods personal under chain based on random Merkle tree.
The technical solution adopted by the present invention is that:
A kind of personal medical data storage method under the chain based on random Merkle tree comprising data storage section and data are asked Part is asked,
Specific step is as follows for data storage:
Step 1-1 obtains the medical data that data owner is transmitted to block catenary system,
The random piecemeal of medical data is formed several data blocks by step 1-2, and data block is randomly ordered,
Step 1-3 establishes a Merkle tree to randomly ordered data block,
Merkle tree root Hash is stored on block chain by step 1-4,
Step 1-5 carries out encryption generation to the sequence of data block using the public key of data requester and contains the close of block sequencing Text,
Step 1-6, will be in randomly ordered data block storage to the trusted node of block chain;
Step 1-7, Merkle root cryptographic Hash, ciphertext and the nodal information of storage are generated block, and there are on block chain;
Specific step is as follows for request of data:
Step 2-1, data requester find data record to be used using intelligent contract;
Step 2-2 judges whether data requester is data owner;It is then, to execute step 2-3;Otherwise, intelligent conjunction is first passed through Step 2-3 is executed after about being authorized again;
Step 2-3, intelligent contract find data record to be used and corresponding randomly ordered by obtaining from the node of storage Data block;
Sequence ciphertext is decrypted in the private key of step 2-4, intelligent contract data requester, suitable based on the data block after decryption The randomly ordered data block of ordered pair is reconstructed to obtain workable data;
Step 2-5 gives workable Data Concurrent to data requester.
Further, data owner is personal or hospital institution in step 1-1.
Further, trusted node is personal data center or credible medical institutions in step 1-7.
Further, data record to be used is that certain data records or personal data record in step 2-1.
Further, the data obtained in step 2-3 using the Merkle root cryptographic Hash verifying in data record to be used Whether block is modified.
Further, being obtained in step 2-4 using the Merkle root cryptographic Hash verifying reconstruct in data record to be used can The integrality of the data used.
The invention adopts the above technical scheme, proposes storage method under safe chain, greatly improves depositing for block chain It stores up performance and provides the reliable shared of Personal medical data on the whole.The present invention using distributed storage, Merkle tree, with Machine block sequencing uses block chain to solve (storage) scalability problem of block chain, while can guarantee fly-by-night Data can not be distorted and be can verify that in network environment.
Detailed description of the invention
The present invention is described in further details below in conjunction with the drawings and specific embodiments;
Fig. 1 is the flow diagram of personal medical data storage method under a kind of chain based on random Merkle tree of the present invention.
Specific embodiment
As shown in Figure 1, the invention discloses a kind of medical data storage method personal under chain based on random Merkle tree, It includes data storage section and data-request parts,
Specific step is as follows for data storage:
Step 1-1 obtains the medical data that data owner is transmitted to block catenary system,
The random piecemeal of medical data is formed several data blocks by step 1-2, and data block is randomly ordered;Step 1-3, to The data block of machine sequence establishes a Merkle tree,
Merkle tree root Hash is stored on block chain by step 1-4,
Step 1-5 carries out encryption generation to the sequence of data block using the public key of data requester and contains the close of block sequencing Text,
Step 1-6, will be in randomly ordered data block storage to the trusted node of block chain;Storage reduces area under the chain of data block The storage of block chain main chain relies on, and improves block catenary system overall performance.And piecemeal store Personal medical data realize safety altogether It enjoys, storage Central Plains data will not be revealed.
Step 1-7, Merkle root cryptographic Hash, ciphertext and the nodal information of storage are generated block, and there are on block chain;
Specific step is as follows for request of data:
Step 2-1, data requester find data record to be used using intelligent contract;
Step 2-2 judges whether data requester is data owner;It is then, to execute step 2-3;Otherwise, intelligent conjunction is first passed through Step 2-3 is executed after about being authorized again;
Step 2-3, intelligent contract find data record to be used and corresponding randomly ordered by obtaining from the node of storage Data block;
Sequence ciphertext is decrypted in the private key of step 2-4, intelligent contract data requester, suitable based on the data block after decryption The randomly ordered data block of ordered pair is reconstructed to obtain workable data;
Step 2-5 gives workable Data Concurrent to data requester.
Further, data owner is personal or hospital institution in step 1-1.
Further, trusted node is personal data center or credible medical institutions in step 1-7.
Further, data record to be used is that certain data records or personal data record in step 2-1.
Further, the data obtained in step 2-3 using the Merkle root cryptographic Hash verifying in data record to be used Whether block is modified.
Further, being obtained in step 2-4 using the Merkle root cryptographic Hash verifying reconstruct in data record to be used can The integrality of the data used.
The present invention is basic storing framework using Merkle tree, and the basic skills of random Merkle tree is the data storage Random piecemeal, then the data block randomly ordered to its establishes a Merkle tree, and only Merkle tree root Hash can be stored in On block chain, and randomly ordered data block will store under chain, if as soon as a data record is randomly divided into n block, then there is n! The total data block sequencing of index magnitude ensure that the safety of data in big degree.The sequence of data block will be gathered around by data The public key for the person of having is encrypted and is stored on block chain, only has data owner itself using the private key pair of their own in this way Sequence ciphertext is decrypted, and acquisition original number then is reconstructed to randomly ordered data block according to the former sequence that decryption obtains According to, it is ensured that initial data (original text) will not be revealed in data storage procedure under chain.
Since data storage of the invention is carried out in distributed trustless network environment, the present invention is selected Merkle tree is so that data have the characteristics that verifiability.Data are divided into after several data blocks, and data block can store respectively In different nodes in a network, data block can be obtained from different network nodes, by calculating Merkle tree Hash not only The data being finally synthesizing can be verified, can also verify whether its data block for being distributed in each node is modified.
The present invention uses block chain using distributed storage, Merkle tree, random data block sequencing to solve block chain (storage) scalability problem, while can guarantee that data can not be distorted and be can verify that in fly-by-night network environment.

Claims (6)

1. a kind of personal medical data storage method under chain based on random Merkle tree, it is characterised in that: it includes that data are deposited Storage part and data-request parts,
Specific step is as follows for data storage:
Step 1-1 obtains the medical data that data owner is transmitted to block catenary system,
The random piecemeal of medical data is formed several data blocks by step 1-2, and data block is randomly ordered,
Step 1-3 establishes a Merkle tree to randomly ordered data block,
Merkle tree root Hash is stored on block chain by step 1-4,
Step 1-5 carries out encryption generation to the sequence of data block using the public key of data requester and contains the close of block sequencing Text,
Step 1-6, will be in randomly ordered data block storage to the trusted node of block chain;
Step 1-7, Merkle root cryptographic Hash, ciphertext and the nodal information of storage are generated block, and there are on block chain;
Specific step is as follows for request of data:
Step 2-1, data requester find data record to be used using intelligent contract;
Step 2-2 judges whether data requester is data owner;It is then, to execute step 2-3;Otherwise, intelligent conjunction is first passed through Step 2-3 is executed after about being authorized again;
Step 2-3, intelligent contract find data record to be used and corresponding randomly ordered by obtaining from the node of storage Data block;
Sequence ciphertext is decrypted in the private key of step 2-4, intelligent contract data requester, suitable based on the data block after decryption The randomly ordered data block of ordered pair is reconstructed to obtain workable data;
Step 2-5 gives workable Data Concurrent to data requester.
2. personal medical data storage method, special under a kind of chain based on random Merkle tree according to claim 1 Sign is: data owner is personal or hospital institution in step 1-1.
3. personal medical data storage method, special under a kind of chain based on random Merkle tree according to claim 1 Sign is: trusted node is personal data center or credible medical institutions in step 1-7.
4. personal medical data storage method, special under a kind of chain based on random Merkle tree according to claim 1 Sign is: data record to be used is that certain data records or personal data record in step 2-1.
5. personal medical data storage method, special under a kind of chain based on random Merkle tree according to claim 1 Sign is: whether the data block obtained in step 2-3 using the Merkle root cryptographic Hash verifying in data record to be used is by more Change.
6. personal medical data storage method, special under a kind of chain based on random Merkle tree according to claim 1 Sign is: obtaining workable data using the Merkle root cryptographic Hash verifying reconstruct in data record to be used in step 2-4 Integrality.
CN201910535720.0A 2019-06-20 2019-06-20 A kind of personal medical data storage method under the chain based on random Merkle tree Pending CN110289060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910535720.0A CN110289060A (en) 2019-06-20 2019-06-20 A kind of personal medical data storage method under the chain based on random Merkle tree

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910535720.0A CN110289060A (en) 2019-06-20 2019-06-20 A kind of personal medical data storage method under the chain based on random Merkle tree

Publications (1)

Publication Number Publication Date
CN110289060A true CN110289060A (en) 2019-09-27

Family

ID=68003968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910535720.0A Pending CN110289060A (en) 2019-06-20 2019-06-20 A kind of personal medical data storage method under the chain based on random Merkle tree

Country Status (1)

Country Link
CN (1) CN110289060A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647503A (en) * 2019-10-09 2020-01-03 重庆特斯联智慧科技股份有限公司 Distributed storage method and device
CN111599425A (en) * 2020-04-27 2020-08-28 合肥工业大学 Block chain-oriented node dynamic hierarchical electronic medical record storage method and device
CN111597567A (en) * 2020-05-14 2020-08-28 腾讯科技(深圳)有限公司 Data processing method, data processing device, node equipment and storage medium
CN112951357A (en) * 2021-03-23 2021-06-11 电子科技大学 Block chain-based virtual medical resource transverse expansion method
WO2022068362A1 (en) * 2020-09-29 2022-04-07 深圳壹账通智能科技有限公司 Block chain-based information processing method and apparatus, device, and medium
CN114553436A (en) * 2022-02-23 2022-05-27 山东省计算中心(国家超级计算济南中心) Data security sharing and privacy protection method and system for intelligent medical engineering

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108648784A (en) * 2018-03-15 2018-10-12 西安电子科技大学 Medical data storage method, information data processing terminal based on block chain technology
CN109194702A (en) * 2018-06-04 2019-01-11 平安科技(深圳)有限公司 Medical data recording method, system, computer equipment and storage medium
KR101937188B1 (en) * 2018-02-06 2019-04-09 주식회사 코인플러그 Method for managing information using merkle tree based on blockchain, server and terminal using the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101937188B1 (en) * 2018-02-06 2019-04-09 주식회사 코인플러그 Method for managing information using merkle tree based on blockchain, server and terminal using the same
CN108648784A (en) * 2018-03-15 2018-10-12 西安电子科技大学 Medical data storage method, information data processing terminal based on block chain technology
CN109194702A (en) * 2018-06-04 2019-01-11 平安科技(深圳)有限公司 Medical data recording method, system, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张蜀男 等: "云存储中高效密文检索的中文数据加密方案", 《计算机科学》 *
李博文: "基于区块链技术的医疗数据存储", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647503A (en) * 2019-10-09 2020-01-03 重庆特斯联智慧科技股份有限公司 Distributed storage method and device
CN111599425A (en) * 2020-04-27 2020-08-28 合肥工业大学 Block chain-oriented node dynamic hierarchical electronic medical record storage method and device
CN111599425B (en) * 2020-04-27 2023-12-05 合肥工业大学 Hierarchical electronic medical record storage method and device based on block chain oriented node dynamics
CN111597567A (en) * 2020-05-14 2020-08-28 腾讯科技(深圳)有限公司 Data processing method, data processing device, node equipment and storage medium
CN111597567B (en) * 2020-05-14 2022-03-04 腾讯科技(深圳)有限公司 Data processing method, data processing device, node equipment and storage medium
WO2022068362A1 (en) * 2020-09-29 2022-04-07 深圳壹账通智能科技有限公司 Block chain-based information processing method and apparatus, device, and medium
CN112951357A (en) * 2021-03-23 2021-06-11 电子科技大学 Block chain-based virtual medical resource transverse expansion method
CN112951357B (en) * 2021-03-23 2023-05-09 电子科技大学 Virtual medical resource lateral expansion method based on blockchain
CN114553436A (en) * 2022-02-23 2022-05-27 山东省计算中心(国家超级计算济南中心) Data security sharing and privacy protection method and system for intelligent medical engineering

Similar Documents

Publication Publication Date Title
CN110289060A (en) A kind of personal medical data storage method under the chain based on random Merkle tree
CN110008746B (en) Block chain-based medical record storage, sharing and safety claim settlement model and method
CN112910840B (en) Medical data storage and sharing method and system based on alliance blockchain
CN111986755B (en) Data sharing system based on blockchain and attribute-based encryption
US11425171B2 (en) Method and system for cryptographic attribute-based access control supporting dynamic rules
Wang et al. MedShare: A privacy-preserving medical data sharing system by using blockchain
CN108648784A (en) Medical data storage method, information data processing terminal based on block chain technology
di Vimercati et al. Managing and accessing data in the cloud: Privacy risks and approaches
CN108881160A (en) Medical treatment & health data managing method and system based on block chain intelligence contract
CN113067857A (en) Electronic medical record cross-hospital sharing method based on double-chain structure
Wang et al. Distributed security architecture based on blockchain for connected health: Architecture, challenges, and approaches
US20160359856A1 (en) Method, apparatus, and system for access control of shared data
CN110602086B (en) Repealable and outsourced multi-authorization center attribute-based encryption method in fog computing
CN106411909A (en) Systems and methods for securing data in motion
CN107423637B (en) Integrity auditing method supporting traceability of electronic medical record data on cloud
CN112365945B (en) Electronic medical record fine granularity access control and ciphertext searchable method based on blockchain
CN102916954A (en) Attribute-based encryption cloud computing safety access control method
CN105959111A (en) Information security big-data resource access control system based on cloud computing and credible computing
CN111274594B (en) Block chain-based secure big data privacy protection sharing method
CN108846297B (en) A method of distributing and retrieve data in the block chain network with peer node
CN109981643A (en) A kind of inquiry authorization of fine granularity can search for encryption method and system
CN108540280A (en) A kind of the secure data sharing method and system of resource high-efficiency
CN108197496A (en) Data safety Enhancement Method under cloud computing environment
CN115765965A (en) Medical data safety sharing method based on federal learning and double union block chains
CN112509654A (en) Medical data acquisition method based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Hai Rong Lu

Inventor after: Xu Ruikun

Inventor after: Zhang Weidong

Inventor before: Hai Rong Lu

Inventor before: Xu Ruikun

CB03 Change of inventor or designer information
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190927

WD01 Invention patent application deemed withdrawn after publication