Hospital medical environment data record management system based on block chain technology

By monitoring data fluctuations and judging write locations in the hospital medical environment data record management system, the writing strategy is optimized, and the storage pressure and delay problems caused by data fluctuations are solved, and more accurate data writing and management is achieved, ensuring the real-time and security of the medical environment.

CN120376024APending Publication Date: 2025-07-25SHEN ZHEN BU LEI AO TE XIN XI JI SHU YOU XIAN GONG SI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510501718.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-21
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

In the prior art, hospital medical environment data does not fully consider data fluctuations when written to the blockchain, resulting in high storage pressure and delayed uploading, affecting the real-time and security of medical environment monitoring, especially in high-risk places such as operating rooms and intensive care units.

Method used

The data fluctuation monitoring module obtains environmental record data, performs fluctuation monitoring and judgment, determines the write position based on the judgment results, and performs write data storage optimization, distinguishes the writing strategy of the main chain and the side chain, and optimizes the writing process.

Benefits of technology

It realizes more accurate and timely blockchain management of medical environmental data writing, improves the accuracy and reliability of write location judgment, ensures the real-time and security of environmental data, and reduces storage pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120376024A_ABST
    Figure CN120376024A_ABST
Patent Text Reader

Abstract

The invention discloses a hospital medical environment data record management system based on a block chain technology, and relates to the technical field of electric digital data processing. The hospital medical environment data record management system based on the block chain technology comprises a data fluctuation monitoring module, a write-in position judgment module and a write-in management and optimization module. The preset medical environment is subjected to fluctuation monitoring judgment based on the environment record data to obtain the fluctuation monitoring judgment result, then the write-in position of the environment record data in the block chain is judged in combination with the fluctuation monitoring judgment result, and the write-in position of the environment record data is obtained; and finally, based on the write-in position of the environment record data, performing write-in data storage optimization on the process of writing the environment record data into the block chain, thereby realizing more accurate management of writing the hospital medical environment data into the block chain. The problem that data fluctuation is not fully considered in the process of writing hospital medical environment data into the block chain and managing in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical digital data processing, and particularly to a hospital medical environment data record management system based on blockchain technology. Background Art

[0002] With the digital transformation of the medical industry, the management of hospital medical environment data has gradually become an important link in improving medical quality and ensuring patient safety. Especially in high-risk places such as operating rooms and intensive care units, the monitoring and management of medical environment data are particularly important. For example, key parameters such as temperature and humidity, air quality, equipment status, power supply, and gas concentration. Any fluctuation or abnormality may affect the treatment effect of patients and even endanger the life safety of patients. Due to its characteristics of decentralization, immutability, and traceability, blockchain technology will be more widely used in the medical field and provide a more efficient and secure management mode for hospitals. At present, the implementation of blockchain technology is still relatively complex. Especially in the medical industry, the IT infrastructure of hospitals is usually not ready to support the application of blockchain. In addition, blockchain requires a large amount of computing and storage resources. The amount of data stored on the blockchain and the storage cost are a problem. Especially when a large amount of environmental monitoring data needs to be stored, the on-chain storage cost is relatively high. Many data in the medical environment change in real time. The transaction processing speed and block generation time of blockchain may cause delays. How to ensure that blockchain can quickly process a large amount of real-time data is a technical bottleneck.

[0003] The existing hospital medical environment data record management includes multiple links such as data collection, data upload, storage management, smart contract application, and data sharing. Each link relies on blockchain technology to ensure the security, transparency, and efficiency of data. The internal environmental monitoring devices in the hospital, such as temperature and humidity sensors, air quality monitoring devices, and equipment operation status sensors, continuously collect medical environment data. Before the medical environment data is uploaded to the blockchain, the smart contract will verify the data to ensure its legality and accuracy. Once the data is verified and meets the requirements of the smart contract, it will be packaged into a blockchain transaction. Through the distributed nodes of the blockchain network, the data will be transmitted to each participating node and recorded in the block to ensure the immutability and traceability of the data.

[0004] For example, the invention patent announcement with announcement number: CN115618412B discloses a medical privacy data protection method based on blockchain, including: sending medical privacy data to the HDFS distributed file management system, performing ring signature processing on the medical privacy data, and the HDFS distributed file management system synthesizing the Hash, timestamp and storage location index information of the medical privacy data into a transaction record of the blockchain system and sending it to the blockchain system. All blockchain nodes in the blockchain system become master nodes in order from small to large IDs, and other blockchain nodes except the master node are slave nodes; the master node realizes writing the corresponding medical privacy data into the blockchain system through information interaction with the slave nodes.

[0005] For example, the invention patent with announcement number CN112699406B discloses a medical imaging data security management method and system based on blockchain, which includes: the server creates a blockchain database, selects an image file, generates an image ID for the received image file, calculates the image fingerprint, and stores the blockchain database; uploads the image file to the image cloud database, and uploads the block address to the image cloud record; retrieves the image from the image cloud database or generates an image access record, and stores it in the blockchain database; updates the blockchain database according to the Merkle tree; and sends the updated content to other hospitals.

[0006] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems: For medical environments, especially high-risk places such as operating rooms and intensive care units, medical environment data is not only related to patient safety, but may also involve medical disputes or legal liabilities. For high-risk places, changes in environmental data such as temperature, humidity, and air quality every second need to be recorded. If a large amount of medical environment data generated in real time is uploaded to the blockchain, it will generate huge storage pressure. When processing large amounts of data, the blockchain may encounter throughput bottlenecks, resulting in delays in data upload. Data backlogs or slow processing speeds may cause some data to be unable to be uploaded to the blockchain in a timely manner, affecting the real-time nature of medical environment monitoring and management.

[0007] In addition, the medical environment in the hospital (such as operating rooms, ICU, etc.) has strict requirements on environmental parameters (such as temperature and humidity, air quality, oxygen concentration, etc.). If the recorded medical environment data is not uploaded to the blockchain in time, it may not be possible to detect environmental monitoring anomalies in time. Failure of medical environment monitoring may lead to the destruction of the sterile environment, increase the risk of infection during surgery, or cause patients to be in danger of life due to insufficient oxygen concentration, resulting in threats to patient health. Especially during surgery, any delayed feedback of environmental fluctuations may lead to surgical errors or worsening of the patient's condition. There is a problem that data fluctuations are not fully considered in the process of writing hospital medical environment data into the blockchain and management. Summary of the Invention

[0008] By providing a hospital medical environment data recording and management system based on blockchain technology, the embodiment of the present application solves the problem in the prior art that insufficient consideration is given to data fluctuations during the process of writing hospital medical environment data into the blockchain and managing it, and realizes more accurate management of writing hospital medical environment data into the blockchain.

[0009] The embodiment of the present application provides a hospital medical environment data recording and management system based on blockchain technology, including: a data fluctuation monitoring module, a writing position determination module, and a writing management and optimization module; the data fluctuation monitoring module is used to obtain the environmental record data of a preset medical environment, perform fluctuation monitoring and determination on the preset medical environment based on the environmental record data, and obtain a fluctuation monitoring determination result; the writing position determination module is used to determine the writing position of the environmental record data in the blockchain in combination with the fluctuation monitoring determination result, and obtain the writing position of the environmental record data; the writing management and optimization module is used to perform writing data storage optimization on the process of writing the environmental record data into the blockchain based on the writing position of the environmental record data, and the writing data storage optimization means performing writing update of the environmental record data based on the writing position of the environmental record data to optimize the storage of the environmental record data by the blockchain.

[0010] Further, based on the environmental record data, the fluctuation monitoring and determination of the preset medical environment are carried out as follows: Obtain the environmental record monitoring data of the preset medical environment within a preset time interval. The environmental record monitoring data includes environmental index record data and environmental equipment record data; The environmental index record data includes environmental monitoring temperature data, environmental monitoring humidity data, environmental monitoring illumination intensity, and environmental monitoring oxygen concentration; The environmental equipment record data includes oxygen supply pressure and carbon dioxide emission pressure; Perform differential averaging analysis on the environmental index record values of the corresponding categories of the environmental index record data at the preset record monitoring moment and the previous adjacent preset record monitoring moment within the preset time interval, and perform ratio analysis in combination with the reference maximum fluctuation offset obtained from the preset database to obtain the index record offset; Perform weighted operation and coupling processing on the difference degree between the averaged oxygen supply pressure within the preset time interval and the reference oxygen supply pressure and the difference degree between the averaged carbon dioxide emission pressure and the reference carbon dioxide emission pressure in combination with the corresponding offset compensation amounts to obtain the equipment record offset. The offset compensation amounts include oxygen record offset compensation amount and carbon dioxide offset compensation amount; Perform weighted operation and coupling processing on the index record offset, the equipment record offset, and the corresponding record determination compensation values to obtain the fluctuation monitoring determination value. The record determination compensation values include index record determination compensation value and equipment record determination compensation value; The fluctuation monitoring determination value is used to quantify the fluctuation degree of the environmental record data in the preset medical environment; The fluctuation monitoring determination value represents the quantification data of the index record offset and the equipment record offset on the fluctuation degree of the environmental record data in the preset medical environment.

[0011] Further, the specific process of obtaining the fluctuation monitoring determination result is as follows: Judge whether the deviation degree between the obtained fluctuation monitoring determination value and the reference fluctuation determination threshold is within the preset fluctuation determination range obtained from the preset database; If the deviation degree between the fluctuation monitoring determination value and the reference fluctuation determination threshold is within the preset fluctuation determination range obtained from the preset database, mark the fluctuation monitoring determination result as data fluctuation; If the deviation degree between the fluctuation monitoring determination value and the reference fluctuation determination threshold is not within the preset fluctuation determination range obtained from the preset database, mark the fluctuation monitoring determination result as data stability.

[0012] Further, the specific steps of judging the writing position of the environmental record data in the blockchain in combination with the fluctuation monitoring determination result are as follows: When the fluctuation monitoring determination result is data fluctuation, determine that the writing position of the environmental record data is the main chain of the blockchain; When the fluctuation monitoring determination result is data stability, determine that the writing position of the environmental record data is the side chain of the blockchain; The writing positions of the environmental record data include the main chain of the blockchain and the side chain of the blockchain.

[0013] Further, the specific steps for optimizing the writing data storage in the process of writing environmental record data into the blockchain are as follows: If the writing location of the environmental record data is the main chain of the blockchain, optimize the writing process of the environmental record data for main chain writing; The main chain writing optimization is used to write and update the environmental record data stored in the main chain of the blockchain; If the writing location of the environmental record data is the side chain of the blockchain, optimize the writing process of the environmental record data for side chain writing; The side chain writing optimization is used to write and update the environmental record data stored in the side chain of the blockchain; The writing data storage optimization includes main chain writing optimization and side chain writing optimization.

[0014] Further, the specific process for optimizing the writing process of the environmental record data for main chain writing is as follows: When the fluctuation monitoring determination result is data fluctuation, determine whether the obtained fluctuation monitoring determination value is greater than the fluctuation reference setting value obtained from the preset database; If the fluctuation monitoring determination value is greater than the fluctuation reference setting value, record the writing main chain priority of the data to be written as the priority writing level, otherwise, record the writing main chain priority of the data to be written as the waiting writing level; Based on the writing main chain priority, store the data to be written in the main chain writing data storage. The data to be written includes environmental record data and the fluctuation monitoring determination value.

[0015] Further, the specific steps for storing the data to be written in the main chain writing data storage based on the writing main chain priority are as follows: Store the data to be written with the writing main chain priority of the priority writing level in the main chain writing data storage. Detect the writing efficiency of the blockchain based on the writing performance data of the blockchain within the preset time interval to obtain the writing efficiency detection value. The writing efficiency detection value is used to quantitatively detect the writing efficiency of the blockchain within the preset time interval; Input the writing efficiency detection value into the writing storage mapping set in the preset database for mapping to obtain the writing storage quantity warning value. When the data volume of the data to be written in the main chain writing data storage is less than the writing storage quantity warning value, continuously monitor the data volume of the data to be written in the main chain writing data storage, otherwise, record the maximum value of the fluctuation monitoring determination value within the preset evaluation quantity time interval as the fluctuation reference setting value; The writing storage mapping set represents the mapping relationship between the writing efficiency detection value and the writing storage quantity warning value. The preset evaluation quantity represents the result obtained by inputting the real-time writing efficiency detection value into the writing setting mapping set in the preset database. The writing setting mapping set represents the mapping relationship between the writing efficiency detection value and the preset evaluation quantity; After the data to be written with the writing main chain priority of the priority writing level is stored in the main chain writing data storage, store the data to be written with the writing main chain priority of the waiting writing level in the main chain writing data storage.

[0016] Furthermore, the writing efficiency of the blockchain is detected based on the writing performance data of the blockchain within a preset time interval to obtain a writing efficiency detection value. The specific steps are as follows: Obtain the writing performance data of the blockchain within a preset time interval. The writing performance data includes writing accuracy performance data and writing speed performance data; The writing accuracy performance data includes medical environment electromagnetic interference, writing throughput, and writing hash matching degree; The writing speed performance data includes block generation time, block writing speed, and block resource utilization rate; After performing weighted coupling processing on the proportion result of medical environment electromagnetic interference, the difference degree of writing throughput, and the corresponding electromagnetic interference compensation amount and throughput detection compensation amount, perform writing accuracy performance interaction processing with the proportion result of writing hash matching degree to obtain a writing accuracy detection coefficient; The writing accuracy performance interaction processing is used to describe the mutual influence between writing accuracy performance data; After performing weighted coupling processing on the difference degree of block generation time, the difference degree of block resource utilization rate, and the corresponding block generation detection compensation amount and resource utilization detection compensation amount, perform writing speed performance interaction processing with the approaching operation result of block writing speed to obtain a writing speed detection coefficient; The writing speed performance interaction processing is used to describe the mutual influence between writing speed performance data; Perform weighted operation and then coupling processing on the writing accuracy detection coefficient, writing speed detection coefficient, and the corresponding writing compensation value to obtain a writing efficiency detection value. The writing compensation value includes a writing accuracy compensation value and a writing speed compensation value; The writing efficiency detection value represents the quantitative data of the writing accuracy detection coefficient and writing speed detection coefficient for detecting the writing efficiency of the blockchain within a preset time interval.

[0017] Furthermore, the specific steps for storing the data to be written into the main chain with the writing main chain priority of the waiting writing level are as follows: Verify the data to be written into the main chain with the writing main chain priority of the waiting writing level through blockchain nodes, and obtain the corresponding priority score for the data to be written based on the ascending order of the blockchain node verification response time. The blockchain node verification response time is the result of the difference operation between the blockchain node verification end time and the blockchain verification start time; When the storage of the data to be written into the main chain with the priority writing level is completed, if the data volume of the data to be written in the main chain writing data storage is less than the maximum writing storage volume, store the data to be written into the main chain writing data storage based on the descending order of the priority score for the data to be written. Otherwise, stop storing the data to be written into the main chain with the writing main chain priority of the waiting writing level.

[0018] Further, the specific steps for optimizing the side-chain writing process of environmental record data are as follows: Input the fluctuation monitoring determination value into the writing update mapping set in the preset database for mapping to obtain the side-chain writing update frequency; Store the environmental record data in the side-chain according to the side-chain writing update frequency. When the amount of environmental record data stored in the side-chain is less than the side-chain storage setting value, continuously monitor the amount of data stored in the side-chain writing. Otherwise, input the deviation degree between the side-chain storage setting value and the side-chain storage warning threshold into the acquisition update mapping set in the preset database for mapping to obtain the environmental record data acquisition frequency, and collect the environmental record data at the environmental record data acquisition frequency; The writing update mapping set represents the mapping relationship between the fluctuation monitoring determination value and the side-chain writing update frequency, and the acquisition update mapping set represents the mapping relationship between the deviation degree between the side-chain storage setting value and the side-chain storage warning threshold and the environmental record data acquisition frequency.

[0019] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. By using the environmental record data to perform fluctuation monitoring and determination on the preset medical environment to obtain the fluctuation monitoring determination result, then combining the fluctuation monitoring determination result to judge the writing position of the environmental record data in the blockchain, and finally optimizing the writing data storage process of the environmental record data into the blockchain based on the writing position of the environmental record data, the fluctuation analysis of the environmental record data in the preset medical environment and the storage optimization of the writing data in the process of writing into the blockchain are realized. Furthermore, more accurate management of writing the hospital medical environment data into the blockchain is achieved, effectively solving the problem that the data fluctuation is not fully considered in the process of writing and managing the hospital medical environment data into the blockchain in the prior art.

[0020] 2. By combining the fluctuation monitoring determination result to judge the writing position of the environmental record data in the blockchain, when the fluctuation monitoring determination result is data fluctuation, it is determined that the writing position of the environmental record data is the main chain of the blockchain. Otherwise, it is determined that the writing position of the environmental record data is the side chain of the blockchain, thereby improving the accuracy of judging the writing position of the environmental record data in the blockchain based on the fluctuation monitoring determination result, and further improving the reliability of the writing position management of the environmental record data written into the blockchain.

[0021] 3. Determine whether the obtained fluctuation monitoring determination value is greater than the fluctuation reference setting value retrieved from the preset database. If the fluctuation monitoring determination value is greater than the fluctuation reference setting value, record the write main chain priority of the data to be written as the priority write level; otherwise, record the write main chain priority of the data to be written as the waiting write level. Finally, store the data to be written to the main chain based on the write main chain priority, thereby improving the decision-making quality of the environmental record data during the process of storing data written to the main chain in the blockchain, and further realizing more accurate and timely management of the environmental record data during the process of storing data written to the main chain. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 FIG. is a schematic structural diagram of a hospital medical environment data recording and management system provided by an embodiment of the present application based on blockchain technology. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0023] By providing a hospital medical environment data recording and management system based on blockchain technology, the embodiment of the present application solves the problem in the prior art that data fluctuations are not fully considered during the process of writing hospital medical environment data to the blockchain and management. By obtaining the environmental record data of the preset medical environment, performing fluctuation monitoring determination on the preset medical environment based on the environmental record data to obtain a fluctuation monitoring determination result, then combining the fluctuation monitoring determination result to judge the write position of the environmental record data in the blockchain and obtain the write position of the environmental record data, and finally optimizing the write data storage during the process of writing the environmental record data to the blockchain based on the write position of the environmental record data, more accurate management of writing hospital medical environment data to the blockchain is realized.

[0024] The technical solution in the embodiment of the present application is to solve the problem that data fluctuations are not fully considered during the process of writing hospital medical environment data to the blockchain and management. The overall idea is as follows: Perform fluctuation monitoring determination on the preset medical environment through the environmental record data, then combine the fluctuation monitoring determination result to judge the write position of the environmental record data in the blockchain, and finally optimize the write data storage during the process of writing the environmental record data to the blockchain, realizing more accurate management of writing hospital medical environment data to the blockchain.

[0025] To better understand the above technical solution, the above technical solution will be described in detail below in combination with the accompanying drawings of the specification and specific embodiments.

[0026] As Figure 1As shown in the figure, it is a schematic structural diagram of a hospital medical environment data recording and management system provided by an embodiment of the present application. The hospital medical environment data recording and management system provided by the embodiment of the present application includes: a data fluctuation monitoring module, a writing position determination module, and a writing management and optimization module.

[0027] Specifically, the data fluctuation monitoring module is used to obtain the environmental record data of a preset medical environment, perform fluctuation monitoring and determination on the preset medical environment based on the environmental record data, and obtain a fluctuation monitoring determination result; the writing position determination module is used to determine the writing position of the environmental record data in the blockchain in combination with the fluctuation monitoring determination result, and obtain the writing position of the environmental record data; the writing management and optimization module is used to perform writing data storage optimization on the process of writing the environmental record data into the blockchain based on the writing position of the environmental record data. The writing data storage optimization means performing writing and updating of the environmental record data based on the writing position of the environmental record data to optimize the storage of the environmental record data by the blockchain.

[0028] In this embodiment, in a hospital medical environment, especially in high-risk places such as operating rooms and intensive care units, the monitoring of medical environment data becomes particularly important. In operating rooms and intensive care units, environmental factors such as temperature, humidity, air quality, and oxygen concentration will directly affect the recovery and treatment effect of patients. For example, too high a temperature or too high a humidity may lead to the growth of bacteria and increase the risk of infection; too low an oxygen concentration will affect the vital signs of patients. Especially for critically ill patients or patients undergoing surgery, sufficient oxygen supply is essential. The environment in such areas is complex, involving multiple dimensions of medical and environmental factors, and the neglect of any detail may lead to serious consequences.

[0029] Blockchain is widely used in the management of medical environment data, especially in ensuring the transparency, immutability, and traceability of data. The changes in medical environment data are usually continuous and real-time. The throughput and real-time problems of blockchain technology in the traditional mode may not be applicable to the high-frequency updated medical environment data. At the same time, when writing medical environment data into the blockchain, many blockchains often ignore the impact of data fluctuations. For example, when the blockchain cannot process short-term fluctuation data in real time, it may choose to ignore these fluctuations or mark them as invalid data, which may lead to data loss or inaccuracy. However, due to the failure to accurately capture these changes, hospitals may ignore key environmental changes during analysis, thus affecting subsequent medical decisions. The present application optimizes the solution for writing hospital medical environment data into the blockchain by comprehensively considering the volatility of medical environment data, thereby ensuring the accuracy, credibility, and real-time nature of medical environment data, and further providing real-time and accurate data support for hospitals, and further guaranteeing the life safety and health management level of patients.

[0030] Further, based on the environmental record data, the fluctuation monitoring and determination of the preset medical environment are carried out, and the specific steps are as follows: A1. Obtain the environmental record monitoring data of the preset medical environment within a preset time interval. The environmental record monitoring data includes environmental index record data and environmental equipment record data. Among them, the environmental index record data includes environmental monitoring temperature data, environmental monitoring humidity data, environmental monitoring illumination intensity, and environmental monitoring oxygen concentration. The environmental equipment record data includes oxygen supply pressure and carbon dioxide emission pressure. Both the environmental index record data and the environmental equipment record data have been de-unified. Specifically, the corresponding environmental monitoring temperature data, environmental monitoring humidity data, environmental monitoring illumination intensity, and environmental monitoring oxygen concentration are obtained through temperature sensors, humidity sensors, illuminance sensors, and oxygen concentration sensors deployed at the center of the preset medical environment. The oxygen supply pressure is obtained through a pressure sensor deployed at the outlet of the oxygen supply pipeline, and the carbon dioxide emission pressure is obtained through a pressure sensor deployed at the outlet of the carbon dioxide emission pipeline.

[0031] A2. Perform differential averaging analysis on the environmental index record values of the corresponding categories of the environmental index record data at the preset record monitoring moments within the preset time interval and the previous adjacent preset record monitoring moments respectively, and conduct a ratio analysis in combination with the reference maximum fluctuation offset obtained from the preset database to obtain the index record offset. Its numerical expression is as follows: ; In the formula, represents the index record offset within the preset time interval, represents the category number of the environmental index record data, , represents the total number of categories of the environmental index record data ( ), represents the preset record monitoring moment within the preset time interval, , represents the total number of preset record monitoring moments within the preset time interval, represents the environmental index record value of the m-th category of environmental index record data at the n-th preset record monitoring moment within the preset time interval, represents the environmental index record value of the m-th category of environmental index record data at the (n - 1)-th preset record monitoring moment within the preset time interval, represents the reference maximum fluctuation offset, which is obtained from the preset database and is represented by the maximum value obtained by performing differential averaging analysis on the environmental index record values of the corresponding categories of the historical environmental index record data at the preset record monitoring moments within the historical preset time interval and the previous adjacent preset record monitoring moments respectively. Among them The data categories representing the environmental indicators recorded are environmental monitoring temperature data, environmental monitoring humidity data, environmental monitoring lighting intensity, and environmental monitoring oxygen concentration.

[0032] A3, weighted calculation and coupling processing are performed on the difference between the average oxygen supply pressure and the reference oxygen supply pressure, and the difference between the average carbon dioxide emission pressure and the reference carbon dioxide emission pressure in the preset time interval, combined with the corresponding offset compensation amount, to obtain the device record offset. Its numerical expression is as follows: ; In the formula, Indicates the device record offset within a preset time interval. Indicates the oxygen record offset compensation amount, represents the CO2 offset compensation amount, Indicates the oxygen supply pressure at the nth preset record monitoring time within the preset time interval, Indicates the reference oxygen supply pressure, Indicates the carbon dioxide emission pressure at the nth preset record monitoring moment within the preset time interval, Indicates the reference CO2 emission pressure.

[0033] It should be added that before the design of the hospital medical environment data record management system based on blockchain technology provided by this application, a preset database for storing various setting data is established. The preset database includes but is not limited to oxygen supply pressure, carbon dioxide emission pressure, etc., and the various numerical values therein are directly set by technical personnel; for example, the corresponding reference oxygen supply pressure and reference carbon dioxide emission pressure are represented by the corresponding sum and average of the collected historical oxygen supply pressure and carbon dioxide emission pressure.

[0034] The offset compensation includes oxygen record offset compensation and carbon dioxide offset compensation. The sum of oxygen record offset compensation and carbon dioxide offset compensation is 1. It is obtained from the preset database. For example, the real-time oxygen record offset (the difference between the average oxygen supply pressure and the reference oxygen supply pressure, the offset in the device record) is calculated. =CO2 offset (the difference between the averaged CO2 emission pressure and the reference CO2 emission pressure, the offset recorded by the device The mapping set of oxygen record offset, carbon dioxide offset and their corresponding compensation values preset in the database (represented) is input into the database to obtain the corresponding oxygen record offset compensation amount and carbon dioxide offset compensation amount.

[0035] A4, perform a weighted operation on the index record offset, the device record offset, and the corresponding record determination compensation value, and then perform a coupling process to obtain a fluctuation monitoring determination value. The record determination compensation value includes an index record determination compensation value and a device record determination compensation value. The index record determination compensation value and the device record determination compensation value are obtained from a preset database. For example, input the real-time index record offset and the device record offset into the mapping set of the index record offset, the device record offset, and their respective corresponding compensation values preset in the database to obtain the index record determination compensation value and the device record determination compensation value. The index record determination compensation value and the device record determination compensation value are respectively used to describe the influence degree of the index record offset and the device record offset on the fluctuation monitoring determination value. Its numerical expression is as follows: ; In the formula, represents the fluctuation monitoring determination value within a preset time interval, represents the index record determination compensation value, represents the device record determination compensation value.

[0036] In summary, it can be seen that the fluctuation monitoring determination value represents the quantization data of the influence of the index record offset and the device record offset on the fluctuation degree of the environmental record data in a preset medical environment. Among them, both the index record offset and the device record offset have an impact on the fluctuation monitoring determination value. Specifically, as the index record offset and the device record offset increase, the fluctuation monitoring determination value increases accordingly, indicating that the fluctuation degree of the environmental record data in the preset medical environment increases.

[0037] In this embodiment, the fluctuation monitoring determination value is used to quantify the degree of fluctuation of the environmental record data in a preset medical environment, which includes parameters in multiple aspects. For example, the index record offset includes environmental index record data, and the equipment record offset includes environmental equipment record data. These parameters affect each other and do not exist independently. The fluctuation monitoring determination value is obtained by considering the correlation between various parameters through quantification. For example, the environmental monitoring oxygen concentration is an important indicator of the operating room environment, and the oxygen supply pressure is the key factor controlling the environmental monitoring oxygen concentration. If the oxygen supply pressure (equipment record offset) fluctuates, the environmental monitoring oxygen concentration may also be affected, resulting in a corresponding change in the index record offset, that is, as the equipment record offset increases, the index record offset also increases. At the same time, temperature changes may cause fluctuations in carbon dioxide emissions, which have a significant impact on the carbon dioxide concentration in the operating room. There is a certain correlation between the carbon dioxide emission pressure (equipment record offset) and the environmental monitoring temperature data. Temperature fluctuations may directly or indirectly affect the change of the carbon dioxide emission pressure, that is, as the index record offset increases, the equipment record offset also increases, resulting in an increase in the fluctuation monitoring determination value. In addition, temperature changes in the operating room may cause fluctuations in the performance of the oxygen supply system or other equipment. For example, too high temperature may cause equipment overheating, thus affecting the fluctuations of the oxygen supply pressure or the carbon dioxide emission pressure, which is then reflected in the equipment record offset, that is, an increase in the index record offset causes an increase in the equipment record offset. The index record offset and the equipment record offset do not exist independently and jointly quantify the degree of fluctuation of the environmental record data in the preset medical environment through mutual interaction.

[0038] Through the quantitative monitoring of the degree of fluctuation of the environmental record data in the preset medical environment, more comprehensive monitoring of the data fluctuation in the process of writing hospital medical environment data into the blockchain and management is realized, and thus the accuracy of data fluctuation management in the process of writing hospital medical environment data into the blockchain is improved.

[0039] Furthermore, the specific process for obtaining the fluctuation monitoring determination result is as follows: B1. Determine whether the deviation degree between the obtained fluctuation monitoring determination value and the reference fluctuation determination threshold is within the preset fluctuation determination range obtained from the preset database; where the reference fluctuation determination threshold is the maximum value of the collected historical fluctuation monitoring determination values, and the deviation degree between the fluctuation monitoring determination value and the reference fluctuation determination threshold is the result of taking the absolute value of the difference operation between the fluctuation monitoring determination value and the reference fluctuation determination threshold; the preset fluctuation determination range is set by professionals according to the standards in the field.

[0040] B2. If the deviation degree between the fluctuation monitoring determination value and the reference fluctuation determination threshold is within the preset fluctuation determination range obtained from the preset database, mark the fluctuation monitoring determination result as data fluctuation. When the fluctuation monitoring determination result is data fluctuation, determine that the writing position of the environmental record data is the main chain of the blockchain.

[0041] B3. If the deviation degree between the fluctuation monitoring determination value and the reference fluctuation determination threshold is not within the preset fluctuation determination range obtained from the preset database, mark the fluctuation monitoring determination result as data stability. When the fluctuation monitoring determination result is data stability, determine that the writing position of the environmental record data is the side chain of the blockchain.

[0042] In this embodiment, the writing positions of the environmental record data include the main chain of the blockchain and the side chain of the blockchain. By combining the preset fluctuation determination range to judge the fluctuation monitoring determination value, a more accurate judgment of the degree of data fluctuation of the environmental record data in the preset medical environment is realized, and further, the reliability of the decision-making analysis for determining the corresponding fluctuation monitoring determination result as data fluctuation or data stability is improved. In addition, by determining the data fluctuation and data stability of the environmental record data to obtain the writing position in the blockchain, the reliability of the judgment of the writing position of the environmental record data in the blockchain based on the fluctuation monitoring determination result is improved, and further, the accuracy of the management of the writing position of the environmental record data written into the blockchain is improved.

[0043] Further, the specific steps for optimizing the writing data storage in the process of writing the environmental record data into the blockchain based on the writing position of the environmental record data are as follows: C1. If the writing position of the environmental record data is the side chain of the blockchain, perform side chain writing optimization on the writing process of the environmental record data; the side chain writing optimization is used to perform writing update on the environmental record data stored in the side chain of the blockchain in the blockchain.

[0044] Specifically, the specific steps for performing side chain writing optimization on the writing process of the environmental record data are as follows: C11. Input the fluctuation monitoring determination value into the writing update mapping set in the preset database for mapping to obtain the side chain writing update frequency; the writing update mapping set represents the mapping relationship between the fluctuation monitoring determination value and the side chain writing update frequency.

[0045] C12. Write the environmental record data to the side chain for data storage according to the side chain write update frequency. When the environmental record data written to the side chain for data storage is less than the side chain storage set value, continuously monitor the data volume written to the side chain for data storage. Otherwise, input the deviation degree between the side chain storage set value and the side chain storage warning threshold into the acquisition update mapping set in the preset database for mapping to obtain the environmental record data acquisition frequency, and collect the environmental record data at the environmental record data acquisition frequency; the acquisition update mapping set represents the mapping relationship between the deviation degree of the side chain storage set value and the side chain storage warning threshold and the environmental record data acquisition frequency. Among them, the environmental record data is the data volume size of the environmental record data, and the side chain storage set value and the side chain storage warning threshold are both set by professionals according to the standards in the field. For example, the side chain storage set value is set to 70% of the total side chain storage capacity, and the side chain storage warning threshold is set to 90% of the total side chain storage capacity. The deviation degree between the side chain storage set value and the side chain storage warning threshold is the result of the difference operation between the side chain storage warning threshold and the side chain storage set value.

[0046] C2. If the writing position of the environmental record data is the blockchain main chain, optimize the main chain writing process for the writing of the environmental record data; the main chain writing optimization is used to perform writing updates on the environmental record data written to the blockchain main chain storage in the blockchain.

[0047] It should be added that the specific process of optimizing the main chain writing for the writing process of the environmental record data is as follows: C21. When the fluctuation monitoring determination result is data fluctuation, determine whether the obtained fluctuation monitoring determination value is greater than the fluctuation reference set value obtained from the preset database; the fluctuation reference set value is the maximum value of the collected historical fluctuation monitoring determination values.

[0048] C22. If the fluctuation monitoring determination value is greater than the fluctuation reference set value, record the writing main chain priority of the data to be written as the priority writing level. Otherwise, record the writing main chain priority of the data to be written as the waiting writing level.

[0049] C23. Perform main chain writing data storage on the data to be written based on the writing main chain priority. The data to be written includes environmental record data and the fluctuation monitoring determination value.

[0050] Among them, the specific steps of performing main chain writing data storage on the data to be written based on the writing main chain priority are as follows: D1. Perform main chain writing data storage on the data to be written with the writing main chain priority of the priority writing level, and detect the blockchain writing efficiency based on the writing performance data of the blockchain within the preset time interval to obtain the writing efficiency detection value.

[0051] Specifically, the writing efficiency of the blockchain is detected based on the writing performance data of the blockchain within a preset time interval to obtain a writing efficiency detection value. The specific steps are as follows: D11. Obtain the writing performance data of the blockchain within a preset time interval. The writing performance data includes writing accuracy performance data and writing speed performance data. Among them, the writing accuracy performance data includes medical environment electromagnetic interference, writing throughput, and writing hash matching degree. The writing speed performance data includes block generation time, block writing speed, and block resource utilization rate. Specifically, for the writing accuracy performance data, the medical environment electromagnetic interference is obtained through an electromagnetic interference detector deployed in the preset medical environment. The unit of the medical environment electromagnetic interference is the same as that of the reference medical environment electromagnetic interference, both being Tesla. The reference medical environment electromagnetic interference is represented by the result of summing and averaging the collected historical medical environment electromagnetic interference. The writing throughput is obtained through a blockchain monitoring tool (such as Blockchain Benchmarking Tool). The unit of the writing throughput is the same as that of the reference minimum writing throughput, both being blocks per second. The reference minimum writing throughput is represented by the minimum value of the collected historical writing throughput. The writing hash matching degree is obtained through a blockchain custom script (such as Web3.js, Ether.js). The reference maximum writing hash matching degree is represented by the maximum value of the collected historical writing hash matching degree.

[0052] For the writing speed performance data, the block generation time is obtained through the blockchain log file. The unit of the block generation time is the same as that of the reference maximum block generation time, both being seconds. The reference maximum block generation time is represented by the maximum value of the collected historical block generation time. The block writing speed is obtained through a blockchain performance analysis tool (such as Blockchair). The unit of the block writing speed is the same as that of the reference block writing speed and the maximum deviation of the reference writing speed, both being blocks per second. The reference block writing speed is represented by the result of summing and averaging the collected historical block writing speeds. The maximum deviation of the reference writing speed is the result of the difference operation between the minimum value of the collected historical reference block writing speed and the block writing speed. The block resource utilization rate is obtained through a Linux command-line tool (such as top, htop). The reference block resource utilization rate is represented by the result of summing and averaging the collected historical block resource utilization rates.

[0053] D12. After performing weighted coupling processing on the proportion result of the medical environment electromagnetic interference (i.e., part), the degree of difference in writing throughput (i.e., part) and the corresponding electromagnetic interference compensation amount (i.e., in the writing accuracy detection coefficient), the throughput detection compensation amount (i.e., in the writing accuracy detection coefficient), and then combine it with the proportion result of the writing hash matching degree (i.e., The write accuracy detection coefficient is obtained by performing write accuracy performance interaction processing on the (partial); the write accuracy performance interaction processing is used to describe the mutual influence among write accuracy performance data. Its numerical expression is as follows: ; In the formula, represents the write accuracy detection coefficient of the blockchain within a preset time interval, represents the electromagnetic interference compensation amount, represents the throughput detection compensation amount, represents the electromagnetic interference in the medical environment, represents the reference electromagnetic interference in the medical environment, represents the write throughput, represents the reference minimum write throughput, represents the write hash matching degree, represents the reference maximum hash matching degree.

[0054] It should be added that the electromagnetic interference compensation amount and the throughput detection compensation amount are obtained from a preset database. For example, the real-time proportion result of electromagnetic interference in the medical environment (the part in the formula ), the difference degree of write throughput (the part in the formula ) are input into the mapping set of the proportion result of electromagnetic interference in the medical environment, the difference degree of write throughput and their corresponding compensation values preset in the database to obtain the corresponding electromagnetic interference compensation amount and throughput detection compensation amount.

[0055] D13, the difference degree of block generation time (i.e., the part ), the difference degree of block resource utilization rate (i.e., the part ) and the corresponding block generation detection compensation amount (i.e., in the write speed detection coefficient), the resource utilization detection compensation amount (i.e., in the write speed detection coefficient) are subjected to weighted coupling processing and then perform write speed performance interaction processing with the result of the approach operation of the block write speed (i.e., the part ) to obtain the write speed detection coefficient; the write speed performance interaction processing is used to describe the mutual influence among write speed performance data. Its numerical expression is as follows: ; In the formula, represents the write speed detection coefficient of the blockchain within a preset time interval, represents the block generation detection compensation amount, represents the resource utilization detection compensation amount, represents the reference maximum block generation time, represents the block generation time, Indicates the block resource utilization rate, Indicates the reference block resource utilization rate, Indicates the block writing speed, Indicates the reference block writing speed, Indicates the maximum deviation of the reference writing speed.

[0056] It should be added that the block generation detection compensation amount and the resource utilization detection compensation amount are obtained from a preset database. For example, the real-time block generation time difference degree (the part in the formula ), the block resource utilization rate difference degree (the part in the formula ) are input into the mapping set of the preset block generation time difference degree, block resource utilization rate difference degree and their corresponding compensation values in the database to obtain the corresponding block generation detection compensation amount and resource utilization detection compensation amount.

[0057] D14, after performing a weighted operation on the writing accuracy detection coefficient, writing speed detection coefficient and the corresponding writing compensation values and then coupling them, the writing efficiency detection value is obtained. The writing compensation value includes the writing accuracy compensation value and the writing speed compensation value. The writing accuracy compensation value and the writing speed compensation value are respectively used to describe the influence degree of the writing accuracy detection coefficient and the writing speed detection coefficient on the writing efficiency detection value. For example, the real-time writing accuracy compensation value and the writing speed compensation value are input into the mapping set of the preset writing accuracy compensation value and writing speed compensation value and their corresponding compensation values in the database to obtain the corresponding writing accuracy compensation value and writing speed compensation value. Its numerical expression is as follows: ; In the formula, Indicates the writing efficiency detection value of the blockchain within a preset time interval, Indicates the writing accuracy compensation value, Indicates the writing speed compensation value.

[0058] In summary, the writing efficiency detection value represents the quantitative data of the writing accuracy detection coefficient and the writing speed detection coefficient for the writing efficiency detection of the blockchain within a preset time interval, and is used to quantitatively detect the writing efficiency of the blockchain within a preset time interval; among them, both the writing accuracy detection coefficient and the writing speed detection coefficient affect the writing efficiency of the blockchain. Specifically, as the writing accuracy detection coefficient and the writing speed detection coefficient increase, the writing efficiency of the blockchain increases accordingly, and thus the writing efficiency detection value increases accordingly.

[0059] It should be understood that the write efficiency detection value includes parameters in multiple aspects and takes into account the correlation and mutual influence among various parameters. Among them, each parameter does not exist independently. For example, in the operating room environment, electromagnetic interference may affect the write speed because electromagnetic waves can cause communication errors and data loss, which in turn leads to the blockchain system recalculating and correcting data, thereby increasing the write time. That is, as the electromagnetic interference in the medical environment decreases, the write hash matching degree increases; at the same time, the write throughput refers to the amount of data written to the blockchain per unit time. The increase in write throughput helps to reduce the write latency, improve the response speed and stability, and further enhance the write accuracy, that is, the write hash matching degree increases; in addition, the block generation time directly affects the block write speed. As the block generation time decreases, the deviation degree of the block write speed from the reference block generation time decreases, and the write efficiency detection value increases; as the write accuracy detection coefficient increases, the write speed detection coefficient also increases. The write accuracy detection coefficient and the write speed detection coefficient do not exist independently and interact with each other to jointly quantify the write efficiency of the blockchain within a preset time interval.

[0060] D2, input the write efficiency detection value into the write storage mapping set in the preset database for mapping to obtain the write storage volume warning value. The write storage mapping set represents the mapping relationship between the write efficiency detection value and the write storage volume warning value; when the data volume of the data to be written in the main chain write data storage is less than the write storage volume warning value, continuously monitor the data volume of the data to be written for the main chain write data storage. Otherwise, record the maximum value of the fluctuation monitoring determination value within the preset judgment quantity time interval as the fluctuation reference setting value. The preset judgment quantity represents the result of mapping the real-time write efficiency detection value into the write setting mapping set in the preset database. The write setting mapping set represents the mapping relationship between the write efficiency detection value and the preset judgment quantity.

[0061] D3, after the data to be written with the write main chain priority of the priority write level is completed for the main chain write data storage, perform the main chain write data storage on the data to be written with the write main chain priority of the waiting write level.

[0062] Among them, the specific steps for performing the main chain write data storage on the data to be written with the write main chain priority of the waiting write level are as follows: D31, perform blockchain node verification (such as Ethereum) on the data to be written with the write main chain priority of the waiting write level, and obtain the corresponding priority score of the data to be written by arranging them in ascending order based on the blockchain node verification response time. The blockchain node verification response time is the result of the difference operation between the blockchain node verification end time and the blockchain verification start time; obtain the blockchain node verification end time and the blockchain verification start time through a blockchain monitoring tool (such as Prometheus).

[0063] D32. After the data to be written in the main chain storage is completed for the data to be written at the priority write level, if the amount of data to be written in the main chain storage is less than the maximum write storage amount, the data to be written is stored in the main chain write data storage in descending order based on the priority score of the data to be written. Otherwise, stop storing the data to be written with the write main chain priority at the waiting write level in the main chain write data storage.

[0064] In this embodiment, the optimization of the write data storage includes the main chain write optimization and the side chain write optimization; by recording the write position of the environmental record data, the corresponding main chain write optimization and side chain write optimization are carried out for the process of writing the environmental record data into the blockchain, which improves the efficiency of the blockchain write process based on the differences in the environmental record data, and further improves the management accuracy and reliability of writing the hospital medical environment data into the main chain and side chain of the blockchain.

[0065] In summary, the embodiment of the present application monitors and determines the fluctuations of the preset medical environment through the environmental record data to obtain the fluctuation monitoring determination result, then combines the fluctuation monitoring determination result to judge the write position of the environmental record data in the blockchain, and finally optimizes the write data storage for the process of writing the environmental record data into the blockchain based on the write position of the environmental record data, thereby realizing the fluctuation analysis of the environmental record data of the preset medical environment and the storage optimization of the write data in the process of writing into the blockchain, and further realizing the more accurate management of writing the hospital medical environment data into the blockchain, effectively solving the problem that the data fluctuations are not fully considered in the process of writing the hospital medical environment data into the blockchain and management in the prior art.

[0066] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0067] The present invention is described with reference to the flowcharts and / or block diagrams of systems, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate for implementing in the process Figure 1one or more processes and / or blocks Figure 1 means for the functions specified in one or more blocks

[0068] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction means that implements the functions in the process Figure 1 one or more processes and / or blocks Figure 1 specified in one or more blocks

[0069] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus, such that a series of operational steps are performed on the computer or other programmable apparatus to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in the process Figure 1 one or more processes and / or blocks Figure 1 specified in one or more blocks

[0070] Although the preferred embodiments of the present invention have been described, additional changes and modifications can be made by those skilled in the art once they learn the basic inventive concept. Therefore, the appended claims are intended to be construed to cover the preferred embodiments as well as all changes and modifications that fall within the scope of the present invention

[0071] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations

Claims

1. A hospital medical environment data recording and management system based on blockchain technology, characterized in that, Including: A data fluctuation monitoring module, a writing position judgment module, and a writing management and optimization module; The data fluctuation monitoring module is used to obtain the environmental record data of a preset medical environment, and perform fluctuation monitoring and determination on the preset medical environment based on the environmental record data to obtain a fluctuation monitoring determination result; The writing position judgment module is used to judge the writing position of the environmental record data in the blockchain in combination with the fluctuation monitoring determination result, and obtain the writing position of the environmental record data; The writing management and optimization module is used to perform writing data storage optimization on the process of writing the environmental record data into the blockchain based on the writing position of the environmental record data. The writing data storage optimization means performing writing update of the environmental record data based on the writing position of the environmental record data to optimize the storage of the environmental record data by the blockchain.

2. The hospital medical environment data recording and management system based on blockchain technology according to claim 1, wherein The specific steps for performing fluctuation monitoring and determination on the preset medical environment based on the environmental record data are as follows: Obtain the environmental record monitoring data of the preset medical environment within a preset time interval. The environmental record monitoring data includes environmental index record data and environmental equipment record data; The environmental index record data includes environmental monitoring temperature data, environmental monitoring humidity data, environmental monitoring illumination intensity, and environmental monitoring oxygen concentration; The environmental equipment record data includes oxygen supply pressure and carbon dioxide emission pressure; Perform differential averaging analysis on the environmental index record values of the corresponding categories of the environmental index record data at the preset record monitoring moment and the previous adjacent preset record monitoring moment within the preset time interval, and perform ratio analysis in combination with the reference maximum fluctuation offset obtained from the preset database to obtain the index record offset; Perform weighted operation and coupling processing on the difference degree between the averaged oxygen supply pressure within the preset time interval and the reference oxygen supply pressure and the difference degree between the averaged carbon dioxide emission pressure and the reference carbon dioxide emission pressure in combination with the corresponding offset compensation amounts to obtain the equipment record offset. The offset compensation amounts include an oxygen record offset compensation amount and a carbon dioxide offset compensation amount; Perform weighted operation and coupling processing on the index record offset, the equipment record offset, and the corresponding record determination compensation values to obtain a fluctuation monitoring determination value. The record determination compensation values include an index record determination compensation value and an equipment record determination compensation value; The fluctuation monitoring determination value is used to quantitatively monitor the fluctuation degree of the environmental record data in the preset medical environment; The fluctuation monitoring determination value represents the quantitative data of the index record offset and the equipment record offset for the fluctuation degree of the environmental record data in the preset medical environment.

3. The hospital medical environment data record management system based on blockchain technology according to claim 2, characterized in that, The specific process for obtaining the fluctuation monitoring determination result is as follows: Judge whether the deviation degree between the obtained fluctuation monitoring determination value and the reference fluctuation determination threshold is within the preset fluctuation determination range obtained from the preset database; If the deviation degree between the fluctuation monitoring determination value and the reference fluctuation determination threshold is within the preset fluctuation determination range obtained from the preset database, mark the fluctuation monitoring determination result as data fluctuation; If the deviation degree between the fluctuation monitoring determination value and the reference fluctuation determination threshold is not within the preset fluctuation determination range obtained from the preset database, mark the fluctuation monitoring determination result as data stability.

4. The hospital medical environment data recording and management system based on blockchain technology according to claim 3, wherein The specific steps for determining the writing position of environmental record data in the blockchain by combining the fluctuation monitoring determination result are as follows: When the fluctuation monitoring determination result is data fluctuation, it is determined that the writing position of the environmental record data is the main chain of the blockchain; When the fluctuation monitoring determination result is data stability, it is determined that the writing position of the environmental record data is the side chain of the blockchain; The writing positions of the environmental record data include the main chain of the blockchain and the side chain of the blockchain.

5. The hospital medical environment data record management system based on blockchain technology according to claim 4, wherein The specific steps for optimizing the writing data storage in the process of writing environmental record data into the blockchain based on the writing position of the environmental record data are as follows: If the writing position of the environmental record data is the main chain of the blockchain, the writing process of the environmental record data is optimized for main chain writing; The main chain writing optimization is used to update the writing of the environmental record data stored in the main chain of the blockchain; If the writing position of the environmental record data is the side chain of the blockchain, the writing process of the environmental record data is optimized for side chain writing; The side chain writing optimization is used to update the writing of the environmental record data stored in the side chain of the blockchain; The writing data storage optimization includes main chain writing optimization and side chain writing optimization.

6. The hospital medical environment data recording and management system based on blockchain technology according to claim 5, wherein The specific process for optimizing the main chain writing in the writing process of the environmental record data is as follows: When the fluctuation monitoring determination result is data fluctuation, it is judged whether the obtained fluctuation monitoring determination value is greater than the fluctuation reference setting value obtained from the preset database; If the fluctuation monitoring determination value is greater than the fluctuation reference setting value, the writing main chain priority of the data to be written is recorded as the priority writing level, otherwise, the writing main chain priority of the data to be written is recorded as the waiting writing level; Based on the writing main chain priority, the data to be written is stored in the main chain writing data, and the data to be written includes environmental record data and the fluctuation monitoring determination value.

7. The hospital medical environment data record management system based on blockchain technology according to claim 6, characterized in that, The specific steps for storing the data to be written in the main chain writing data based on the writing main chain priority are as follows: The data to be written with the writing main chain priority of the priority writing level is stored in the main chain writing data. The writing efficiency of the blockchain is detected based on the writing performance data of the blockchain within a preset time interval to obtain a writing efficiency detection value, and the writing efficiency detection value is used to quantitatively detect the writing efficiency of the blockchain within a preset time interval; The writing efficiency detection value is input into the writing storage mapping set in the preset database for mapping to obtain a writing storage quantity warning value. When the data quantity of the data to be written stored in the main chain writing data is less than the writing storage quantity warning value, the data quantity of the data to be written stored in the main chain writing data is continuously monitored, otherwise, the maximum value of the fluctuation monitoring determination value within a preset evaluation quantity time interval is recorded as the fluctuation reference setting value; The writing storage mapping set represents the mapping relationship between the writing efficiency detection value and the writing storage quantity warning value. The preset evaluation quantity represents the result obtained by inputting the real-time writing efficiency detection value into the writing setting mapping set in the preset database, and the writing setting mapping set represents the mapping relationship between the writing efficiency detection value and the preset evaluation quantity; After the main-chain writing data storage of the data to be written with the main-chain writing priority being the priority writing level is completed, the data to be written with the main-chain writing priority being the waiting writing level is subjected to main-chain writing data storage.

8. The hospital medical environment data recording and management system based on blockchain technology according to claim 7, characterized in that The writing efficiency of the blockchain is detected based on the writing performance data of the blockchain within a preset time interval to obtain a writing efficiency detection value. The specific steps are as follows: Obtain the writing performance data of the blockchain within a preset time interval, where the writing performance data includes writing accuracy performance data and writing speed performance data; The writing accuracy performance data includes medical environment electromagnetic interference, writing throughput, and writing hash matching degree; The writing speed performance data includes block generation time, block writing speed, and block resource utilization rate; After performing weighted coupling processing on the proportion result of medical environment electromagnetic interference, the difference degree of writing throughput, and the corresponding electromagnetic interference compensation amount and throughput detection compensation amount, and performing writing accuracy performance interaction processing with the proportion result of writing hash matching degree to obtain a writing accuracy detection coefficient; The writing accuracy performance interaction processing is used to describe the mutual influence among the writing accuracy performance data; After performing weighted coupling processing on the difference degree of block generation time, the difference degree of block resource utilization rate, and the corresponding block generation detection compensation amount and resource utilization detection compensation amount, and performing writing speed performance interaction processing with the approaching operation result of block writing speed to obtain a writing speed detection coefficient; The writing speed performance interaction processing is used to describe the mutual influence among the writing speed performance data; After performing weighted operation on the writing accuracy detection coefficient, the writing speed detection coefficient, and the corresponding writing compensation value and then performing coupling processing, a writing efficiency detection value is obtained, where the writing compensation value includes a writing accuracy compensation value and a writing speed compensation value; The writing efficiency detection value represents the quantization data of the writing accuracy detection coefficient and the writing speed detection coefficient for the writing efficiency detection of the blockchain within a preset time interval.

9. The hospital medical environment data recording and management system based on blockchain technology according to claim 7, characterized in that The specific steps for performing main-chain writing data storage on the data to be written with the main-chain writing priority being the waiting writing level are as follows: Perform blockchain node verification on the data to be written with the main-chain writing priority being the waiting writing level, and obtain the corresponding priority score of the data to be written based on the ascending order of the blockchain node verification response time. The blockchain node verification response time is the result of the difference operation between the blockchain node verification end time and the blockchain verification start time; After the main-chain writing data storage of the data to be written with the priority writing level is completed, if the data volume of the data to be written in the main-chain writing data storage is less than the maximum writing storage volume, the data to be written is subjected to main-chain writing data storage based on the descending order of the priority score of the data to be written. Otherwise, stop performing main-chain writing data storage on the data to be written with the main-chain writing priority being the waiting writing level.

10. The hospital medical environment data record management system based on blockchain technology according to claim 5, characterized in that, The specific steps for optimizing the side-chain writing of the writing process of the environmental record data are as follows: Input the fluctuation monitoring determination value into the writing update mapping set in the preset database for mapping to obtain the side-chain writing update frequency; Perform side-chain writing data storage on environmental record data according to the side-chain writing update frequency. When the environmental record data stored by side-chain writing is less than the side-chain storage setting value, continuously monitor the data volume stored by side-chain writing. Otherwise, input the deviation degree between the side-chain storage setting value and the side-chain storage warning threshold into the acquisition update mapping set in the preset database for mapping to obtain the environmental record data acquisition frequency, and collect the environmental record data at the environmental record data acquisition frequency; The writing update mapping set represents the mapping relationship between the fluctuation monitoring determination value and the side-chain writing update frequency, and the acquisition update mapping set represents the mapping relationship between the deviation degree between the side-chain storage setting value and the side-chain storage warning threshold and the environmental record data acquisition frequency.

Citation Information

Patent Citations

  • Medical imaging data security management method and system based on blockchain

    CN112699406B

  • A Blockchain-Based Method for Protecting Medical Privacy Data

    CN115618412B