A medical electrode line intelligent identification method and system
Through time-shift and spectrum analysis of medical electrode lines, combined with standard spectrum feature signal library matching, the problem of low differentiation efficiency of medical electrode lines in the existing technology is solved, high-precision surgery type identification is achieved, and accurate medical monitoring is ensured. sex.
Patent Information
- Application Number
- CN202411179586.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-27
AI Technical Summary
Existing medical electrode wire differentiation methods cannot achieve intelligent identification and are inefficient, making it difficult to identify the parameter characteristics of medical electrode wires for different types of surgeries under high-precision monitoring.
By reading the preset surgery type label of the medical electrode line, binary coding and data collection are performed, time-shift and spectrum analysis are used to calculate the time-shift period and spectrum characteristic signal, and the standard spectrum characteristic signal library is matched to obtain the surgery type code. Finally, electrode wire identification is achieved through surgical identification mapping.
Intelligent recognition of surgical types of medical electrode wires is achieved, ensuring the accuracy of medical monitoring.
Smart Images

Figure CN118690257B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent analysis of medical data, and in particular to an intelligent identification method and system for medical electrode wires. Background Art
[0002] A medical electrode line is an electrode line used to connect medical equipment and patients. It is used to collect and transmit the bioelectric signals corresponding to the collected human body parts to the medical equipment in real time. Since the bioelectric signals are often very weak and easily interfered by factors such as the conductive characteristics of the patient's contact point with the electrode and the characteristics of the transmission medium, there are many special requirements for the performance of the medical electrode line. In particular, for different types of surgeries, due to the large differences in the pathological characteristics of patients, the parameter characteristics of the medical electrode lines used in different types of surgeries should also be different under the requirements of high-precision monitoring. However, the parameter characteristics of medical electrode lines are difficult to distinguish by the naked eye, and existing methods often distinguish medical electrode lines by labeling. However, this method cannot achieve intelligent identification of medical electrode lines and is extremely inefficient. This method and system can be used to intelligently identify the types of surgeries used for medical electrode lines under the requirements of high-precision monitoring. Summary of the invention
[0003] (1) Technical issues to be resolved
[0004] The purpose of the present invention is to provide a method and system for intelligently identifying a medical electrode wire, so as to solve the problem of intelligently identifying the type of surgery in which the medical electrode wire is used under the requirement of high-precision monitoring.
[0005] (2) Technical solution
[0006] To achieve the above object, on the one hand, the present invention provides a medical electrode line intelligent identification method, the method comprising:
[0007] Read the first surgery type tag preset on the medical electrode line; perform binary encoding on the first surgery type tag according to a preset coding rule to obtain a first surgery type code; read the data of the medical electrode line within a preset monitoring time T at a preset data sampling frequency f set The acquired raw measurement data sequence;
[0008] According to the monitoring time T, the data sampling frequency f set , a preset piecewise constant M and a preset comparison coefficient k, time-shifting the original measurement data sequence to obtain a medical electrode line measurement data time-shift sequence group; performing time-shift correlation calculation on the medical electrode line measurement data time-shift sequence group to obtain a first time-shift period C;
[0009] The original measurement data sequence is subjected to discrete Fourier transformation with the first time shift period C as a time window to obtain a medical electrode line spectrum; a monitoring spectrum characteristic signal is calculated based on the medical electrode line spectrum, and the monitoring spectrum characteristic signal is spectrally matched with a preset standard spectrum characteristic signal library to obtain a second surgery type label; the second surgery type label is binary-encoded according to a preset coding rule to obtain a second surgery type code;
[0010] The first surgery type code is subtracted from the second surgery type code, and the absolute value is obtained to obtain a surgery matching code; according to the surgery matching code, an electrode line recognition result is obtained through a preset surgery recognition mapping.
[0011] Furthermore, the monitoring time T and the data sampling frequency f set , a preset piecewise constant M and a preset comparison coefficient k, and time-shifting the original measurement data sequence to obtain a medical electrode line measurement data time-shift sequence group includes:
[0012] According to the monitoring time T and the data sampling frequency f set , through the formula , calculate the amount of sampled data N; clone the original measurement data sequence to the first measurement array with position sequence number According to the sampling data volume N and the pre-set piecewise constant M, the formula , calculate the time shift interval According to the piecewise constant M and the preset comparison coefficient k, the formula , calculate the first time shift number ; For the first time shift number Round up to get the second time shift number , the second time shift number >2;
[0013] According to the time shift interval , the second time shift times , the amount of sampling data N, through the formula , calculate the first cutoff number ; From the first measurement array Intercept As the i-th time-shifted data sequence, i is traversed to take values 0, 1, ... , get the 0th time-shifted data sequence, the 1st time-shifted data sequence, and so on. time-shifted data sequence; the 0th time-shifted data sequence, the 1st time-shifted data sequence, ... the The time-shifted data sequences are combined to obtain a medical electrode line measurement data time-shifted sequence group .
[0014] Furthermore, the method of performing time-shift correlation calculation on the medical electrode line measurement data time-shift sequence group to obtain a first time-shift period C includes:
[0015] By formula Calculate the first time-shift correlation array ; Locate the subscript corresponding to the maximum value of all elements in the first time-shift correlation array, recorded as ;
[0016] By formula C , calculate and obtain the first time shift period C.
[0017] Furthermore, the method of calculating a monitoring spectrum characteristic signal based on the medical electrode line spectrum, and performing spectrum matching between the monitoring spectrum characteristic signal and a preset standard spectrum characteristic signal library to obtain a second surgery type label includes:
[0018] Extract the frequency spectrum of the medical electrode line in the pre-set frequency point sequence h1, h2...h Lmax The corresponding spectrum amplitudes are obtained to obtain the first spectrum amplitude sequence P1, P2...P Lmax According to the first spectrum amplitude sequence and the frequency point sequence, through the formula The first characteristic signal H is calculated s1 ; Calculate the maximum value in the first spectrum amplitude sequence to obtain the second characteristic signal H s2 ; Combining the first characteristic signal and the second characteristic signal to obtain a monitoring spectrum characteristic signal;
[0019] Reading a preset standard spectrum feature signal library; the standard spectrum feature signal library includes Q standard spectrum feature signal arrays; the Q standard spectrum feature signal arrays each correspond to a standard surgical label;
[0020] The pattern distances D1, D2, ..., D formed by the monitoring spectrum characteristic signal and the Q standard spectrum characteristic signal arrays are calculated. Q ; The pattern distance D1, D2...D Q The standard surgery label of the standard spectrum feature signal array corresponding to the minimum value is cloned as the second surgery type label.
[0021] Furthermore, the calculation obtains the pattern distances D1, D2, ..., D formed by the monitoring spectrum characteristic signal and the Q standard spectrum characteristic signal arrays. Q The methods include:
[0022] Extract the first element of the Q standard spectrum characteristic signal arrays, respectively denoted as H B11 , H B12 ...H B1Q ; Extract the second element of the Q standard spectrum characteristic signal arrays, respectively denoted as H B21 , H B22 ...H B2Q ; Extract H B11 , H B12 ...H B1Q The minimum value in B1min ; Extract H B11 , H B12 ...H B1Q The maximum value in is denoted as H B1max ; Extract H B21 , H B22 ...H B2Q The minimum value in B2min ; Extract H B21 , H B22 ...H B2Q The maximum value in is denoted as H B2max ;
[0023] Using the formula , , calculate D1, D2...D Q .
[0024] Based on the same inventive concept, on the other hand, the present invention also provides a medical electrode line intelligent identification system, the system comprising:
[0025] The data reading module is used to read the first surgery type label preset on the medical electrode line; binary encode the first surgery type label according to the preset coding rule to obtain the first surgery type code; read the medical electrode line within the preset monitoring time T at the preset data sampling frequency f set The acquired raw measurement data sequence;
[0026] The first time shift period calculation module is connected to the data reading module and is used to calculate the time shift period according to the monitoring time T and the data sampling frequency f set , a preset piecewise constant M and a preset comparison coefficient k, time-shifting the original measurement data sequence to obtain a medical electrode line measurement data time-shift sequence group; performing time-shift correlation calculation on the medical electrode line measurement data time-shift sequence group to obtain a first time-shift period C;
[0027] The second surgery type coding calculation module is connected to the first time shift period calculation module, and is used to perform discrete Fourier transform on the original measurement data sequence with the first time shift period C as a time window to obtain a medical electrode line spectrum; calculate a monitoring spectrum characteristic signal based on the medical electrode line spectrum, perform spectrum matching on the monitoring spectrum characteristic signal with a preset standard spectrum characteristic signal library to obtain a second surgery type label; perform binary encoding on the second surgery type label according to a preset encoding rule to obtain a second surgery type code;
[0028] The matching identification module is connected to the second surgery type code calculation module, and is used to subtract the first surgery type code from the second surgery type code and obtain the absolute value to obtain the surgery matching code; according to the surgery matching code, the electrode line identification result is obtained through a pre-set surgery identification mapping.
[0029] Furthermore, the first time shift period calculation module includes:
[0030] The time-shift parameter calculation module is used to calculate the time-shift parameter according to the monitoring time T and the data sampling frequency f set , through the formula , calculate the amount of sampled data N; clone the original measurement data sequence to the first measurement array with position sequence number According to the sampling data volume N and the pre-set piecewise constant M, the formula , calculate the time shift interval According to the piecewise constant M and the preset comparison coefficient k, the formula , calculate the first time shift number ; For the first time shift number Round up to get the second time shift number , the second time shift number >2;
[0031] A time-shift data sequence construction module is connected to the time-shift parameter calculation module and is used to calculate the time-shift data sequence according to the time-shift interval. , Second time shift times , the amount of sampling data N, through the formula , calculate the first cutoff number ; From the first measurement array Intercept As the i-th time-shifted data sequence, i is traversed to take values 0, 1, ... , we get the 0th time-shifted data sequence, the 1st time-shifted data sequence, and so on. time-shifted data sequence; the 0th time-shifted data sequence, the 1st time-shifted data sequence, ... the The time-shifted data sequences are combined to obtain a medical electrode line measurement data time-shifted sequence group .
[0032] Furthermore, the first time shift period calculation module further includes:
[0033] The time-shift correlation calculation module is connected to the time-shift data sequence construction module and is used to calculate the time-shift correlation through the formula Calculate the first time-shift correlation array ; Locate the subscript corresponding to the maximum value of all elements in the first time-shift correlation array, recorded as ;
[0034] The first time shift period output module is connected to the time shift correlation calculation module and is used to calculate the time shift period by formula C , calculate and obtain the first time shift period C.
[0035] Furthermore, the second surgery type coding calculation module includes:
[0036] The monitoring spectrum characteristic signal calculation module is used to extract the spectrum of the medical electrode line in the preset frequency point sequence h1, h2...h Lmax The corresponding spectrum amplitudes are obtained to obtain the first spectrum amplitude sequence P1, P2...P Lmax According to the first spectrum amplitude sequence and the frequency point sequence, through the formula The first characteristic signal H is calculated s1 ; Calculate the maximum value in the first spectrum amplitude sequence to obtain the second characteristic signal H s2 ; Combining the first characteristic signal and the second characteristic signal to obtain a monitoring spectrum characteristic signal;
[0037] A standard spectrum characteristic signal library reading module is connected to the monitoring spectrum characteristic signal calculation module and is used to read a preset standard spectrum characteristic signal library; the standard spectrum characteristic signal library includes Q standard spectrum characteristic signal arrays; each of the Q standard spectrum characteristic signal arrays corresponds to a standard surgical label;
[0038] The second surgery type label calculation module is connected to the standard spectrum feature signal library reading module, and is used to calculate the pattern distances D1, D2, ..., D formed by the monitoring spectrum feature signal and the Q standard spectrum feature signal arrays. Q ; The pattern distance D1, D2...D Q The standard surgery label of the standard spectrum feature signal array corresponding to the minimum value is cloned as the second surgery type label.
[0039] Furthermore, the second surgery type label calculation module includes:
[0040] The characteristic signal extraction module is used to extract the first element of the Q standard spectrum characteristic signal arrays, which are respectively denoted as H B11 , H B12 ...H B1Q ; Extract the second element of the Q standard spectrum characteristic signal arrays, respectively denoted as H B21 , H B22 ...H B2Q ; Extract H B11 , H B12 ...H B1Q The minimum value in B1min ; Extract H B11 , H B12 ...H B1Q The maximum value in is denoted as H B1max ; Extract H B21 , H B22 ...H B2Q The minimum value in B2min ; Extract H B21 , H B22 ...H B2Q The maximum value in is denoted as H B2max ;
[0041] The pattern distance calculation module is connected to the characteristic signal extraction module to use the formula , , calculate D1, D2...D Q .
[0042] (3) Beneficial effects
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] By intelligently identifying information such as the periodic characteristics of medical electrode line monitoring data, the spectral characteristics of the measurement data are obtained, and the type of surgery used for the medical electrode line is identified, the accuracy of medical monitoring is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a flowchart of a medical electrode line intelligent identification method according to Embodiment 1 of the present invention;
[0046] Figure 2 This is a module block diagram of a medical electrode wire intelligent identification system according to Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] Before giving examples, it is necessary to explain the application scenarios of the present invention. The method and system can be used to intelligently identify the type of surgery used for the medical electrode wire under the requirement of high-precision monitoring.
[0049] Example 1: Figure 1 As shown, this embodiment provides a medical electrode line intelligent identification method, the method comprising:
[0050] Read the first surgery type tag preset on the medical electrode line; perform binary encoding on the first surgery type tag according to a preset coding rule to obtain a first surgery type code; read the data of the medical electrode line within a preset monitoring time T at a preset data sampling frequency f set The acquired raw measurement data sequence;
[0051] The first surgery type label can be set according to actual usage requirements. For example, since the physiological electrical signal characteristics required for different surgeries are quite different, under the requirement of high-precision measurement, the parameter characteristics of the medical electrode wires used for neurosurgery, orthopedic surgery, and spinal surgery should also be different. In this case, the first surgery type label can be set to one of "neurosurgery", "orthopedic surgery", and "spinal surgery", and the parameter characteristics of the medical electrode wire should correspond to the first surgery type label. For example, the parameter characteristics of the medical electrode wire with the first surgery type label of "neurosurgery" should be designed according to the physiological characteristics of neurosurgery; the parameter characteristics of the medical electrode wire with the first surgery type label of "orthopedic surgery" should be designed according to the physiological characteristics of orthopedic surgery; the parameter characteristics of the medical electrode wire with the first surgery type label of "spinal surgery" should be designed according to the physiological characteristics of spinal surgery. The method of binary encoding the first surgery type label according to a pre-set encoding rule includes: using the formula , calculate the first coding bit number U, where X represents the number of selectable first surgery type labels; round U up to get the second coding bit number; design a coding rule based on the second coding bit number; map the first surgery type label to a binary code based on the coding rule. Exemplarily, the second coding bit number is calculated to be 2, and the coding rule is designed as follows: map "neurosurgery" to the binary code "00", map "orthopedic surgery" to the binary code "01"; map "spinal surgery" to the binary code "10". Therefore, when the first surgery type label preset for the medical electrode line is read as "neurosurgery", the first surgery type code obtained is "00". The monitoring time T is preset according to the user's needs, and the data sampling frequency f set It can be set to the sampling frequency inherent to the medical host to which the medical electrode line is connected. For example, T=30s, f set =1000Hz.
[0052] According to the monitoring time T, the data sampling frequency f set , a preset piecewise constant M and a preset comparison coefficient k, time-shifting the original measurement data sequence to obtain a medical electrode line measurement data time-shift sequence group; performing time-shift correlation calculation on the medical electrode line measurement data time-shift sequence group to obtain a first time-shift period C;
[0053] Most of the data monitored by the medical electrode line have periodic characteristics. The original measurement data sequence is time-shifted several times, and the correlation between the data sequence before and after the time shift is solved to obtain the first time shift period C. Exemplarily, the first time shift period C is calculated to be 0.65s.
[0054] The original measurement data sequence is subjected to discrete Fourier transformation with the first time shift period C as a time window to obtain a medical electrode line spectrum; a monitoring spectrum characteristic signal is calculated based on the medical electrode line spectrum, and the monitoring spectrum characteristic signal is spectrally matched with a preset standard spectrum characteristic signal library to obtain a second surgery type label; the second surgery type label is binary-encoded according to a preset coding rule to obtain a second surgery type code;
[0055] The factor affecting the accuracy of discrete Fourier transform lies in the selected time window. The closer the time window is to the period of the original measurement data sequence, the more accurate the discrete Fourier transform result is. Exemplarily, the discrete Fourier transform is performed with the calculated first time shift period C=0.65s as the time window to obtain the medical electrode line spectrum. The standard spectrum feature signal library needs to be pre-built. Exemplarily, the set standard spectrum feature signal library contains the standard spectrum feature signals monitored by "neurosurgery", "orthopedic surgery" and "spinal surgery". By matching the monitored spectrum feature signal with the standard spectrum feature signal library, the actual surgery type of the monitored object, that is, the second surgery type label, can be identified. The second surgery type label is one of "neurosurgery", "orthopedic surgery" and "spinal surgery". The method of binary encoding the second surgery type label according to the pre-set encoding rule must be consistent with the encoding rule for obtaining the first surgery type code. Exemplarily, "neurosurgery" is mapped to the binary code "00", "orthopedic surgery" is mapped to the binary code "01", and "spinal surgery" is mapped to the binary code "10".
[0056] The first surgery type code is subtracted from the second surgery type code, and the absolute value is obtained to obtain a surgery matching code; according to the surgery matching code, an electrode line recognition result is obtained through a preset surgery recognition mapping.
[0057] The preset surgery identification mapping is: when the surgery matching code is a binary sequence of all 0s, the electrode line identification result is "correct match", otherwise the electrode line identification result is "wrong match". Exemplarily, when the first surgery type code is "00", if the second surgery type code is "01", the surgery matching code is "01", and the electrode line identification result is "wrong match". If the second surgery type code is "00", the surgery matching code is "00", and the electrode line identification result is "correct match".
[0058] Furthermore, the monitoring time T and the data sampling frequency f set , a preset piecewise constant M and a preset comparison coefficient k, and time-shifting the original measurement data sequence to obtain a medical electrode line measurement data time-shift sequence group includes:
[0059] According to the monitoring time T and the data sampling frequency f set , through the formula , calculate the amount of sampled data N; clone the original measurement data sequence to the first measurement array with position sequence number According to the sampling data volume N and the pre-set piecewise constant M, the formula , calculate the time shift interval According to the piecewise constant M and the preset comparison coefficient k, the formula , calculate the first time shift number ; For the first time shift number Round up to get the second time shift number , the second time shift number >2;
[0060] The piecewise constant determines the accuracy of the calculation, and the comparison coefficient k>1 determines the length of the time-shifted data sequence and the number of time-shifts. If the time-shifted data sequence is too long or the number of time-shifts is too many, it may lead to truncation of the time-shifted data sequence; if the time-shifted data sequence is too short or the number of time-shifts is too few, it may affect the accuracy of subsequent calculations. The purpose of setting the comparison coefficient k is to reconcile the contradiction between the above two, and to maximize the length of the time-shifted data sequence and the number of time-shifts while ensuring that the time-shifted data sequence is not truncation. Exemplarily, the monitoring time T=30s, the data sampling frequency f set =1000Hz, then the sampling data volume N=30000. The pre-set segment constant M=600, the pre-set comparison coefficient k=2, then the time shift interval =50, the first time shift number =300, the first time shift number =300.
[0061] According to the time shift interval , the second time shift times , the amount of sampling data N, through the formula , calculate the first cutoff number ; From the first measurement array Intercept As the i-th time-shifted data sequence, i is traversed to take values 0, 1, ... , get the 0th time-shifted data sequence, the 1st time-shifted data sequence, and so on. time-shifted data sequence; the 0th time-shifted data sequence, the 1st time-shifted data sequence, ... the The time-shifted data sequences are combined to obtain a medical electrode line measurement data time-shifted sequence group .
[0062] For example, the calculation is , and obtain the time-shift sequence group of medical electrode line measurement data .
[0063] Furthermore, the method of performing time-shift correlation calculation on the medical electrode line measurement data time-shift sequence group to obtain a first time-shift period C includes:
[0064] By formula Calculate the first time-shift correlation array ; Locate the subscript corresponding to the maximum value of all elements in the first time-shift correlation array, recorded as ;
[0065] By formula C , calculate and obtain the first time shift period C.
[0066] For example, substituting into the formula The first time-shift correlation array is calculated ; The subscript corresponding to the maximum value of all elements in the first time-shift correlation array is 13, that is, ; Through formula C , the first time shift period C=0.65s is calculated.
[0067] Furthermore, the method of calculating a monitoring spectrum characteristic signal based on the medical electrode line spectrum, and performing spectrum matching between the monitoring spectrum characteristic signal and a preset standard spectrum characteristic signal library to obtain a second surgery type label includes:
[0068] Extract the frequency spectrum of the medical electrode line in the pre-set frequency point sequence h1, h2...h Lmax The corresponding spectrum amplitudes are obtained to obtain the first spectrum amplitude sequence P1, P2...P Lmax According to the first spectrum amplitude sequence and the frequency point sequence, through the formula The first characteristic signal H is calculated s1 ; Calculate the maximum value in the first spectrum amplitude sequence to obtain the second characteristic signal H s2 ; Combining the first characteristic signal and the second characteristic signal to obtain a monitoring spectrum characteristic signal;
[0069] The monitoring spectrum characteristic signal includes two elements, namely the first characteristic signal H s1 and the second characteristic signal H s2 The first characteristic signal H s1 It reflects the overall aggregation of the spectrum of the medical electrode line. The second characteristic signal H s1 The combination of the first characteristic signal and the second characteristic signal has a clear distinction for different types of surgeries. For example, the spectrum of the medical electrode line for neurosurgery usually contains more high-frequency components, so the first characteristic signal H s1 The spectrum of the medical electrode line for spinal surgery usually contains more low-frequency components, so the first characteristic signal H s1 Lower; the first characteristic signal H of orthopedic surgery s1In addition, the spectrum of the medical electrode line in neurosurgery is smoother, so the second characteristic signal H s2 The medical electrode line of spinal surgery has more burrs in the spectrum, and the second characteristic signal H s2 Higher; the second characteristic signal H of orthopedic surgery s2 Somewhere in between.
[0070] Reading a preset standard spectrum feature signal library; the standard spectrum feature signal library includes Q standard spectrum feature signal arrays; the Q standard spectrum feature signal arrays each correspond to a standard surgical label;
[0071] The standard spectrum feature signal library needs to be pre-set. For example, the set standard spectrum feature signal library contains three standard spectrum feature signal arrays, and the three standard spectrum feature signal arrays correspond to standard surgical labels: "neurosurgery", "orthopedic surgery", and "spinal surgery". The first standard spectrum feature signal array is ,in , h1, h2...h Lmax is the preset frequency point sequence, It is the average value of the first spectrum amplitude sequence of 100 normal neurosurgery operations measured. ,in Respectively represent the maximum values of the first spectrum amplitude sequence in the 100 neurosurgery surgeries measured. Similarly, according to the first spectrum amplitude sequence of 100 orthopedic surgeries, the second standard spectrum feature signal array is obtained. According to the first spectrum amplitude sequence of 100 spinal surgery patients, the third standard spectrum feature signal array is obtained .
[0072] The pattern distances D1, D2, ..., D formed by the monitoring spectrum characteristic signal and the Q standard spectrum characteristic signal arrays are calculated. Q ; The pattern distance D1, D2...D Q The standard surgery label of the standard spectrum feature signal array corresponding to the minimum value is cloned as the second surgery type label.
[0073] Exemplarily, the pattern distances D1, D2, and D3 formed by the monitoring spectrum characteristic signal and the three standard spectrum characteristic signal arrays are calculated. The minimum value among D1, D2, and D3 is obtained. If the minimum value is D1, "neurosurgery" is cloned as the second surgery type label; if the minimum value is D2, "orthopedic surgery" is cloned as the second surgery type label; if the minimum value is D3, "spinal surgery" is cloned as the second surgery type label.
[0074] Furthermore, the calculation obtains the pattern distances D1, D2, ..., D formed by the monitoring spectrum characteristic signal and the Q standard spectrum characteristic signal arrays. Q The methods include:
[0075] Extract the first element of the Q standard spectrum characteristic signal arrays, respectively denoted as H B11 , H B12 ...H B1Q ; Extract the second element of the Q standard spectrum characteristic signal arrays, respectively denoted as H B21 , H B22 ...H B2Q ; Extract H B11 , H B12 ...H B1Q The minimum value in B1min ; Extract H B11 , H B12 ...H B1Q The maximum value in is denoted as H B1max ; Extract H B21 , H B22 ...H B2Q The minimum value in B2min ; Extract H B21 , H B22 ...H B2Q The maximum value in is denoted as H B2max ;
[0076] Using the formula , , calculate D1, D2...D Q .
[0077] For example, the first elements of the three standard spectrum feature signal arrays are extracted and recorded as H B11 , H B12 , H B13 ; Extract the second element of the three standard spectrum feature signal arrays, respectively denoted as H B21 , H B22 , H B23 ; Extract H B11 , H B12 , H B13 The minimum value in B1min ; Extract H B11 , H B12 , H B13 The maximum value in is denoted as H B1max ; Extract H B21 , H B22 , H B23 The minimum value in B2min; Extract H B21 , H B22 , H B23 The maximum value in is denoted as H B2max Using the formula Calculate D1 and use the formula Calculate D2 and use the formula D3 is calculated.
[0078] Embodiment 2: Based on the same inventive concept, Figure 2 As shown, this embodiment also provides a medical electrode line intelligent identification system, the system comprising:
[0079] The data reading module is used to read the first surgery type label preset on the medical electrode line; binary encode the first surgery type label according to the preset coding rule to obtain the first surgery type code; read the medical electrode line within the preset monitoring time T at the preset data sampling frequency f set The acquired raw measurement data sequence;
[0080] The first time shift period calculation module is connected to the data reading module and is used to calculate the time shift period according to the monitoring time T and the data sampling frequency f set , a preset piecewise constant M and a preset comparison coefficient k, time-shifting the original measurement data sequence to obtain a medical electrode line measurement data time-shift sequence group; performing time-shift correlation calculation on the medical electrode line measurement data time-shift sequence group to obtain a first time-shift period C;
[0081] The second surgery type coding calculation module is connected to the first time shift period calculation module, and is used to perform discrete Fourier transform on the original measurement data sequence with the first time shift period C as a time window to obtain a medical electrode line spectrum; calculate a monitoring spectrum characteristic signal based on the medical electrode line spectrum, perform spectrum matching on the monitoring spectrum characteristic signal with a preset standard spectrum characteristic signal library to obtain a second surgery type label; perform binary encoding on the second surgery type label according to a preset encoding rule to obtain a second surgery type code;
[0082] The matching identification module is connected to the second surgery type code calculation module, and is used to subtract the first surgery type code from the second surgery type code and obtain the absolute value to obtain the surgery matching code; according to the surgery matching code, the electrode line identification result is obtained through a pre-set surgery identification mapping.
[0083] Furthermore, the first time shift period calculation module includes:
[0084] The time-shift parameter calculation module is used to calculate the time-shift parameter according to the monitoring time T and the data sampling frequency fset , through the formula , calculate the amount of sampled data N; clone the original measurement data sequence to the first measurement array with position sequence number According to the sampling data volume N and the pre-set piecewise constant M, the formula , calculate the time shift interval According to the piecewise constant M and the preset comparison coefficient k, the formula , calculate the first time shift number ; For the first time shift number Round up to get the second time shift number , the second time shift number >2;
[0085] A time-shift data sequence construction module is connected to the time-shift parameter calculation module and is used to calculate the time-shift data sequence according to the time-shift interval. , the second time shift times , the amount of sampling data N, through the formula , calculate the first cutoff number ; From the first measurement array Intercept As the i-th time-shifted data sequence, i is traversed to take values 0, 1, ... , get the 0th time-shifted data sequence, the 1st time-shifted data sequence, and so on. time-shifted data sequence; the 0th time-shifted data sequence, the 1st time-shifted data sequence, ... the The time-shifted data sequences are combined to obtain a medical electrode line measurement data time-shifted sequence group .
[0086] Furthermore, the first time shift period calculation module further includes:
[0087] The time-shift correlation calculation module is connected to the time-shift data sequence construction module and is used to calculate the time-shift correlation through the formula Calculate the first time-shift correlation array ; Locate the subscript corresponding to the maximum value of all elements in the first time-shift correlation array, recorded as ;
[0088] The first time shift period output module is connected to the time shift correlation calculation module and is used to calculate the time shift period by formula C , calculate and obtain the first time shift period C.
[0089] Furthermore, the second surgery type coding calculation module includes:
[0090] The monitoring spectrum characteristic signal calculation module is used to extract the spectrum of the medical electrode line in the preset frequency point sequence h1, h2...h Lmax The corresponding spectrum amplitudes are obtained to obtain the first spectrum amplitude sequence P1, P2...P Lmax According to the first spectrum amplitude sequence and the frequency point sequence, through the formula The first characteristic signal H is calculated s1 ; Calculate the maximum value in the first spectrum amplitude sequence to obtain the second characteristic signal H s2 ; Combining the first characteristic signal and the second characteristic signal to obtain a monitoring spectrum characteristic signal;
[0091] A standard spectrum characteristic signal library reading module is connected to the monitoring spectrum characteristic signal calculation module and is used to read a preset standard spectrum characteristic signal library; the standard spectrum characteristic signal library includes Q standard spectrum characteristic signal arrays; each of the Q standard spectrum characteristic signal arrays corresponds to a standard surgical label;
[0092] The second surgery type label calculation module is connected to the standard spectrum feature signal library reading module, and is used to calculate the pattern distances D1, D2, ..., D formed by the monitoring spectrum feature signal and the Q standard spectrum feature signal arrays. Q ; The pattern distance D1, D2...D Q The standard surgery label of the standard spectrum feature signal array corresponding to the minimum value is cloned as the second surgery type label.
[0093] Furthermore, the second surgery type label calculation module includes:
[0094] The characteristic signal extraction module is used to extract the first element of the Q standard spectrum characteristic signal arrays, which are respectively denoted as H B11 , H B12 ...H B1Q ; Extract the second element of the Q standard spectrum characteristic signal arrays, respectively denoted as H B21 , H B22 ...H B2Q ; Extract H B11 , H B12 ...H B1Q The minimum value in B1min ; Extract H B11 , H B12 ...H B1Q The maximum value in is denoted as H B1max ; Extract H B21 , H B22 ...H B2Q The minimum value in B2min ; Extract H B21, H B22 ...H B2Q The maximum value in is denoted as H B2max ;
[0095] The pattern distance calculation module is connected to the characteristic signal extraction module to use the formula , , calculate D1, D2...D Q . .
[0096] It should be noted that, regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0097] Finally, it should be noted that: Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A medical electrode line intelligent identification method, characterized in that: The method comprises: Read the first surgery type tag preset on the medical electrode line; perform binary encoding on the first surgery type tag according to a preset coding rule to obtain a first surgery type code; read the data of the medical electrode line within a preset monitoring time T at a preset data sampling frequency f set The acquired raw measurement data sequence; According to the monitoring time T, the data sampling frequency f set , a preset piecewise constant M and a preset comparison coefficient k, time-shifting the original measurement data sequence to obtain a medical electrode line measurement data time-shift sequence group; performing time-shift correlation calculation on the medical electrode line measurement data time-shift sequence group to obtain a first time-shift period C; The original measurement data sequence is subjected to discrete Fourier transformation with the first time shift period C as a time window to obtain a medical electrode line spectrum; a monitoring spectrum characteristic signal is calculated based on the medical electrode line spectrum, and the monitoring spectrum characteristic signal is spectrally matched with a preset standard spectrum characteristic signal library to obtain a second surgery type label; the second surgery type label is binary-encoded according to a preset coding rule to obtain a second surgery type code; The first surgery type code is subtracted from the second surgery type code, and the absolute value is obtained to obtain a surgery matching code; according to the surgery matching code, an electrode line recognition result is obtained through a preset surgery recognition mapping.
2. The medical electrode line intelligent identification method according to claim 1, characterized in that: The monitoring time T and the data sampling frequency f set , a preset piecewise constant M and a preset comparison coefficient k, and time-shifting the original measurement data sequence to obtain a medical electrode line measurement data time-shift sequence group includes: According to the monitoring time T and the data sampling frequency f set , through the formula , calculate the amount of sampled data N; clone the original measurement data sequence to the first measurement array with position sequence number According to the sampling data volume N and the pre-set piecewise constant M, the formula , calculate the time shift interval According to the piecewise constant M and the preset comparison coefficient k, the formula , calculate the first time shift number ; For the first time shift number Round up to get the second time shift number , the second time shift number >2; According to the time shift interval , Second time shift times , the amount of sampling data N, through the formula , calculate the first cutoff number ; From the first measurement array Intercept As the i-th time-shifted data sequence, i is traversed to take values 0, 1, ... , we get the 0th time-shifted data sequence, the 1st time-shifted data sequence, and so on. time-shifted data sequence; the 0th time-shifted data sequence, the 1st time-shifted data sequence, ... the The time-shifted data sequences are combined to obtain a medical electrode line measurement data time-shifted sequence group .
3. The medical electrode line intelligent identification method according to claim 1, characterized in that: The method of performing time-shift correlation calculation on the medical electrode line measurement data time-shift sequence group to obtain the first time-shift period C comprises: By formula Calculate the first time-shift correlation array ; Locate the subscript corresponding to the maximum value of all elements in the first time-shift correlation array, recorded as ; By formula C , calculate and obtain the first time shift period C.
4. The medical electrode line intelligent identification method according to claim 1, characterized in that: The method of calculating a monitoring spectrum characteristic signal according to the medical electrode line spectrum, and performing spectrum matching between the monitoring spectrum characteristic signal and a preset standard spectrum characteristic signal library to obtain a second surgery type label includes: Extract the frequency spectrum of the medical electrode line in the pre-set frequency point sequence h1, h2...h Lmax The corresponding spectrum amplitudes are obtained to obtain the first spectrum amplitude sequence P1, P2...P Lmax According to the first spectrum amplitude sequence and the frequency point sequence, through the formula The first characteristic signal H is calculated s1 ; Calculate the maximum value in the first spectrum amplitude sequence to obtain the second characteristic signal H s2 ; Combining the first characteristic signal and the second characteristic signal to obtain a monitoring spectrum characteristic signal; Reading a preset standard spectrum feature signal library; the standard spectrum feature signal library includes Q standard spectrum feature signal arrays; the Q standard spectrum feature signal arrays each correspond to a standard surgical label; The pattern distances D1, D2, ..., D formed by the monitoring spectrum characteristic signal and the Q standard spectrum characteristic signal arrays are calculated. Q ; The pattern distance D1, D2...D Q The standard surgery label of the standard spectrum feature signal array corresponding to the minimum value is cloned as the second surgery type label.
5. The medical electrode line intelligent identification method according to claim 4, characterized in that: The calculated pattern distances D1, D2, ..., D formed by the monitoring spectrum characteristic signal and Q standard spectrum characteristic signal arrays are Q The methods include: Extract the first element of the Q standard spectrum characteristic signal arrays, respectively denoted as H B11 , H B12 ...H B1Q ; Extract the second element of the Q standard spectrum characteristic signal arrays, respectively denoted as H B21 , H B22 ...H B2Q ; Extract H B11 , H B12 ...H B1Q The minimum value in B1min ; Extract H B11 , H B12 ...H B1Q The maximum value in is denoted as H B1max ; Extract H B21 , H B22 ...H B2Q The minimum value in B2min ; Extract H B21 , H B22 ...H B2Q The maximum value in is denoted as H B2max ; Using the formula , , calculate D1, D2...D Q .
6. A medical electrode line intelligent identification system, characterized in that: The system comprises: The data reading module is used to read the first surgery type label preset on the medical electrode line; binary encode the first surgery type label according to the preset coding rule to obtain the first surgery type code; read the medical electrode line within the preset monitoring time T at the preset data sampling frequency f set The acquired raw measurement data sequence; The first time shift period calculation module is connected to the data reading module and is used to calculate the time shift period according to the monitoring time T and the data sampling frequency f set , a preset piecewise constant M and a preset comparison coefficient k, time-shifting the original measurement data sequence to obtain a medical electrode line measurement data time-shift sequence group; performing time-shift correlation calculation on the medical electrode line measurement data time-shift sequence group to obtain a first time-shift period C; The second surgery type coding calculation module is connected to the first time shift period calculation module, and is used to perform discrete Fourier transform on the original measurement data sequence with the first time shift period C as a time window to obtain a medical electrode line spectrum; calculate a monitoring spectrum characteristic signal based on the medical electrode line spectrum, perform spectrum matching on the monitoring spectrum characteristic signal with a preset standard spectrum characteristic signal library to obtain a second surgery type label; perform binary encoding on the second surgery type label according to a preset encoding rule to obtain a second surgery type code; The matching identification module is connected to the second surgery type code calculation module, and is used to subtract the first surgery type code from the second surgery type code and obtain the absolute value to obtain the surgery matching code; according to the surgery matching code, the electrode line identification result is obtained through a pre-set surgery identification mapping.
7. The medical electrode line intelligent identification system according to claim 6, characterized in that: The first time shift period calculation module includes: The time-shift parameter calculation module is used to calculate the time-shift parameter according to the monitoring time T and the data sampling frequency f set , through the formula , calculate the amount of sampled data N; clone the original measurement data sequence to the first measurement array with position sequence number According to the sampling data volume N and the pre-set piecewise constant M, the formula , calculate the time shift interval According to the piecewise constant M and the preset comparison coefficient k, the formula , calculate the first time shift number ; For the first time shift number Round up to get the second time shift number , the second time shift number >2; A time-shift data sequence construction module is connected to the time-shift parameter calculation module and is used to calculate the time-shift data sequence according to the time-shift interval. , Second time shift times , the amount of sampling data N, through the formula , calculate the first cutoff number ; From the first measurement array Intercept As the i-th time-shifted data sequence, i is traversed to take values 0, 1, ... , we get the 0th time-shifted data sequence, the 1st time-shifted data sequence, and so on. time-shifted data sequence; the 0th time-shifted data sequence, the 1st time-shifted data sequence, ... the The time-shifted data sequences are combined to obtain a medical electrode line measurement data time-shifted sequence group .
8. The medical electrode line intelligent identification system according to claim 6, characterized in that: The first time shift period calculation module also includes: The time-shift correlation calculation module is connected to the time-shift data sequence construction module and is used to calculate the time-shift correlation through the formula Calculate the first time-shift correlation array ; Locate the subscript corresponding to the maximum value of all elements in the first time-shift correlation array, recorded as ; The first time shift period output module is connected to the time shift correlation calculation module and is used to calculate the time shift period by formula C , calculate and obtain the first time shift period C.
9. The medical electrode line intelligent identification system according to claim 6, characterized in that: The second operation type coding calculation module includes: The monitoring spectrum characteristic signal calculation module is used to extract the spectrum of the medical electrode line in the preset frequency point sequence h1, h2...h Lmax The corresponding spectrum amplitudes are obtained to obtain the first spectrum amplitude sequence P1, P2...P Lmax According to the first spectrum amplitude sequence and the frequency point sequence, through the formula The first characteristic signal H is calculated s1 ; Calculate the maximum value in the first spectrum amplitude sequence to obtain the second characteristic signal H s2 ; Combining the first characteristic signal and the second characteristic signal to obtain a monitoring spectrum characteristic signal; A standard spectrum characteristic signal library reading module is connected to the monitoring spectrum characteristic signal calculation module and is used to read a preset standard spectrum characteristic signal library; the standard spectrum characteristic signal library includes Q standard spectrum characteristic signal arrays; each of the Q standard spectrum characteristic signal arrays corresponds to a standard surgical label; The second surgery type label calculation module is connected to the standard spectrum feature signal library reading module, and is used to calculate the pattern distances D1, D2, ..., D formed by the monitoring spectrum feature signal and the Q standard spectrum feature signal arrays. Q ; The pattern distance D1, D2...D Q The standard surgery label of the standard spectrum feature signal array corresponding to the minimum value is cloned as the second surgery type label.
10. The medical electrode line intelligent identification system according to claim 9, characterized in that: The second surgery type label calculation module includes: The characteristic signal extraction module is used to extract the first element of the Q standard spectrum characteristic signal arrays, which are respectively denoted as H B11 , H B12 ...H B1Q ; Extract the second element of the Q standard spectrum characteristic signal arrays, respectively denoted as H B21 , H B22 ...H B2Q ; Extract H B11 , H B12 ...H B1Q The minimum value in B1min ; Extract H B11 , H B12 ...H B1Q The maximum value in is denoted as H B1max ; Extract H B21 , H B22 ...H B2Q The minimum value in B2min ; Extract H B21 , H B22 ...H B2Q The maximum value in is denoted as H B2max ; The pattern distance calculation module is connected to the characteristic signal extraction module to use the formula , , calculate D1, D2...D Q .
Citation Information
Patent Citations
Methods and systems for identifying presence of abnormal heart sounds of a subject
EP3885974A1
Identifying variation in surgical approaches
WO2022219126A1
