Blockchain data storage method and blockchain node system
Through blockchain data storage methods and node systems, the problem of difficulty in obtaining targeted treatment for patients in areas with low medical technology levels is solved, centralized treatment is achieved in hospitals, and the medical technology level and patient treatment efficiency are improved.
Patent Information
- Application Number
- CN202111115416.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-23
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2041-09-23
AI Technical Summary
In areas with low medical technology, it is difficult for patients to obtain targeted treatment and corresponding medical data, which makes it time-consuming and labor-intensive to transfer hospitals, affecting the optimal treatment time and threatening life safety.
Design a blockchain data storage method and blockchain node system, including patient blockchain data packaging module, blockchain center node module and disease communication module. Through the blockchain service network connection, it realizes distributed storage of patient symptoms, test reports, diagnostic results and treatment plans and disease similarity calculation, and establishes blockchain nodes for disease communication.
Centralized treatment in hospitals has been achieved, allowing patients in different medical technology levels to obtain treatment plan data for similar diseases through the blockchain network, improving the overall medical technology level in backward areas, and ensuring that patients can obtain appropriate medical resources in a timely manner.
Smart Images

Figure CN113963761B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of blockchain nodes, and specifically to a blockchain data storage method and a blockchain node system. Background Art
[0002] Blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and is a distributed ledger that is cryptographically guaranteed to be tamper-proof, unforgeable, fully traceable, and decentralized.
[0003] With the development of blockchain technology, in the field of domestic medical technology, the medical technology level in developed areas is generally higher than that in remote and poor areas such as underdeveloped areas. Therefore, when patients in areas with relatively low medical technology levels encounter difficult-to-solve conditions, they often cannot get targeted treatment and corresponding medical data, and often face transfers to other hospitals, which is not only time-consuming and labor-intensive, but also affects the optimal treatment time and seriously endangers life safety. Therefore, it is very necessary to design a blockchain data storage method and blockchain node system that is highly practical and can be used for centralized treatment in hospitals for similar conditions. Summary of the invention
[0004] The purpose of the present invention is to provide a blockchain data storage method and a blockchain node system to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a blockchain node system, characterized in that: the blockchain node system includes a patient blockchain data packaging module, a blockchain central node module and a condition communication module, the patient blockchain data packaging module is used for distributed storage and uploading of patient symptom treatment data, the blockchain central node module is used to establish a blockchain connecting different patients with similar personal conditions, the condition communication module is used to connect patients with high similarity in condition to communicate about their conditions, and the patient blockchain data packaging module, the blockchain central node module and the condition communication module are all connected to each other through a blockchain service network.
[0006] According to the above technical solution, the patient blockchain data packaging module includes a symptom data storage module, a test report data storage module, a disease diagnosis data storage module and a digital signature verification module. The symptom data storage module is used to record and store the disease symptoms reported by the doctor when the patient is treated in the hospital. The test report data storage module is used to further perform physical test report data obtained by medical equipment testing when the doctor diagnoses the patient's disease symptoms, and record and store the test report data. The disease diagnosis data storage module is used to record and store the diagnosis result data and treatment plan data after the doctor diagnoses the patient's disease symptoms. The digital signature verification module is connected to the symptom data storage module, the test report data storage module and the disease diagnosis data storage module. The digital signature verification module is used to package the patient's symptom treatment data into blocks for storage, and perform digital signature verification to prevent data tampering and improve the security of data storage.
[0007] According to the above technical solution, the blockchain central node module includes a patient blockchain extraction module, a keyword locking module, a condition similarity calculation module and a blockchain node establishment module. The patient blockchain extraction module is used to extract all patient symptom treatment data blocks in the blockchain service network. The keyword locking module is used to lock the data keywords in each patient symptom treatment data block. The condition similarity calculation module is used to calculate the similarity between the condition of different patients and the personal condition. The blockchain node establishment module is used to establish a blockchain node with the current personal condition data as the blockchain node, and connect the blocks packaged by patients whose similarity meets the personal condition data to the established blockchain node.
[0008] According to the above technical solution, the disease condition similarity calculation module includes a radar image establishment submodule and an overlap comparison submodule. The radar image establishment submodule is used to establish a radar chart for keywords extracted from different patient symptom treatment data blocks, and the overlap comparison submodule is used to compare the radar dimension chart of personal disease condition symptom data with the radar dimension chart of other patients' disease condition symptom data in the blockchain service network, so as to obtain the disease condition similarity according to the overlap rate of the radar image area.
[0009] According to the above technical scheme, the condition communication module includes a node sub-center communication module and a node center main communication module. The node sub-center communication module is used to conduct partial rights communication on the condition of patients whose condition symptom data at the established blockchain node sub-center is relatively similar to the personal condition symptom data. The node center main communication module is used to conduct full rights condition communication on patients whose condition is very similar to the personal condition.
[0010] A blockchain data storage method, the blockchain data storage method mainly comprising the following steps:
[0011] Step S1: When an individual goes to the hospital for diagnosis and treatment, he / she explains his / her physical symptoms to the doctor and after receiving treatment from the hospital, the patient blockchain data packaging module stores the individual's current diagnosed symptoms, test reports, diagnosis results, and treatment plan data;
[0012] Step S2: The digital signature verification module packages the patient's symptom treatment data into blocks and stores them in the blockchain service network, and performs digital signature verification to prevent data tampering and improve the security of data storage;
[0013] Step S3: The patient blockchain extraction module extracts the blocks in the blockchain service network and decompresses the block storage data;
[0014] Step S4: The keyword locking module performs keyword locking and data sorting on the disease data stored in the numerous blocks;
[0015] Step S5: With the personal medical condition data as the center, the medical condition similarity calculation module calculates the similarity between the medical condition block data in the blockchain service network and the personal medical condition data;
[0016] Step S6: Establishing a blockchain node with the personal medical condition data as the center in the blockchain service network, and arranging the chain lengths of blocks and personal blockchain nodes with different similarities in the blockchain service network;
[0017] Step S7: Taking the blockchain node established by the individual as the center, different radius lengths are drawn to form the node sub-center communication module area and the node center main communication module area, and different rights are granted for medical condition communication.
[0018] According to the above technical solution, step S4 further includes:
[0019] Step S41: locking keywords of the location, condition, time and whether there is a major medical history of the patient's symptoms;
[0020] Step S42: Retrieve medical examination report data, and lock abnormal data in the medical examination report data as keywords;
[0021] Step S43: extracting keywords of doctor's diagnosis results and treatment plans.
[0022] According to the above technical solution, step S5 further includes:
[0023] Step S51: Establishing a plane rectangular coordinate system, establishing a radar chart with the origin of the plane rectangular coordinate system as the center, and the radar image establishment submodule simulates a triangular radar chart with keywords extracted from different patient symptom treatment data blocks;
[0024] Step S52: The three corners of the triangular radar chart respectively correspond to the symptom data keywords, report data keywords, and treatment data keywords extracted by the three major keyword extraction modules. Each corner of the triangle corresponds to a pointing area of 120 degrees. Each degree deviation in the activity range represents a different keyword. The closer the meanings of different keywords are, the smaller the deviation of the corresponding triangle corner. At the same time, the distance from each corner vertex of the triangular radar chart to the origin of the plane rectangular coordinate system represents the severity index of the disease data;
[0025] Step S53: The coincidence degree comparison sub-module compares the radar dimension chart of the individual's disease symptoms data with the radar dimension charts of the disease symptoms data of other patients in the blockchain service network to obtain the coincidence area S 重 , the area S 个 of the individual's triangular radar chart and the area S 比 of the comparison target triangular radar;
[0026] Step S54: The similarity formula for calculating the disease block data in the blockchain service network and the individual's disease data is: In the formula, T is the similarity value between one of the disease block data in the blockchain service network and the individual's disease data. When the value of T is closer to 100%, it indicates that the similarity between this disease block data in the blockchain service network and the individual's disease data is higher.
[0027] According to the above technical solution, in step S6, in the blockchain service network, each person can establish a blockchain node centered on their own disease data. The similarity T value between each disease block data in the blockchain service network and the individual's disease data can be converted into the chain length of the individual blockchain node. The larger the T value, the shorter the corresponding chain length, and the closer to the individual blockchain node. On the contrary, the smaller the T value, the longer the corresponding chain length, and the farther from the individual blockchain node.
[0028] According to the above technical solution, step S7 further includes:
[0029] Step S71: The area where 80% < T ≤ 90% is designated as the node sub-center communication module area. Patients in the node sub-center communication module area can communicate with the individual for rehabilitation conditioning and can view the rehabilitation conditioning data stored in the corresponding blocks of the patients in the area to help the individual continue to recover after hospital treatment;
[0030] Step S72: The area where 90% < T ≤ 100% is designated as the node center main communication module area. Patients in the node center main communication module area can communicate with the individual for a complete treatment plan and can view all the treatment data stored in the corresponding blocks of the patients in the area to achieve decentralized treatment without going to the hospital.
[0031] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention, by providing a patient blockchain data packaging module, a blockchain central node module and a condition communication module, can enable patients in areas with different medical technology levels to find the block storage data of similar conditions under the blockchain service network after the first medical registration and acceptance of the treatment plan, and establish a central node with personal condition data to obtain treatment plan data of different patients with different similarities, thereby realizing the characteristics of centralized treatment in hospitals and improving the overall medical technology level in backward areas. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0033] Figure 1 It is a schematic diagram of the system module composition of the present invention. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] See also Figure 1 The present invention provides a technical solution: a blockchain node system, characterized in that: the blockchain node system includes a patient blockchain data packaging module, a blockchain central node module and a condition communication module, the patient blockchain data packaging module is used for distributed storage and uploading of patient symptom treatment data, the blockchain central node module is used to establish a blockchain connecting different patients with similar personal conditions, the condition communication module is used to connect patients with high similarity of conditions to communicate about their conditions, and the patient blockchain data packaging module, the blockchain central node module and the condition communication module are all connected to each other through a blockchain service network; by providing the patient blockchain data packaging module, the blockchain central node module and the condition communication module, patients in areas with different medical technology levels can find the block storage data of similar conditions under the blockchain service network after the first medical registration and acceptance of the treatment plan, and establish a central node with personal condition data to obtain treatment plan data of different patients with different similarities, thereby realizing the characteristics of centralized treatment in hospitals and improving the overall medical technology level in backward areas.
[0036] The patient blockchain data packaging module includes a symptom data storage module, a test report data storage module, a disease diagnosis data storage module and a digital signature verification module. The symptom data storage module is used to record and store the disease symptoms reported by the doctor when the patient is treated in the hospital. The test report data storage module is used to further perform physical test report data obtained by medical equipment testing when the doctor diagnoses the patient's disease symptoms, and record and store the test report data. The disease diagnosis data storage module is used to record and store the diagnosis result data and treatment plan data after the doctor diagnoses the patient's disease symptoms. The digital signature verification module is connected to the symptom data storage module, the test report data storage module and the disease diagnosis data storage module. The digital signature verification module is used to package the patient's symptom treatment data into blocks for storage, and perform digital signature verification to prevent data tampering and improve the security of data storage.
[0037] The blockchain central node module includes a patient blockchain extraction module, a keyword locking module, a condition similarity calculation module and a blockchain node establishment module. The patient blockchain extraction module is used to extract all patient symptom treatment data blocks in the blockchain service network. The keyword locking module is used to lock the data keywords in each patient symptom treatment data block. The condition similarity calculation module is used to calculate the similarity between the condition of different patients and the personal condition. The blockchain node establishment module is used to establish a blockchain node with the current personal condition data as the blockchain node, and connect the blocks packaged by patients whose similarity meets the personal condition data to the established blockchain node.
[0038] The disease similarity calculation module includes a radar image establishment submodule and an overlap comparison submodule. The radar image establishment submodule is used to establish a radar chart for keywords extracted from different patient symptom treatment data blocks. The overlap comparison submodule is used to compare the radar dimension chart of personal disease symptom data with the radar dimension chart of other patients' disease symptom data in the blockchain service network, so as to obtain the disease similarity based on the overlap rate of the radar image area.
[0039] The medical condition communication module includes a node sub-center communication module and a node center main communication module. The node sub-center communication module is used to conduct partial rights medical condition communication for patients whose medical condition symptom data at the established blockchain node sub-center is relatively similar to personal medical condition symptom data. The node center main communication module is used to conduct full rights medical condition communication for patients whose medical condition is very similar to personal medical condition.
[0040] A blockchain data storage method, the blockchain data storage method mainly includes the following steps:
[0041] Step S1: When an individual goes to the hospital for diagnosis and treatment, he / she explains his / her physical symptoms to the doctor and after receiving treatment from the hospital, the patient blockchain data packaging module stores the individual's current diagnosed symptoms, test reports, diagnosis results, and treatment plan data;
[0042] Step S2: The digital signature verification module packages the patient's symptom treatment data into blocks and stores them in the blockchain service network, and performs digital signature verification to prevent data tampering and improve the security of data storage;
[0043] Step S3: The patient blockchain extraction module extracts the blocks in the blockchain service network and decompresses the block storage data;
[0044] Step S4: The keyword locking module performs keyword locking and data sorting on the disease data stored in the numerous blocks;
[0045] Step S5: With the personal medical condition data as the center, the medical condition similarity calculation module calculates the similarity between the medical condition block data in the blockchain service network and the personal medical condition data;
[0046] Step S6: Establishing a blockchain node with the personal medical condition data as the center in the blockchain service network, and arranging the chain lengths of blocks and personal blockchain nodes with different similarities in the blockchain service network;
[0047] Step S7: Taking the blockchain node established by the individual as the center, different radius lengths are drawn to form the node sub-center communication module area and the node center main communication module area, and different rights are granted for medical condition communication.
[0048] Step S4 further comprises:
[0049] Step S41: locking keywords of the location, condition, time and whether there is a major medical history of the patient's symptoms;
[0050] Step S42: Retrieve medical examination report data, and lock abnormal data in the medical examination report data as keywords;
[0051] Step S43: extracting keywords of doctor's diagnosis results and treatment plans.
[0052] Step S5 further comprises:
[0053] Step S51: Establishing a plane rectangular coordinate system, establishing a radar chart with the origin of the plane rectangular coordinate system as the center, and the radar image establishment submodule simulates a triangular radar chart with keywords extracted from different patient symptom treatment data blocks;
[0054] Step S52: The three corners of the triangular radar chart respectively correspond to the symptom data keywords, report data keywords, and treatment data keywords extracted by the three major keyword extraction modules. Each corner of the triangle corresponds to a 120-degree pointing area. Each degree deviation in the activity range represents a different keyword. The closer the meanings of different keywords are, the smaller the deviation of the angle representing the triangle. At the same time, the distance from each vertex of the triangle of the radar chart to the origin of the plane rectangular coordinate system represents the severity index of the disease data;
[0055] Step S53: The coincidence degree comparison sub-module compares the radar dimension chart of the individual's disease symptom data with the radar dimension charts of the disease symptom data of other patients in the blockchain service network to obtain the coincidence area S 重 , the area S of the individual's triangular radar chart 个 and the area S of the comparison target triangular radar 比 ;
[0056] Step S54: The similarity formula for calculating the disease block data in the blockchain service network and the individual's disease data is: In the formula, T is the value of the similarity between one of the disease block data in the blockchain service network and the individual's disease data. When the value of T is closer to 100%, it indicates that the similarity between this disease block data in the blockchain service network and the individual's disease data is higher.
[0057] In step S6, in the blockchain service network, each person can establish a blockchain node centered on their own disease data. The similarity T value between each disease block data in the blockchain service network and the individual's disease data can be converted into the chain length of the individual blockchain node. The larger the T value, the shorter the corresponding chain length, and the closer it is to the individual blockchain node. On the contrary, the smaller the T value, the longer the corresponding chain length, and the farther it is from the individual blockchain node.
[0058] Step S7 further includes:
[0059] Step S71: The area where 80% < T ≤ 90% is designated as the area of the node sub-center communication module. Patients in the area of the node sub-center communication module can communicate with the individual for rehabilitation conditioning and can view the rehabilitation conditioning data stored in the corresponding blocks of the patients in the area to help the individual continue to recover after hospital treatment;
[0060] Step S72: The area where 90% < T ≤ 100% is designated as the area of the node center main communication module. Patients in the area of the node center main communication module can communicate with the individual for a complete treatment plan and can view all the treatment data stored in the corresponding blocks of the patients in the area to achieve decentralized treatment without going to the hospital.
[0061] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0062] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A blockchain data storage method, characterized in that: The blockchain data storage method mainly includes the following steps: Step S1: When an individual goes to the hospital for diagnosis and treatment, he / she explains his / her physical symptoms to the doctor and after receiving treatment from the hospital, the patient blockchain data packaging module stores the individual's current diagnosed symptoms, test reports, diagnosis results, and treatment plan data; Step S2: The digital signature verification module packages the patient's symptom treatment data into blocks and stores them in the blockchain service network, and performs digital signature verification to prevent data tampering and improve the security of data storage; Step S3: The patient blockchain extraction module extracts the blocks in the blockchain service network and decompresses the block storage data; Step S4: The keyword locking module performs keyword locking and data sorting on the disease data stored in the numerous blocks; Step S5: With the personal medical condition data as the center, the medical condition similarity calculation module calculates the similarity between the medical condition block data in the blockchain service network and the personal medical condition data; Step S6: Establishing a blockchain node with the personal medical condition data as the center in the blockchain service network, and arranging the chain lengths of blocks and personal blockchain nodes with different similarities in the blockchain service network; Step S7: With the blockchain node established by the individual as the center, different radius lengths are drawn to form the node sub-center communication module area and the node center main communication module area, and different rights are granted for disease communication; The step S4 further comprises: Step S41: locking keywords of the location, condition, time and whether there is a major medical history of the patient's symptoms; Step S42: Retrieve medical examination report data, and lock abnormal data in the medical examination report data as keywords; Step S43: extracting keywords of doctor's diagnosis results and treatment plans; The step S5 further comprises: Step S51: Establishing a plane rectangular coordinate system, establishing a radar chart with the origin of the plane rectangular coordinate system as the center, and the radar image establishment submodule simulates a triangular radar chart with keywords extracted from different patient symptom treatment data blocks; Step S52: The three corners of the triangular radar chart correspond to the symptom data keywords, report data keywords and treatment data keywords extracted by the three categories of keyword extraction modules. Each corner of the triangle corresponds to a pointing area of 120 degrees. Each degree deviation of the activity range represents a different keyword. Different keywords are intelligently identified. The closer the meaning of the words is, the smaller the angle deviation of the triangle is. At the same time, the distance from each corner vertex of the triangular radar chart to the origin of the plane rectangular coordinate system represents the severity index of the disease data. When the triangular radar chart is closer to an equilateral triangle, the severity of the disease symptoms, the accuracy of the test report and the completeness of the treatment plan corresponding to the symptom data keywords, report data keywords and treatment data keywords are more complete, and the overall treatment of the disease is more targeted, which comprehensively reflects that the hospital's medical technology is stronger; Step S53: The overlap comparison submodule compares the radar dimension graph of the personal disease symptom data with the radar dimension graphs of the disease symptom data of other patients in the blockchain service network to obtain the overlap area S 重 , personal triangular radar map area S 个 And compare the target triangulated radar area S 比 ; Step S54: Calculate the similarity between the disease block data in the blockchain service network and the personal disease data using the formula: In the formula, T is the similarity value between one of the disease block data in the blockchain service network and the personal disease data. When the value of T is closer to 100%, it means that the similarity between this disease block data in the blockchain service network and the personal disease data is higher. When the similarities of multiple disease block data are equal, by observing the imaging shape of the triangular radar image, the closer to the equilateral triangle shape, the higher the corresponding disease communication reference.
2. A blockchain data storage method according to claim 1, characterized in that: In the step S6, in the blockchain service network, everyone can establish a blockchain node centered on personal medical condition data. The similarity T value between the medical condition block data and the personal medical condition data in each blockchain service network can be converted into the chain length of the personal blockchain node. The larger the T value, the shorter the corresponding chain length, and the closer to the personal blockchain node. On the contrary, the smaller the T value, the longer the corresponding chain length, and the farther from the personal blockchain node.
3. A blockchain data storage method according to claim 2, characterized in that: The step S7 further includes: Step S71: The area where 80% < T ≤ 90% is demarcated as the node sub-center communication module area. Patients in the node sub-center communication module area can communicate with individuals for rehabilitation conditioning, and can view the rehabilitation conditioning data stored in the corresponding blocks of patients in the area, helping individuals to continue rehabilitation after hospital treatment. Step S72: The area where 90% < T ≤ 100% is demarcated as the node center main communication module area. Patients in the node center main communication module area can communicate with individuals for complete treatment plan, and can view all treatment data stored in the corresponding blocks of patients in the area, realizing decentralized treatment without going to the hospital.
Citation Information
Patent Citations
Radar map generation method, device and equipment and storage medium
CN112330772A
Medical data processing method and device based on block chain, equipment and storage medium
CN113053480A