A ventilator fault prediction method and system based on medical Internet of Things
By constructing a data set that satisfies differential privacy and a trust network for medical staff, and combining it with neural networks to predict ventilator failures, it solves the problems of inaccurate predictions and sensitive information leakage caused by relying on equipment operating data in the existing technology, and achieves higher predictions. Accuracy and security.
Patent Information
- Application Number
- CN202410697470.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Existing ventilator failure prediction methods mainly rely on equipment operation data and do not fully utilize the professional knowledge and experience of medical staff, resulting in unsatisfactory prediction accuracy and a high risk of sensitive information leakage.
By collecting the operating data of the ventilator, build a data set that meets differential privacy, combines neural networks and medical staff to trust the network, conduct socialized fault predictions, reduce the risk of sensitive information leakage, and improve prediction accuracy.
On the premise of protecting patient privacy, we can improve the accuracy and reliability of ventilator failure prediction, reduce false positives and false negatives, effectively utilize the trust network among medical staff, and enhance the social dimension of prediction.
Smart Images

Figure CN118262889B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ventilator failure analysis, and in particular to a ventilator failure prediction method and system based on medical Internet of Things. Background Art
[0002] The Internet of Medical Things (IoMT) is the application of Internet of Things (IoT) technology in the medical field. It involves the network connection of medical devices and applications that can collect, send and receive data. IoMT has great potential to improve the quality of medical services, reduce costs and enhance patient experience. Ventilators are key components of life support systems and are used to provide breathing support for patients who cannot breathe independently or who are unable to breathe adequately. Failure of a ventilator can have serious negative effects on the patient's health, so it is crucial to accurately predict potential failures of a ventilator.
[0003] Ventilator failure prediction based on the medical Internet of Things is a method that uses the Internet of Things technology to collect, transmit, analyze and apply the operating data of the ventilator to achieve intelligent identification and early warning of ventilator failures. This method can realize remote monitoring and management of ventilators, timely discover and handle abnormal situations, improve the efficiency and safety of ventilator use, and reduce maintenance costs and risks.
[0004] For example, Chinese patent 201810510490.8 discloses a medical equipment fault prediction system and related methods, devices and equipment, which uses the matching degree of the first fault prediction probability and the second fault prediction probability to reach a first preset value, and the matching degree of the first fault prediction probability and the real-time fault state data in the next feature vector set input to reach a second preset value as the training target to solve the technical problem that the prediction accuracy is not ideal. However, the above method still has the following shortcomings: fault prediction is completely focused on the operating data of the equipment itself, such as sensor readings, and does not make full use of the professional knowledge and experience of medical staff, which may be very important for predicting faults.
[0005] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention
[0006] In response to the problems in the related technology, the present invention proposes a ventilator fault prediction method and system based on the medical Internet of Things to overcome the above-mentioned technical problems existing in the existing related technology.
[0007] To this end, the specific technical solution adopted by the present invention is as follows:
[0008] According to one aspect of the present invention, a ventilator failure prediction method based on the medical Internet of Things is provided, and the ventilator failure prediction method based on the medical Internet of Things comprises the following steps:
[0009] S1. Collect the operating data of the ventilator and upload it to the central server in real time through the Internet of Things technology.
[0010] S2. Mark the operation data containing sensitive information and obtain the trust record between medical staff.
[0011] S3. According to the sensitivity of the data, the probability of each running data being extracted is calculated, and the data set is extracted to ensure that the data set meets the differential privacy requirements, and the data set that meets the differential privacy requirements is output.
[0012] S4. Construct neural network and perform differential privacy training based on data sets that satisfy differential privacy.
[0013] S5. Build a trust network among medical staff, obtain the trusted user set, and output the socialized failure prediction of the ventilator.
[0014] S6. If the socialized fault prediction result is greater than the preset fault threshold, a warning signal is issued and the socialized fault prediction result is fed back to the medical staff.
[0015] Furthermore, to reduce the risk of sensitive information leakage:
[0016] The construction of a neural network and differential privacy training based on a differentially private dataset includes the following steps:
[0017] S41, constructing a neural network structure including an input layer, several hidden layers and an output layer, and initializing the weights and biases of the neural network;
[0018] S42. Set the privacy budget and select the noise distribution;
[0019] S43, dividing the data set satisfying differential privacy into a training set, a validation set, and a test set;
[0020] S44, updating the weights of the neural network using an optimization algorithm;
[0021] S45. Train the neural network and use the validation set to evaluate the performance of the neural network;
[0022] S46. Use the privacy loss accumulation tool to track the privacy budget consumption of each iteration;
[0023] S47. If the upper limit of the privacy budget is reached, training is stopped and a final evaluation is performed using the test set to determine the performance of the neural network.
[0024] Furthermore, in order to accurately determine the parameters of the neural network through the optimization algorithm and ensure the optimal performance of the neural network:
[0025] Updating the weights of a neural network using an optimization algorithm involves the following steps:
[0026] S441, determining the number of iterations;
[0027] S442, for each round of iteration, a set of random vectors is generated for gradient estimation, and the weight of the current round is initialized to the weight at the end of the previous round of iteration;
[0028] S443. Under the framework of differential privacy, the full gradient is calculated and noise is added to the gradient calculation of each sample to protect privacy.
[0029] S444. For each inner loop, initialize the learning rate, randomly select a single sample, calculate the gradient estimate, and add differential privacy noise;
[0030] S445, calculating the correction gradient, and updating the weight vector according to the correction gradient;
[0031] S446. Calculate the weighted average weight of all iterations as the final neural network weight.
[0032] Furthermore, the formula for calculating the weighted average weight of all iterations is:
[0033]
[0034] In the formula, Represents the weight vector after weighted averaging;
[0035] T represents the total number of iterations, t Indicates the index of the current iteration;
[0036] Indicates t The weight vector after iterations.
[0037] Furthermore, training the neural network includes the following steps:
[0038] S451. For each batch in the training set, perform forward propagation and calculate the predicted output;
[0039] S452, calculate the loss function, perform back propagation, and calculate the gradient;
[0040] S453, clipping the gradient to ensure that the L2 norm of each gradient does not exceed a preset threshold;
[0041] S454, adding Gaussian noise to the clipped gradient, and using the noisy gradient to update the weights of the neural network;
[0042] S455. At the end of each training cycle, use the validation set to evaluate the performance of the neural network.
[0043] Furthermore, in order to obtain a comprehensive fault prediction by combining the prediction of neural networks and social evaluation, and reduce false positives and false negatives:
[0044] Building a trust network among medical staff, obtaining a set of trusted users, and outputting socialized failure prediction of ventilators includes the following steps:
[0045] S51. Use the trust records between hospital personnel to build a trust network, and the trust network includes medical staff IDs as nodes and trust relationships as directed binary edges;
[0046] S52, calculating the trust of medical staff in other personnel, and screening out personnel whose trust is higher than a threshold to form a trusted user set;
[0047] S53. Use the trained neural network and the scores of ventilator failures by people in the trusted user set to output the socialized failure prediction of the ventilator.
[0048] Furthermore, a trust network is constructed using the trust records between hospital staff, and the trust network includes medical staff IDs as nodes and trust relationships as directed binary edges, including the following steps:
[0049] S511, collect trust records between medical staff and build a preliminary trust network, in which the IDs of medical staff are used as nodes and the trust relationships are used as directed binary edges according to the trust records;
[0050] S512, using an unsupervised graph embedding algorithm to learn low-dimensional vector representations of nodes in the preliminary trust network, and capturing trust relationships between nodes to obtain low-dimensional vector representations of the nodes;
[0051] S513, analyzing the distribution of nodes in the vector space, identifying abnormal clusters or outliers, and outputting abnormal trust relationship indicators;
[0052] S514, obtaining other trust-related features, and combining the low-dimensional vector representation of the node with the other trust-related features to obtain a comprehensive trust metric;
[0053] S515. According to the comprehensive trust metric, the edge weights in the preliminary trust network are adjusted, and the trust relationships identified as abnormal are removed to obtain an optimized trust network.
[0054] Furthermore, the trust of medical staff in other personnel is calculated, and personnel with trust higher than a threshold are screened out. The formation of a trusted user set includes the following steps:
[0055] S521, using a graph analysis algorithm to calculate the degree of trust of each node in the trust network to other nodes;
[0056] S522: Set a trust threshold, and screen out medical staff whose trust is higher than the trust threshold to form a trusted user set.
[0057] Furthermore, using the trained neural network and the scores of the ventilator failures by the people in the trust user set, the socialized failure prediction of the ventilator is output, which includes the following steps:
[0058] S531, using the trained neural network to predict faults of the ventilator operation data collected in real time, and recording the fault prediction results of the neural network, including the risk level of the fault;
[0059] S532. The scores of the people in the trusted user set on the ventilator failure are integrated with the failure prediction results of the neural network through weighted average to obtain the socialized failure prediction results of the ventilator.
[0060] According to another aspect of the present invention, a ventilator fault prediction system based on the medical Internet of Things is provided, and the ventilator fault prediction system based on the medical Internet of Things includes a data collection module, a trust record acquisition module, a privacy protection module, a network construction module, a socialized fault prediction module and a feedback module; wherein the data collection module is connected to the trust record acquisition module, the trust record acquisition module is connected to the privacy protection module, the privacy protection module is connected to the network construction module, and the socialized fault prediction module is connected to the trust record acquisition module, the network construction module and the feedback module.
[0061] The data collection module is used to collect the operating data of the ventilator and upload the operating data of the ventilator to the central server in real time through the Internet of Things technology.
[0062] The trust record acquisition module is used to mark the operation data containing sensitive information and obtain the trust records between medical staff.
[0063] The privacy protection module is used to calculate the probability of each running data being extracted according to the sensitivity of the data, and extract the data set to ensure that the data set meets the differential privacy requirements, and output the data set that meets the differential privacy requirements.
[0064] The network construction module is used to construct neural networks and perform differential privacy training based on data sets that meet differential privacy requirements.
[0065] The socialized fault prediction module is used to build a trust network among medical staff, obtain the trusted user set, and output the socialized fault prediction of the ventilator.
[0066] The feedback module is used to send out an early warning signal if the socialized fault prediction result is greater than a preset fault threshold, and to feed back the socialized fault prediction result to medical staff.
[0067] The beneficial effects of the present invention are:
[0068] (1) The present invention provides a ventilator failure prediction method and system based on the medical Internet of Things. The extracted data set meets the differential privacy requirements. By protecting the data set through differential privacy, the risk of sensitive information leakage is reduced. By combining differential privacy and social recommendation methods, not only can the accuracy and reliability of ventilator failure prediction be improved, but also the trust network among medical staff can be used to increase the social dimension of prediction while protecting patient privacy. While ensuring data security, medical resources and knowledge can be effectively utilized to provide more accurate support for medical decision-making.
[0069] (2) The present invention constructs a neural network for fault prediction, uses an optimization algorithm to update weights, and uses the optimization algorithm to accurately calculate the parameters of the neural network, thereby ensuring the optimal performance of the neural network and protecting data privacy. The neural network is trained to ensure that the neural network can learn important features from the data while protecting privacy, thereby improving the accuracy of prediction.
[0070] (3) The present invention uses the trust relationship between medical staff to identify medical staff with high trust, and the scores of medical staff with high trust provide an important reference for fault prediction. By combining the prediction of neural network and social evaluation, a comprehensive fault prediction is obtained to reduce false positives and false negatives. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0072] Figure 1 is a flow chart of a ventilator fault prediction method based on medical Internet of Things according to an embodiment of the present invention;
[0073] Figure 2 It is a principle block diagram of a ventilator fault prediction system based on the medical Internet of Things according to an embodiment of the present invention.
[0074] In the figure:
[0075] 1. Data collection module; 2. Trust record acquisition module; 3. Privacy protection module; 4. Network construction module; 5. Socialized fault prediction module; 6. Feedback module. DETAILED DESCRIPTION
[0076] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0077] According to an embodiment of the present invention, a ventilator failure prediction method and system based on the medical Internet of Things are provided.
[0078] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1 As shown, according to one embodiment of the present invention, a ventilator failure prediction method based on the medical Internet of Things is provided, and the ventilator failure prediction method based on the medical Internet of Things includes the following steps:
[0079] S1. Collect the operating data of the ventilator and upload it to the central server in real time through the Internet of Things technology. The specific steps include:
[0080] The sensors installed on the ventilator monitor and record the operating data of the ventilator in real time, including airflow rate, oxygen concentration, air pressure, temperature, humidity and other indicators. This ensures that comprehensive equipment performance data is obtained, providing a basis for subsequent analysis.
[0081] Clean and format the collected operating data, including filtering out noise, calibrating deviations, processing missing values, etc. Improve data quality and ensure the accuracy of subsequent analysis.
[0082] Ensure that the ventilator is connected to the network through an IoT device (such as a gateway), which can be a wired or wireless connection. Provide the necessary network access for data transmission and realize remote monitoring and management of the device.
[0083] The data is transmitted in real time via the network to the central server, which receives the data from the ventilator and stores it in a database for subsequent analysis.
[0084] S2. Mark the operation data containing sensitive information, and calculate the probability of each record being extracted based on the sensitivity of the data. For example, the extraction probability of non-sensitive data (normal operation data) is higher, and the extraction probability of sensitive data (abnormal records with patient information) is lower. And obtain the trust records between medical staff. Specifically, the following steps are included:
[0085] Collect evaluations and feedback from medical staff through the hospital's internal management system or through questionnaires to build a trust record. Provide original data for building a trust network and reflect the trust relationship between medical staff.
[0086] Clean and format the collected trust records, such as unifying evaluation standards, processing missing values, etc. Improve the quality of trust record data.
[0087] Beneficial effects: Construct a comprehensive dataset that combines device performance data with medical staff trust to provide a comprehensive perspective for social failure prediction.
[0088] S3. According to the sensitivity of the data, the probability of each running data being extracted is calculated, and the data set is extracted to ensure that the data set meets the differential privacy requirements, and the data set that meets the differential privacy requirements is output. The specific steps include:
[0089] The probability of highly sensitive data being extracted should be lower than that of low-sensitivity data. Control the proportion of sensitive data in the data set to reduce the risk of privacy leakage.
[0090] Set the parameters of the differential privacy algorithm, such as the privacy budget and noise distribution, to determine the amount of noise added to the data.
[0091] Data sampling is performed based on the calculated probability to construct a sub-dataset for subsequent analysis. Noise is added based on data sampling, and the addition of noise follows the noise distribution defined in differential privacy.
[0092] S4. Construct neural network and perform differential privacy training based on data sets that satisfy differential privacy.
[0093] In a further embodiment, the construction of a neural network and differential privacy training based on a data set satisfying differential privacy include the following steps:
[0094] S41. Construct a neural network structure including an input layer, several hidden layers and an output layer, and initialize the weights and biases of the neural network.
[0095] S42. Set a privacy budget, define the upper limit of the accepted privacy loss, and select a noise distribution; select Gaussian distribution as the noise distribution and determine the appropriate standard deviation based on the privacy budget and the characteristics of the dataset.
[0096] It should be noted that the privacy budget is the upper limit of the accepted privacy loss. The purpose of selecting the noise distribution and determining the appropriate standard deviation is to find a balance between privacy protection and data practicality. The size of the standard deviation affects the amount of noise added to the data or gradient, thereby affecting the accuracy and privacy protection level of the neural network model.
[0097] S43. Divide the data set that satisfies differential privacy into a training set, a validation set, and a test set.
[0098] S44. Update the weights of the neural network using an optimization algorithm.
[0099] S45. Train the neural network and use the validation set to evaluate the performance of the neural network.
[0100] S46. Use privacy loss accumulation tools (e.g., TensorFlow Privacy library) to track the privacy budget consumption of each iteration; ensure that the privacy loss during the entire training process does not exceed the preset privacy budget.
[0101] S47. If the upper limit of the privacy budget is reached, training is stopped and a final evaluation is performed using the test set to determine the performance of the neural network.
[0102] The application of differential privacy technology ensures the privacy of patient data. Even in the event of a data leak, it is difficult for attackers to recover personal information from noisy data. This is particularly important in the medical field because patient data often involves sensitive information. Quantifying privacy protection when training neural networks ensures that while extracting useful knowledge, the violation of personal data privacy is minimized.
[0103] In a further embodiment, updating the weights of a neural network using an optimization algorithm comprises the following steps:
[0104] S441. Determine the number of iterations. This is set based on experiments and experience, with the goal of giving the neural network model enough time to learn data features without overfitting.
[0105] S442. For each round of iteration, a set of random vectors is generated for gradient estimation, and the weights of the current round are initialized to the weights at the end of the previous round of iteration. The gradient is an indication of the direction and magnitude required for the weight update. The weights of the current round are initialized to the weights at the end of the previous round of iteration, and each round of training is improved on the basis of the previous round.
[0106] S443. Under the framework of differential privacy, the full gradient is calculated and noise is added to the gradient calculation of each sample to protect privacy. Under the framework of differential privacy, when operating on the entire data set to calculate the gradient, a certain amount of noise needs to be added to the gradient calculation of each sample. The noise is generated according to a certain probability distribution (such as Gaussian distribution). Noise is added to ensure that the information of any single data sample cannot be accurately inferred even from the gradient, thereby protecting data privacy.
[0107] Here, a sample refers to a single data point or data record collected from a ventilator. Each sample contains multiple features, which are the operating parameters of the ventilator at a certain point in time, such as: respiratory rate, oxygen concentration, ventilator pressure, operating temperature, and other sensor readings that may affect the performance of the ventilator. Each sample includes a label to indicate whether the data point was collected under normal operating conditions or when a fault occurred. For example, a fault record can be used as a binary label, where "1" indicates a fault and "0" indicates normal.
[0108] S444. For each inner loop, initialize the learning rate, randomly select a single sample, calculate the gradient estimate, and add differential privacy noise. In each inner loop (i.e., each gradient update), first initialize the learning rate, which is a hyperparameter that controls the step size of the weight update. Then, randomly select a sample from the training set and calculate the gradient estimate corresponding to the sample. To ensure privacy, add differential privacy noise to the calculated gradient.
[0109] S445, calculate the revised gradient (considering the full gradient and the sample gradient), and update the weight vector according to the revised gradient. The revised gradient refers to combining the calculated sample gradient with the previously calculated full gradient (if any) to obtain a more accurate gradient estimate.
[0110] S446. Calculate the weighted average weight of all iterations as the final neural network weight.
[0111] In a further embodiment, the formula for calculating the weighted average weight of all iterations is:
[0112]
[0113] In the formula, Represents the weight vector after weighted averaging;
[0114] T represents the total number of iterations, t Indicates the index of the current iteration;
[0115] Indicates t The weight vector after iterations.
[0116] In a further embodiment, training the neural network comprises the following steps:
[0117] S451. For each batch in the training set, perform forward propagation and calculate the predicted output; S452. Calculate the loss function, perform back propagation, and calculate the gradient; S453. Clip the gradient to ensure that the L2 norm of each gradient does not exceed the preset threshold; S454. Add Gaussian noise to the clipped gradient and use the noisy gradient to update the weights of the neural network; S455. At the end of each training cycle, use the validation set to evaluate the performance of the neural network.
[0118] S5. Build a trust network among medical staff, obtain the trusted user set, and output the socialized failure prediction of the ventilator.
[0119] In a further embodiment, building a trust network among medical staff, obtaining a trusted user set, and outputting a socialized failure prediction of a ventilator includes the following steps:
[0120] S51. Use the trust records between hospital staff to build a trust network, and the trust network includes medical staff IDs as nodes and trust relationships as directed binary edges; the trust of directed edges is unidirectional, that is, A trusts B, which does not necessarily mean that B trusts A. Binary edges indicate that the trust relationship is binary, that is, either trust exists or does not exist.
[0121] S52. Calculate the trust of medical staff in other personnel, and screen out personnel whose trust is higher than a threshold to form a trusted user set.
[0122] S53. Use the trained neural network and the scores of ventilator failures by people in the trusted user set to output the socialized failure prediction of the ventilator.
[0123] It should be noted that through social recommendation of trust network, the trust relationship between medical staff can be used to enhance the accuracy of prediction. Trust network can encourage cooperation and information sharing among medical staff and improve the quality of fault prediction through collective wisdom.
[0124] Combining the trained neural network with the ratings of ventilator failures from people in the trusted user set can help improve the accuracy of failure predictions. For example, if the neural network predicts a high risk of failure, and professionals in the trusted user set also independently give similar ratings or feedback, this will increase confidence in the prediction results. The neural network model is used to predict failures, and the ratings from people in the trusted user set are a step to verify and enhance these predictions. This approach combines data-driven predictions with the judgment of human experts to achieve more comprehensive and reliable failure warnings.
[0125] In a further embodiment, a trust network is constructed using trust records between hospital personnel, and the trust network includes medical staff IDs as nodes, and trust relationships as directed binary edges, including the following steps:
[0126] S511. Collect trust records between medical staff, including peer evaluation, cooperation history, professional recommendations, etc., and build a preliminary trust network, in which the ID of the medical staff is used as a node, and the trust relationship is used as a directed binary edge according to the trust record (1 if there is a trust relationship, otherwise 0);
[0127] S512, using an unsupervised graph embedding algorithm to learn low-dimensional vector representations of nodes in the preliminary trust network, and capturing trust relationships between nodes to obtain low-dimensional vector representations of the nodes;
[0128] S513, analyzing the distribution of nodes in the vector space, identifying abnormal clusters or outliers, which indicate abnormal trust behavior, and outputting abnormal trust relationship indicators;
[0129] S514, obtaining other trust-related features (such as professional qualifications, work experience, etc.), and combining the low-dimensional vector representation of the node with the other trust-related features to obtain a comprehensive trust metric;
[0130] S515. According to the comprehensive trust metric, the edge weights in the preliminary trust network are adjusted, and the trust relationships identified as abnormal are removed to obtain an optimized trust network.
[0131] In addition, the optimized trust network diagram is evaluated for authenticity and reliability through expert review, historical data comparison and other methods, and a trust network quality assessment report is output.
[0132] The trust network is continually monitored and updated to ensure it reflects the latest trust relationships.
[0133] In a further embodiment, calculating the trust of medical staff in other personnel and screening out personnel with trust higher than a threshold, forming a trusted user set includes the following steps:
[0134] S521. Use a graph analysis algorithm (such as PageRank or other trust propagation algorithms) to calculate the trust of each node (medical staff) in the trust network to other nodes. In a trust network, the trust of a node depends not only on the number of nodes that directly trust it, but also on the trust of these nodes and their position in the network. The trust propagation algorithm considers the trust relationship in the network and assigns a trust score to each node by iterative calculation until a stable state is reached.
[0135] S522: Set a trust threshold, and screen out medical staff whose trust is higher than the trust threshold to form a trusted user set.
[0136] In a further embodiment, using the trained neural network and the ratings of ventilator failures by people in the trust user set to output a socialized failure prediction of the ventilator includes the following steps:
[0137] S531. Use the trained neural network to predict faults of the ventilator operation data collected in real time, and record the fault prediction results of the neural network, including the possibility and risk level of the fault.
[0138] S532. The scores of the people in the trusted user set on the ventilator failure are combined with the failure prediction results of the neural network through weighted average to obtain the socialized failure prediction results of the ventilator. The scores in the trusted user set will be given different weights according to their trustworthiness. Ensure that the judgments of those medical staff who are considered more reliable have a greater influence in the final socialized failure prediction.
[0139] S6. If the socialized fault prediction result is greater than the preset fault threshold, an early warning signal is issued and the socialized fault prediction result is fed back to the medical staff. Specifically, the following steps are included:
[0140] Analyze the socialized fault prediction results to determine whether they exceed the preset fault threshold. If the prediction result exceeds the threshold, an early warning signal is automatically generated.
[0141] Send warning signals to relevant medical staff via email, SMS, app notifications or other communication methods to ensure that medical staff can receive fault warnings in time and take corresponding measures.
[0142] Record the medical staff's responses and feedback to the early warning signals for subsequent analysis. Collect feedback to optimize the performance and accuracy of the early warning system.
[0143] like Figure 2 As shown, according to another embodiment of the present invention, a ventilator fault prediction system based on the medical Internet of Things is provided, and the ventilator fault prediction system based on the medical Internet of Things includes a data collection module 1, a trust record acquisition module 2, a privacy protection module 3, a network construction module 4, a socialized fault prediction module 5 and a feedback module 6; wherein the data collection module 1 is connected to the trust record acquisition module 2, the trust record acquisition module 2 is connected to the privacy protection module 3, the privacy protection module 3 is connected to the network construction module 4, and the socialized fault prediction module 5 is connected to the trust record acquisition module 2, the network construction module 4 and the feedback module 6.
[0144] The data collection module 1 is used to collect the operating data of the ventilator and upload the operating data of the ventilator to the central server in real time through the Internet of Things technology.
[0145] The trust record acquisition module 2 is used to mark the operation data containing sensitive information and obtain the trust records between medical staff.
[0146] The privacy protection module 3 is used to calculate the probability of each running data being extracted according to the sensitivity of the data, and extract the data set to ensure that the data set meets the differential privacy requirements, and output the data set that meets the differential privacy requirements.
[0147] The network construction module 4 is used to construct a neural network and perform differential privacy training based on a data set that satisfies differential privacy.
[0148] The socialized fault prediction module 5 is used to build a trust network among medical staff, obtain a trusted user set, and output a socialized fault prediction of the ventilator.
[0149] The feedback module 6 is used to send out a warning signal if the socialized fault prediction result is greater than a preset fault threshold, and to feed back the socialized fault prediction result to medical staff.
[0150] In summary, the present invention provides a method and system for predicting ventilator faults based on the medical Internet of Things. The extracted data set meets the differential privacy requirements. The data set is protected by differential privacy to reduce the risk of sensitive information leakage. By combining differential privacy and social recommendation methods, not only can the accuracy and reliability of ventilator fault prediction be improved, but also the trust network between medical staff can be used to increase the social dimension of prediction under the premise of protecting patient privacy. While ensuring data security, medical resources and knowledge can be effectively utilized to provide more accurate support for medical decision-making. The present invention constructs a neural network for fault prediction, uses an optimization algorithm to update weights, and optimizes neural network parameters through the optimization algorithm to ensure the optimal performance of the neural network while protecting data privacy; the neural network is trained to ensure that the neural network can learn important features from the data while protecting privacy, thereby improving the accuracy of the prediction. The present invention uses the trust relationship between medical staff to identify medical staff with high trust, and the scores of medical staff with high trust provide an important reference for fault prediction. By combining the prediction of the neural network and social evaluation, a comprehensive and integrated fault prediction is obtained to reduce false positives and false negatives.
[0151] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A ventilator failure prediction method based on medical Internet of Things, characterized in that: The ventilator failure prediction method based on medical Internet of Things includes the following steps: S1. Collect the operating data of the ventilator and upload it to the central server in real time through the Internet of Things technology; S2, marking the operation data containing sensitive information and obtaining the trust records between medical staff; S3. Calculate the probability of each piece of running data being extracted based on the sensitivity of the data, extract the data set, ensure that the data set meets the differential privacy requirements, and output the data set that meets the differential privacy requirements; S4. Construct neural network and perform differential privacy training based on differentially private datasets. S5. Build a trust network among medical staff, obtain a set of trusted users, and output socialized failure prediction of ventilators; S6. If the socialized fault prediction result is greater than the preset fault threshold, a warning signal is issued and the socialized fault prediction result is fed back to the medical staff; The neural network construction and differential privacy training based on the data set satisfying differential privacy include the following steps: S41, constructing a neural network structure including an input layer, several hidden layers and an output layer, and initializing the weights and biases of the neural network; S42. Set the privacy budget and select the noise distribution; S43, dividing the data set satisfying differential privacy into a training set, a validation set, and a test set; S44, updating the weights of the neural network using an optimization algorithm; S45. Train the neural network and use the validation set to evaluate the performance of the neural network; S46. Use the privacy loss accumulation tool to track the privacy budget consumption of each iteration; S47. If the upper limit of the privacy budget is reached, the training is stopped and a final evaluation is performed using the test set to determine the performance of the neural network. The method of updating the weights of the neural network using an optimization algorithm comprises the following steps: S441, determining the number of iterations; S442, for each round of iteration, a set of random vectors is generated for gradient estimation, and the weight of the current round is initialized to the weight at the end of the previous round of iteration; S443. Under the framework of differential privacy, the full gradient is calculated and noise is added to the gradient calculation of each sample to protect privacy. S444. For each inner loop, initialize the learning rate, randomly select a single sample, calculate the gradient estimate, and add differential privacy noise; S445, calculating the correction gradient, and updating the weight vector according to the correction gradient; S446, calculating the weighted average weight of all iterations as the final neural network weight; The formula for calculating the weighted average weight of all iterations is: In the formula, Represents the weight vector after weighted averaging; T represents the total number of iterations, t Indicates the index of the current iteration; Indicates t The weight vector after iterations; The training of the neural network comprises the following steps: S451. For each batch in the training set, perform forward propagation and calculate the predicted output; S452, calculate the loss function, perform back propagation, and calculate the gradient; S453, clipping the gradient to ensure that the L2 norm of each gradient does not exceed a preset threshold; S454, adding Gaussian noise to the clipped gradient, and using the noisy gradient to update the weights of the neural network; S455. At the end of each training cycle, the performance of the neural network is evaluated using the validation set; The process of building a trust network among medical staff, obtaining a trusted user set, and outputting a socialized failure prediction of a ventilator includes the following steps: S51. Use the trust records between hospital personnel to build a trust network, and the trust network includes medical staff IDs as nodes and trust relationships as directed binary edges; S52, calculating the trust of medical staff in other personnel, and screening out personnel whose trust is higher than a threshold to form a trusted user set; S53. Use the trained neural network and the scores of ventilator failures by people in the trusted user set to output the socialized failure prediction of the ventilator.
2. A ventilator fault prediction method based on medical Internet of Things according to claim 1, characterized in that: The trust network constructed by using the trust records between hospital personnel, wherein the trust network includes medical staff IDs as nodes and trust relationships as directed binary edges, includes the following steps: S511, collect trust records between medical staff and build a preliminary trust network, in which the IDs of medical staff are used as nodes and the trust relationships are used as directed binary edges according to the trust records; S512, using an unsupervised graph embedding algorithm to learn low-dimensional vector representations of nodes in the preliminary trust network, and capturing trust relationships between nodes to obtain low-dimensional vector representations of the nodes; S513, analyzing the distribution of nodes in the vector space, identifying abnormal clusters or outliers, and outputting abnormal trust relationship indicators; S514, obtaining other trust-related features, and combining the low-dimensional vector representation of the node with the other trust-related features to obtain a comprehensive trust metric; S515. According to the comprehensive trust metric, the edge weights in the preliminary trust network are adjusted, and the trust relationships identified as abnormal are removed to obtain an optimized trust network.
3. A ventilator fault prediction method based on medical Internet of Things according to claim 2, characterized in that: The step of calculating the medical staff's trust in other personnel and screening out personnel with a trust higher than a threshold to form a trusted user set includes the following steps: S521, using a graph analysis algorithm to calculate the degree of trust of each node in the trust network to other nodes; S522: Set a trust threshold, and screen out medical staff whose trust is higher than the trust threshold to form a trusted user set.
4. A ventilator fault prediction method based on medical Internet of Things according to claim 3, characterized in that: The method of using the trained neural network and the scores of the ventilator failures by the personnel in the trust user set to output the socialized failure prediction of the ventilator comprises the following steps: S531, using the trained neural network to predict faults of the ventilator operation data collected in real time, and recording the fault prediction results of the neural network, including the risk level of the fault; S532. The scores of the people in the trusted user set on the ventilator failure are integrated with the failure prediction results of the neural network through weighted average to obtain the socialized failure prediction results of the ventilator.
5. A ventilator fault prediction system based on medical Internet of Things, used to implement the ventilator fault prediction method based on medical Internet of Things according to any one of claims 1 to 4, characterized in that: The ventilator fault prediction system based on the medical Internet of Things includes a data collection module, a trust record acquisition module, a privacy protection module, a network construction module, a socialized fault prediction module and a feedback module; The data collection module is connected to the trust record acquisition module, the trust record acquisition module is connected to the privacy protection module, the privacy protection module is connected to the network construction module, and the socialized fault prediction module is connected to the trust record acquisition module, the network construction module and the feedback module; The data collection module is used to collect the operating data of the ventilator and upload the operating data of the ventilator to the central server in real time through the Internet of Things technology; The trust record acquisition module is used to mark the operation data containing sensitive information and obtain the trust record between medical staff; The privacy protection module is used to calculate the probability of each running data being extracted according to the sensitivity of the data, and extract the data set to ensure that the data set meets the differential privacy requirements, and output the data set that meets the differential privacy requirements; The network construction module is used to construct a neural network and perform differential privacy training based on a data set that satisfies differential privacy; The socialized fault prediction module is used to build a trust network among medical staff, obtain a set of trusted users, and output a socialized fault prediction of the ventilator; The feedback module is used to send out a warning signal if the socialized fault prediction result is greater than a preset fault threshold, and to feed back the socialized fault prediction result to medical staff.
