CN115883670B - Medical data analysis and acquisition method and device - Google Patents
Medical data analysis and acquisition method and device Download PDFInfo
- Publication number
- CN115883670B CN115883670B CN202310138633.8A CN202310138633A CN115883670B CN 115883670 B CN115883670 B CN 115883670B CN 202310138633 A CN202310138633 A CN 202310138633A CN 115883670 B CN115883670 B CN 115883670B
- Authority
- CN
- China
- Prior art keywords
- data
- target
- compression algorithm
- algorithm
- medical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a medical data analysis and acquisition method and device, and relates to the technical field of data processing. Acquiring average medical data of a target person in a historical period and monitoring medical data of a current period, and determining a target data transmission mode of the current period of the monitoring medical data; executing a target data transmission mode matching corresponding target compression algorithm, and compressing the monitoring medical data to obtain an acquisition data packet; combining the acquired data packet with the compression identifier and sending the combined acquired data packet to a cloud medical server; and according to a target decompression algorithm corresponding to the target compression algorithm matched with the compression identification, decompressing the acquired data packet by using the target decompression algorithm to obtain medical acquired data corresponding to the monitored medical data, and monitoring the current state of the target personnel according to the medical acquired data. By analyzing the average medical data and monitoring the medical data, the efficient compression algorithm is adaptively matched, so that occupation of redundant information on network resources and storage resources is reduced, and the effectiveness of medical data acquisition is ensured.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a medical data analysis and acquisition method and device.
Background
Under the information age, the scientific technologies such as big data technology, internet of things technology and the like are rapidly developed and widely applied, and particularly applied to remote health monitoring. Nowadays, biological signals, in particular electrocardiographic signals, are collected periodically for screening, but also can be accessed online to facilitate diagnosis and to improve healthcare quality.
However, the existing acquisition method is generally only used for acquiring and uploading medical data, and a large amount of data in daily monitoring is redundant information, so that the acquisition amount of the medical data is huge, and a large amount of network resources and storage resources are occupied.
Disclosure of Invention
The invention aims to solve the problems of the background technology and provides a medical data analysis and acquisition method and a device.
The aim of the invention can be achieved by the following technical scheme:
the embodiment of the invention provides a medical data analysis and acquisition method, which comprises the following steps:
acquiring average medical data of a target person in a historical period and monitoring medical data of a current period, and determining a target data transmission mode of the current period of the monitoring medical data according to the average medical data;
executing a target compression algorithm corresponding to the target data transmission mode matching, and compressing the monitoring medical data to obtain an acquisition data packet;
combining the acquired data packet with the compression identifier and sending the combined acquired data packet to a cloud medical server; the compression identifier is used for uniquely identifying the target compression algorithm;
and matching a target decompression algorithm corresponding to the target compression algorithm according to the compression identifier by the cloud medical server, decompressing the acquired data packet by using the target decompression algorithm to obtain medical acquired data corresponding to the monitoring medical data, and monitoring the current state of the target personnel according to the medical acquired data.
Optionally, the target data transmission mode includes low risk data transmission, medium risk data transmission, and high risk data transmission; determining a target data transmission mode of the current period of the monitoring medical data according to the average medical data comprises:
calculating the similarity of the average medical data and the monitoring medical data; the higher the similarity, the less risk the medical data is monitored;
and determining the target data transmission mode according to the similarity.
Optionally, the target compression algorithm includes a lossless compression algorithm, a lossy compression algorithm, and a lossless lossy hybrid compression algorithm; the low-risk data transmission corresponds to a lossy compression algorithm, the medium-risk data transmission corresponds to a lossless lossy hybrid compression algorithm, and the high-risk data transmission corresponds to a lossless compression algorithm; the lossless compression algorithm comprises at least one of a run-length coding algorithm, a Huffman coding algorithm, a partial matching prediction algorithm and a Rice Golomb coding algorithm; the lossy compression algorithm comprises at least one of a vector quantization algorithm, a transform coding algorithm and a wavelet compression algorithm; the lossless lossy hybrid compression algorithm extracts a signal by a lossy compression algorithm, and then the lossless compression algorithm encodes the extracted signal.
Optionally, the compression flow of the lossless lossy hybrid compression algorithm is:
extracting the monitored medical data 3 times, namely x [ n ] =x [3n ], then performing self-differentiation to ensure that x [ n ] =x [ n+1] -x [ n ] and storing x [0] in a variable F;
determining the minimum negative value and adding the minimum negative value to the signal, so that the sequence is positive, namely x [ n ] = x [ n ] +min, and min= |min (x [ n ])|, and adding the minimum value at the 0 th position of the signal, namely x [0] = min;
determining the mean of the signal, shifting the mean left M times, where m=2 K K is valued between 1 and 7, Q is the quotient of the average value divided by M, R is the rest number, Q is represented by unary, R is represented by binary system, and the K bit value of the cascade array QR is obtained;
determining that the K value is in the range of 1-7, the QR length is shortest, fixing the K value, and shifting each data of the signal to the left by 2 K Obtaining a two-dimensional array of the QR, and connecting the two-dimensional array to obtain a one-dimensional range;
splitting the array into 8 bits, converting the data into decimal, and adding F to the decimal array at the 0 th bit to obtain a final compressed signal serving as the acquisition data packet.
Optionally, the decompression flow of the lossless lossy hybrid compression algorithm is as follows:
removing bit 0 elements from the acquired data packet, converting each data element into 8-bit binary data and concatenating them to obtain a one-dimensional array;
the first Q value is the first 1, the following K bit is R, through formula 2 K * Q+R determines the decoded data, repeatedly executing until all elements are determined;
the element at the 0 th index is stored as min, and min is subtracted from the element of the array;
adding consecutive elements such that x [ n ] = x [ n-1] + x [ n ] where n takes a value from 1 to n and x [0] = F;
the signal is interpolated by a factor of 3 by inserting the same previous value, where x [ n ] = x [ n/3], to obtain a reconstructed signal.
The embodiment of the invention also provides a medical data analysis and acquisition device, which comprises:
the analysis module is used for acquiring average medical data of a historical period of a target person and monitoring medical data of a current period, and determining a target data transmission mode of the current period of the monitoring medical data according to the average medical data;
the compression module is used for executing a target compression algorithm corresponding to the target data transmission mode matching, and compressing the monitoring medical data to obtain an acquisition data packet;
the sending module is used for combining the acquired data packet with the compression identifier and sending the combined acquired data packet to the cloud medical server; the compression identifier is used for uniquely identifying the target compression algorithm;
and the decompression analysis module is used for matching a target decompression algorithm corresponding to the target compression algorithm according to the compression identifier at the cloud medical server, decompressing the acquired data packet by using the target decompression algorithm to obtain medical acquired data corresponding to the monitored medical data, and monitoring the current state of the target personnel according to the medical acquired data.
Optionally, the target data transmission mode includes low risk data transmission, medium risk data transmission, and high risk data transmission; the analysis module comprises a calculation module and a matching module:
the calculation module is used for calculating the similarity between the average medical data and the monitoring medical data; the higher the similarity, the less risk the medical data is monitored;
and the matching module is used for determining the target data transmission mode according to the similarity.
Optionally, the target compression algorithm includes a lossless compression algorithm, a lossy compression algorithm, and a lossless lossy hybrid compression algorithm; the low-risk data transmission corresponds to a lossy compression algorithm, the medium-risk data transmission corresponds to a lossless lossy hybrid compression algorithm, and the high-risk data transmission corresponds to a lossless compression algorithm; the lossless compression algorithm comprises at least one of a run-length coding algorithm, a Huffman coding algorithm, a partial matching prediction algorithm and a Rice Golomb coding algorithm; the lossy compression algorithm comprises at least one of a vector quantization algorithm, a transform coding algorithm and a wavelet compression algorithm; the lossless lossy hybrid compression algorithm extracts a signal by a lossy compression algorithm, and then the lossless compression algorithm encodes the extracted signal.
Optionally, the compression module executes a compression flow of the lossless lossy hybrid compression algorithm as follows:
extracting the monitored medical data 3 times, namely x [ n ] =x [3n ], then performing self-differentiation to ensure that x [ n ] =x [ n+1] -x [ n ] and storing x [0] in a variable F;
determining the minimum negative value and adding the minimum negative value to the signal, so that the sequence is positive, namely x [ n ] = x [ n ] +min, and min= |min (x [ n ])|, and adding the minimum value at the 0 th position of the signal, namely x [0] = min;
determining the mean of the signal, shifting the mean left M times, where m=2 K K is valued between 1 and 7, Q is the quotient of the average value divided by M, R is the rest number, Q is represented by unary, R is represented by binary system, and the K bit value of the cascade array QR is obtained;
determining that the K value is in the range of 1-7, the QR length is shortest, fixing the K value, and shifting each data of the signal to the left by 2 K Obtaining a two-dimensional array of the QR, and connecting the two-dimensional array to obtain a one-dimensional range;
splitting the array into 8 bits, converting the data into decimal, and adding F to the decimal array at the 0 th bit to obtain a final compressed signal serving as the acquisition data packet.
Optionally, the decompression flow of the compression module executing the lossless lossy hybrid compression algorithm is:
removing bit 0 elements from the acquired data packet, converting each data element into 8-bit binary data and concatenating them to obtain a one-dimensional array;
the first Q value is the first 1, the following K bit is R, through formula 2 K * Q+R determines the decoded data, repeatedly executing until all elements are determined;
the element at the 0 th index is stored as min, and min is subtracted from the element of the array;
adding consecutive elements such that x [ n ] = x [ n-1] + x [ n ] where n takes a value from 1 to n and x [0] = F;
the signal is interpolated by a factor of 3 by inserting the same previous value, where x [ n ] = x [ n/3], to obtain a reconstructed signal.
The invention has the beneficial effects that:
the embodiment of the invention provides a medical data analysis and acquisition method, which is used for acquiring average medical data of a target person in a historical period and monitoring medical data of a current period, and determining a target data transmission mode of the current period of the monitoring medical data according to the average medical data; executing a target data transmission mode matching corresponding target compression algorithm, and compressing the monitoring medical data to obtain an acquisition data packet; combining the acquired data packet with the compression identifier and sending the combined acquired data packet to a cloud medical server; the compression identifier is used for uniquely identifying a target compression algorithm; and matching a target decompression algorithm corresponding to the target compression algorithm according to the compression identifier at the cloud medical server, decompressing the acquired data packet by using the target decompression algorithm to obtain medical acquired data corresponding to the monitored medical data, and monitoring the current state of the target personnel according to the medical acquired data. By analyzing the average medical data and monitoring the medical data, the efficient compression algorithm is adaptively matched, so that occupation of redundant information on network resources and storage resources is reduced, and the effectiveness of medical data acquisition is ensured.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a diagram of a medical data analysis and collection method according to an embodiment of the present invention;
fig. 2 is a block diagram of a medical data analysis and acquisition device according to an embodiment of the present invention.
Description of the embodiments
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention provides a medical data analysis and acquisition method. Referring to fig. 1, fig. 1 is a schematic diagram of a medical data analysis and acquisition method according to an embodiment of the present invention. The method comprises the following steps:
s101, acquiring average medical data of a historical period of a target person and monitoring medical data of a current period, and determining a target data transmission mode of the current period of the monitoring medical data according to the average medical data.
S102, executing a target compression algorithm corresponding to the target data transmission mode matching, and compressing the monitoring medical data to obtain an acquisition data packet.
S103, combining the acquired data packet with the compression identifier and sending the combined acquired data packet to a cloud medical server; the compression identifier is used to uniquely identify the target compression algorithm.
S104, matching a target decompression algorithm corresponding to the target compression algorithm according to the compression identification at the cloud medical server, decompressing the acquired data packet by using the target decompression algorithm to obtain medical acquired data corresponding to the monitored medical data, and monitoring the current state of the target personnel according to the medical acquired data.
According to the medical data analysis and acquisition method provided by the embodiment of the invention, the average medical data and the monitored medical data are analyzed, the compression algorithm with high efficiency is adaptively matched, and further, the occupation of redundant information on network resources and storage resources is reduced, and the effectiveness of medical data acquisition is ensured.
In one implementation, the redundant information in the average medical data is a majority, which can reflect the data characteristics of the redundant information during daily collection, and by comparing the monitored medical data in the current period with the average medical data, it can be determined whether the monitored medical data carries more useful data.
In one embodiment, the target data transmission mode includes low risk data transmission, medium risk data transmission, and high risk data transmission; determining a target data transmission mode for monitoring a current period of medical data based on the average medical data includes:
calculating the similarity between the average medical data and the monitored medical data; the higher the similarity, the smaller the risk of monitoring medical data;
and determining the target data transmission mode according to the similarity.
In one implementation, the higher the similarity, the less risk the medical data is monitored, which is more likely to be redundant information for daily monitoring, so low risk data transmission can be employed; the lower the similarity, the greater the risk of monitoring medical data, the more likely it is to burst monitoring information, so high risk data transmission can be employed; the remainder may be divided into risk data transmissions.
In one embodiment, the target compression algorithm includes a lossless compression algorithm, a lossy compression algorithm, and a lossless lossy hybrid compression algorithm; the low risk data transmission corresponds to a lossy compression algorithm, the medium risk data transmission corresponds to a lossless lossy hybrid compression algorithm, and the high risk data transmission corresponds to a lossless compression algorithm; the lossless compression algorithm comprises at least one of a run-length coding algorithm, a Huffman coding algorithm, a partial matching prediction algorithm and a Rice Golomb coding algorithm; the lossy compression algorithm comprises at least one of a vector quantization algorithm, a transform coding algorithm and a wavelet compression algorithm; the lossless lossy hybrid compression algorithm extracts a signal by the lossy compression algorithm, and then the extracted signal is encoded by the lossless compression algorithm.
In one implementation, a lossy compression algorithm is used for low risk data transmission to reduce the amount of data transmission and storage; for the transmission of the risk data, a lossless and lossy hybrid compression algorithm is adopted to reduce the data transmission quantity and the memory quantity as much as possible; and adopting a lossless compression algorithm for high-risk data transmission, and storing all acquired information so as to carry out data analysis subsequently.
In one embodiment, the compression flow of the lossless lossy hybrid compression algorithm is:
extracting the monitored medical data 3 times, namely x [ n ] =x [3n ], then performing self-differentiation to ensure that x [ n ] =x [ n+1] -x [ n ] and storing x [0] in a variable F;
determining the minimum negative value and adding the minimum negative value to the signal, so that the sequence is positive, namely x [ n ] = x [ n ] +min, and min= |min (x [ n ])|, and adding the minimum value at the 0 th position of the signal, namely x [0] = min;
determining the mean of the signal, shifting the mean left M times, where m=2 K K is valued between 1 and 7, Q is the quotient of the average value divided by M, R is the rest number, Q is represented by unary, R is represented by binary system, and the K bit value of the cascade array QR is obtained;
determining that the K value is in the range of 1-7, the QR length is shortest, fixing the K value, and shifting each data of the signal to the left by 2 K Obtaining a two-dimensional array of the QR, and connecting the two-dimensional array to obtain a one-dimensional range;
splitting the array into 8 bits, converting the data into decimal, and adding F into the decimal array at the 0 th bit to obtain a final compressed signal as an acquisition data packet.
In one embodiment, the decompression flow of the lossless lossy hybrid compression algorithm is:
removing bit 0 elements from the collected data packet, converting each data element into 8-bit binary data and concatenating them to obtain a one-dimensional array;
the first Q value is the first 1, the following K bit is R, through formula 2 K * Q+R determines the decoded data, repeatedly executing until all elements are determined;
the element at the 0 th index is stored as min, and min is subtracted from the element of the array;
adding consecutive elements such that x [ n ] = x [ n-1] + x [ n ] where n takes a value from 1 to n and x [0] = F;
the signal is interpolated by a factor of 3 by inserting the same previous value, where x [ n ] = x [ n/3], to obtain a reconstructed signal.
Based on the same inventive concept, the embodiment of the present invention further provides a medical data analysis and acquisition device, referring to fig. 2, fig. 2 is a structural diagram of the medical data analysis and acquisition device provided by the embodiment of the present invention, where the device includes:
the analysis module is used for acquiring average medical data of the historical period of the target personnel and monitoring medical data of the current period, and determining a target data transmission mode of the current period of the monitoring medical data according to the average medical data;
the compression module is used for executing a target data transmission mode matching corresponding target compression algorithm and compressing the monitoring medical data to obtain an acquisition data packet;
the sending module is used for combining the acquired data packet with the compression identifier and sending the acquired data packet to the cloud medical server; the compression identifier is used for uniquely identifying a target compression algorithm;
the decompression analysis module is used for matching a target decompression algorithm corresponding to the target compression algorithm according to the compression identification at the cloud medical server, decompressing the acquired data packet by using the target decompression algorithm to obtain medical acquired data corresponding to the monitored medical data, and monitoring the current state of the target personnel according to the medical acquired data.
According to the medical data analysis and acquisition device provided by the embodiment of the invention, the average medical data and the monitored medical data are analyzed, the compression algorithm with high efficiency is adaptively matched, and further, the occupation of redundant information on network resources and storage resources is reduced, and the effectiveness of medical data acquisition is ensured.
In one embodiment, the target data transmission mode includes low risk data transmission, medium risk data transmission, and high risk data transmission; the analysis module comprises a calculation module and a matching module:
the calculation module is used for calculating the similarity between the average medical data and the monitored medical data; the higher the similarity, the smaller the risk of monitoring medical data;
and the matching module is used for determining a target data transmission mode according to the similarity.
In one embodiment, the target compression algorithm includes a lossless compression algorithm, a lossy compression algorithm, and a lossless lossy hybrid compression algorithm; the low risk data transmission corresponds to a lossy compression algorithm, the medium risk data transmission corresponds to a lossless lossy hybrid compression algorithm, and the high risk data transmission corresponds to a lossless compression algorithm; the lossless compression algorithm comprises at least one of a run-length coding algorithm, a Huffman coding algorithm, a partial matching prediction algorithm and a Rice Golomb coding algorithm; the lossy compression algorithm comprises at least one of a vector quantization algorithm, a transform coding algorithm and a wavelet compression algorithm; the lossless lossy hybrid compression algorithm extracts a signal by the lossy compression algorithm, and then the extracted signal is encoded by the lossless compression algorithm.
In one embodiment, the compression module performs a lossless lossy hybrid compression algorithm with a compression flow of:
extracting the monitored medical data 3 times, namely x [ n ] =x [3n ], then performing self-differentiation to ensure that x [ n ] =x [ n+1] -x [ n ] and storing x [0] in a variable F;
determining the minimum negative value and adding the minimum negative value to the signal, so that the sequence is positive, namely x [ n ] = x [ n ] +min, and min= |min (x [ n ])|, and adding the minimum value at the 0 th position of the signal, namely x [0] = min;
determining the mean of the signal, shifting the mean left M times, where m=2 K K is valued between 1 and 7, Q is the quotient of the average value divided by M, R is the rest number, Q is represented by unary, R is represented by binary system, and the K bit value of the cascade array QR is obtained;
determining that the K value is in the range of 1-7, the QR length is shortest, fixing the K value, and shifting each data of the signal to the left by 2 K Obtaining a two-dimensional array of the QR, and connecting the two-dimensional array to obtain a one-dimensional range;
splitting the array into 8 bits, converting the data into decimal, and adding F into the decimal array at the 0 th bit to obtain a final compressed signal as an acquisition data packet.
In one embodiment, the decompression flow of the lossless lossy hybrid compression algorithm performed by the compression module is:
removing bit 0 elements from the collected data packet, converting each data element into 8-bit binary data and concatenating them to obtain a one-dimensional array;
the first Q value is the first 1, the following K bit is R, through formula 2 K * Q+R determines the decoded data, repeatedly executing until all elements are determined;
the element at the 0 th index is stored as min, and min is subtracted from the element of the array;
adding consecutive elements such that x [ n ] = x [ n-1] + x [ n ] where n takes a value from 1 to n and x [0] = F;
the signal is interpolated by a factor of 3 by inserting the same previous value, where x [ n ] = x [ n/3], to obtain a reconstructed signal.
The foregoing describes one embodiment of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All equivalent changes and modifications within the scope of the present invention are intended to be covered by the present invention.
Claims (4)
1. A medical data analysis and acquisition method, the method comprising:
acquiring average medical data of a target person in a historical period and monitoring medical data of a current period, and determining a target data transmission mode of the current period of the monitoring medical data according to the average medical data;
executing a target compression algorithm corresponding to the target data transmission mode matching, and compressing the monitoring medical data to obtain an acquisition data packet;
combining the acquired data packet with the compression identifier and sending the combined acquired data packet to a cloud medical server; the compression identifier is used for uniquely identifying the target compression algorithm;
matching a target decompression algorithm corresponding to the target compression algorithm according to the compression identifier at the cloud medical server, decompressing the acquired data packet by using the target decompression algorithm to obtain medical acquired data corresponding to the monitoring medical data, and monitoring the current state of the target personnel according to the medical acquired data;
the target data transmission mode comprises low risk data transmission, medium risk data transmission and high risk data transmission; determining a target data transmission mode of the current period of the monitoring medical data according to the average medical data comprises:
calculating the similarity of the average medical data and the monitoring medical data; the higher the similarity, the less risk the medical data is monitored;
determining the target data transmission mode according to the similarity;
the target compression algorithm comprises a lossless compression algorithm, a lossy compression algorithm and a lossless and lossy hybrid compression algorithm; the low-risk data transmission corresponds to a lossy compression algorithm, the medium-risk data transmission corresponds to a lossless lossy hybrid compression algorithm, and the high-risk data transmission corresponds to a lossless compression algorithm; the lossless compression algorithm comprises at least one of a run-length coding algorithm, a Huffman coding algorithm, a partial matching prediction algorithm and a Rice Golomb coding algorithm; the lossy compression algorithm comprises at least one of a vector quantization algorithm, a transform coding algorithm and a wavelet compression algorithm; the lossless lossy hybrid compression algorithm extracts signals through a lossy compression algorithm, and then the lossless compression algorithm encodes the extracted signals;
the compression flow of the lossless lossy hybrid compression algorithm is as follows:
extracting the monitored medical data 3 times, namely x [ n ] =x [3n ], then performing self-differentiation to ensure that x [ n ] =x [ n+1] -x [ n ] and storing x [0] in a variable F;
determining the minimum negative value and adding the minimum negative value to the signal, so that the sequence is positive, namely x [ n ] = x [ n ] +min, and min= |min (x [ n ])|, and adding the minimum value at the 0 th position of the signal, namely x [0] = min;
determining the mean of the signal, shifting the mean left M times, where m=2 K K is valued between 1 and 7, Q is the quotient of the average value divided by M, R is the rest number, Q is represented by unary, R is represented by binary system, and the K bit value of the cascade array QR is obtained;
determining that the K value is in the range of 1-7, enabling the length of the QR to be shortest, fixing the K value, and enabling each data of the signals to beLeft shift 2 K Obtaining a two-dimensional array of the QR, and connecting the two-dimensional array to obtain a one-dimensional range;
splitting the array into 8 bits, converting the data into decimal, and adding F to the decimal array at the 0 th bit to obtain a final compressed signal serving as the acquisition data packet.
2. The medical data analysis and acquisition method according to claim 1, wherein the decompression flow of the lossless lossy hybrid compression algorithm is as follows:
removing bit 0 elements from the acquired data packet, converting each data element into 8-bit binary data and concatenating them to obtain a one-dimensional array;
the first Q value is the first 1, the following K bit is R, through formula 2 K * Q+R determines the decoded data, repeatedly executing until all elements are determined;
the element at the 0 th index is stored as min, and min is subtracted from the element of the array;
adding consecutive elements such that x [ n ] = x [ n-1] + x [ n ] where n takes a value from 1 to n and x [0] = F;
the signal is interpolated by a factor of 3 by inserting the same previous value, where x [ n ] = x [ n/3], to obtain a reconstructed signal.
3. A medical data analysis acquisition device, the device comprising:
the analysis module is used for acquiring average medical data of a historical period of a target person and monitoring medical data of a current period, and determining a target data transmission mode of the current period of the monitoring medical data according to the average medical data;
the compression module is used for executing a target compression algorithm corresponding to the target data transmission mode matching, and compressing the monitoring medical data to obtain an acquisition data packet;
the sending module is used for combining the acquired data packet with the compression identifier and sending the combined acquired data packet to the cloud medical server; the compression identifier is used for uniquely identifying the target compression algorithm;
the decompression analysis module is used for matching a target decompression algorithm corresponding to the target compression algorithm according to the compression identifier at the cloud medical server, decompressing the acquired data packet by using the target decompression algorithm to obtain medical acquired data corresponding to the monitoring medical data, and monitoring the current state of the target personnel according to the medical acquired data;
the target data transmission mode comprises low risk data transmission, medium risk data transmission and high risk data transmission; the analysis module comprises a calculation module and a matching module:
the calculation module is used for calculating the similarity between the average medical data and the monitoring medical data; the higher the similarity, the less risk the medical data is monitored;
the matching module is used for determining the target data transmission mode according to the similarity;
the target compression algorithm comprises a lossless compression algorithm, a lossy compression algorithm and a lossless and lossy hybrid compression algorithm; the low-risk data transmission corresponds to a lossy compression algorithm, the medium-risk data transmission corresponds to a lossless lossy hybrid compression algorithm, and the high-risk data transmission corresponds to a lossless compression algorithm; the lossless compression algorithm comprises at least one of a run-length coding algorithm, a Huffman coding algorithm, a partial matching prediction algorithm and a Rice Golomb coding algorithm; the lossy compression algorithm comprises at least one of a vector quantization algorithm, a transform coding algorithm and a wavelet compression algorithm; the lossless lossy hybrid compression algorithm extracts signals through a lossy compression algorithm, and then the lossless compression algorithm encodes the extracted signals;
the compression flow of the compression module executing the lossless lossy hybrid compression algorithm is as follows:
extracting the monitored medical data 3 times, namely x [ n ] =x [3n ], then performing self-differentiation to ensure that x [ n ] =x [ n+1] -x [ n ] and storing x [0] in a variable F;
determining the minimum negative value and adding the minimum negative value to the signal, so that the sequence is positive, namely x [ n ] = x [ n ] +min, and min= |min (x [ n ])|, and adding the minimum value at the 0 th position of the signal, namely x [0] = min;
determining the mean of the signal, shifting the mean left M times, where m=2 K K is valued between 1 and 7, Q is the quotient of the average value divided by M, R is the rest number, Q is represented by unary, R is represented by binary system, and the K bit value of the cascade array QR is obtained;
determining that the K value is in the range of 1-7, the QR length is shortest, fixing the K value, and shifting each data of the signal to the left by 2 K Obtaining a two-dimensional array of the QR, and connecting the two-dimensional array to obtain a one-dimensional range;
splitting the array into 8 bits, converting the data into decimal, and adding F to the decimal array at the 0 th bit to obtain a final compressed signal serving as the acquisition data packet.
4. A medical data analysis and acquisition device according to claim 3, wherein the decompression process performed by the compression module to perform the lossless lossy hybrid compression algorithm is:
removing bit 0 elements from the acquired data packet, converting each data element into 8-bit binary data and concatenating them to obtain a one-dimensional array;
the first Q value is the first 1, the following K bit is R, through formula 2 K * Q+R determines the decoded data, repeatedly executing until all elements are determined;
the element at the 0 th index is stored as min, and min is subtracted from the element of the array;
adding consecutive elements such that x [ n ] = x [ n-1] + x [ n ] where n takes a value from 1 to n and x [0] = F;
the signal is interpolated by a factor of 3 by inserting the same previous value, where x [ n ] = x [ n/3], to obtain a reconstructed signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310138633.8A CN115883670B (en) | 2023-02-21 | 2023-02-21 | Medical data analysis and acquisition method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310138633.8A CN115883670B (en) | 2023-02-21 | 2023-02-21 | Medical data analysis and acquisition method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115883670A CN115883670A (en) | 2023-03-31 |
CN115883670B true CN115883670B (en) | 2023-05-12 |
Family
ID=85761350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310138633.8A Active CN115883670B (en) | 2023-02-21 | 2023-02-21 | Medical data analysis and acquisition method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115883670B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116168790B (en) * | 2023-04-25 | 2023-07-14 | 深圳爱递医药科技有限公司 | Big data recruitment system for clinical trial |
CN116506514B (en) * | 2023-06-27 | 2023-12-12 | 大唐融合通信股份有限公司 | Data compression method, device, equipment, server and sewage cloud control system |
CN117238504B (en) * | 2023-11-01 | 2024-04-09 | 江苏亿通高科技股份有限公司 | Smart city CIM data optimization processing method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618555A (en) * | 2013-11-27 | 2014-03-05 | 北京科技大学 | Compression method for ocean lane monitoring data |
CN112929590A (en) * | 2021-02-05 | 2021-06-08 | 广东欧谱曼迪科技有限公司 | Boot animation playing system, compression method and device, and decompression method and device |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1297142C (en) * | 2002-07-26 | 2007-01-24 | 包头钢铁学院 | Selective medical image compression method |
US8160156B2 (en) * | 2006-02-01 | 2012-04-17 | Verint Systems, Inc. | System and method for controlling the long term generation rate of compressed data |
US7844097B2 (en) * | 2007-12-03 | 2010-11-30 | Samplify Systems, Inc. | Compression and decompression of computed tomography data |
CN100476797C (en) * | 2007-12-13 | 2009-04-08 | 上海交通大学 | Data lossless compression method for data transmission of remote monitoring system |
CN102307186A (en) * | 2011-07-27 | 2012-01-04 | 深圳市纽泰克电子有限公司 | Method and device for transmitting and processing emergency medical information data |
EP2663074B1 (en) * | 2012-05-11 | 2016-04-13 | XRing Technologies GmbH | Method and system for lossy compression and decompression of computed tomography data |
CN113518094B (en) * | 2021-09-14 | 2021-12-28 | 深圳市普渡科技有限公司 | Data processing method, device, robot and storage medium |
CN114826277A (en) * | 2022-03-31 | 2022-07-29 | 天津大学 | PMU data compression and reconstruction method for power distribution network edge computing device |
CN114841679B (en) * | 2022-06-29 | 2022-10-18 | 陕西省君凯电子科技有限公司 | Intelligent management system for vehicle running data |
-
2023
- 2023-02-21 CN CN202310138633.8A patent/CN115883670B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618555A (en) * | 2013-11-27 | 2014-03-05 | 北京科技大学 | Compression method for ocean lane monitoring data |
CN112929590A (en) * | 2021-02-05 | 2021-06-08 | 广东欧谱曼迪科技有限公司 | Boot animation playing system, compression method and device, and decompression method and device |
Also Published As
Publication number | Publication date |
---|---|
CN115883670A (en) | 2023-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115883670B (en) | Medical data analysis and acquisition method and device | |
Cárdenas-Barrera et al. | A wavelet-packets based algorithm for EEG signal compression | |
KR101351714B1 (en) | Method for decoding a bitstream | |
CN107743239B (en) | Method and device for encoding and decoding video data | |
CN102017634A (en) | Multi-level representation of reordered transform coefficients | |
CN111641832A (en) | Encoding method, decoding method, device, electronic device and storage medium | |
CN111641826B (en) | Method, device and system for encoding and decoding data | |
CN108234464B (en) | High-efficiency compression method for collected data of signal centralized monitoring system | |
CN103188494A (en) | Apparatus and method for encoding depth image by skipping discrete cosine transform (DCT), and apparatus and method for decoding depth image by skipping DCT | |
CN116405574B (en) | Remote medical image optimization communication method and system | |
CN116208172B (en) | Data management system for building engineering project | |
US5857036A (en) | System and method for the fractal encoding of datastreams | |
WO2011048911A2 (en) | Method and apparatus for decoding bitstream | |
CN113873094A (en) | Chaotic compressed sensing image encryption method | |
Bhatnagar et al. | Image compression using dct based compressive sensing and vector quantization | |
Arthur et al. | Efficient medical image compression technique for telemedicine considering online and offline application | |
CN111787326B (en) | Entropy coding and decoding method and device | |
CN111274950B (en) | Feature vector data encoding and decoding method, server and terminal | |
CN115361556A (en) | High-efficiency video compression algorithm based on self-adaption and system thereof | |
WO2011162964A2 (en) | System and method and computer program product for parameter estimation for lossless video compression | |
CN110809163B (en) | Data transmission method, device, computer equipment and storage medium | |
Saudagar | Learning based coding for medical image compression | |
AU2013101210A4 (en) | Enhancing Quality of Magnetic Resonance (MR) Image Based on Wavelet Algorithm | |
CN102422541B (en) | Method, device and system of coding, and method, device and system of decoding | |
KR101029109B1 (en) | Method for encoding and decoding of ECG signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |