A method and system for warning abnormalities in transported blood based on big data

Through spatial fusion and bidirectional long-short-term neural network prediction of multiple sensor data of blood transportation equipment, combined with feature fusion, the problems of low accuracy and insufficient early warning in blood transportation abnormality monitoring in the existing technology are solved, achieving a more efficient blood protection and monitoring.

CN118133205BActive Publication Date: 2024-10-01中国人民解放军总医院京南医疗区
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410472389.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-10-01
Estimated Expiration
2044-04-19

AI Technical Summary

Technical Problem

Existing blood transport abnormality monitoring technology only issues alarms when there are abnormal fluctuations, which may have an impact on blood quality, and the accuracy of judging abnormalities from a single sensor data is low and misjudgment is prone to occur.

Method used

Using a method based on big data, the temperature, humidity and vibration data collected by multiple distributed sensors are spatially fused, a two-way long and short-term neural network is used for prediction, and the predicted values ​​are feature fused to determine whether there is an abnormality in the blood transportation equipment. for early warning.

Benefits of technology

It improves the reliability and stability of data, can more accurately predict abnormalities during blood transportation, and provides early warning, improving the protective effect of blood and the accuracy of abnormal monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118133205B_ABST
    Figure CN118133205B_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for warning abnormalities in blood transportation based on big data, belonging to the technical field of data processing. The method comprises: obtaining temperature data collected by multiple distributed temperature sensors, humidity data collected by humidity sensors, and vibration data collected by vibration sensors in a blood transportation device; spatially fusing the temperature data, humidity data, and vibration data to obtain a temperature fusion sequence, a humidity fusion sequence, and a vibration fusion sequence; predicting the temperature, humidity, and vibration in the blood transportation device based on a bidirectional long-short time neural network according to the temperature fusion sequence, the humidity fusion sequence, and the vibration fusion sequence to obtain a temperature prediction value, a humidity prediction value, and a vibration prediction value; performing feature fusion on the temperature prediction value, the humidity prediction value, and the vibration prediction value to obtain a fusion prediction value; judging whether the current blood transportation device has an abnormality according to the fusion prediction value; and if so, issuing an alarm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data processing, and in particular relates to a method and system for early warning of abnormalities in transported blood based on big data. Background Art

[0002] Blood transportation is very sensitive to the environment, and temperature, humidity, and bumps need to be continuously monitored during transportation. With the advancement of science and technology, by collecting, processing, and analyzing temperature, humidity, and bumps data during blood transportation, abnormal conditions can be discovered in a timely manner and early warning information can be generated. This can not only ensure the quality and safety of blood, but also improve the efficiency and management level of blood transportation.

[0003] Current abnormality monitoring mainly monitors whether abnormal fluctuations in temperature, humidity and vibration occur based on the temperature, humidity and vibration data collected by sensors, and issues an alarm when abnormal fluctuations occur.

[0004] However, an alarm is only issued when an abnormal fluctuation occurs, at which time the blood quality may have been affected. In addition, judging abnormalities based solely on the fluctuation of a single sensor data is prone to misjudgment, and the accuracy of abnormality detection is low. Summary of the invention

[0005] In order to solve the technical problems that the alarm is currently issued only when abnormal fluctuations occur, which may have already affected the blood quality, and that the abnormality is easily misjudged by judging the abnormality based on the fluctuation of a single sensor data, and the accuracy of abnormality detection is low, the present invention provides a method and system for early warning of abnormalities in transported blood based on big data.

[0006] First aspect

[0007] The present invention provides a method for early warning of abnormal blood transport based on big data, comprising:

[0008] S1: Acquire temperature data collected by multiple distributed temperature sensors, humidity data collected by humidity sensors, and vibration data collected by vibration sensors in the blood transport device;

[0009] S2: spatially fuse the temperature data collected by multiple distributed temperature sensors, the humidity data collected by humidity sensors, and the vibration data collected by vibration sensors to obtain a temperature fusion sequence, a humidity fusion sequence, and a vibration fusion sequence;

[0010] S3: predicting the temperature, humidity and vibration in the blood transport device according to the temperature fusion sequence, the humidity fusion sequence and the vibration fusion sequence based on a bidirectional long-short time neural network to obtain a temperature prediction value, a humidity prediction value and a vibration prediction value;

[0011] S4: performing feature fusion on the temperature prediction value, the humidity prediction value, and the vibration prediction value to obtain a fused prediction value;

[0012] S5: judging whether the current blood transport device has an abnormality according to the fusion prediction value; if so, sounding an alarm.

[0013] Second aspect

[0014] The present invention provides a transport blood abnormality warning system based on big data, comprising a processor and a memory for storing processor executable instructions; the processor is configured to call the instructions stored in the memory to execute the transport blood abnormality warning method based on big data in the first aspect.

[0015] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0016] (1) In the present invention, the data of multiple distributed sensors are fused through spatial fusion technology, which can prevent the data of a single sensor from being interfered with by external factors such as the environment and device status, thereby improving the reliability and stability of the data.

[0017] (2) In the present invention, by using a bidirectional long-short time neural network to predict temperature, humidity and vibration, it is possible to more accurately predict the future temperature, humidity and vibration conditions, thereby providing early warning of abnormal conditions during blood transportation and improving the protective effect on blood.

[0018] (3) In the present invention, by performing feature fusion on the temperature prediction value, humidity prediction value and vibration prediction value to obtain a fused prediction value, the equipment status of the transportation equipment can be more comprehensively evaluated, and then based on the fused prediction value, it can be determined whether there is any abnormality in the current blood transportation equipment, thereby improving the accuracy of abnormality monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings, and the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention will be further described.

[0020] Figure 1 It is a flow chart of a method for early warning of abnormal blood transport based on big data provided by the present invention.

[0021] Figure 2 It is a structural schematic diagram of a transported blood abnormality early warning system based on big data provided by the present invention. DETAILED DESCRIPTION

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0023] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0024] It should be further understood that the term “and / or” used in the present specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0025] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0026] In addition, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0027] Example 1

[0028] In one embodiment, the reference specification Figure 1 , showing a flow chart of a method for early warning of abnormal blood transport based on big data provided by the present invention.

[0029] The present invention provides a method for early warning of abnormal blood transport based on big data, comprising:

[0030] S1: Acquire temperature data collected by multiple distributed temperature sensors, humidity data collected by humidity sensors, and vibration data collected by vibration sensors in the blood transport device.

[0031] Distributed means that sensors are distributed in different locations of the blood transport equipment in a certain layout or configuration, so as to monitor the status of the equipment from multiple angles or key parts. This distributed layout can provide more comprehensive, accurate and real-time data, helping the early warning system to more accurately judge the status of the blood transport equipment.

[0032] Specifically, temperature sensors are distributed in key areas such as blood storage areas, blood transport pipelines, cooling devices, etc. to monitor temperature changes in the blood and abnormal temperature rise or drop that may occur during the operation of the equipment.

[0033] Furthermore, humidity sensors are placed in humidity-sensitive areas, such as humidity-controlled areas in blood storage areas, to monitor the humidity level of the environment and ensure that the blood is not damaged due to excessively high or low humidity.

[0034] Furthermore, vibration sensors are usually distributed near key support parts of the equipment, transport tracks, motors and other vibration sources to monitor abnormal vibrations that may occur during the operation of the blood transport equipment, which can indicate equipment failure or problems during transportation.

[0035] S2: spatially fuse the temperature data collected by multiple distributed temperature sensors, the humidity data collected by humidity sensors, and the vibration data collected by vibration sensors to obtain a temperature fusion sequence, a humidity fusion sequence, and a vibration fusion sequence.

[0036] Among them, spatial fusion technology is a method of processing sensor data from different spatial locations. Its purpose is to integrate these sensor data from different spatial locations to improve the precision and accuracy of the data and provide more comprehensive information support for decision-making.

[0037] In the present invention, the data of multiple distributed sensors are fused through spatial fusion technology, which can prevent the data of a single sensor from being interfered by external factors such as the environment and device status, thereby improving the reliability and stability of the data.

[0038] In a possible implementation, spatial fusion is performed on temperature data collected by multiple distributed temperature sensors to obtain a temperature fusion sequence, specifically including:

[0039] The temperature data in the same acquisition period is regarded as a temperature data cluster.

[0040] A temperature data point in the temperature data cluster is randomly selected as the central temperature data point.

[0041] Select target temperature data points from the non-central temperature data points one by one.

[0042] Calculate the sum of the distances between the center temperature data point and the remaining temperature data points, and the sum of the distances between the target temperature data point and the remaining temperature data points.

[0043] In a possible implementation, the sum of the distances between the central temperature data point and the remaining temperature data points is calculated as follows:

[0044]

[0045] Among them, D * Represents the sum of the distances between the center temperature data point and the remaining temperature data points, te * Indicates the temperature value of the center temperature data point, te k Represents the temperature value of the kth other temperature data point, k = 1, 2, ..., n-1, and n represents the total number of temperature data points.

[0046] Determine whether the sum of the distances between the target temperature data point and the remaining temperature data points is less than the sum of the distances between the center temperature data point and the remaining temperature data points. If so, use the target temperature data point as the new center temperature data point to replace the original center temperature data point. Otherwise, do not update the center temperature data point and continue iterating.

[0047] In the present invention, by iteratively searching for the point with the smallest sum of distances to other points in the cluster as the central temperature data point, it can be ensured that the point best represents the overall situation of all temperature data in the acquisition cycle. At the same time, since the sum of distances between all data points is considered, this method has a certain robustness against the influence of isolated noise points. Noise points are usually far away from other points in the cluster, so they are unlikely to be selected as the central point during the iteration process.

[0048] Until the iteration of all temperature data points is completed, the final central temperature data point is output, and the temperature data collected by multiple distributed temperature sensors are spatially fused.

[0049] In the present invention, a plurality of temperature data in one acquisition cycle is simplified into one central temperature data point, thereby reducing the amount of data while retaining the main features of the temperature data in the cycle.

[0050] The central temperature data points of different acquisition cycles are combined into a temperature fusion sequence.

[0051] In the present invention, by forming a temperature fusion sequence through central temperature data points of different acquisition cycles, it can be ensured that the temperature data has continuity and smoothness in time, which is convenient for subsequent analysis and processing.

[0052] It should be noted that how to perform spatial fusion on the humidity data collected by multiple distributed humidity sensors to obtain a humidity fusion sequence, and how to perform spatial fusion on the vibration data collected by multiple distributed vibration sensors to obtain a vibration fusion sequence, can refer to the above-mentioned method of performing spatial fusion on the temperature data collected by multiple distributed temperature sensors to obtain a temperature fusion sequence. To avoid repetition, the present invention will not go into details.

[0053] S3: According to the temperature fusion sequence, humidity fusion sequence and vibration fusion sequence, based on the bidirectional long-short time neural network, the temperature, humidity and vibration in the blood transport equipment are predicted to obtain the temperature prediction value, humidity prediction value and vibration prediction value.

[0054] Among them, Bi-directional Long Short-Term Memory (BiLSTM) is a deep learning model that combines the characteristics of long short-term memory network (LSTM) and bidirectional recurrent neural network (Bi-directional RNN). This model is particularly suitable for processing sequence data because it can capture long-term dependencies in the sequence and can process the input sequence in two directions (forward and reverse). In BiLSTM, each unit contains two sub-networks: a forward LSTM and a reverse LSTM. The forward sub-network processes the input sequence in order from the input to the output, while the reverse sub-network processes the input sequence in order from the output to the input. The two sub-networks share the same weights, but their processing directions are opposite.

[0055] In the present invention, by using a bidirectional long-short time neural network to predict temperature, humidity and vibration, it is possible to more accurately predict future temperature, humidity and vibration conditions, thereby providing early warning of abnormal conditions during blood transportation and improving the protective effect on blood.

[0056] In a possible implementation, according to the temperature fusion sequence, based on the bidirectional long-short time neural network, the temperature in the blood transport device is predicted to obtain a temperature prediction value, specifically including:

[0057] Input temperature fusion sequence T = [te1,te2,…,te n ],te t Represents the central temperature data point at time t, t = 1, 2, ..., n, and n represents the total acquisition time.

[0058] In the forget gate, determine the information that needs to be forgotten, and use the following formula to get the output vector of the forget gate:

[0059] F t =σ(W F ·[Ht-1 ,T t ]+b F )

[0060] Among them, F t represents the output vector of the forget gate at time t, σ() represents the activation function, and W F represents the weight matrix of the forget gate, H t-1 represents the hidden state at the previous moment, T t represents the temperature fusion sequence input at time t, b F Represents the bias parameter of the forget gate.

[0061] It should be noted that the forget gate determines which information needs to be forgotten through the weight matrix and activation function. This process can help the neural network filter out irrelevant or noisy information and only retain important information.

[0062] In the input gate, the information stored in the cell storage unit is determined, and the output vector of the input gate is obtained by the following formula:

[0063] I t =σ(W I ·[H t-1 ,T t ]+b I )

[0064] Among them, I t represents the output vector of the input gate at time t, W I represents the weight matrix of the input gate, b I Represents the bias parameter of the input gate.

[0065] It should be noted that the input gate filters out the information that needs to be stored in the cell storage unit through the weight matrix and activation function, which helps the neural network manage and use the stored information more efficiently.

[0066] In the cell storage unit, the temporary cell state at the current moment is calculated by the following formula:

[0067]

[0068] in, represents the temporary cell state at time t, tanh() represents the tanh activation function, W C represents the weight matrix of the cell storage unit, b C Represents the bias parameter of the cell storage unit.

[0069] It should be noted that the cell storage unit stores and updates temporary states through weight matrices and activation functions. This enables the neural network to dynamically adjust the internal state according to the input, so as to better adapt to different tasks and environments.

[0070] In the cell storage unit, the current cell state is calculated using the following formula:

[0071]

[0072] Among them, C t represents the cell state at time t, C t-1 Indicates the cell state at the previous moment.

[0073] It is important to note that by using cell states, neural networks can store and transfer information, allowing them to remember and track information over time. This helps in processing sequential data and long-term dependencies.

[0074] In the output gate, the output vector of the output gate is obtained by the following formula, and the output vector of the output gate is stored as a hidden state:

[0075] O t =σ(W O ·[H t-1 ,T t ]+b O )

[0076] h t =O t tanh(C t )

[0077] Among them, O t represents the output vector of the output gate at time t, W O represents the weight matrix of the output gate, b O represents the bias parameter of the output gate, h t represents the hidden state at time t.

[0078] It should be noted that the output gate filters out the information that needs to be output through the weight matrix and activation function, which helps the neural network to more effectively control the quality and quantity of the output.

[0079] Among them, when the bidirectional long-short neural network learns forward, the output hidden state is the forward hidden state, recorded as When the bidirectional long-short neural network learns backward, the output hidden state is the backward hidden state, denoted as

[0080] The forward hidden state and the backward hidden state are fused to obtain the comprehensive hidden state:

[0081]

[0082] Among them, H t represents the comprehensive hidden state at time t, W tf represents the forward weight matrix at time t, represents the forward hidden state at time t, W t b represents the backward weight matrix at time t, represents the backward hidden state at time t.

[0083] It should be noted that by fusing the forward and backward hidden states, the neural network can integrate information from different time points, thereby better understanding and processing the contextual information of the sequence data.

[0084] In the output layer, the temperature prediction value is output based on the comprehensive hidden state:

[0085]

[0086] Among them, t+1 represents the predicted temperature value at time t+1, represents the weight matrix between the nth cell storage unit and the output layer, represents the comprehensive hidden state stored in the nth cell storage unit at time t, b te Represents the bias parameter of the output layer.

[0087] It should be noted that using the comprehensive hidden state as input can help the output layer predict the temperature value more accurately. The comprehensive hidden state contains information from the forward and backward hidden states, which helps the neural network better understand the context and trend of the sequence data.

[0088] In the present invention, the bidirectional long-short time neural network is able to capture and model long-term dependencies in sequence data. In the context of temperature prediction, this means that it can effectively use temperature data from a period of time in the past to predict future temperature values. Using a bidirectional long-short time neural network to predict temperature fusion sequences can provide more accurate and reliable temperature data, which helps optimize equipment operation, improve safety, and support more effective decision-making.

[0089] S4: Perform feature fusion on the temperature prediction value, humidity prediction value and vibration prediction value to obtain a fused prediction value.

[0090] In the present invention, by performing feature fusion on the temperature prediction value, humidity prediction value and vibration prediction value to obtain a fused prediction value, the equipment status of the transportation equipment can be more comprehensively evaluated, and then based on the fused prediction value, it can be determined whether there is any abnormality in the current blood transportation equipment, thereby improving the accuracy of abnormal monitoring.

[0091] In a possible implementation, S4 specifically includes: performing feature fusion on the temperature prediction value, the humidity prediction value, and the vibration prediction value according to the following formula to obtain a fused prediction value:

[0092] y=β1·te+β2·s+β3·z

[0093] Among them, y represents the fusion prediction value, te represents the temperature prediction value, β1 represents the weight coefficient of the temperature prediction value, s represents the humidity prediction value, β2 represents the weight coefficient of the humidity prediction value, z represents the vibration prediction value, and β3 represents the weight coefficient of the vibration prediction value.

[0094] Among them, those skilled in the art can set the weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, and the weight coefficient β3 of the vibration prediction value according to actual conditions, and the present invention does not limit this.

[0095] It should be noted that by adjusting the weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, and the weight coefficient β3 of the vibration prediction value, the neural network can flexibly learn how to fuse information of different features according to different application scenarios and data distribution. This helps the neural network better adapt to different environments and conditions.

[0096] In the present invention, individual temperature, humidity or vibration predictions may be affected by noise, outliers or data incompleteness. Through feature fusion, other related features can be used to correct or supplement the prediction results of a single feature, thereby improving the accuracy of the prediction.

[0097] In a possible implementation manner, the weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, the weight coefficient β3 of the vibration prediction value, and the safety factor λ are determined as follows:

[0098] The weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, the weight coefficient β3 of the vibration prediction value and the safety factor λ form a parameter set.

[0099] With the highest anomaly detection accuracy as the goal, the optimal parameter combination is determined through a genetic algorithm to obtain the optimal weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, the weight coefficient β3 of the vibration prediction value, and the safety factor λ.

[0100] Among them, Genetic Algorithm (GA) is a computational model of biological evolution that simulates the natural selection and genetic mechanism of Darwin's theory of biological evolution. It is a method of searching for the optimal solution by simulating the natural evolution process. Genetic algorithm uses mathematical methods to convert the problem-solving process into a process similar to the crossover and mutation of chromosome genes in biological evolution.

[0101] In the present invention, the benefits of using genetic algorithms to determine the optimal parameter combination are to optimize prediction performance, automatically adjust parameters, enhance robustness, improve generalization ability and interpretability. These benefits help to improve the performance and reliability of neural networks, making them more effective and useful in practical applications.

[0102] In a possible implementation, with the highest anomaly detection accuracy as the goal, the optimal parameter combination is determined through a genetic algorithm to obtain the optimal weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, the weight coefficient β3 of the vibration prediction value, and the safety factor λ, specifically including:

[0103] Initialize the population Q1, which includes multiple individuals, each of which represents a feasible parameter combination.

[0104] Calculate the fitness value of each individual, the fitness value is the function value of the fitness function, and the fitness function is the anomaly detection accuracy.

[0105] Among them, the fitness function provides a method to quantitatively evaluate individual performance. By calculating the fitness value, the advantages and disadvantages of different individuals can be objectively compared, providing a basis for subsequent selection operations. Using the fitness function to calculate the fitness value of individuals and evaluate the accuracy of anomaly detection can provide an effective guidance mechanism for genetic algorithms, helping the algorithm to better solve problems and obtain satisfactory solutions.

[0106] An elite selection strategy is adopted to remove the 20% individuals with the lowest fitness values ​​to form a new population Q2.

[0107] Among them, the elite selection strategy helps to focus the search on individuals with higher fitness values, thereby speeding up the algorithm's search speed and improving search efficiency.

[0108] Perform a crossover operation on population Q2, randomly select two individuals from population H2 as parents, generate a random number, and compare the random number with the crossover probability p e Compare the size, if the random number is less than the crossover probability p e , then the parent is cross-operated to generate new individuals to form a new population Q3. The generation of new individuals is as follows:

[0109] Y1=rand×X1+(1-rand)×X2

[0110] Y2=rand×X2+(1-rand)×X1

[0111] Among them, Y1 and Y2 represent new individuals, X1 represents the first parent, X2 represents the second parent, and rand represents a random number between 0 and 1.

[0112] In the present invention, the crossover operation can realize the recombination of genes, so that the new individual combines the good genes of the parent, thereby improving the diversity of the population. Through the crossover of genes, new gene combinations can be generated, increasing the exploration range of the solution space. The crossover operation encourages the algorithm to explore a wider solution space. By randomly selecting the position of the parent and the intersection, new individuals with different gene combinations can be generated, thereby increasing the possibility of the algorithm finding the global optimal solution.

[0113] Perform a mutation operation on population Q3, randomly select an individual from population Q3 as the parent, generate a random number, and compare the random number with the mutation probability p m Compare the size, if the random number is less than the mutation probability p m , then the parent is mutated to generate new individuals to form a new population Q4. The generation of new individuals is as follows:

[0114]

[0115] Among them, Y3 represents the new individual, X3 represents the parent, and X max represents the individual with the largest fitness value, X min represents the individual with the smallest fitness value, and rand represents a random number between 0 and 1.

[0116] In genetic algorithms, as iterations proceed, excellent individuals in the population may be concentrated in a certain area, resulting in a reduction in the search space. Mutation operations can increase the diversity of the population, break the limitations of local optimal solutions, and thus avoid premature algorithm maturation. At the same time, mutation operations change some genes of individuals in a random manner, which helps to explore new areas in the solution space and increase the possibility of finding the global optimal solution.

[0117] Repeat the above steps and iterate until the preset number of iterations is reached, and output the individual with the largest fitness value as the optimal parameter combination to obtain the optimal weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, the weight coefficient β3 of the vibration prediction value, and the safety factor λ.

[0118] In a possible implementation, initializing the population Q1 specifically includes:

[0119] Determine the best point:

[0120] C=(c1,c2,…,c4),ci=mod(2cos(2πi / 4),1)

[0121] Among them, C represents the best point, c iIt represents the optimal value of the i-th parameter, i=1,2,…,4. When i=1, it represents the weight coefficient β1 of the temperature prediction value. When i=2, it represents the weight coefficient β2 of the humidity prediction value. When i=3, it represents the weight coefficient β3 of the vibration prediction value. When i=4, it represents the safety factor λ. mod represents the modular operation. cos() represents the cosine function.

[0122] Construct a good point set:

[0123] P(Cj)={C1,C2,…,Cn}

[0124] Among them, P represents the good point set, C j represents the jth best point, j = 1, 2,…, n, and n represents the number of good points.

[0125] Map the good point set to the domain of the population and initialize the population:

[0126] A j =a i +C j (b i -a i )

[0127] Among them, A j Indicates that the good point C j The individuals formed after mapping to the domain of the population, a i represents the lower limit of the i-th parameter, b i Indicates the upper limit of the i-th parameter.

[0128] In the present invention, the initial population can be quickly generated by using the good point set. The good point is a pre-calculated parameter value, which can effectively reduce the time and calculation cost of randomly generating the initial population. Since the good point set is determined according to certain rules, after mapping the good point set to the definition domain of the population, initial individuals that are relatively evenly distributed in the definition domain can be generated, which is beneficial to the subsequent search process of the algorithm.

[0129] Furthermore, by initializing the population by determining the best points, constructing the best point set, and mapping the good point set to the population domain, the efficiency, uniformity, diversity, scalability, robustness, and ease of implementation and understanding of the genetic algorithm can be improved. These benefits help improve the performance of the genetic algorithm and its ability to solve problems.

[0130] S5: According to the fusion prediction value, determine whether the current blood transport device is abnormal. If so, issue an alarm.

[0131] In a possible implementation, S5 specifically includes sub-steps S501 to S503:

[0132] S501: Calculate the mean μ and standard deviation σ of the historical fusion prediction values.

[0133] S502: Determine a safety interval [μ-λσ,μ+λσ] according to the mean μ and standard deviation σ of the historical fusion prediction values, where λ represents the safety factor.

[0134] Among them, those skilled in the art can set the size of the safety factor λ according to actual conditions, and the present invention does not limit it. The determination of the safety interval can be adjusted according to actual conditions through the safety factor λ.

[0135] In the present invention, the safe interval is determined by using the mean and standard deviation of historical data, which can take into account the distribution and fluctuation of data. This method is more robust to abnormal values ​​or noise, and can reduce the possibility of false positives or false negatives.

[0136] S503: Determine whether the current fusion prediction value is within the safety range. If so, the current blood transport device is normal. Otherwise, the current blood transport device is abnormal and an alarm is issued.

[0137] In a possible implementation manner, issuing an alarm in S5 specifically includes: adjusting the indicator light to red and playing a voice alarm.

[0138] In the present invention, the dual stimulation of vision and hearing can quickly draw the attention of operators, making them immediately aware of possible problems with the blood transport equipment.

[0139] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0140] (1) In the present invention, the data of multiple distributed sensors are fused through spatial fusion technology, which can prevent the data of a single sensor from being interfered with by external factors such as the environment and device status, thereby improving the reliability and stability of the data.

[0141] (2) In the present invention, by using a bidirectional long-short time neural network to predict temperature, humidity and vibration, it is possible to more accurately predict the future temperature, humidity and vibration conditions, thereby providing early warning of abnormal conditions during blood transportation and improving the protective effect on blood.

[0142] (3) In the present invention, by performing feature fusion on the temperature prediction value, humidity prediction value and vibration prediction value to obtain a fused prediction value, the equipment status of the transportation equipment can be more comprehensively evaluated, and then based on the fused prediction value, it can be determined whether there is any abnormality in the current blood transportation equipment, thereby improving the accuracy of abnormality monitoring.

[0143] Example 2

[0144] In one embodiment, the reference specification Figure 2, showing a structural schematic diagram of a transported blood abnormality warning system based on big data provided by the present invention.

[0145] The present invention provides a transport blood abnormality warning system based on big data, comprising a processor 201 and a memory 202 for storing executable instructions of the processor 201. The processor 201 is configured to call the instructions stored in the memory 202 to execute the transport blood abnormality warning method based on big data in Example 1.

[0146] The present invention provides a blood transport abnormality warning system based on big data, which can realize the steps and effects of the blood transport abnormality warning method based on big data in the above-mentioned embodiment 1. To avoid repetition, the present invention will not go into details.

[0147] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0148] (1) In the present invention, the data of multiple distributed sensors are fused through spatial fusion technology, which can prevent the data of a single sensor from being interfered with by external factors such as the environment and device status, thereby improving the reliability and stability of the data.

[0149] (2) In the present invention, by using a bidirectional long-short time neural network to predict temperature, humidity and vibration, it is possible to more accurately predict the future temperature, humidity and vibration conditions, thereby providing early warning of abnormal conditions during blood transportation and improving the protective effect on blood.

[0150] (3) In the present invention, by performing feature fusion on the temperature prediction value, humidity prediction value and vibration prediction value to obtain a fused prediction value, the equipment status of the transportation equipment can be more comprehensively evaluated, and then based on the fused prediction value, it can be determined whether there is any abnormality in the current blood transportation equipment, thereby improving the accuracy of abnormality monitoring.

[0151] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0152] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for early warning of abnormal blood transport based on big data, characterized in that: include: S1: Acquire temperature data collected by multiple distributed temperature sensors, humidity data collected by humidity sensors, and vibration data collected by vibration sensors in the blood transport device; S2: spatially fuse the temperature data collected by multiple distributed temperature sensors, the humidity data collected by humidity sensors, and the vibration data collected by vibration sensors to obtain a temperature fusion sequence, a humidity fusion sequence, and a vibration fusion sequence; specifically: The temperature data of the same acquisition period is regarded as a temperature data cluster; Randomly select a temperature data point in the temperature data cluster as a central temperature data point; Select target temperature data points from non-central temperature data points one by one; Calculating the sum of the distances between the core temperature data point and the remaining temperature data points, and the sum of the distances between the target temperature data point and the remaining temperature data points; Determine whether the sum of the distances between the target temperature data point and the remaining temperature data points is less than the sum of the distances between the center temperature data point and the remaining temperature data points; if so, use the target temperature data point as a new center temperature data point to replace the original center temperature data point; otherwise, do not update the center temperature data point and continue iterating; Until all temperature data points are iterated, the final central temperature data point is output, and the temperature data collected by multiple distributed temperature sensors are spatially fused; The central temperature data points of different acquisition periods are combined into a temperature fusion sequence; S3: According to the temperature fusion sequence, the humidity fusion sequence and the vibration fusion sequence, based on the bidirectional long-short time neural network, the temperature, humidity and vibration in the blood transport device are predicted to obtain a temperature prediction value, a humidity prediction value and a vibration prediction value; wherein the output of the temperature prediction value is specifically: Input temperature fusion sequence T = [te1,te2,···,te n ],te t represents the central temperature data point at time t, t = 1, 2, ..., n, and n represents the total acquisition time; In the forget gate, determine the information that needs to be forgotten, and use the following formula to get the output vector of the forget gate: F t =σ(W F ·[H t-1 ,T t ]+b F ) Among them, F t represents the output vector of the forget gate at time t, σ() represents the activation function, and W F represents the weight matrix of the forget gate, H t-1 represents the hidden state at the previous moment, T t represents the temperature fusion sequence input at time t, b F Represents the bias parameter of the forget gate; In the input gate, the information stored in the cell storage unit is determined, and the output vector of the input gate is obtained by the following formula: I t =σ(W I ·[H t-1 ,T t ]+b I ) Among them, I t represents the output vector of the input gate at time t, W I represents the weight matrix of the input gate, b I Represents the bias parameter of the input gate; In the cell storage unit, the temporary cell state at the current moment is calculated by the following formula: in, represents the temporary cell state at time t, tanh() represents the tanh activation function, W C represents the weight matrix of the cell storage unit, b C represents the bias parameter of the cell storage unit; In the cell storage unit, the current cell state is calculated using the following formula: Among them, C t represents the cell state at time t, C t-1 Indicates the cell state at the previous moment; In the output gate, the output vector of the output gate is obtained by the following formula, and the output vector of the output gate is stored as a hidden state: O t =σ(W O ·[H t-1 ,T t ]+b O ) h t =O t ·tanh(C t ) Among them, O t represents the output vector of the output gate at time t, W O represents the weight matrix of the output gate, b O represents the bias parameter of the output gate, h t represents the hidden state at time t; when the bidirectional long-short neural network learns forward, the output hidden state is the forward hidden state, recorded as When the bidirectional long-short neural network learns backward, the output hidden state is the backward hidden state, denoted as The forward hidden state and the backward hidden state are fused to obtain the comprehensive hidden state: Among them, H t represents the comprehensive hidden state at time t, W t f represents the forward weight matrix at time t, represents the forward hidden state at time t, W t b represents the backward weight matrix at time t, represents the backward hidden state at time t; In the output layer, the temperature prediction value is output based on the comprehensive hidden state: Among them, t+1 represents the predicted temperature value at time t+1, represents the weight matrix between the nth cell storage unit and the output layer, represents the comprehensive hidden state stored in the nth cell storage unit at time t, b te Represents the bias parameter of the output layer; S4: performing feature fusion on the temperature prediction value, the humidity prediction value and the vibration prediction value to obtain a fusion prediction value; specifically: According to the following formula, the temperature prediction value, the humidity prediction value and the vibration prediction value are feature fused to obtain a fused prediction value: y=β1·te+β2·s+β3·z Among them, y represents the fusion prediction value, te represents the temperature prediction value, β1 represents the weight coefficient of the temperature prediction value, s represents the humidity prediction value, β2 represents the weight coefficient of the humidity prediction value, z represents the vibration prediction value, and β3 represents the weight coefficient of the vibration prediction value; S5: judging whether the current blood transport device has an abnormality according to the fusion prediction value; if so, issuing an alarm; specifically: S501: Calculate the mean μ and standard deviation σ of the historical fusion prediction value; S502: Determine a safety interval [μ-λσ,μ+λσ] according to the mean μ and standard deviation σ of the historical fusion prediction value, where λ represents a safety factor; S503: Determine whether the current fusion prediction value is within the safety interval; if so, the current blood transport device is normal; otherwise, the current blood transport device is abnormal and an alarm is issued; The weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, the weight coefficient β3 of the vibration prediction value and the safety factor λ are determined as follows: The weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, the weight coefficient β3 of the vibration prediction value and the safety factor λ form a parameter set; With the highest anomaly detection accuracy as the goal, the optimal parameter combination is determined through a genetic algorithm to obtain the optimal weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, the weight coefficient β3 of the vibration prediction value, and the safety factor λ.

2. The method for early warning of abnormal blood transport based on big data according to claim 1, characterized in that: With the highest anomaly detection accuracy as the goal, the optimal parameter combination is determined through genetic algorithm, and the optimal weight coefficient β1 of temperature prediction value, the weight coefficient β2 of humidity prediction value, the weight coefficient β3 of vibration prediction value and the safety factor λ are obtained, which include: Initialize a population Q1, wherein the population includes a plurality of individuals, each of which represents a feasible parameter combination; Calculate the fitness value of each individual, the fitness value is the function value of the fitness function, and the fitness function is the anomaly detection accuracy; Adopt an elite selection strategy to remove the 20% of individuals with the lowest fitness values ​​to form a new population Q2; Perform a crossover operation on population Q2, randomly select two individuals from population H2 as parents, generate a random number, and compare the random number with the crossover probability p e Compare the size, if the random number is less than the crossover probability p e , then the parent is cross-operated to generate new individuals to form a new population Q3. The generation of new individuals is as follows: Y1=rand×X1+(1-rand)×X2 Y2=rand×X2+(1-rand)×X1 Among them, Y1 and Y2 represent new individuals, X1 represents the first parent, X2 represents the second parent, and rand represents a random number between 0 and 1; Perform a mutation operation on population Q3, randomly select an individual from population Q3 as the parent, generate a random number, and compare the random number with the mutation probability p m Compare the size, if the random number is less than the mutation probability p m , then the parent is mutated to generate new individuals to form a new population Q4. The generation of new individuals is as follows: Among them, Y3 represents the new individual, X3 represents the parent, and X max represents the individual with the largest fitness value, X min represents the individual with the smallest fitness value, and rand represents a random number between 0 and 1; Repeat the above steps and iterate until the preset number of iterations is reached, and output the individual with the largest fitness value as the optimal parameter combination to obtain the optimal weight coefficient β1 of the temperature prediction value, the weight coefficient β2 of the humidity prediction value, the weight coefficient β3 of the vibration prediction value, and the safety factor λ.

3. The method for early warning of abnormal blood transport based on big data according to claim 2 is characterized in that: Initializing population Q1 specifically includes: Determine the best point: C=(c1,c2,···,c4),c i =mod(2cos(2πi / 4),1) Among them, C represents the best point, c i represents the optimal value of the i-th parameter, i=1,2,…,4, when i=1, it represents the weight coefficient β1 of the temperature prediction value, when i=2, it represents the weight coefficient β2 of the humidity prediction value, when i=3, it represents the weight coefficient β3 of the vibration prediction value, when i=4, it represents the safety factor λ, mod represents the modular operation, and cos() represents the cosine function; Construct a good point set: P(C j )={C1,C2,···,C n } Among them, P represents the good point set, C j represents the jth best point, j = 1, 2, ..., n, n represents the number of good points; Map the good point set to the domain of the population and initialize the population: A j =a i +C j (b i -a i ) Among them, A j Indicates that the good point C j The individuals formed after mapping to the domain of the population, a i represents the lower limit of the i-th parameter, b i Indicates the upper limit of the i-th parameter.

4. The method for early warning of abnormal blood transport based on big data according to claim 1, characterized in that: The issuing of an alarm in S5 specifically includes: Adjust the indicator light to red and play a voice alarm.

5. A transport blood abnormality warning system based on big data, characterized in that: It comprises a processor and a memory for storing processor executable instructions; the processor is configured to call the instructions stored in the memory to execute the big data-based abnormal blood transport warning method as described in any one of claims 1 to 4.