CN109472598A - A kind of health data method of calibration, equipment and server based on block chain - Google Patents
A kind of health data method of calibration, equipment and server based on block chain Download PDFInfo
- Publication number
- CN109472598A CN109472598A CN201811323291.2A CN201811323291A CN109472598A CN 109472598 A CN109472598 A CN 109472598A CN 201811323291 A CN201811323291 A CN 201811323291A CN 109472598 A CN109472598 A CN 109472598A
- Authority
- CN
- China
- Prior art keywords
- health data
- data block
- block
- health
- patient identification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000012795 verification Methods 0.000 claims abstract description 44
- 238000003745 diagnosis Methods 0.000 claims abstract description 35
- 238000012163 sequencing technique Methods 0.000 claims abstract description 21
- 238000012360 testing method Methods 0.000 claims description 26
- 238000001514 detection method Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 12
- 201000010099 disease Diseases 0.000 claims description 8
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000013524 data verification Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3827—Use of message hashing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting 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/6245—Protecting personal data, e.g. for financial or medical purposes
Abstract
The embodiment of the invention discloses a kind of health data method of calibration, equipment and servers based on block chain, wherein this method comprises: obtaining the health data block at least one patient that diagnosis and treatment terminal is sent;According to the health data type of the corresponding each health data block of each Patient identification, classify to the health data block of each patient;According to the sequencing of preset health data type, the corresponding health data block of sorted each Patient identification is ranked up, and health data block chain is generated according to the health data block after sequence;Completeness check is carried out to the health data block chain;If verified successfully, it is determined that the health data block in the health data block chain is complete;If verification failure, it is determined that there are the health data blocks that health data information is illegally distorted in the health data block chain.In this way it is ensured that the data integrity of health data block chain, improves the safety of health data.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of health data method of calibration based on block chain, set
Standby and server.
Background technique
Currently, With the fast development of internet, various data informations can be stored by way of network, with
Just user can more easily obtain required data.Such as the health data in medical domain, diagnosis and treatment terminal by acquiring in real time
The health data information of each patient, and it is uploaded to server, to facilitate each patient of third parties' user query such as medical staff, patient
Health data information.However, this mode is all carrying out operation related with data all the time, including data acquisition,
The links such as data transmission and data storage, data are easy by malicious attack and illegally to distort operation in each link.Cause
This, the safety for how improving data is extremely important.
Summary of the invention
The embodiment of the present invention provides a kind of health data method of calibration, equipment and server based on block chain, it can be ensured that
The integrality of health data block chain, improves the safety of health data.
In a first aspect, the embodiment of the invention provides a kind of health data method of calibration based on block chain, this method packet
It includes:
Obtain the health data block at least one patient that diagnosis and treatment terminal is sent, wherein the health data block is
It is generated according to the health data type of each patient, includes Patient identification and the Patient identification couple in the health data block
The health data answered, the health data includes disease data, physical examination data, exercise data, any in living habit data
It is one or more;
According to the health data type of the corresponding each health data block of each Patient identification, each patient is good for
Health data block is classified;
According to the sequencing of preset health data type, health data area corresponding to sorted each Patient identification
Block is ranked up, and generates health data block chain according to the health data block after sequence;
Completeness check is carried out to the health data block chain;
If verified successfully, it is determined that the health data block in the health data block chain is complete;
If verification failure, it is determined that there are what health data information was illegally distorted to be good in the health data block chain
Health data block.
Further, the health data block includes block Hash codes, described to carry out to the health data block chain
Completeness check, comprising:
Obtain the block Hash codes of each health data block in the health data block chain;
According to preset detection cycle, detects the block in each health data block between adjacent healthy data block and breathe out
Whether uncommon code is associated;
If testing result is yes, it is determined that the completeness check success of the health data block chain;
If testing result is no, it is determined that the completeness check of the health data block chain fails.
Further, there are the health that health data information is illegally distorted in the determination health data block chain
After data block, further includes:
Obtain the not associated multiple mesh of block Hash codes in each health data block between adjacent healthy data block
Mark health data block;
Detecting each target health data block, whether block Hash codes between other adjacent health data blocks are related
Connection, described other adjacent health data blocks be in the health data block chain with the target health data block phase
Adjacent health data block;
If testing result is no, it is determined that in each target health data block with other adjacent health data areas
The not associated target health data block of block Hash codes between block is the health data block illegally distorted.
Further, the health data block includes block Hash codes;It is described that the health data block chain is carried out
Completeness check, comprising:
According to the encryption information of health data block each in the health data block chain, to each health data block
It is encrypted, generates the corresponding verification Hash codes of each health data block;
Detect whether the corresponding verification Hash codes of each health data block breathe out with the block of the health data block
Uncommon code matching;
If testing result is yes, it is determined that the completeness check success of the health data block chain;
If testing result is no, it is determined that the completeness check of the health data block chain fails.
Further, there are the health that health data information is illegally distorted in the determination health data block chain
After data block, further includes:
Obtain the verification Hash codes of block Hash codes and each health data block in each health data block not
At least one matched target health data block;
Determine that at least one described target health data block is the health data block illegally distorted.
Further, the health data block includes Patient identification, is deposited in the determination health data block chain
After the health data block that health data information is illegally distorted, further includes:
Determine at least one corresponding Patient identification of the health data block illegally distorted;
According at least one described Patient identification, Patient identification's column that the health data block is illegally distorted are generated
Table;
The corresponding terminal of each Patient identification into Patient identification's list sends a notification message, to notify each trouble
Person identifies corresponding terminal health data block and is tampered.
Further, the health data block includes block-identified, the method also includes:
Determining the health data block illegally distorted, corresponding at least one is block-identified;
According at least one described Patient identification and it is described at least one is block-identified, generate the health data block quilt
The block-identified list illegally distorted;
The corresponding terminal of each Patient identification into Patient identification's list sends the acquisition request of health data block,
So that the corresponding terminal of each Patient identification uploads health data block again;
The health data block that the corresponding terminal of each Patient identification uploads again is put into the health data
The corresponding block-identified corresponding position of each Patient identification described in block chain.
Second aspect, the embodiment of the invention provides a kind of data check equipment, which includes for holding
The unit of the method for the above-mentioned first aspect of row.
The third aspect, the embodiment of the invention provides a kind of server, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is for storing branch
The computer program that data check equipment executes the above method is held, the computer program includes program instruction, the processor
It is configured for calling described program instruction, the method for executing above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer storage medium
It is stored with computer program, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor
State the method that processor executes above-mentioned first aspect.
The embodiment of the present invention, the health data block at least one patient that the available diagnosis and treatment terminal of server is sent;
According to the health data type of the corresponding each health data block of each Patient identification, to the health data area of each patient
Block is classified;According to the sequencing of preset health data type, healthy number corresponding to sorted each Patient identification
It is ranked up according to block, and health data block chain is generated according to the health data block after sequence;To the health data area
Block chain carries out completeness check;If verified successfully, it is determined that the health data block in the health data block chain is complete;
If verification failure, it is determined that there are the health data areas that health data information is illegally distorted in the health data block chain
Block.In this way it is ensured that the data integrity of health data block chain, improves the safety of health data.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic flow diagram of health data method of calibration based on block chain provided in an embodiment of the present invention;
Fig. 2 is the exemplary flow of another health data method of calibration based on block chain provided in an embodiment of the present invention
Figure;
Fig. 3 is the exemplary flow of another health data method of calibration based on block chain provided in an embodiment of the present invention
Figure;
Fig. 4 is a kind of schematic block diagram of data check equipment provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that the term used in this description of the invention is merely for the sake of for the purpose of describing particular embodiments
And it is not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless up and down
Text clearly indicates other situations, and otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
Health data method of calibration provided in an embodiment of the present invention based on block chain can be by a kind of data verification system
It executes, the data verification system includes data check equipment and diagnosis and treatment terminal, and in certain embodiments, the data check is set
Standby to can be set on the server, the server may include the intelligent terminals such as mobile phone, computer, plate, smartwatch.At certain
In a little embodiments, communication connection can establish between the data check equipment and the diagnosis and treatment terminal, to carry out two-way communication.
In certain embodiments, the data check equipment may be mounted on server, in certain embodiments, the data check
Equipment can be spatially independently of the server.In certain embodiments, the diagnosis and treatment terminal may include: that hand is mechanical, electrical
Brain, plate, smartwatch etc. can intelligent terminals.
The health data block of collected each patient can be sent to by diagnosis and treatment terminal described in the data verification system
Server, the server, can bases after the health data block for getting each patient that the diagnosis and treatment terminal is sent
The health data type of the corresponding each health data block of each Patient identification, to the health data block of each patient into
Row classification, according to the sequencing of preset health data type, health data area corresponding to sorted each Patient identification
Block is ranked up, and generates health data block chain according to the health data block after sequence, to the health data block chain
Completeness check being carried out, if verified successfully, it is determined that the health data block in the health data block chain is complete, if
Verification failure, it is determined that there are the health data blocks that health data information is illegally distorted in the health data block chain.
It can be sent to third party to avoid by the health data illegally distorted in this way, improve the safety of data.Under
Face is schematically illustrated in conjunction with the health data method of calibration based on block chain of the attached drawing to the embodiment of the present invention.
Referring to Figure 1, Fig. 1 is a kind of showing for health data method of calibration based on block chain provided in an embodiment of the present invention
Meaning flow chart, as shown in Figure 1, this method can be executed by data check equipment, the data check equipment is set to server
On, the specific explanations of the data check equipment are as previously mentioned, details are not described herein again.Specifically, the embodiment of the present invention is described
Method includes the following steps.
S101: the health data block at least one patient that diagnosis and treatment terminal is sent is obtained.
In the embodiment of the present invention, the health data area at least one patient that the available diagnosis and treatment terminal of server is sent
Block, in certain embodiments, the health data block are generated according to the health data type of each patient, the health number
According to including Patient identification and the corresponding health data of the Patient identification in block, the health data includes disease data, body
Examine data, exercise data, any one or more in living habit data.
S102: according to the health data type of the corresponding each health data block of each Patient identification, to each trouble
The health data block of person is classified.
In the embodiment of the present invention, server can be according to the health of the corresponding each health data block of each Patient identification
Data type classifies to the health data block of each patient.In certain embodiments, the health data type can
With include disease data type, physical examination data type, exercise data type, in living habit data type any one or it is more
Kind.
S103: according to the sequencing of preset health data type, health corresponding to sorted each Patient identification
Data block is ranked up, and generates health data block chain according to the health data block after sequence.
In the embodiment of the present invention, server can be according to the sequencing of preset health data type, to sorted
The corresponding health data block of each Patient identification is ranked up, and generates health data area according to the health data block after sequence
Block chain.In certain embodiments, the sequencing of the preset health data type can be artificial preset sequence.Example
Such as, it is assumed that health data type includes disease data type, physical examination data type, exercise data type, living habit data class
Type, if the sequencing of the preset health data type is followed successively by disease data type, physical examination data type, life habit
Used data type, exercise data type, then according to the sequencing of the preset health data type, to health of all categories
Data block is ranked up, and generates health data block chain according to the health data block after sequence.In this way, have
Healthy number can be searched according to the type of the corresponding health data block of each patient's difference health data type conducive to server
According to improving the search efficiency of health data.
In one embodiment, the quantity of the health data block of the available each patient of the server, according to described
The quantity of health data block is ranked up each patient, generates the health according to the health data block after sequence
Data block chain.For example, it is assumed that the server gets the health data block of n patient of diagnosis and treatment terminal transmission, then institute
State server successively can be ranked up the n patient, and press according to the size order of the quantity of each health data block
Each health data block of each patient of n after phototypesetting sequence generates the health data block chain.In this way, be conducive to take
Being engaged in device can be according to the quantity of the corresponding each health data block of Patient identification of each patient, and lookup health data improves strong
The search efficiency of health data.
S104: completeness check is carried out to the health data block chain.
In the embodiment of the present invention, the server can carry out completeness check to the health data block chain.One
In a embodiment, the health data block includes block Hash codes, and the server can be according to the health data block
Block Hash codes and preset detection cycle to the health data block chain carry out completeness check.
In one embodiment, encryption information, the health data block packet are carried in the health data acquisition request
Include block Hash codes, the server can be according to the encryption information that carries in the health data acquisition request and described strong
The block Hash codes of health data block carry out completeness check to the health data block chain.
S105: if verified successfully, it is determined that the health data block in the health data block chain is complete.
In the embodiment of the present invention, if the server, which is detected, carries out completeness check to the health data block chain
Success, then can determine that the health data block in the health data block chain is complete.
S106: if verification failure, it is determined that there are health data information illegally to be usurped in the health data block chain
The health data block changed.
In the embodiment of the present invention, if the server, which is detected, carries out completeness check to the health data block chain
Failure, then can determine that there are the health data blocks that health data information is illegally distorted in the health data block chain.
In the embodiment of the present invention, the health data area at least one patient that the available diagnosis and treatment terminal of server is sent
Block, according to the health data type of the corresponding each health data block of each Patient identification, to the healthy number of each patient
Classify according to block, it is corresponding to sorted each Patient identification strong according to the sequencing of preset health data type
Health data block is ranked up, and generates health data block chain according to the health data block after sequence, to the healthy number
Completeness check is carried out according to block chain, if verified successfully, it is determined that the health data block in the health data block chain
Completely, if verification failure, it is determined that there are the health that health data information is illegally distorted in the health data block chain
Data block.In this way it is ensured that the integrality of the health data block, improves the safety of health data.
Fig. 2 is referred to, Fig. 2 is another health data method of calibration based on block chain provided in an embodiment of the present invention
Schematic flow diagram, as shown in Fig. 2, this method can be executed by data check equipment, the specific explanations of the data check equipment are such as
Preceding described, details are not described herein again.The difference of the embodiment of the present invention and embodiment described in above-mentioned Fig. 1 is that the embodiment of the present invention is
A kind of implementation process for carrying out completeness check to the health data block chain is described in detail.Specifically, of the invention
Described method includes following steps for embodiment.
S201: the health data block at least one patient that diagnosis and treatment terminal is sent is obtained.
In the embodiment of the present invention, the health data area at least one patient that the available diagnosis and treatment terminal of server is sent
Block.Wherein, the health data block explanation as previously mentioned, and the health data explanation as previously mentioned, herein not
It repeats again.
S202: according to the health data type of the corresponding each health data block of each Patient identification, to each trouble
The health data block of person is classified.
In the embodiment of the present invention, server can be according to the health of the corresponding each health data block of each Patient identification
Data type classifies to the health data block of each patient.Specific implementation process and illustration as previously mentioned, this
Place repeats no more.
S203: according to the sequencing of preset health data type, health corresponding to sorted each Patient identification
Data block is ranked up, and generates health data block chain according to the health data block after sequence.
In the embodiment of the present invention, server can be according to the sequencing of preset health data type, to sorted
The corresponding health data block of each Patient identification is ranked up, and generates health data area according to the health data block after sequence
Block chain.It specific implementation process and schematically illustrates as previously mentioned, details are not described herein again.
S204: the block Hash codes of each health data block in the health data block chain are obtained.
In the embodiment of the present invention, the block of each health data block in the available health data block chain of server
Hash codes.It in one embodiment, include block Hash codes in the health data block, the server is after according to sequence
Health data block generate health data block chain after, each health data block in the available healthy block chain
Hash codes.
S205: it according to preset detection cycle, detects in each health data block between adjacent healthy data block
Whether block Hash codes are associated, if testing result be it is yes, then follow the steps S206, if testing result be it is no, execute
Step S207.
In the embodiment of the present invention, server can detect in each health data block according to preset detection cycle
Whether the block Hash codes between adjacent healthy data block are associated, if testing result be it is yes, then follow the steps S206, if
Testing result be it is no, then follow the steps S207.For example, it is assumed that the preset detection cycle is 1h, then the server can be with
According to the preset detection cycle 1h, the block in each health data block described in cycle detection between adjacent healthy data block is breathed out
Whether uncommon code is associated.
In one embodiment, area of the server in detecting each health data block between adjacent healthy data block
When whether block hash code is associated, can detecte the block Hash codes in each health data block between adjacent healthy data block is
It is no continuous, if continuously, can determine the block Hash codes in each health data block between adjacent healthy data block
It is associated, if discontinuously, can determine the block Hash in each health data block between adjacent healthy data block
Code is unrelated.
It can specifically illustrate, it is assumed that the server gets n continuous health data blocks, block-identified difference
For 1,2,3,, n, the server can detecte described 1,2,3,, n, the block between n continuous health data blocks breathes out
Whether uncommon code is associated, i.e., the described server can detecte the block Hash of the health data block 1 and health data block 2
Whether code is continuous, and similarly, whether the block Hash codes that can detecte the health data block 2 and health data block 3 are continuous,
And so on, until whether the block Hash codes for detecting the health data block n-1 and health data block n are continuous.
S206: the verification success of the health data block chain is determined.
In the embodiment of the present invention, if server detects in each health data block between adjacent healthy data block
Block Hash codes it is associated, then can determine the verification success of the health data block chain.
S207: it determines the completeness check failure of the health data block chain, and determines the health data block chain
The middle health data block illegally distorted there are health data information.
In the embodiment of the present invention, if server detects in each health data block between adjacent healthy data block
Block Hash codes it is unrelated, then can determine the health data block chain verification failure, and verification failure after,
And determine that there are the health data blocks that health data information is illegally distorted in the health data block chain.
In one embodiment, there are health data information quilts in determining the health data block chain for the server
Area after the health data block illegally distorted, in available each health data block between adjacent healthy data block
The not associated multiple target health data blocks of block hash code, and detect each target health data block whether with adjacent other
Block Hash codes between health data block are associated, if testing result is no, it is determined that each target health data area
The not associated target health data block of block Hash codes in block between other adjacent health data blocks is illegally to be usurped
The health data block changed.
For example, it is assumed that the server gets the continuous health data blocks of n, it is block-identified be respectively 1,2,3,,
N, if server detection is described 1,2,3,, n, health data block 2 and health in n continuous health data blocks
Block Hash codes between data block 3 are unrelated, and the block between health data block 1 and health data block 2 is breathed out
Uncommon code is associated, and the block Hash codes between health data block 3 and health data block 4 are unrelated, health data area
Block 4 and health data block 5 are associated, and so on, the block between health data block n-1 and health data block n is breathed out
Uncommon code is associated, then the server can determine that the health data block 3 is the target health data area illegally distorted
Block.
In one embodiment, the health data block includes Patient identification, and the server is determining the health
After the health data block illegally distorted in data block chain there are health data information, it can determine and described illegally be usurped
At least one corresponding Patient identification of the health data block changed generates the health according at least one described Patient identification
Patient identification's list that data block is illegally distorted, the corresponding terminal hair of each Patient identification in Xiang Suoshu Patient identification's list
Notification message is sent, to notify each Patient identification that corresponding terminal health data block is tampered.
For example, it is assumed that server determines that the health data block illegally distorted is health data block 2 and healthy number
According to block 3, then the patient of the Patient identification a of the available health data block 2 of the server and health data block 3
B is identified, according to the Patient identification a and Patient identification b, generates Patient identification's column that the health data block is illegally distorted
Table, the corresponding terminal of each Patient identification in Xiang Suoshu Patient identification's list sends a notification message, to notify the Patient identification a
Terminal health data block corresponding with Patient identification b is tampered.
In one embodiment, the health data block includes block-identified, and the server can determine the quilt
The health data block illegally distorted is corresponding, and at least one is block-identified, according at least one described Patient identification and it is described extremely
Few one block-identified, generates the block-identified list that the health data block is illegally distorted, and to the Patient identification
The corresponding terminal of each Patient identification in list sends the acquisition request of health data block, so that each Patient identification is corresponding
Terminal upload health data block again, the health data area that the corresponding terminal of each Patient identification is uploaded again
Block is put into the corresponding block-identified corresponding position of each Patient identification described in the health data block chain.
For example, it is assumed that server determines that the health data block illegally distorted is health data block 2 and healthy number
According to block 3, then the Patient identification a and block-identified 2 of the available health data block 2 of the server, and health
The Patient identification b of data block 3 and block-identified 3, according to the Patient identification a and block-identified 2, Patient identification b and block
Mark 3, generates the block-identified list that the health data block is illegally distorted.
In one embodiment, Patient identification is carried in the health data block, server is to the healthy number
After the completeness check failure of block chain, the target health data block illegally distorted can be determined, and to institute
It states diagnosis and treatment terminal and sends prompt information, wherein carry Patient identification in the prompt information, the prompt information is for prompting
The health data of the corresponding target health data block of the Patient identification is illegally distorted, so that the diagnosis and treatment terminal can weigh
Newly upload the corresponding target health data block of the Patient identification.Diagnosis and treatment terminal can be made to upload quilt again in this way
The health data block illegally distorted, the health data block of health data block chain described in completion, it is ensured that the health data
The integrality of data in block chain.
For example, it is assumed that the server gets 1,2,3,, n, n continuous health data blocks, and the n are strong
Health data block it is block-identified correspond to 1,2,3,, n, if the server is determined in each health data block
The target health data block illegally distorted is health data block 2 and health data block 3, and the server is got
The Patient identification of the health data block 2 is a, and getting the Patient identification of the health data block 3 is b, then institute
Prompt information can be sent to the diagnosis and treatment terminal by stating server, to prompt Patient identification a described in the diagnosis and treatment terminal corresponding
The health data block 3 corresponding with the Patient identification b of health data block 2 is illegally distorted, so that the diagnosis and treatment terminal can
To upload the corresponding health data block 2 of Patient identification a health data block 3 corresponding with the Patient identification b again.
In the embodiment of the present invention, the health data area at least one patient that the available diagnosis and treatment terminal of server is sent
Block, according to the health data type of the corresponding each health data block of each Patient identification, to the healthy number of each patient
Classify according to block, it is corresponding to sorted each Patient identification strong according to the sequencing of preset health data type
Health data block is ranked up, and generates health data block chain according to the health data block after sequence, to improve user
To the search efficiency of health data block.Each health data block in the available health data block chain of server
Block Hash codes detect in each health data block between adjacent healthy data block and according to preset detection cycle
Block Hash codes whether be associated, if unrelated, can determine the completeness check of the health data block chain
Failure, and determine that there are the health data blocks that health data information is illegally distorted in the health data block chain.Pass through
The safety of data can be improved in this mode, it is ensured that the integrality of data in the health data block chain.
Fig. 3 is referred to, Fig. 3 is another health data method of calibration based on block chain provided in an embodiment of the present invention
Schematic flow diagram, as shown in figure 3, this method can be executed by data check equipment, the specific explanations of the data check equipment are such as
Preceding described, details are not described herein again.The difference of the embodiment of the present invention and embodiment described in above-mentioned Fig. 2 is that the embodiment of the present invention is
Another implementation process verified to each health data block in the health data block chain is described in detail.
Specifically, described method includes following steps for the embodiment of the present invention.
S301: the health data block at least one patient that diagnosis and treatment terminal is sent is obtained.
In the embodiment of the present invention, the health data area at least one patient that the available diagnosis and treatment terminal of server is sent
Block.Wherein, the health data block explanation as previously mentioned, and the health data explanation as previously mentioned, herein not
It repeats again.
S302: according to the health data type of the corresponding each health data block of each Patient identification, to each trouble
The health data block of person is classified.
In the embodiment of the present invention, server can be according to the health of the corresponding each health data block of each Patient identification
Data type classifies to the health data block of each patient.Specific implementation process and illustration as previously mentioned, this
Place repeats no more.
S303: according to the sequencing of preset health data type, health corresponding to sorted each Patient identification
Data block is ranked up, and generates health data block chain according to the health data block after sequence.
In the embodiment of the present invention, server can be according to the sequencing of preset health data type, to sorted
The corresponding health data block of each Patient identification is ranked up, and generates health data area according to the health data block after sequence
Block chain.It specific implementation process and schematically illustrates as previously mentioned, details are not described herein again.
In one embodiment, server can be obtained when getting the health data acquisition request of third party's transmission
The encryption information for taking the health data acquisition request to carry, wherein the encryption information may include Encryption Algorithm and key.
In certain embodiments, the health data acquisition request can be owns in the health data block chain
Health data block acquisition request.In certain embodiments, target trouble can be carried in the health data acquisition request
Person's mark identifies corresponding health data block to obtain the target patient.In certain embodiments, the health data obtains
Target block mark can be carried by taking in request, identify corresponding health data block to obtain the target block.Certain
In embodiment, target patient mark and target block mark can be carried in the health data acquisition request, with acquisition and institute
It states target patient mark and target block identifies corresponding health data block.
In one embodiment, the server, can be with when receiving the health data acquisition request of third party's transmission
Obtain the block Hash codes of each health data block in the health data block chain.In certain embodiments, the block is breathed out
Uncommon code is the server before generating health data block chain according to each health data block, according to preset Encryption Algorithm
The health data block is encrypted.In certain embodiments, the preset Encryption Algorithm can be default
Hash algorithm such as SHA256, the embodiment of the present invention do not do specific restriction to the preset Encryption Algorithm.
In one embodiment, the health data acquisition request includes authentication information, and the server is receiving
It, can before carrying out completeness check to the health data block chain after the health data acquisition request sent to third party
To obtain the authentication information according to the health data acquisition request, in certain embodiments, the authentication letter
Breath includes any one or more information in password, fingerprint, voice.The server can by the authentication information with
Preset authentication information is matched, if successful match, trigger execute it is described to the health data block chain into
The step of row completeness check.Authentication is carried out to the third party for sending health data acquisition request in this way, it can
To ensure third-party safety, the illegal user that the health data is sent to no authorized is avoided, is further ensured
The safety of the health data.
S304: according to the encryption information of health data block each in the health data block chain, to each healthy number
It is encrypted according to block, generates the corresponding verification Hash codes of each health data block.
In the embodiment of the present invention, server can be according to the encryption of health data block each in the health data block chain
Each health data block is encrypted in information, generates the corresponding verification Hash codes of each health data block.
In one embodiment, the server, can after the health data acquisition request for getting third party's transmission
According to the Encryption Algorithm and key in the encryption information, each health data block to be encrypted, institute is generated
State the verification Hash codes of each health data block.
For example, it is assumed that the Encryption Algorithm that the server is got is hash algorithm SHA256, key xyz, if institute
State health data block chain include 1,2,3,, n, the continuous health data blocks of n, then the server can be according to described
Each health data block is encrypted in hash algorithm SHA256 and key xyz, generates each health data area
The verification Hash codes of block.
In one embodiment, target patient mark and/or target block are carried in the health data acquisition request
Mark, the server can identify in corresponding encryption information according to target patient mark and/or target block
Encryption Algorithm and key add health data block corresponding with target patient mark and/or target block mark
Close processing generates the verification Hash codes that corresponding health data block is identified with target patient mark and/or target block.
For example, it is assumed that carried in health data request it is block-identified be 2, the server get with it is described
The corresponding Encryption Algorithm of health data block 2 is hash algorithm SHA256, key xyz, then the server can be according to institute
Encryption Algorithm SHA256 and key xyz are stated, the health data block 2 is encrypted, generates the health data area
The verification Hash codes of block 2.
S305: the corresponding verification Hash codes of detection each health data block whether the area with the health data block
Block hash code matching, if it does, then step S306 is executed, if it does not match, executing step S307.
In the embodiment of the present invention, server, can be with after getting the corresponding verification Hash codes of each health data block
Detect whether the corresponding verification Hash codes of each health data block match with the block Hash codes of the health data block,
If it does, then step S306 is executed, if it does not match, executing step S307.
S306: the completeness check success of the health data block chain is determined.
In the embodiment of the present invention, if server detects the corresponding verification Hash codes of each health data block and institute
The block Hash codes matching for stating health data block can then determine the completeness check success of the health data block chain.
In one embodiment, the server is before carrying out completeness check to the health data block chain, such as
Fruit gets the health data acquisition request of third party's transmission, then the server can determine the health data block chain
Verification success after, each health data block corresponding with the health data acquisition request is sent to the third party.
S307: it determines the completeness check failure of the health data block chain, and determines the health data block chain
The middle health data block illegally distorted there are health data information.
In the embodiment of the present invention, if server detects the corresponding verification Hash codes of each health data block and institute
The block Hash codes for stating health data block mismatch, then can determine that the completeness check of the health data block chain loses
It loses, and determines that there are the health data blocks that health data information is illegally distorted in the health data block chain.
In one embodiment, there are health data information quilts in determining the health data block chain for the server
After the health data block illegally distorted, block Hash codes and each health in available each health data block
At least one unmatched target health data block of the verification Hash codes of data block determines at least one target health
Data block is the health data block illegally distorted.
In one embodiment, if the server is in determining the health data block chain, there are health data quilts
Before the health data block illegally distorted, the health data acquisition request of third party's transmission is got, if server is true
It makes health data block corresponding with the health data acquisition request in the health data block chain illegally to be distorted, then
It can refuse the health data acquisition request that the third party sends, and determine corresponding with the health data acquisition request
The target health data block illegally distorted, to send prompt information to the third party, wherein the prompt information is used for
The health data of the target health data block is prompted illegally to be distorted.In this way, it avoids after illegally being distorted
Health data block be sent to third party.
In one embodiment, the server, can after the target health data block for determining illegally to be distorted
Carried to send prompt information to diagnosis and treatment terminal, in the prompt information target health data block Patient identification and
It is block-identified, to prompt target health data block described in the diagnosis and treatment terminal illegally to be distorted, so that the diagnosis and treatment terminal can
To upload the target health data block again.Diagnosis and treatment terminal can in this way uploaded again illegally to be distorted
Target health data block, it is ensured that the integrality of data in the health data block chain.The illustration of specific embodiment
As previously mentioned, details are not described herein again.
In the embodiment of the present invention, the health data area at least one patient that the available diagnosis and treatment terminal of server is sent
Block, and according to the health data type of the corresponding each health data block of each Patient identification, to the health of each patient
Data block is classified.The server can be according to the sequencing of preset health data type, to sorted each
The corresponding health data block of Patient identification is ranked up, and generates health data block according to the health data block after sequence
Chain.The server can be according to the encryption information of health data block each in the health data block chain, to described each strong
Health data block is encrypted, and generates the corresponding verification Hash codes of each health data block.If detected described
It verifies Hash codes and the block Hash codes mismatches, then can determine that the completeness check of the health data block chain loses
It loses, so that it is determined that there are the health data blocks that health data information is illegally distorted in the health data block chain.Pass through
This mode, it can be ensured that the integrality of data in the health data block chain is avoided the healthy number after illegally being distorted
It is sent to third party according to block, improves Information Security.
The embodiment of the invention also provides a kind of data check equipment, the data check equipment is any one of aforementioned for executing
The unit of the method.Specifically, referring to fig. 4, Fig. 4 is a kind of signal of data check equipment provided in an embodiment of the present invention
Block diagram.The data check equipment of the present embodiment includes: acquiring unit 401, taxon 402, generation unit 403, verification unit
404, the first determination unit 405 and the second determination unit 406.
Acquiring unit 401, the health data block of at least one patient for obtaining the transmission of diagnosis and treatment terminal, wherein institute
Stating health data block is generated according to the health data type of each patient, includes Patient identification in the health data block
Health data corresponding with the Patient identification, the health data include disease data, physical examination data, exercise data, life
It is accustomed to any one or more in data;
Taxon 402, for the health data type according to the corresponding each health data block of each Patient identification,
Classify to the health data block of each patient;
Generation unit 403, for the sequencing according to preset health data type, to sorted each Patient identification
Corresponding health data block is ranked up, and generates health data block chain according to the health data block after sequence;
Verification unit 404, for carrying out completeness check to the health data block chain;
First determination unit 405, if for verifying successfully, it is determined that the health data in the health data block chain
Block is complete;
Second determination unit 406, if for verifying failure, it is determined that there is healthy number in the health data block chain
It is believed that the health data block that breath is illegally distorted.
Further, the health data block includes block Hash codes;The verification unit 404 is to the health data
When block chain carries out completeness check, it is specifically used for:
Obtain the block Hash codes of each health data block in the health data block chain;
According to preset detection cycle, detects the block in each health data block between adjacent healthy data block and breathe out
Whether uncommon code is associated;
If testing result is yes, it is determined that the completeness check success of the health data block chain;
If testing result is no, it is determined that the completeness check of the health data block chain fails.
Further, there are health data letters in determining the health data block chain for first determination unit 405
After ceasing the health data block illegally distorted, it is also used to:
Obtain the not associated multiple mesh of block Hash codes in each health data block between adjacent healthy data block
Mark health data block;
Detecting each target health data block, whether block Hash codes between other adjacent health data blocks are related
Connection, described other adjacent health data blocks be in the health data block chain with the target health data block phase
Adjacent health data block;
If testing result is no, it is determined that in each target health data block with other adjacent health data areas
The not associated target health data block of block Hash codes between block is the health data block illegally distorted.
Further, the health data block includes block Hash codes;The verification unit 404 is to the health data
When block chain carries out completeness check, it is specifically used for:
According to the encryption information of health data block each in the health data block chain, to each health data block
It is encrypted, generates the corresponding verification Hash codes of each health data block;
Detect whether the corresponding verification Hash codes of each health data block breathe out with the block of the health data block
Uncommon code matching;
If testing result is yes, it is determined that the completeness check success of the health data block chain;
If testing result is no, it is determined that the completeness check of the health data block chain fails.
Further, first determination unit 405 determines that there are health data information in the health data block chain
After the health data block illegally distorted, it is also used to:
Obtain the verification Hash codes of block Hash codes and each health data block in each health data block not
At least one matched target health data block;
Determine that at least one described target health data block is the health data block illegally distorted.
Further, the health data block includes Patient identification;First determination unit 405 is determining described be good for
After the health data block illegally distorted in health data block chain there are health data information, it is also used to:
Determine at least one corresponding Patient identification of the health data block illegally distorted;
According at least one described Patient identification, Patient identification's column that the health data block is illegally distorted are generated
Table;
The corresponding terminal of each Patient identification into Patient identification's list sends a notification message, to notify each trouble
Person identifies corresponding terminal health data block and is tampered.
Further, the health data block includes block-identified, and first determination unit 405 is also used to:
Determining the health data block illegally distorted, corresponding at least one is block-identified;
According at least one described Patient identification and it is described at least one is block-identified, generate the health data block quilt
The block-identified list illegally distorted;
The corresponding terminal of each Patient identification into Patient identification's list sends the acquisition request of health data block,
So that the corresponding terminal of each Patient identification uploads health data block again;
The health data block that the corresponding terminal of each Patient identification uploads again is put into the health data
The corresponding block-identified corresponding position of each Patient identification described in block chain.
In the embodiment of the present invention, the health data area at least one patient that the available diagnosis and treatment terminal of server is sent
Block, according to the health data type of the corresponding each health data block of each Patient identification, to the healthy number of each patient
Classify according to block, it is corresponding to sorted each Patient identification strong according to the sequencing of preset health data type
Health data block is ranked up, and generates health data block chain according to the health data block after sequence, to the healthy number
Completeness check is carried out according to block chain, if verified successfully, it is determined that the health data block in the health data block chain
Completely, if verification failure, it is determined that there are the health that health data information is illegally distorted in the health data block chain
Data block.In this way it is ensured that the integrality of the health data block, improves the safety of health data.
Fig. 5 is referred to, Fig. 5 is a kind of schematic block diagram of server provided in an embodiment of the present invention.This reality as shown in the figure
Applying the server in example may include: one or more processors 501;One or more input equipments 502, it is one or more defeated
Equipment 503 and memory 504 out.Above-mentioned processor 501, input equipment 502, output equipment 503 and memory 504 pass through bus
505 connections.Memory 504 is for storing computer program, and the computer program includes program instruction, and processor 501 is used for
Execute the program instruction that memory 504 stores.Wherein, processor 501 is configured for calling described program instruction execution:
Obtain the health data block at least one patient that diagnosis and treatment terminal is sent, wherein the health data block is
It is generated according to the health data type of each patient, includes Patient identification and the Patient identification couple in the health data block
The health data answered, the health data includes disease data, physical examination data, exercise data, any in living habit data
It is one or more;
According to the health data type of the corresponding each health data block of each Patient identification, each patient is good for
Health data block is classified;
According to the sequencing of preset health data type, health data area corresponding to sorted each Patient identification
Block is ranked up, and generates health data block chain according to the health data block after sequence;
Completeness check is carried out to the health data block chain;
If verified successfully, it is determined that the health data block in the health data block chain is complete;
If verification failure, it is determined that there are what health data information was illegally distorted to be good in the health data block chain
Health data block.
Further, the health data block includes block Hash codes, and the processor 501 is to the health data area
When block chain carries out completeness check, it is specifically used for:
Obtain the block Hash codes of each health data block in the health data block chain;
According to preset detection cycle, detects the block in each health data block between adjacent healthy data block and breathe out
Whether uncommon code is associated;
If testing result is yes, it is determined that the completeness check success of the health data block chain;
If testing result is no, it is determined that the completeness check of the health data block chain fails.
Further, the processor 501 determines that there are health data information is illegal in the health data block chain
After the health data block distorted, it is also used to:
Obtain the not associated multiple mesh of block Hash codes in each health data block between adjacent healthy data block
Mark health data block;
Detecting each target health data block, whether block Hash codes between other adjacent health data blocks are related
Connection, described other adjacent health data blocks be in the health data block chain with the target health data block phase
Adjacent health data block;
If testing result is no, it is determined that in each target health data block with other adjacent health data areas
The not associated target health data block of block Hash codes between block is the health data block illegally distorted.
Further, the health data block includes block Hash codes;The processor 501 is to the health data area
When block chain carries out completeness check, it is specifically used for:
According to the encryption information of health data block each in the health data block chain, to each health data block
It is encrypted, generates the corresponding verification Hash codes of each health data block;
Detect whether the corresponding verification Hash codes of each health data block breathe out with the block of the health data block
Uncommon code matching;
If testing result is yes, it is determined that the completeness check success of the health data block chain;
If testing result is no, it is determined that the completeness check of the health data block chain fails.
Further, the processor 501 determines that there are health data information is illegal in the health data block chain
After the health data block distorted, it is also used to:
Obtain the verification Hash codes of block Hash codes and each health data block in each health data block not
At least one matched target health data block;
Determine that at least one described target health data block is the health data block illegally distorted.
Further, the health data block includes Patient identification, and the processor 501 determines the health data area
After the health data block illegally distorted in block chain there are health data information, it is also used to:
Determine at least one corresponding Patient identification of the health data block illegally distorted;
According at least one described Patient identification, Patient identification's column that the health data block is illegally distorted are generated
Table;
The corresponding terminal of each Patient identification into Patient identification's list sends a notification message, to notify each trouble
Person identifies corresponding terminal health data block and is tampered.
Further, the health data block includes block-identified;The processor 501 is also used to:
Determining the health data block illegally distorted, corresponding at least one is block-identified;
According at least one described Patient identification and it is described at least one is block-identified, generate the health data block quilt
The block-identified list illegally distorted;
The corresponding terminal of each Patient identification into Patient identification's list sends the acquisition request of health data block,
So that the corresponding terminal of each Patient identification uploads health data block again;
The health data block that the corresponding terminal of each Patient identification uploads again is put into the health data
The corresponding block-identified corresponding position of each Patient identification described in block chain.
In the embodiment of the present invention, the health data area at least one patient that the available diagnosis and treatment terminal of server is sent
Block, according to the health data type of the corresponding each health data block of each Patient identification, to the healthy number of each patient
Classify according to block, it is corresponding to sorted each Patient identification strong according to the sequencing of preset health data type
Health data block is ranked up, and generates health data block chain according to the health data block after sequence, to the healthy number
Completeness check is carried out according to block chain, if verified successfully, it is determined that the health data block in the health data block chain
Completely, if verification failure, it is determined that there are the health that health data information is illegally distorted in the health data block chain
Data block.In this way it is ensured that the integrality of the health data block, improves the safety of health data.
It should be appreciated that in embodiments of the present invention, alleged processor 501 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Input equipment 502 may include Trackpad, microphone etc., output equipment 503 may include display (LCD etc.),
Loudspeaker etc..
The memory 504 may include read-only memory and random access memory, and to processor 501 provide instruction and
Data.The a part of of memory 504 can also include nonvolatile RAM.For example, memory 504 can also be deposited
Store up the information of device type.
In the specific implementation, processor 501 described in the embodiment of the present invention, input equipment 502, output equipment 503 can
Execute the reality of method described in Fig. 1, Fig. 2 or Fig. 3 of the health data method of calibration provided in an embodiment of the present invention based on block chain
Implementation described in example is applied, the implementation of data check equipment described in Fig. 4 of the embodiment of the present invention also can be performed
Or the implementation of server described in Fig. 5, details are not described herein.
A kind of computer readable storage medium is additionally provided in the embodiment of the present invention, the computer readable storage medium is deposited
Computer program is contained, the computer program is realized in embodiment corresponding to Fig. 1, Fig. 2 or Fig. 3 when being executed by processor and described
The health data method of calibration based on block chain, can also realize embodiment corresponding to Fig. 4 of the present invention data check equipment or
Server described in Fig. 5, details are not described herein.
It deposits the inside that the computer readable storage medium can be data check equipment described in aforementioned any embodiment
Storage unit, such as the hard disk or memory of data check equipment.The computer readable storage medium is also possible to the data school
Test the plug-in type hard disk being equipped on the External memory equipment of equipment, such as the data check equipment, intelligent memory card (Smart
Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further,
The computer readable storage medium can also both include the internal storage unit of the data check equipment or deposit including outside
Store up equipment.The computer readable storage medium is for storing needed for the computer program and the data check equipment
Other programs and data.The computer readable storage medium, which can be also used for temporarily storing, have been exported or will export
Data.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, diagnosis and treatment terminal or the network equipment etc.) executes each embodiment the method for the present invention
All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, some embodiments only of the invention, but scope of protection of the present invention is not limited thereto, and it is any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.
Claims (10)
1. a kind of health data method of calibration based on block chain characterized by comprising
Obtain the health data block at least one patient that diagnosis and treatment terminal is sent, wherein the health data block is basis
What the health data type of each patient generated, include that Patient identification and the Patient identification are corresponding in the health data block
Health data, the health data include disease data, physical examination data, exercise data, any one in living habit data
Or it is a variety of;
According to the health data type of the corresponding each health data block of each Patient identification, to the healthy number of each patient
Classify according to block;
According to the sequencing of preset health data type, to the corresponding health data block of sorted each Patient identification into
Row sequence, and health data block chain is generated according to the health data block after sequence;
Completeness check is carried out to the health data block chain;
If verified successfully, it is determined that the health data block in the health data block chain is complete;
If verification failure, it is determined that there are the healthy numbers that health data information is illegally distorted in the health data block chain
According to block.
2. described the method according to claim 1, wherein the health data block includes block Hash codes
Completeness check is carried out to the health data block chain, comprising:
Obtain the block Hash codes of each health data block in the health data block chain;
According to preset detection cycle, the block Hash codes in each health data block between adjacent healthy data block are detected
Whether it is associated;
If testing result is yes, it is determined that the completeness check success of the health data block chain;
If testing result is no, it is determined that the completeness check of the health data block chain fails.
3. according to the method described in claim 2, it is characterized in that, there is health in the determination health data block chain
After the health data block that data information is illegally distorted, further includes:
The not associated multiple targets of block Hash codes obtained in each health data block between adjacent healthy data block are strong
Health data block;
Detecting each target health data block, whether block Hash codes between other adjacent health data blocks are associated, institute
It is adjacent with the target health data block in the health data block chain for stating other adjacent health data blocks
Health data block;
If testing result is no, it is determined that in each target health data block between other adjacent health data blocks
The not associated target health data block of block Hash codes be the health data block illegally distorted.
4. the method according to claim 1, wherein the health data block includes block Hash codes;It is described
Completeness check is carried out to the health data block chain, comprising:
According to the encryption information of health data block each in the health data block chain, each health data block is carried out
Encryption generates the corresponding verification Hash codes of each health data block;
Detect the corresponding verification Hash codes of each health data block whether the block Hash codes with the health data block
Matching;
If testing result is yes, it is determined that the completeness check success of the health data block chain;
If testing result is no, it is determined that the completeness check of the health data block chain fails.
5. according to the method described in claim 4, it is characterized in that, there is health in the determination health data block chain
After the health data block that data information is illegally distorted, further includes:
Block Hash codes and the verification Hash codes of each health data block in each health data block are obtained to mismatch
At least one target health data block;
Determine that at least one described target health data block is the health data block illegally distorted.
6. the method according to claim 3 or 5, which is characterized in that the health data block includes Patient identification, described
After determining the health data block illegally distorted in the health data block chain there are health data information, further includes:
Determine at least one corresponding Patient identification of the health data block illegally distorted;
According at least one described Patient identification, Patient identification's list that the health data block is illegally distorted is generated;
The corresponding terminal of each Patient identification into Patient identification's list sends a notification message, to notify each patient's mark
Know corresponding terminal health data block to be tampered.
7. according to the method described in claim 6, it is characterized in that, the health data block includes block-identified, the side
Method further include:
Determining the health data block illegally distorted, corresponding at least one is block-identified;
According at least one described Patient identification and it is described at least one is block-identified, it is illegal to generate the health data block
The block-identified list distorted;
The corresponding terminal of each Patient identification into Patient identification's list sends the acquisition request of health data block, so that
The corresponding terminal of each Patient identification uploads health data block again;
The health data block that the corresponding terminal of each Patient identification uploads again is put into the health data block
The corresponding block-identified corresponding position of each Patient identification described in chain.
8. a kind of data check equipment, which is characterized in that including for executing as described in any one of claim 1-7 claim
Method unit.
9. a kind of server, which is characterized in that including processor, input equipment, output equipment and memory, the processor,
Input equipment, output equipment and memory are connected with each other, wherein the memory is for storing computer program, the calculating
Machine program includes program instruction, and the processor is configured for calling described program instruction, is executed as claim 1-7 is any
Method described in.
10. a kind of computer readable storage medium, which is characterized in that the computer storage medium is stored with computer program,
The computer program includes program instruction, and described program instruction makes the processor execute such as right when being executed by a processor
It is required that the described in any item methods of 1-7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811323291.2A CN109472598A (en) | 2018-11-07 | 2018-11-07 | A kind of health data method of calibration, equipment and server based on block chain |
PCT/CN2019/095056 WO2020093723A1 (en) | 2018-11-07 | 2019-07-08 | Blockchain-based health data verification method and device, and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811323291.2A CN109472598A (en) | 2018-11-07 | 2018-11-07 | A kind of health data method of calibration, equipment and server based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109472598A true CN109472598A (en) | 2019-03-15 |
Family
ID=65671800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811323291.2A Pending CN109472598A (en) | 2018-11-07 | 2018-11-07 | A kind of health data method of calibration, equipment and server based on block chain |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109472598A (en) |
WO (1) | WO2020093723A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110535958A (en) * | 2019-08-30 | 2019-12-03 | 腾讯科技(深圳)有限公司 | Health information storage method and related equipment |
WO2020093723A1 (en) * | 2018-11-07 | 2020-05-14 | 平安医疗健康管理股份有限公司 | Blockchain-based health data verification method and device, and server |
CN111737763A (en) * | 2020-07-22 | 2020-10-02 | 江苏荣泽信息科技股份有限公司 | System for sorting storage data in block chain in ascending order |
CN113434550A (en) * | 2019-11-11 | 2021-09-24 | 蚂蚁区块链科技(上海)有限公司 | Aggregation calculation method, device and equipment in block chain type account book |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20210127985A1 (en) * | 2019-11-02 | 2021-05-06 | West Affum Holdings Corp. | Secure Patient Data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107580196A (en) * | 2017-07-28 | 2018-01-12 | 国创科视科技股份有限公司 | A kind of video data shared system and method |
CN107799163A (en) * | 2017-01-22 | 2018-03-13 | 平安医疗健康管理股份有限公司 | Prescription circulation methods, devices and systems based on block chain |
CN107818817A (en) * | 2017-01-22 | 2018-03-20 | 平安医疗健康管理股份有限公司 | The prescription side of continuing method and system based on block chain |
CN108256353A (en) * | 2018-01-11 | 2018-07-06 | 武汉斗鱼网络科技有限公司 | A kind of data integrity verifying method, apparatus and client |
CN108304734A (en) * | 2018-02-05 | 2018-07-20 | 成都卓观信息技术有限公司 | A kind of health account sharing method of decentralization |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107785073A (en) * | 2017-01-22 | 2018-03-09 | 平安医疗健康管理股份有限公司 | Medical examination result-sharing methods, devices and systems based on block chain |
CN108446314B (en) * | 2018-02-07 | 2021-08-13 | 平安科技(深圳)有限公司 | Student information storage method, computer readable storage medium and terminal equipment |
CN108345685A (en) * | 2018-03-07 | 2018-07-31 | 物数(上海)信息科技有限公司 | More granularity data processing methods, system, equipment and storage medium under block chain |
CN109472598A (en) * | 2018-11-07 | 2019-03-15 | 平安医疗健康管理股份有限公司 | A kind of health data method of calibration, equipment and server based on block chain |
-
2018
- 2018-11-07 CN CN201811323291.2A patent/CN109472598A/en active Pending
-
2019
- 2019-07-08 WO PCT/CN2019/095056 patent/WO2020093723A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107799163A (en) * | 2017-01-22 | 2018-03-13 | 平安医疗健康管理股份有限公司 | Prescription circulation methods, devices and systems based on block chain |
CN107818817A (en) * | 2017-01-22 | 2018-03-20 | 平安医疗健康管理股份有限公司 | The prescription side of continuing method and system based on block chain |
CN107580196A (en) * | 2017-07-28 | 2018-01-12 | 国创科视科技股份有限公司 | A kind of video data shared system and method |
CN108256353A (en) * | 2018-01-11 | 2018-07-06 | 武汉斗鱼网络科技有限公司 | A kind of data integrity verifying method, apparatus and client |
CN108304734A (en) * | 2018-02-05 | 2018-07-20 | 成都卓观信息技术有限公司 | A kind of health account sharing method of decentralization |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020093723A1 (en) * | 2018-11-07 | 2020-05-14 | 平安医疗健康管理股份有限公司 | Blockchain-based health data verification method and device, and server |
CN110535958A (en) * | 2019-08-30 | 2019-12-03 | 腾讯科技(深圳)有限公司 | Health information storage method and related equipment |
CN110535958B (en) * | 2019-08-30 | 2022-05-13 | 腾讯科技(深圳)有限公司 | Health information storage method and related equipment |
CN113434550A (en) * | 2019-11-11 | 2021-09-24 | 蚂蚁区块链科技(上海)有限公司 | Aggregation calculation method, device and equipment in block chain type account book |
CN111737763A (en) * | 2020-07-22 | 2020-10-02 | 江苏荣泽信息科技股份有限公司 | System for sorting storage data in block chain in ascending order |
Also Published As
Publication number | Publication date |
---|---|
WO2020093723A1 (en) | 2020-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109472598A (en) | A kind of health data method of calibration, equipment and server based on block chain | |
CN111914027B (en) | Block chain transaction keyword searchable encryption method and system | |
CN105681269B (en) | Biometric authentication method and computer-readable medium based on secret protection set | |
CN108737418A (en) | A kind of identity identifying method and system based on block chain | |
CN109257342A (en) | Authentication method, system, server and readable storage medium storing program for executing of the block chain across chain | |
CN107257336A (en) | A kind of user authen method and system | |
CN108683646A (en) | A kind of authentication method and computing device | |
CN109543458A (en) | A kind of prescription data method of calibration, equipment and server based on block chain | |
CN113487042B (en) | Federal learning method, device and federal learning system | |
CN107785073A (en) | Medical examination result-sharing methods, devices and systems based on block chain | |
CN109067801A (en) | A kind of identity identifying method, identification authentication system and computer-readable medium | |
CN107251033A (en) | System and method for carrying out active user checking in online education | |
CN106453422B (en) | Dynamic authentication method and system based on mobile terminal | |
CN108876369A (en) | Data communications method, device and computer readable storage medium based on block chain | |
CN107800672A (en) | A kind of Information Authentication method, electronic equipment, server and information authentication system | |
CN109670974A (en) | A kind of risk monitoring and control method and device, electric terminal | |
CN106101092A (en) | A kind of information evaluation processing method and first instance | |
CN109861992A (en) | A kind of information interacting method and across scene method for tracing of monitor terminal | |
CN109361697A (en) | The method for realizing trusted identity certification based on SIM card load PKI | |
CN110111080A (en) | A kind of PIM method and relevant device | |
CN110458662A (en) | Anti- fraud air control method and device | |
CN109634615A (en) | Dissemination method, verification method and the device of application installation package | |
CN114338666A (en) | Method, device, equipment and medium for verifying Fabric block chain cross-chain transaction | |
CN110300400A (en) | One kind is registered method, apparatus, electronic equipment and storage medium | |
CN109558724A (en) | A kind of software action integrity verification method |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220525 Address after: 518000 China Aviation Center 2901, No. 1018, Huafu Road, Huahang community, Huaqiang North Street, Futian District, Shenzhen, Guangdong Province Applicant after: Shenzhen Ping An medical and Health Technology Service Co.,Ltd. Address before: Room 12G, Block H, 666 Beijing East Road, Huangpu District, Shanghai 200000 Applicant before: PING AN MEDICAL AND HEALTHCARE MANAGEMENT Co.,Ltd. |
|
TA01 | Transfer of patent application right |