A method and system for monitoring patient vital signs during thyroid surgery
Through segmented processing and principal component analysis and dimensionality reduction technology, combined with ARIMA prediction algorithm, the problem of complexity in monitoring multiple sign data in thyroid surgery is solved, real-time and accurate monitoring of sign data during thyroid surgery is achieved, ensuring that patients are physiological stability.
Patent Information
- Application Number
- CN202411053747.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-08-02
AI Technical Summary
During thyroid surgery, it is difficult for the prior art to monitor multiple sign data in real time, resulting in high computational complexity of ARIMA prediction algorithms and unable to respond to patients' physiological changes quickly.
By collecting sign data, processing it in segments and performing principal component analysis and dimensionality reduction, combined with ARIMA prediction algorithm, the calculation complexity is reduced and real-time monitoring of sign data is achieved.
It improves the accuracy and real-time nature of sign monitoring, reduces errors, and ensures the physiological stability of the patient during the operation.
Smart Images

Figure CN118571513B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for monitoring vital signs of patients during thyroid surgery. Background Art
[0002] In general surgery, diseases in the thyroid gland are usually treated surgically. During the operation, the patient's vital signs are stable due to the effect of anesthesia, and there are no clinical manifestations of organ failure. However, the patient is at risk of intraoperative bleeding, abnormal depth of anesthesia, arrhythmia, etc. Therefore, in order to ensure that the patient can maintain physiological stability during and after the operation, and to promptly detect and deal with any possible physiological changes, there is a need to monitor the vital signs during thyroid surgery to improve the success rate of the operation.
[0003] The existing physiological monitoring of patients during surgery mainly relies on the patient's vital signs data and combines the doctor's experience to determine whether the danger threshold is reached. However, due to the different physiological signs of different patients, such as hypertension and anesthesia resistance in some patients, the danger threshold for judging danger is no longer applicable to every patient. At this time, the physiological monitoring of patients mainly relies on the doctor's experience, which makes the evaluation results have large errors. The ARIMA prediction algorithm is a model that captures a set of different standard time structures in time series data. After separating the signal from the noise, the signal is extrapolated to the future to obtain time series prediction data. Since it is particularly suitable for fitting non-stationary data, it can be used as a vital sign monitoring method during surgery by comparing the predicted value with the actual value. However, since patients need to monitor multiple vital signs at the same time during surgery, the ARIMA prediction algorithm has a high computational complexity when predicting the vital sign data of multiple signs separately, which makes it impossible to monitor the rapidly changing vital sign data in real time. Summary of the invention
[0004] The present invention provides a method and system for monitoring the vital signs of patients during thyroid surgery, so as to solve the problem that the existing patients need to monitor multiple vital signs simultaneously during surgery, resulting in a high computational complexity when the ARIMA prediction algorithm predicts the vital sign data of multiple signs separately, resulting in the inability to monitor the rapidly changing vital sign data in real time.
[0005] The present invention provides a method and system for monitoring patient vital signs during thyroid surgery using the following technical solutions:
[0006] In a first aspect, an embodiment of the present invention provides a method for monitoring vital signs of a patient during thyroid surgery, the method comprising the following steps:
[0007] The original data were obtained by collecting the vital signs of the patients during thyroid surgery;
[0008] According to the sign data period of each sign in the original data, several sign data segments of each sign in the original data are obtained; according to the sign data period of each sign in the original data, the baseline sign and relative sign of the original data are obtained; according to the matching relationship between the sign data segments of the baseline sign and the relative sign in the original data, the to-be-attributed segmentation interval of two adjacent sign data segments of each relative sign is obtained; according to the to-be-attributed segmentation interval of two adjacent sign data segments of each relative sign, the matching sign data segmentation interval of each sign data segment of each relative sign in the baseline sign is obtained; according to the matching sign data segmentation interval of each sign data segment of each relative sign in the baseline sign, the data to be reduced in dimension is obtained; the data to be reduced in dimension is reduced in dimension to obtain the principal component signs of the data to be reduced in dimension, and the sign data of the principal component signs of the data to be reduced in dimension constitute the prediction reference data;
[0009] The predicted reference data are used to obtain the predicted data of each principal component sign of the patient during thyroid surgery, monitoring is performed according to the predicted data of the principal component signs, and the monitoring model is updated according to the cycle of the principal component signs.
[0010] Further, the step of obtaining a plurality of physical sign data segments of each physical sign in the original data according to the physical sign data period of each physical sign in the original data includes:
[0011] Decomposing the physical sign data sequence of each physical sign in the original data by using a time series decomposition algorithm, obtaining the seasonal component of the physical sign data sequence of each physical sign, calculating the autocorrelation function of the seasonal component of the physical sign data sequence of each physical sign, obtaining the ACF diagram of the seasonal component of the physical sign data sequence of each physical sign, and selecting the period corresponding to the first peak or valley value in the ACF diagram of the seasonal component of the physical sign data sequence of each physical sign as the period of the physical sign data sequence of each physical sign;
[0012] The period of the sign data sequence of any sign in the original data is used as the segmentation length, and the sign data sequence of the sign is divided into a number of sign data segments, so as to obtain all the sign data segments of all the signs in the original data.
[0013] Furthermore, the obtaining of the to-be-attributed segment intervals of two adjacent physical sign data segments of each relative physical sign includes:
[0014] The baseline characteristics of the original data are recorded as Individual signs, any relative sign in the original data is recorded as Individual signs, for Individual signs Individual feature data segmentation and The individual characteristic data is segmented. Individual signs The collection time corresponding to the midpoint of the individual sign data segment is recorded as , will Individual signs The collection time corresponding to the midpoint of the individual sign data segment is recorded as , in All the vital signs data of the individual signs are obtained in segments including the collection time The segmentation of the vital sign data is recorded as Individual signs Individual feature data segmentation, in the All the vital signs data of the individual signs are obtained in segments including the collection time The segmentation of the vital sign data is recorded as Individual signs The individual characteristic data is segmented. Individual signs Individual feature data segmentation and All the physical sign data segments between the individual physical sign data segments are recorded as Individual signs Individual feature data segmentation and The segmentation interval to be assigned for the individual characteristic data segmentation.
[0015] Furthermore, obtaining a matching physical sign data segment interval of each physical sign data segment of each relative physical sign in the reference physical sign includes:
[0016] In the Individual signs Individual feature data segmentation and In the to-be-classified segmentation interval of the individual sign data segmentation, a division evaluation is calculated with each individual sign data segmentation as a classification point;
[0017] In the Individual signs Individual feature data segmentation and In the segmentation interval to be assigned of the individual sign data segment, each sign data segment is used as the assignment division point to calculate the division evaluation, and the sign data segment with the largest division evaluation in the segmentation interval to be assigned is selected as the first Individual signs Individual feature data segmentation and The final attribution division point of the to-be-attributed segmentation interval of the individual characteristic data segmentation;
[0018] The final attribution division point of the to-be-attributed segmentation interval of each two adjacent sign data segments of each relative sign in the original data is obtained; based on the final attribution division point of the to-be-attributed segmentation interval of each two adjacent sign data segments of each relative sign in the original data, the matching sign data segmentation interval of each sign data segment of each relative sign in the original data in the baseline sign is obtained.
[0019] Furthermore, the specific method of obtaining the division evaluation includes:
[0020] In the Individual signs Individual feature data segmentation and In the waiting segment interval of the individual feature data segmentation, the first Evaluation of the segmentation of individual feature data as the division point The calculation method is:
[0021]
[0022] in, Indicates Individual signs Individual feature data segmentation and The segment interval to be assigned to the individual feature data segment includes Individual feature data segmentation and Individual feature data segmentation Individual feature data is segmented into The information entropy of all vital sign data between individual vital sign data segments;
[0023] Indicates Individual signs Individual feature data segmentation and The segment interval to be assigned to the individual feature data segment includes Individual feature data segmentation and Individual feature data segmentation Individual feature data is segmented into The information entropy of all vital sign data between individual vital sign data segments;
[0024] ;
[0025] Represents an exponential function with a natural constant as its base.
[0026] Furthermore, the specific method of obtaining the segmented interval of the matching vital sign data includes:
[0027] The first Individual signs Individual feature data segmentation and The physical sign data segment after the final belonging division point of the to-be-belonged segment interval of the physical sign data segment is recorded as Individual signs Matching vital sign data segmentation starting point of the vital sign data segmentation;
[0028] The first Individual signs Individual feature data segmentation and The final belonging division point of the to-be-belonged segment interval of the individual feature data segment is recorded as Individual signs Matching vital sign data segmentation end point of the vital sign data segment;
[0029] The first Individual signs Between the starting point of the matching vital signs data segment and the ending point of the matching vital signs data segment of the individual vital signs data segment, including the All the physical sign data segments including the starting point of the matching physical sign data segment and the ending point of the matching physical sign data segment are recorded as The individual sign data segment is within the matching sign data segment interval in the baseline sign.
[0030] Furthermore, obtaining the data to be reduced in dimension according to the matching physical sign data segment interval of each physical sign data segment of each relative physical sign in the reference physical sign includes:
[0031] According to the matching sign data segmentation interval of each sign data segment of each relative sign in the baseline sign, obtain the number of sign data segments of the baseline sign in the matching sign data segmentation interval of each sign data segment of each relative sign, copy each sign data segment of each relative sign so that the number of each sign data segment of the relative sign is the same as the number of sign data segments of the baseline sign in the corresponding matching sign data segmentation interval, sort the copied sign data segments according to the order of each sign data segment of each relative sign in each relative sign, record the sorting result of each sign in the original data as the revised sign data of each sign, and obtain the revised sign data of all signs in the original data;
[0032] The length of the corrected sign data with the largest cycle in the original data is selected as the standard interpolation length, and the linear interpolation algorithm is used to interpolate the corrected sign data of all signs except the sign with the largest cycle. The interpolation results of the sign data of all signs are recorded as the data to be reduced in dimension for patient sign monitoring during thyroid surgery.
[0033] Furthermore, the step of reducing the dimension of the data to be reduced in dimension to obtain the principal component features of the data to be reduced in dimension includes:
[0034] Each sign in the data to be reduced in dimension obtained by monitoring the patient's vital signs during thyroid surgery is taken as a dimension, and the sign data of all dimensions of the data to be reduced in dimension are input into the principal component analysis dimensionality reduction algorithm to obtain the eigenvalue of each dimension, and the eigenvalues of all dimensions are arranged in descending order, and the difference between two adjacent eigenvalues in the descending sequence is calculated, and the largest eigenvalue of the two eigenvalues corresponding to the maximum value of all differences obtained in the descending sequence is used as the characteristic threshold, and the signs corresponding to the dimensions whose eigenvalues in the descending sequence are greater than or equal to the characteristic threshold are recorded as the principal component signs of the data to be reduced in dimension.
[0035] Furthermore, the periodic updating of the monitoring model according to the principal component signs includes:
[0036] The period of the sign with the largest period among all the signs in the original data is recorded as the prediction period, and a prediction is performed every time the acquisition time passes through a prediction period.
[0037] In a second aspect, another embodiment of the present invention provides a system for monitoring vital signs of patients during thyroid surgery, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the system implements steps of any one of the methods for monitoring vital signs of patients during thyroid surgery.
[0038] The beneficial effects of the technical solution of the present invention are as follows: the present application obtains original data by collecting vital sign data of patients during thyroid surgery, divides different signs into several individual sign data segments according to the vital sign data cycle of each sign in the original data, obtains the matching vital sign data segmentation interval of each relative sign in the baseline vital sign according to the matching relationship between the vital sign data segments of different signs, and obtains the influence range of the characteristics of each sign within a cycle by segmenting each vital sign by cycle, and then obtains the influence range that matches other vital signs within the influence range, avoiding the characteristic influence range generated by a complete cycle of a vital sign with a shorter cycle, and only corresponding to a partial cycle of a vital sign with a longer cycle. The characteristic influence range generated by the period is improved, and the accuracy of obtaining the principal component signs is improved; then, the matching sign data segmentation interval of each relative sign is obtained according to the matching sign data segmentation interval of each relative sign in the baseline sign, and all data are expanded and standardized, and then the prediction reference data is obtained, so as to standardize the length of all sign data required for prediction, and the principal component signs are extracted through principal component analysis and dimensionality reduction to predict the sign data at the next collection moment; prediction is made by combining the prediction reference data with the ARIMA prediction algorithm and updating the prediction model according to the period, so as to reduce the computational complexity of the ARIMA prediction algorithm and improve the monitoring accuracy by predicting future data. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] 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 or the description of the prior art 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.
[0040] Figure 1 The present invention is a flowchart of the steps of a method for monitoring patient vital signs during thyroid surgery. DETAILED DESCRIPTION
[0041] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the method and system for monitoring patient vital signs during thyroid surgery proposed by the present invention, its specific implementation method, structure, characteristics and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one embodiment may be combined in any suitable form.
[0042] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0043] The following is a detailed description of a method and system for monitoring vital signs of a patient during thyroid surgery provided by the present invention in conjunction with the accompanying drawings.
[0044] See also Figure 1 , which shows a flowchart of a method for monitoring patient vital signs during thyroid surgery provided by an embodiment of the present invention, the method comprising the following steps:
[0045] S001. Collect the patient's physical signs during thyroid surgery to obtain original data.
[0046] It should be noted that when the traditional ARIMA prediction algorithm predicts each vital sign data of the patient during thyroid surgery, because the patient needs to monitor too many vital signs, the ARIMA prediction algorithm needs to predict a large amount of vital sign data at the same time, resulting in high computational complexity, which in turn makes it impossible to achieve real-time monitoring and determine whether there are potential abnormalities in the patient's vital signs; therefore, the current solution is mainly to select the more important part of all vital signs through medical experience for prediction, but the signs selected by experience cannot determine whether there are related signs, resulting in repeated characteristics of the selected signs and incomplete characteristics of the selected signs, so that the vital sign data predicted by the ARIMA prediction algorithm cannot fully express the main characteristics of the patient. To this end, this embodiment proposes a method for monitoring vital signs of patients during thyroid surgery.
[0047] Specifically, the purpose of this embodiment is to analyze and extract the physical sign data of thyroid patients during surgery, predict the physical signs that show the main characteristics, and obtain the predicted data of the main physical signs, and then realize the life status detection according to the difference between the predicted data of the main physical signs and the actual monitored data. Therefore, it is necessary to first collect the physical sign data of all physical signs of thyroid patients during surgery. Specifically, this embodiment monitors the physical signs of thyroid patients during surgery through monitoring equipment required for different physical sign monitoring. The physical signs that need to be monitored include heart rate, blood pressure, respiratory rate, oxygen saturation, carbon dioxide partial pressure, body temperature, blood oxygen partial pressure, etc. All the equipment required for physical sign monitoring collects data at the same time, corresponding to one collection time. The physical sign data monitored by each device at each collection time is used as the physical sign data of each sign at each collection time. All physical sign data of each sign constitute a physical sign data sequence with the collection time as the sequence.
[0048] Furthermore, the moment when the thyroid patient undergoes anesthesia during surgery is recorded as the start time of collection, and every one second from the start time of collection is taken as a collection time. The vital sign data of each vital sign of the patient during the operation is recorded using the monitoring device of each vital sign. The vital sign data of each vital sign constitute a vital sign data sequence of each sign in the order of collection time. All vital sign data sequences of each patient constitute the original data of patient vital sign monitoring during thyroid surgery.
[0049] At this point, the original data of patient vital signs monitoring during thyroid surgery has been obtained.
[0050] S002. Obtain the period of each sign in the original data according to the sign data of each sign in the original data, segment the sign data of each sign in the original data according to the period of each sign in the original data to obtain several sign data segments of each sign in the original data, and obtain the data to be reduced in dimensionality according to the matching relationship between the sign data segments of different signs in the original data.
[0051] It should be noted that in order to maintain the balance and stability of the life state, the human body coordinates and adjusts multiple signs to adapt to the impact of the environment on the life state. Therefore, there is a coordinated correlation between the different signs of the patient during the operation. For example, changes in heart rate affect the level of blood pressure, and changes in respiratory rate will cause changes in blood oxygen saturation, carbon dioxide partial pressure, and blood oxygen partial pressure. When the predicted sign data of each sign is obtained by using the ARIMA prediction algorithm for abnormal monitoring, the characteristics of other signs associated with the signs showing the main characteristics are the same, then these other associated signs are unimportant signs. If the prediction results obtained after using the ARIMA prediction algorithm to predict all signs are the same as the characteristics of the signs showing the main characteristics, then the complex calculation process cannot meet the real-time monitoring needs of the signs during the operation. Therefore, this embodiment uses the principal component analysis dimensionality reduction algorithm to reduce the dimensions of all the patient's signs, and obtains signs with mutually orthogonal characteristics as the main signs.
[0052] It should be further explained that the principal component analysis dimensionality reduction algorithm maps high-dimensional data to low-dimensional space through linear transformation, and eliminates dimensional data that exhibits the same or related features, so that the data features between two dimensions in the low-dimensional space are mutually orthogonal, thereby achieving the purpose of eliminating repeated features and retaining the main features; and there is a high correlation between the physical sign data of the physical signs, so this embodiment uses the principal component analysis dimensionality reduction algorithm to eliminate non-important physical signs with correlation, but because each physical sign of the human body changes periodically and the periods are different, when the principal component analysis is reduced in dimension, multiple physical signs that exhibit the same feature have a reduced correlation due to different periods, and then the features exhibited by the physical sign data with correlation are misjudged as the main features, resulting in the problem of failing to achieve the optimal dimensionality reduction effect. Therefore, based on the above logic, this embodiment obtains the period of each physical sign by analyzing the physical sign data of each physical sign, divides each physical sign into multiple physical sign data segments according to the period of each physical sign, and regularizes the original data according to the matching relationship of the features exhibited by the physical sign data segments between different physical signs to obtain the prediction reference data.
[0053] Specifically, this embodiment uses a time series decomposition (Seasonal and Trend decomposition using Loess, STL) algorithm to decompose the physical sign data sequence of each sign in the original data to obtain the seasonal component of the physical sign data sequence of each sign. The seasonal component represents the characteristics that appear repeatedly and show periodicity in the physical sign data sequence of each sign. The autocorrelation function of the seasonal component of the physical sign data sequence of each sign is calculated to obtain the ACF diagram of the seasonal component of the physical sign data sequence of each sign. On the ACF diagram, the seasonal cycle will show periodic peaks, and each peak corresponds to a seasonal lag. The period corresponding to the first significant peak or valley in the ACF diagram of the seasonal component of the physical sign data sequence of each sign is selected as the period of the physical sign data sequence of each sign. It should be noted that the time series decomposition algorithm is an existing well-known technology and will not be described in detail in this embodiment.
[0054] Furthermore, the period of the sign data sequence of each sign in the original data is used as the segmentation length to divide the sign data sequence into several sign data segments, and the length of each sign data segment of each sign is the period length of each sign, so as to obtain all the sign data segments of all the signs in the original data.
[0055] It should be further explained that the sign with the shortest period among all the signs in the original data is recorded as the baseline sign, and all the signs in the original data except the baseline sign are recorded as relative signs. For any relative sign in the original data, each sign data segment corresponds to several sign data segments in the baseline sign at the time of collection, and the range of influence of the characteristics expressed by each sign data segment of the relative sign is the same as the range of influence of the characteristics expressed by several corresponding sign data segments in the baseline sign. Then, when the principal component analysis dimensionality reduction algorithm is used to reduce the dimension of multiple signs of the original data, the characteristics expressed by a complete cycle of the baseline sign only correspond to the characteristics expressed by part of the sign data of a sign data segment of other relative signs, which leads to a large difference between the correlation between the signs expressed by the covariance matrix in the dimensionality reduction process of the principal component analysis dimensionality reduction algorithm and the correlation expressed by the original data, resulting in errors in the main signs obtained by the dimensionality reduction of the original data. Therefore, this embodiment obtains the matching sign data segment interval of each sign data segment of each relative sign in the baseline sign through the correspondence between each sign data segment of each relative sign and the sign data segment of the baseline sign at the time of acquisition.
[0056] Specifically, in this embodiment, the baseline vital signs of the original data are recorded as Individual signs, any relative sign in the original data is recorded as Individual signs, the Two adjacent physical sign data segments in all physical sign data segments of an individual sign are respectively recorded as Individual signs Individual feature data segmentation and The individual characteristic data is segmented. Individual signs The collection time corresponding to the midpoint of the individual sign data segment is recorded as , will Individual signs The collection time corresponding to the midpoint of the individual sign data segment is recorded as , in All the vital signs data of the individual signs are obtained in segments including the collection time The segmentation of the vital sign data is recorded as Individual signs Individual feature data segmentation, in the All the vital signs data of the individual signs are obtained in segments including the collection time The segmentation of the vital sign data is recorded as Individual signs The individual characteristic data is segmented. Individual signs Individual feature data segmentation and All the physical sign data segments between the individual physical sign data segments are recorded as Individual signs Individual feature data segmentation and The segment interval to be assigned to the individual feature data segment includes the Individual feature data segmentation and Individual characteristic data segmentation.
[0057] Furthermore, the segmentation interval to be attributed of two adjacent sign data segments of each relative sign contains several sign data segments of the baseline sign, and the characteristics expressed by these sign data segments have the same influence range as the characteristics expressed by the two adjacent sign data segments of the relative sign. Then, the characteristic influence range of the baseline sign in the segmentation interval to be attributed includes the characteristics of the two adjacent sign data segments of the relative sign, that is, the characteristics of the baseline sign in the segmentation interval to be attributed can be matched to the two sign data segments of the relative sign. Therefore, it is necessary to judge the attribution relationship between each sign data segment in the segmentation interval to be attributed and the two adjacent sign data segments in the relative sign.
[0058] Furthermore, after the present embodiment determines to divide each vital sign data segment in the segmentation interval to be attributed as the attribution division point, the complexity of the data in the segmentation interval to be attributed is calculated and recorded as the division evaluation of each vital sign data segment in the segmentation interval to be attributed as the attribution division point, so that the characteristic influence ranges of two adjacent vital sign data segments of the relative vital sign and the vital sign data segmentation ranges that match the characteristic influence ranges in the baseline vital sign are obtained, thereby obtaining the matching vital sign data segmentation intervals in which each vital sign data segment in each relative vital sign has the same characteristic influence range in the baseline vital sign.
[0059] Specifically, in Individual signs Individual feature data segmentation and In the waiting segment interval of the individual feature data segmentation, the first The calculation method of the division evaluation of the individual feature data segment as the belonging division point is:
[0060]
[0061] in, Indicates the Individual signs Individual feature data segmentation and In the waiting segment interval of the individual feature data segmentation, The segmentation of individual characteristic data is used as the division evaluation of belonging division points; Indicates Individual signs Individual feature data segmentation and The segment interval to be assigned to the individual feature data segment includes Individual feature data segmentation and Individual feature data segmentation Individual feature data is segmented into The information entropy of all vital sign data between individual vital sign data segments; Indicates Individual signs Individual feature data segmentation and The segment interval to be assigned to the individual feature data segment includes Individual feature data segmentation and Individual feature data segmentation Individual feature data is segmented into The information entropy of all the vital signs data between the individual vital signs data segments; ; Represents an exponential function with a natural constant as its base.
[0062] The value of Individual signs Individual feature data segmentation and In the waiting segment interval of the individual feature data segmentation, The information content of the two physical sign data segmentation intervals obtained by dividing the segmentation interval to be assigned by the individual sign data segmentation as the assignment dividing point is smaller, indicating that the physical sign data in the two physical sign data segmentation intervals obtained after the division are more regular, and the more similar the characteristics of the physical sign data in the two physical sign data segmentation intervals obtained after the division are, the more it can be explained that the physical sign data in the segmentation interval to be assigned is more regular. After the individual sign data segmentation is used as the attribution division point, two different feature expression ranges are obtained, that is, the ranges of the two feature expressions after the division correspond to the two adjacent sign data segments of the relative sign. Therefore, the first The better the individual feature data segmentation is as the attribution division point, that is, the better the division evaluation The larger the value of .
[0063] Furthermore, in Individual signs Individual feature data segmentation and In the segmentation interval to be assigned of the individual sign data segment, each sign data segment is used as the assignment division point to calculate the division evaluation, and the sign data segment with the largest division evaluation in the segmentation interval to be assigned is selected as the first Individual signs Individual feature data segmentation and The final attribution division point of the to-be-attributed segmentation interval of the individual sign data segmentation. Similarly, the final attribution division point of each two adjacent to-be-attributed segmentation intervals of each relative sign in the original data is obtained.
[0064] Furthermore, Individual signs Individual feature data segmentation and The physical sign data segment after the final belonging division point of the to-be-belonged segment interval of the physical sign data segment is recorded as Individual signs The matching starting point of the individual sign data segmentation is Individual signs Individual feature data segmentation and The final belonging division point of the to-be-belonged segment interval of the individual feature data segment is recorded as Individual signs The matching vital sign data segmentation end point of the individual vital sign data segmentation; Individual signs Between the starting point of the matching vital signs data segment and the ending point of the matching vital signs data segment of the individual vital signs data segment, including the All the physical sign data segments including the starting point of the matching physical sign data segment and the ending point of the matching physical sign data segment are recorded as The individual sign data segment is within the matching sign data segment interval in the baseline sign.
[0065] Similarly, obtain the matching sign data segmentation interval in the baseline sign for each sign data segment of each relative sign in the original data; then obtain the number of sign data segments of the baseline sign in the matching sign data segmentation interval in the baseline sign for each sign data segment of each relative sign, copy each sign data segment of each relative sign so that the number of each sign data segment of the relative sign is the same as the number of sign data segments of the baseline sign, and sort the copied sign data segments according to the order of each sign data segment of each relative sign in each relative sign, record the sorting result of each sign in the original data as the corrected sign data of each sign, and obtain the corrected sign data of all signs in the original data.
[0066] It should be noted that the corrected physical sign data of the baseline physical sign is the physical sign data of the baseline physical sign itself.
[0067] Furthermore, since the different periods of different signs result in different lengths of the corrected sign data for each sign, this embodiment selects the length of the corrected sign data with the largest period in the original data as the standard interpolation length, and uses a linear interpolation algorithm to interpolate the corrected sign data of all signs except the sign with the largest period, and the interpolation results of the sign data of all signs are recorded as the data to be reduced in dimensionality for patient sign monitoring during thyroid surgery.
[0068] At this point, the data to be reduced in dimension for monitoring the patient's vital signs during thyroid surgery has been obtained.
[0069] S003. Use principal component analysis dimensionality reduction algorithm to reduce the dimension of the data to be reduced to obtain several principal component signs. The sign data of all principal component signs constitute the prediction reference data. The prediction reference data is input into the ARIMA prediction algorithm to predict the prediction data at the next collection moment. The patient's vital signs during thyroid surgery are monitored based on the difference between the actual data collected at the next moment and the predicted data.
[0070] Further, each sign in the data to be reduced in dimension of the patient's vital signs monitored during thyroid surgery is used as a dimension, and the sign data of all dimensions of the data to be reduced in dimension are input into the principal component analysis dimensionality reduction algorithm for dimensionality reduction, so as to obtain the principal component signs of the patient's vital signs monitored during thyroid surgery; the specific steps of obtaining the principal component sign dimensionality reduction are as follows:
[0071] 1) Standardize the vital sign data of all dimensions of the data to be reduced in dimension;
[0072] 2) Calculate the covariance matrix of the data to be reduced in dimension;
[0073] 3) Perform eigenvalue decomposition on the covariance matrix of the data to be reduced in dimension to obtain the eigenvalues and eigenvectors of each dimension;
[0074] 4) Arrange the eigenvalues of all dimensions in descending order, calculate the difference between two adjacent eigenvalues in the descending sequence, and record the signs corresponding to all dimensions corresponding to the larger eigenvalue of the two adjacent eigenvalues with the largest eigenvalue difference in the descending sequence as the principal component signs of the data to be reduced in dimensionality. The sign data of the principal component signs of the data to be reduced in dimensionality constitute the prediction reference data.
[0075] Furthermore, the sign data of the principal component signs of the predicted reference data are used as the input of the ARIMA prediction algorithm, and the sign data of each principal component sign of the predicted reference data are made to tend to be stable by performing differential standardization on each principal component sign of the predicted reference data, and then the autoregressive order, differential order, and moving average order of each principal component sign of the predicted reference data are calculated, and the autoregressive order, differential order, and moving average order of each principal component sign of the predicted reference data are used as input parameters of the ARIMA prediction algorithm, and the ARIMA model is obtained by using the least squares method to estimate the ARIMA model, and the predicted data of each principal component sign of the original data at the next acquisition moment are obtained by using the ARIMA model.
[0076] Furthermore, actual data of all vital signs of the patient at the next collection moment during the thyroid surgery are collected, and the difference between the actual data of each principal component sign of the patient at the next collection moment and the predicted data at the next collection moment is compared with the allowable range of the deviation. When the difference is greater than the allowable range of the deviation, it indicates that there is an abnormality in the patient's vital signs during the thyroid surgery.
[0077] It should be noted that the abnormal vital sign monitoring process of the patient during the thyroid surgery in this embodiment is carried out according to the time sequence of the collection time. Therefore, there is no obvious change in the period of each vital sign and the principal component signs of all vital signs. Therefore, this embodiment selects the period of the sign with the largest period among all the vital signs in the original data as the prediction period, and performs a prediction every time the collection time passes through a prediction period, thereby reducing the computational complexity of the principal component sign analysis and ARIMA prediction of this embodiment, and realizing real-time monitoring of the vital sign data of the patient's vital signs during thyroid surgery.
[0078] An embodiment of the present invention provides a system for monitoring patient vital signs during thyroid surgery, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement steps S001 to S003 described above.
[0079] It should be noted that the The model only shows negative correlation and the output of the constraint model is in In the range, As the input of this model, it can be replaced by other models with the same purpose in specific implementation. The model is used as an example for description without any specific limitation.
[0080] 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 principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for monitoring patient vital signs during thyroid surgery. It is characterized in that The method comprises the following steps: The original data were obtained by collecting the patient's physical signs during thyroid surgery; According to the sign data period of each sign in the original data, several sign data segments of each sign in the original data are obtained; according to the sign data period of each sign in the original data, the baseline sign and relative sign of the original data are obtained; according to the matching relationship between the sign data segments of the baseline sign and the relative sign in the original data, the to-be-attributed segmentation interval of two adjacent sign data segments of each relative sign is obtained; according to the to-be-attributed segmentation interval of two adjacent sign data segments of each relative sign, the matching sign data segmentation interval of each sign data segment of each relative sign in the baseline sign is obtained; according to the matching sign data segmentation interval of each sign data segment of each relative sign in the baseline sign, the data to be reduced in dimension is obtained; the data to be reduced in dimension is reduced in dimension to obtain the principal component signs of the data to be reduced in dimension, and the sign data of the principal component signs of the data to be reduced in dimension constitute the prediction reference data; The predicted reference data is input into the ARIMA prediction algorithm to obtain the predicted data at the next acquisition moment, and the patient's vital signs during thyroid surgery are monitored according to the difference between the actual data collected at the next moment and the predicted data, and the monitoring model is updated according to the period of the principal component signs; Wherein, obtaining a number of physical sign data segments of each physical sign in the original data according to the physical sign data period of each physical sign in the original data includes: using a time series decomposition algorithm to decompose the physical sign data sequence of each physical sign in the original data, obtaining the seasonal component of the physical sign data sequence of each physical sign, calculating the autocorrelation function of the seasonal component of the physical sign data sequence of each physical sign, obtaining the ACF diagram of the seasonal component of the physical sign data sequence of each physical sign, selecting the period corresponding to the first peak or valley value in the ACF diagram of the seasonal component of the physical sign data sequence of each physical sign as the period of the physical sign data sequence of each physical sign; using the period of the physical sign data sequence of each physical sign in the original data as the segmentation length, dividing the physical sign data sequence of the physical sign into a number of physical sign data segments, the length of each physical sign data segment of each physical sign being the period length of each physical sign, and obtaining all physical sign data segments of all physical signs in the original data; Among them, the sign with the shortest period among all the signs in the original data is recorded as the baseline sign, and all the signs in the original data except the baseline sign are recorded as relative signs; The method for obtaining the segment interval to be assigned is as follows: record the baseline physical sign of the original data as Individual signs, any relative sign in the original data is recorded as Individual signs, for Individual signs Individual feature data segmentation and The individual characteristic data is segmented. Individual signs The collection time corresponding to the midpoint of the individual sign data segment is recorded as , will Individual signs The collection time corresponding to the midpoint of the individual sign data segment is recorded as , in All the vital signs data of the individual signs are obtained in segments including the collection time The segmentation of the vital sign data is recorded as Individual signs Individual feature data segmentation, in the All the vital signs data of the individual signs are obtained in segments including the collection time The segmentation of the vital sign data is recorded as Individual signs The individual characteristic data is segmented. Individual signs Individual feature data segmentation and All the physical sign data segments between the individual physical sign data segments are recorded as Individual signs Individual feature data segmentation and The segmentation interval to be assigned to the individual characteristic data segment; Among them, the method for obtaining the segmented interval of matching vital sign data is as follows: Individual signs Individual feature data segmentation and In the to-be-classified segmentation interval of the individual sign data segmentation, a division evaluation is calculated with each individual sign data segmentation as a classification point; In the Individual signs Individual feature data segmentation and In the segmentation interval to be assigned of the individual sign data segment, each sign data segment is used as the assignment division point to calculate the division evaluation, and the sign data segment with the largest division evaluation in the segmentation interval to be assigned is selected as the first Individual signs Individual feature data segmentation and The final attribution division point of the to-be-attributed segmentation interval of the individual characteristic data segmentation; Obtain the final attribution division point of the to-be-attributed segmentation interval of each two adjacent sign data segments of each relative sign in the original data, and obtain the matching sign data segmentation interval of each sign data segment of each relative sign in the original data in the reference sign according to the final attribution division point of the to-be-attributed segmentation interval of each two adjacent sign data segments of each relative sign in the original data; The method for obtaining the segmented interval of matching vital sign data further includes: Individual signs Individual feature data segmentation and The physical sign data segment after the final belonging division point of the to-be-belonged segment interval of the physical sign data segment is recorded as Individual signs Matching vital sign data segmentation starting point of the vital sign data segmentation; The first Individual signs Individual feature data segmentation and The final belonging division point of the to-be-belonged segment interval of the individual feature data segment is recorded as Individual signs Matching vital sign data segmentation end point of the vital sign data segment; The first Individual signs Between the starting point of the matching vital signs data segment and the ending point of the matching vital signs data segment of the individual vital signs data segment, including the All the physical sign data segments including the starting point of the matching physical sign data segment and the ending point of the matching physical sign data segment are recorded as The individual sign data segmentation is within the matching sign data segmentation interval in the reference sign; Among them, the period of the sign with the largest period among all the signs in the original data is recorded as the prediction period, and a prediction is performed every time the collection time passes through a prediction period.
2. A method for monitoring patient vital signs during thyroid surgery according to claim 1, It is characterized in that The specific method of obtaining the division evaluation includes: In the Individual signs Individual feature data segmentation and In the waiting segment interval of the individual feature data segmentation, the first Evaluation of the segmentation of individual feature data as the division point The calculation method is: in, Indicates Individual signs Individual feature data segmentation and The segment interval to be assigned to the individual feature data segment includes Individual feature data segmentation and Individual feature data segmentation Individual feature data is segmented into The information entropy of all vital sign data between individual vital sign data segments; Indicates Individual signs Individual feature data segmentation and The segment interval to be assigned to the individual feature data segment includes Individual feature data segmentation and Individual feature data segmentation Individual feature data is segmented into The information entropy of all vital sign data between individual vital sign data segments; ; Represents an exponential function with a natural constant as its base.
3. A method for monitoring patient vital signs during thyroid surgery according to claim 1, It is characterized in that The step of obtaining the data to be reduced in dimension according to the matching physical sign data segment interval of each physical sign data segment of each relative physical sign in the reference physical sign comprises: According to the matching sign data segmentation interval of each sign data segment of each relative sign in the baseline sign, the number of sign data segments of the baseline sign in the matching sign data segmentation interval of each sign data segment of each relative sign is obtained, each sign data segment of each relative sign is copied so that the number of each sign data segment of the relative sign is the same as the number of sign data segments of the baseline sign in the corresponding matching sign data segmentation interval, and the copied sign data segments are sorted according to the order of each sign data segment of each relative sign in each relative sign, and the sorting result of each sign in the original data is recorded as the corrected sign data of each sign, so as to obtain the corrected sign data of all signs in the original data; wherein, the corrected sign data of the baseline sign is the sign data of the baseline sign itself; The length of the corrected sign data with the largest cycle in the original data is selected as the standard interpolation length, and the linear interpolation algorithm is used to interpolate the corrected sign data of all signs except the sign with the largest cycle. The interpolation results of the sign data of all signs are recorded as the data to be reduced in dimension for patient sign monitoring during thyroid surgery.
4. A method for monitoring patient vital signs during thyroid surgery according to claim 1, It is characterized in that The step of reducing the dimension of the data to be reduced to obtain the principal component characteristics of the data to be reduced includes: Each sign in the data to be reduced in dimension obtained by monitoring the patient's vital signs during thyroid surgery is taken as a dimension, and the sign data of all dimensions of the data to be reduced in dimension are input into the principal component analysis dimensionality reduction algorithm to obtain the eigenvalue of each dimension, and the eigenvalues of all dimensions are arranged in descending order, and the difference between two adjacent eigenvalues in the descending sequence is calculated, and the largest eigenvalue of the two eigenvalues corresponding to the maximum value of all differences obtained in the descending sequence is used as the characteristic threshold, and the signs corresponding to the dimensions whose eigenvalues in the descending sequence are greater than or equal to the characteristic threshold are recorded as the principal component signs of the data to be reduced in dimension.
5. A system for monitoring vital signs of a patient during thyroid surgery, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of a method for monitoring vital signs of a patient during thyroid surgery as claimed in any one of claims 1 to 4 are implemented.
