CN111563128A - Medical information safe storage cooperation system based on block chain - Google Patents

Medical information safe storage cooperation system based on block chain Download PDF

Info

Publication number
CN111563128A
CN111563128A CN202010677417.7A CN202010677417A CN111563128A CN 111563128 A CN111563128 A CN 111563128A CN 202010677417 A CN202010677417 A CN 202010677417A CN 111563128 A CN111563128 A CN 111563128A
Authority
CN
China
Prior art keywords
information
address information
unit
acquiring
medical
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.)
Granted
Application number
CN202010677417.7A
Other languages
Chinese (zh)
Other versions
CN111563128B (en
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.)
Jiangsu Rongzer Information Technology Co Ltd
Original Assignee
Jiangsu Rongzer Information 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 Jiangsu Rongzer Information Technology Co Ltd filed Critical Jiangsu Rongzer Information Technology Co Ltd
Priority to CN202010677417.7A priority Critical patent/CN111563128B/en
Publication of CN111563128A publication Critical patent/CN111563128A/en
Application granted granted Critical
Publication of CN111563128B publication Critical patent/CN111563128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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

Abstract

The invention discloses a medical information safe storage cooperation system based on a block chain, which stores target information, namely medical information into a storage module, integrates address values corresponding to the medical information into address information by virtue of a chain loading unit, and performs chain loading storage on the address information by virtue of the chain storage module; then, the address information is acquired through an address information acquisition unit on the chain, the timestamp at the moment is acquired at the same time, the timestamp and the corresponding address information are transmitted to an index encryption unit, the index encryption unit is used for encrypting the address information in combination with an index encryption rule in an encryption library to obtain second-added address information, and the second-added address information is stored; when a user needs to call the corresponding two-plus-address information, the two-plus-address information needs to be subjected to anti-index encryption processing through the data call unit, and original target information is obtained.

Description

Medical information safe storage cooperation system based on block chain
Technical Field
The invention belongs to the field of block chains, relates to an information security storage technology, and particularly relates to a medical information security storage cooperation system based on a block chain.
Background
Patent publication No. CN109726595A discloses a block chain-based medical information sharing system, electronic device, and computer storage medium. The system comprises: the system comprises a user identity authentication module, an information inquiry module, a hospital visit module, a medical insurance clearing module and an information recording module. The overall architecture of the present invention bears three roles, hospital users, medical insurance companies, and individual users. The system has the main functions of realizing medical history information inquiry, information exchange among different hospitals and expense clearing among individuals, hospitals and medical insurance companies. The bottom layer block chain is used for storing medical records and transaction records of patients, and the safety and traceability of data are guaranteed. The invention solves the problem of unsmooth information exchange of patients among hospitals, increases the hospitalizing efficiency, reduces the hospitalizing cost of the patients, can effectively prevent the occurrence of cheating and insurance events, and realizes the medical information sharing based on the block chain.
However, the uplink storage of the medical data has a problem that the same medical information is stored for multiple times, which greatly wastes storage space; based on this, there is a need for a device capable of storing medical information and performing uplink processing on the address value of the device, so as to conveniently find corresponding medical information according to the geographical value, and a deep encryption system is lacking for the address information in the prior art; to address this technology, a solution is now provided.
Disclosure of Invention
The invention aims to provide a medical information safe storage cooperation system based on a block chain.
The purpose of the invention can be realized by the following technical scheme:
a blockchain-based medical information secure storage collaboration system, comprising:
a data layer for storing the generated medical data summary and the location in the down-link storage; the data layer module is specifically used for storing the abstract and the index information of the medical data on the block chain and storing the specific medical data information in the offline cloud storage;
the network layer is used for realizing communication among all nodes in the network; in the network layer module, the nodes in the block chain create new blocks and then transmit the new blocks to the whole network in a broadcasting mode, and the nodes receiving the information can verify the received block information and continue to forward the information to the network after the verification;
the consensus layer enables the dispersed nodes to agree on the effectiveness of the blocks in a decentralized environment; the consensus layer module adopts a POW (workload certification) mechanism to ensure the consistency among the nodes; miners compete for accounting right through SH256 mathematic puzzles;
the incentive layer encourages the nodes to participate in transaction verification work of the blockchain;
the contract layer comprises an execution script, an intelligent contract and other various transaction logic realization algorithms;
the application layer realizes the release and storage of medical records;
the application layer module specifically comprises:
step 1, releasing medical records: a patient is in a hospital for a doctor, after the patient is examined, a doctor generates medical information m such as an examination result, physical conditions and the like of the patient, generates Hash H (m) for medical data, and generates an abstract digest; signing the hash data and the information abstract by using a private key of a hospital for issuing; meanwhile, the medical information is encrypted by a public key of the patient and the encrypted medical data is transmitted to the patient;
step 2, storing medical records: the method specifically comprises the steps of decrypting medical data obtained by a patient and constructing a medical data index on a chain;
step 2.1, after the patient receives the encrypted medical data from the hospital, decrypting the encrypted medical data by using the private key of the patient to decrypt the original medical data, the abstract and the hash value, and decrypting the encrypted medical data by using the public key of the hospital;
2.2, firstly, carrying out signature verification and decryption on the encrypted data from the hospital, classifying the decrypted medical data according to the category of the patient number of the medical data, and encrypting the medical data by using an encryption key of the medical data;
step 2.3, acquiring the encrypted address value of the medical data stored in the chain, and marking the address value as address information;
step 2.4, carrying out two-degree encryption on the address information by means of a trans-encryption subsystem to obtain two-degree-of-address information;
step 2.5, returning the second plus address information to the chain and storing the second plus address information in an index table; then searching specific information data corresponding to the link by searching the index table on the link when needed;
the encryption conversion subsystem comprises an address information acquisition unit, an index encryption unit, an encryption library, an on-chain storage module, an uplink unit, a storage module, a switching unit, an interaction module, a data calling unit and a display unit;
the storage module stores target information required by a user, arranges an address value of the target information into address information, and transmits the address information to an uplink unit, wherein the uplink unit is used for transmitting the address information to a chain storage module, and the chain storage module performs uplink storage processing on the address information by means of a block chain technology;
the system comprises an address information acquisition unit, an index encryption unit, an encryption library and a storage module, wherein the address information acquisition unit is used for acquiring address information stored in a chain storage module and transmitting the address information to the index encryption unit;
the index encryption unit is used for carrying out index encryption processing on the address information by combining an encryption library, and the specific index encryption processing steps are as follows:
the method comprises the following steps: firstly, acquiring address information;
step two: then, randomly packaging the address information to obtain packaging information;
step three: acquiring the name of the packaging information, and marking the name as name information; meanwhile, a suffix name of the corresponding encapsulation information is obtained and marked as suffix information;
step four: acquiring all characters of the name information, and sequentially marking the characters as name character groups Mi, i =1.. n;
step five: acquiring all characters of suffix information, and sequentially marking the characters as suffix character groups Hj, j =1.. m;
step six: acquiring a time digital group Xi; solving a switching value Zz by using a formula;
Figure 967805DEST_PATH_IMAGE001
in the formula, the unit is taken and refers to the numerical value on the unit in the formula;
step seven: obtaining a switching value Zz; carrying out regression analysis on the switching value Zz to obtain an updated switching value Gz;
step eight: acquiring an updated switching value Gz, a name character group Mi and a suffix character group Hj; carrying out conversion processing on the address information to obtain second plus address information;
the index encryption unit is used for storing the two-plus-address information;
the data calling unit is verified user equipment, and an anti-index encryption rule is arranged in the data calling unit and has the principle opposite to that of the index encryption rule; the data calling unit is used for a user to input required information, and the required information is retrieval content corresponding to the address information required to be acquired; the data calling unit is used for transmitting the demand information to the index encryption unit by means of the interaction module, acquiring the two-point address information corresponding to the index encryption unit, automatically operating the anti-index encryption rule during retrieval to obtain the original name information, thereby retrieving the target object and acquiring the built-in address information; the data calling unit is used for transmitting the address information to the switching unit, the switching unit is used for acquiring corresponding target content from the storage module according to the address information and returning the target content to the display unit, and the display unit receives the target content transmitted by the switching unit and displays the target content in real time.
Further, the random encapsulation step in the second step is as follows:
s1: firstly, intercepting a timestamp for acquiring address information, acquiring according to a month-day format, and correspondingly marking the number of each digit at month-day time as X1-X8; obtaining a time-digital group Xi, i =1.. 6;
s2: acquiring a time digital group Xi;
s3: processing the time digital group according to a formula to obtain a selected value Tx; the specific calculation formula is as follows:
Figure 195917DEST_PATH_IMAGE002
s4: obtaining a selected value Tx; performing numerical analysis on Tx;
s5: when Tx%3=0, mark the selected value as Zx = 3; otherwise, let:
Zx=Tx%3;
s6: acquiring three built-in packaging modes, including a first packaging mode, a second packaging mode and a third packaging mode; packaging I, packaging the address information into a TXT document;
packaging II, packaging the address information in the Word document;
packaging three digits to package the address information in the PDF document;
s7: correspondingly selecting a packaging mode according to the Zx value, and correspondingly selecting a first package, a second package and a third package when Zx is respectively 1, 2 and 3; and obtaining encapsulation information after encapsulation, wherein the encapsulation information is named as a target object corresponding to the address information.
Further, the regression analysis in the seventh step comprises the following specific steps:
s1: when Zz is not equal to 1 and is less than or equal to 4, let Gz = Zz;
s2: let Gz = Zz +1 when Zz = 1;
s3: when Zz is greater than 4, let Gz = Zz%4 when Zz%4 is greater than 1;
let Gz =2 when Zz%4= 1;
let Gz =4 when Zz%4= 0;
s4: and obtaining an updated transfer value Gz.
Further, the conversion treatment in the step eight specifically comprises the following steps:
SS 01: acquiring a name character group Mi, if the name character is a Chinese character, converting the name character into a corresponding pinyin, and arranging the pinyin according to the original name character to obtain an updated name character group Mi, wherein i =1.. n;
SS 02: then, carrying out one-to-one correspondence on Mi and Hj in a mode of j + Gz = i, if j + Gz is larger than i, carrying out correspondence again in a mode of (j + Gz)% i = i, and carrying out correspondence on Mi and Hj; after corresponding, interchanging corresponding characters to obtain a new name character group and a suffix character group;
SS 03: acquiring a new name character set and acquiring an updated transfer value Gz at the same time; taking Gz characters as a group, and dividing the name character group into a plurality of inner character groups Fj, wherein j =1.. p; the p value calculation method comprises the following steps:
when n% Gz is greater than zero;
p = | n/Gz | + 1; in the formula, | n/Gz | represents that n/Gz is rounded, and the number of name characters of the last character group Fp in the group is n% Gz;
otherwise p = n/Gz;
SS 04: acquiring an inner character group Fj, making j = j +1, placing a first inner character group at the position of a second inner character group, placing the second inner character group at the position of a third inner character ancestor, sequentially replacing, and placing the position of the last inner character group at the position of the first inner character ancestor;
SS 05: obtaining a new name character set formed by all the internal character progenitors after the position adjustment;
SS 06: the new name character group and the new suffix character group are respectively used as name information and a suffix name and are placed on the packaging information again; and finishing encryption, and fusing the timestamps of the address information acquired before to obtain the two-plus-address information.
The invention has the beneficial effects that:
according to the invention, the target information, namely the medical information is stored in the storage module, then the address values corresponding to the medical information are integrated into the address information by virtue of the uplink unit, and the address information is subjected to uplink storage by virtue of the uplink storage module;
then, the address information is acquired through an address information acquisition unit on the chain, the timestamp at the moment is acquired at the same time, the timestamp and the corresponding address information are transmitted to an index encryption unit, the index encryption unit is used for encrypting the address information in combination with an index encryption rule in an encryption library to obtain second-added address information, and the second-added address information is stored; when a user needs to call corresponding second plus address information, the data call unit needs to perform reverse index encryption processing on the second plus address information to obtain original target information, namely an address value of medical information searched by the user, the switching unit is used for acquiring the corresponding medical information from the storage module by means of the address value and displaying the medical information by means of the display unit; through the index encryption processing, the address information can be subjected to deep encryption processing, and the data security is ensured.
Drawings
In order to facilitate understanding for those skilled in the art, the present invention will be further described with reference to the accompanying drawings.
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a system block diagram of the transcrypting subsystem of the present invention.
Detailed Description
As shown in figures 1-2, a block chain-based medical information secure storage collaboration system comprises
A data layer for storing the generated medical data summary and the location in the down-link storage; the data layer module is specifically used for storing the abstract and the index information of the medical data on the block chain and storing the specific medical data information in the offline cloud storage;
the network layer is used for realizing communication among all nodes in the network; in the network layer module, the nodes in the block chain create new blocks and then transmit the new blocks to the whole network in a broadcasting mode, and the nodes receiving the information can verify the received block information and continue to forward the information to the network after the verification;
the consensus layer enables the dispersed nodes to agree on the effectiveness of the blocks in a decentralized environment; the consensus layer module adopts a POW (workload certification) mechanism to ensure the consistency among the nodes; miners compete for accounting right through SH256 mathematic puzzles;
the incentive layer encourages the nodes to participate in transaction verification work of the blockchain;
the contract layer comprises an execution script, an intelligent contract and other various transaction logic realization algorithms;
the application layer realizes the release and the storage of the medical record.
The application layer module specifically comprises:
1. release of medical records: after a patient goes to a hospital for a doctor, the doctor generates medical information m such as a patient examination result and physical conditions, generates hash h (m) for medical data, and generates digest. And signing the hash data and the information abstract by using a private key of a hospital for issuing. Meanwhile, the medical information is encrypted by the public key of the patient and the encrypted medical data is transmitted to the patient.
2. Storage of medical records: the method specifically comprises the steps of decrypting medical data obtained by a patient and constructing a medical data index on a chain;
2.1, after the patient receives the encrypted medical data from the hospital, decrypting the encrypted medical data by using the private key of the patient to decrypt the original medical data, the abstract and the hash value, and decrypting the encrypted medical data by using the public key of the hospital;
2.2, firstly, carrying out signature verification and decryption on the encrypted data from the hospital, classifying the decrypted medical data according to the category of the patient number of the medical data, and encrypting the medical data by using an encryption key of the medical data;
2.3, acquiring the encrypted address value of the medical data stored under the chain, and marking the address value as address information;
2.4, carrying out two-degree encryption on the address information by means of a trans-encryption subsystem to obtain two-degree-of-plus address information;
2.5, returning the two plus address information to the chain and storing the two plus address information in an index table; and then searching specific information data corresponding to the link by searching the index table on the link when needed.
The encryption conversion subsystem comprises an address information acquisition unit, an index encryption unit, an encryption library, an on-chain storage module, an uplink unit, a storage module, a switching unit, an interaction module, a data calling unit and a display unit;
the storage module stores target information required by a user, arranges an address value of the target information into address information, and transmits the address information to an uplink unit, wherein the uplink unit is used for transmitting the address information to a chain storage module, and the chain storage module performs uplink storage processing on the address information by means of a block chain technology;
the system comprises an address information acquisition unit, an index encryption unit, an encryption library and a storage module, wherein the address information acquisition unit is used for acquiring address information stored in a chain storage module and transmitting the address information to the index encryption unit;
the index encryption unit is used for carrying out index encryption processing on the address information by combining an encryption library, and the specific index encryption processing steps are as follows:
the method comprises the following steps: firstly, acquiring address information;
step two: and then randomly packaging the address information, wherein the random packaging step comprises the following steps:
s1: firstly, intercepting a timestamp for acquiring address information, acquiring according to a month-day format, and correspondingly marking the number of each digit at month-day time as X1-X8; specifically, for example, if the time for acquiring the address information is 06 months, 30 days, and 10 hours, 41 minutes, X1-X8 are sequentially represented as 06301041; obtaining a time-digital group Xi, i =1.. 6;
s2: acquiring a time digital group Xi;
s3: processing the time digital group according to a formula to obtain a selected value Tx; the specific calculation formula is as follows:
Figure 625761DEST_PATH_IMAGE002
s4: obtaining a selected value Tx; performing numerical analysis on Tx;
s5: when Tx%3=0, mark the selected value as Zx = 3; otherwise, let:
Zx=Tx%3;
s6: acquiring three built-in packaging modes, including a first packaging mode, a second packaging mode and a third packaging mode; packaging I, packaging the address information into a TXT document;
packaging II, packaging the address information in the Word document;
packaging three digits to package the address information in the PDF document;
s7: correspondingly selecting a packaging mode according to the Zx value, and correspondingly selecting a first package, a second package and a third package when Zx is respectively 1, 2 and 3; obtaining encapsulation information after encapsulation, wherein the encapsulation information is named as a target object corresponding to the address information; indexing is facilitated;
step three: acquiring the name of the packaging information, and marking the name as name information; meanwhile, a suffix name of the corresponding encapsulation information is obtained and marked as suffix information;
step four: acquiring all characters of the name information, and sequentially marking the characters as name character groups Mi, i =1.. n;
step five: acquiring all characters of suffix information, and sequentially marking the characters as suffix character groups Hj, j =1.. m;
step six: acquiring a time digital group Xi; solving a switching value Zz by using a formula;
Figure 539491DEST_PATH_IMAGE001
in the formula, the unit is taken and refers to the numerical value on the unit in the formula;
step seven: obtaining a switching value Zz; carrying out regression analysis on the switching value Zz to obtain an updated switching value Gz; the concrete classification analysis steps are as follows:
s1: when Zz is not equal to 1 and is less than or equal to 4, let Gz = Zz;
s2: let Gz = Zz +1 when Zz = 1;
s3: when Zz is greater than 4, let Gz = Zz%4 when Zz%4 is greater than 1;
let Gz =2 when Zz%4= 1;
let Gz =4 when Zz%4= 0;
s4: obtaining an updated switching value Gz;
step eight: acquiring an updated switching value Gz, a name character group Mi and a suffix character group Hj; the method comprises the following steps of:
SS 01: acquiring a name character group Mi, if the name character is a Chinese character, converting the name character into a corresponding pinyin, and arranging the pinyin according to the original name character to obtain an updated name character group Mi, wherein i =1.. n;
SS 02: then, carrying out one-to-one correspondence on Mi and Hj in a mode of j + Gz = i, if j + Gz is larger than i, carrying out correspondence again in a mode of (j + Gz)% i = i, and carrying out correspondence on Mi and Hj; after corresponding, interchanging corresponding characters to obtain a new name character group and a suffix character group;
SS 03: acquiring a new name character set and acquiring an updated transfer value Gz at the same time; taking Gz characters as a group, and dividing the name character group into a plurality of inner character groups Fj, wherein j =1.. p; the p value calculation method comprises the following steps:
when n% Gz is greater than zero;
p = | n/Gz | + 1; in the formula, | n/Gz | represents that n/Gz is rounded, and the number of name characters of the last character group Fp in the group is n% Gz;
otherwise p = n/Gz;
SS 04: acquiring an inner character group Fj, making j = j +1, placing a first inner character group at the position of a second inner character group, placing the second inner character group at the position of a third inner character ancestor, sequentially replacing, and placing the position of the last inner character group at the position of the first inner character ancestor;
SS 05: obtaining a new name character set formed by all the internal character progenitors after the position adjustment;
SS 06: the new name character group and the new suffix character group are respectively used as name information and a suffix name and are placed on the packaging information again; completing encryption, and fusing the timestamps of the address information obtained before to obtain two pieces of address information;
the index encryption unit is used for storing the two-plus-address information;
the data calling unit is verified user equipment, and an anti-index encryption rule is arranged in the data calling unit and has the principle opposite to that of the index encryption rule; the data calling unit is used for a user to input required information, and the required information is retrieval content corresponding to the address information required to be acquired; the data calling unit is used for transmitting the demand information to the index encryption unit by means of the interaction module, acquiring the two-point address information corresponding to the index encryption unit, automatically operating the anti-index encryption rule during retrieval to obtain the original name information, thereby retrieving the target object and acquiring the built-in address information; the data calling unit is used for transmitting the address information to the switching unit, the switching unit is used for acquiring corresponding target content from the storage module according to the address information and returning the target content to the display unit, and the display unit receives the target content transmitted by the switching unit and displays the target content in real time;
when the system works, target information, namely medical information is stored in a storage module, address values corresponding to the medical information are integrated into address information by virtue of a chain loading unit, and the address information is subjected to chain loading storage by virtue of the chain storage module;
then, the address information is acquired through an address information acquisition unit on the chain, the timestamp at the moment is acquired at the same time, the timestamp and the corresponding address information are transmitted to an index encryption unit, the index encryption unit is used for encrypting the address information in combination with an index encryption rule in an encryption library to obtain second-added address information, and the second-added address information is stored; when a user needs to call corresponding second plus address information, the data call unit needs to perform reverse index encryption processing on the second plus address information to obtain original target information, namely an address value of medical information searched by the user, the switching unit is used for acquiring the corresponding medical information from the storage module by means of the address value and displaying the medical information by means of the display unit; through the index encryption processing, the address information can be subjected to deep encryption processing, and the data security is ensured.
The foregoing is merely exemplary and illustrative of the present invention and various modifications, additions and substitutions may be made by those skilled in the art to the specific embodiments described without departing from the scope of the invention as defined in the following claims.

Claims (4)

1. A medical information safe storage cooperation system based on a block chain is characterized by comprising:
a data layer for storing the generated medical data summary and the location in the down-link storage; the data layer module is specifically used for storing the abstract and the index information of the medical data on the block chain and storing the specific medical data information in the offline cloud storage;
the network layer is used for realizing communication among all nodes in the network; in the network layer module, the nodes in the block chain create new blocks and then transmit the new blocks to the whole network in a broadcasting mode, and the nodes receiving the information can verify the received block information and continue to forward the information to the network after the verification;
the consensus layer enables the dispersed nodes to agree on the effectiveness of the blocks in a decentralized environment; the consensus layer module adopts a POW (workload certification) mechanism to ensure the consistency among the nodes; miners compete for accounting right through SH256 mathematic puzzles;
the incentive layer encourages the nodes to participate in transaction verification work of the blockchain;
the contract layer comprises an execution script, an intelligent contract and other various transaction logic realization algorithms;
the application layer realizes the release and storage of medical records;
the application layer module specifically comprises:
step 1, releasing medical records: a patient is in a hospital for a doctor, after the patient is examined, a doctor generates an examination result of the patient and medical information m of physical conditions, generates Hash H (m) for medical data, and generates an abstract digest; signing the hash data and the information abstract by using a private key of a hospital for issuing; meanwhile, the medical information is encrypted by a public key of the patient and the encrypted medical data is transmitted to the patient;
step 2, storing medical records: the method specifically comprises the steps of decrypting medical data obtained by a patient and constructing a medical data index on a chain;
step 2.1, after the patient receives the encrypted medical data from the hospital, decrypting the encrypted medical data by using the private key of the patient to decrypt the original medical data, the abstract and the hash value, and decrypting the encrypted medical data by using the public key of the hospital;
2.2, firstly, carrying out signature verification and decryption on the encrypted data from the hospital, classifying the decrypted medical data according to the category of the patient number of the medical data, and encrypting the medical data by using an encryption key of the medical data;
step 2.3, acquiring the encrypted address value of the medical data stored in the chain, and marking the address value as address information;
step 2.4, carrying out two-degree encryption on the address information by means of a trans-encryption subsystem to obtain two-degree-of-address information;
step 2.5, returning the second plus address information to the chain and storing the second plus address information in an index table; then searching specific information data corresponding to the link by searching the index table on the link when needed;
the encryption conversion subsystem comprises an address information acquisition unit, an index encryption unit, an encryption library, an on-chain storage module, an uplink unit, a storage module, a switching unit, an interaction module, a data calling unit and a display unit;
the storage module stores target information required by a user, arranges an address value of the target information into address information, and transmits the address information to an uplink unit, wherein the uplink unit is used for transmitting the address information to a chain storage module, and the chain storage module performs uplink storage processing on the address information by means of a block chain technology;
the system comprises an address information acquisition unit, an index encryption unit, an encryption library and a storage module, wherein the address information acquisition unit is used for acquiring address information stored in a chain storage module and transmitting the address information to the index encryption unit;
the index encryption unit is used for carrying out index encryption processing on the address information by combining an encryption library, and the specific index encryption processing steps are as follows:
the method comprises the following steps: firstly, acquiring address information;
step two: then, randomly packaging the address information to obtain packaging information;
step three: acquiring the name of the packaging information, and marking the name as name information; meanwhile, a suffix name of the corresponding encapsulation information is obtained and marked as suffix information;
step four: acquiring all characters of the name information, and sequentially marking the characters as name character groups Mi, i =1.. n;
step five: acquiring all characters of suffix information, and sequentially marking the characters as suffix character groups Hj, j =1.. m;
step six: acquiring a time digital group Xi; solving a switching value Zz by using a formula;
Figure 418022DEST_PATH_IMAGE001
in the formula, the unit is taken and refers to the numerical value on the unit in the formula;
step seven: obtaining a switching value Zz; carrying out regression analysis on the switching value Zz to obtain an updated switching value Gz;
step eight: acquiring an updated switching value Gz, a name character group Mi and a suffix character group Hj; carrying out conversion processing on the address information to obtain second plus address information;
the index encryption unit is used for storing the two-plus-address information;
the data calling unit is verified user equipment, and an anti-index encryption rule is arranged in the data calling unit and has the principle opposite to that of the index encryption rule; the data calling unit is used for a user to input required information, and the required information is retrieval content corresponding to the address information required to be acquired; the data calling unit is used for transmitting the demand information to the index encryption unit by means of the interaction module, acquiring the two-point address information corresponding to the index encryption unit, automatically operating the anti-index encryption rule during retrieval to obtain the original name information, thereby retrieving the target object and acquiring the built-in address information; the data calling unit is used for transmitting the address information to the switching unit, the switching unit is used for acquiring corresponding target content from the storage module according to the address information and returning the target content to the display unit, and the display unit receives the target content transmitted by the switching unit and displays the target content in real time.
2. The medical information secure storage cooperation system based on the block chain as claimed in claim 1, wherein the random packaging step in the second step is as follows:
s1: firstly, intercepting a timestamp for acquiring address information, acquiring according to a month-day format, and correspondingly marking the number of each digit at month-day time as X1-X8; obtaining a time-digital group Xi, i =1.. 6;
s2: acquiring a time digital group Xi;
s3: processing the time digital group according to a formula to obtain a selected value Tx; the specific calculation formula is as follows:
Figure 240484DEST_PATH_IMAGE002
s4: obtaining a selected value Tx; performing numerical analysis on Tx;
s5: when Tx%3=0, mark the selected value as Zx = 3; otherwise, let:
Zx=Tx%3;
s6: acquiring three built-in packaging modes, including a first packaging mode, a second packaging mode and a third packaging mode; packaging I, packaging the address information into a TXT document;
packaging II, packaging the address information in the Word document;
packaging three digits to package the address information in the PDF document;
s7: correspondingly selecting a packaging mode according to the Zx value, and correspondingly selecting a first package, a second package and a third package when Zx is respectively 1, 2 and 3; and obtaining encapsulation information after encapsulation, wherein the encapsulation information is named as a target object corresponding to the address information.
3. The medical information secure storage cooperation system based on the blockchain as claimed in claim 1, wherein the detailed step of the regression analysis in the seventh step is as follows:
s1: when Zz is not equal to 1 and is less than or equal to 4, let Gz = Zz;
s2: let Gz = Zz +1 when Zz = 1;
s3: when Zz is greater than 4, let Gz = Zz%4 when Zz%4 is greater than 1;
let Gz =2 when Zz%4= 1;
let Gz =4 when Zz%4= 0;
s4: and obtaining an updated transfer value Gz.
4. The medical information secure storage cooperation system based on the blockchain as claimed in claim 1, wherein the conversion processing in the step eight specifically comprises the steps of:
SS 01: acquiring a name character group Mi, if the name character is a Chinese character, converting the name character into a corresponding pinyin, and arranging the pinyin according to the original name character to obtain an updated name character group Mi, wherein i =1.. n;
SS 02: then, carrying out one-to-one correspondence on Mi and Hj in a mode of j + Gz = i, if j + Gz is larger than i, carrying out correspondence again in a mode of (j + Gz)% i = i, and carrying out correspondence on Mi and Hj; after corresponding, interchanging corresponding characters to obtain a new name character group and a suffix character group;
SS 03: acquiring a new name character set and acquiring an updated transfer value Gz at the same time; taking Gz characters as a group, and dividing the name character group into a plurality of inner character groups Fj, wherein j =1.. p; the p value calculation method comprises the following steps:
when n% Gz is greater than zero;
p = | n/Gz | + 1; in the formula, | n/Gz | represents that n/Gz is rounded, and the number of name characters of the last character group Fp in the group is n% Gz;
otherwise p = n/Gz;
SS 04: acquiring an inner character group Fj, making j = j +1, placing a first inner character group at the position of a second inner character group, placing the second inner character group at the position of a third inner character ancestor, sequentially replacing, and placing the position of the last inner character group at the position of the first inner character ancestor;
SS 05: obtaining a new name character set formed by all the internal character progenitors after the position adjustment;
SS 06: the new name character group and the new suffix character group are respectively used as name information and a suffix name and are placed on the packaging information again; and finishing encryption, and fusing the timestamps of the address information acquired before to obtain the two-plus-address information.
CN202010677417.7A 2020-07-15 2020-07-15 Medical information safe storage cooperation system based on block chain Active CN111563128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010677417.7A CN111563128B (en) 2020-07-15 2020-07-15 Medical information safe storage cooperation system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010677417.7A CN111563128B (en) 2020-07-15 2020-07-15 Medical information safe storage cooperation system based on block chain

Publications (2)

Publication Number Publication Date
CN111563128A true CN111563128A (en) 2020-08-21
CN111563128B CN111563128B (en) 2020-12-08

Family

ID=72072745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010677417.7A Active CN111563128B (en) 2020-07-15 2020-07-15 Medical information safe storage cooperation system based on block chain

Country Status (1)

Country Link
CN (1) CN111563128B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291117A (en) * 2020-12-24 2021-01-29 江苏荣泽信息科技股份有限公司 Block chain network construction system based on customized OS
CN112420155A (en) * 2020-12-10 2021-02-26 商丘医学高等专科学校 Nursing medicine purchasing method and system
CN112751855A (en) * 2020-12-30 2021-05-04 合肥大多数信息科技有限公司 Cross-browser user data security management system based on encryption technology
CN112948790A (en) * 2021-05-13 2021-06-11 神威超算(北京)科技有限公司 Equipment debugging method and system based on block chain
CN113064900A (en) * 2021-04-06 2021-07-02 北京瑞卓喜投科技发展有限公司 Method and device for generating index of transaction data on chain and electronic equipment
CN117010010A (en) * 2023-06-01 2023-11-07 湖南信安数字科技有限公司 Multi-server cooperation high-security storage method based on blockchain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682530A (en) * 2017-01-10 2017-05-17 杭州电子科技大学 Method and device for medical information sharing privacy protection based on blockchain technology
CN109753817A (en) * 2018-12-28 2019-05-14 全链通有限公司 Medical information secure storage scheme based on block chain
CN110472430A (en) * 2019-08-22 2019-11-19 重庆华医康道科技有限公司 A kind of doctors and patients' data packing sharing method and system based on block chain
US20190361842A1 (en) * 2018-05-24 2019-11-28 Luther Systems System and method for efficient and secure private similarity detection for large private document repositories
CN111385084A (en) * 2018-12-27 2020-07-07 中国电信股份有限公司 Key management method and device for digital assets and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682530A (en) * 2017-01-10 2017-05-17 杭州电子科技大学 Method and device for medical information sharing privacy protection based on blockchain technology
US20190361842A1 (en) * 2018-05-24 2019-11-28 Luther Systems System and method for efficient and secure private similarity detection for large private document repositories
CN111385084A (en) * 2018-12-27 2020-07-07 中国电信股份有限公司 Key management method and device for digital assets and computer readable storage medium
CN109753817A (en) * 2018-12-28 2019-05-14 全链通有限公司 Medical information secure storage scheme based on block chain
CN110472430A (en) * 2019-08-22 2019-11-19 重庆华医康道科技有限公司 A kind of doctors and patients' data packing sharing method and system based on block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MICHEL RWIBASIRA等: "A Survey Paper On Consensus Algorithm Of Mobile-Healthcare In Blockchain Network", 《2020 INTERNATIONAL CONFERENCE ON EMERGING TRENDS IN INFORMATION TECHNOLOGY AND ENGINEERING (IC-ETITE)》 *
刘海鹏: "《疯狂比特币 揭秘数字货币原理和商业运作模式》", 31 August 2014, 中国铁道出版社 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112420155A (en) * 2020-12-10 2021-02-26 商丘医学高等专科学校 Nursing medicine purchasing method and system
CN112291117A (en) * 2020-12-24 2021-01-29 江苏荣泽信息科技股份有限公司 Block chain network construction system based on customized OS
CN112751855A (en) * 2020-12-30 2021-05-04 合肥大多数信息科技有限公司 Cross-browser user data security management system based on encryption technology
CN112751855B (en) * 2020-12-30 2022-09-06 合肥大多数信息科技有限公司 Cross-browser user data security management system based on encryption technology
CN113064900A (en) * 2021-04-06 2021-07-02 北京瑞卓喜投科技发展有限公司 Method and device for generating index of transaction data on chain and electronic equipment
CN112948790A (en) * 2021-05-13 2021-06-11 神威超算(北京)科技有限公司 Equipment debugging method and system based on block chain
CN112948790B (en) * 2021-05-13 2021-09-24 神威超算(北京)科技有限公司 Equipment debugging method and system based on block chain
CN117010010A (en) * 2023-06-01 2023-11-07 湖南信安数字科技有限公司 Multi-server cooperation high-security storage method based on blockchain
CN117010010B (en) * 2023-06-01 2024-02-13 湖南信安数字科技有限公司 Multi-server cooperation high-security storage method based on blockchain

Also Published As

Publication number Publication date
CN111563128B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN111563128B (en) Medical information safe storage cooperation system based on block chain
Zou et al. SPChain: Blockchain-based medical data sharing and privacy-preserving eHealth system
CN110033258A (en) Business datum encryption method and device based on block chain
Yang et al. A blockchain‐based architecture for securing electronic health record systems
Abdullah et al. PRISED tangle: a privacy-aware framework for smart healthcare data sharing using IOTA tangle
Lee et al. SEMRES-A triple security protected blockchain based medical record exchange structure
Yang et al. RSPP: A reliable, searchable and privacy-preserving e-healthcare system for cloud-assisted body area networks
Donawa et al. Scaling blockchains to support electronic health records for hospital systems
CN110209894A (en) Case search method and system based on block chain technology
Gong et al. Blockchain application in healthcare service mode based on Health Data Bank
Kombe et al. Blockchain technology in sub-saharan africa: Where does it fit in healthcare systems: A case of tanzania
Jafri et al. Blockchain applications for the healthcare sector: Uses beyond Bitcoin
CN103477603A (en) Securing access to data distributed in an unsecure data network
Poonguzhali et al. A framework for electronic health record using blockchain technology
Nusrat et al. Telemedicine system design using blockchain in Bangladesh
CN108650268A (en) It is a kind of realize multistage access can search for encryption method and system
Gamido et al. Developing a secured image file management system using modified AES
Blobel Clinical record systems in oncology. experiences and developments on cancer registers in eastern germany
Saraswat et al. Health chain-block chain based electronic healthcare record system with access and permission management
CN117577248B (en) Medical data sharing method and system integrating blockchain and privacy intersection technology
Banik et al. Blockchain-based public key encryption with keyword search for medical data sharing in cloud environment
Petrenko et al. Blockchain as a service for medical records
Liu et al. Computer Assisted Design of Intelligent E-Certificate System Based on Blockchain Technology
Cui et al. A blockchain-based transaction system for private data sharing and trading
Paramesh et al. Blockchain in smart health: Synergy for next generation ehealth system

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
GR01 Patent grant
GR01 Patent grant