Physiological data waveform display method and device, electronic equipment and storage medium
By performing the first and second downsampling of physiological data, and combining user selection operations, dynamically displaying the global and local characteristics of physiological data, the problem of difficulty in displaying global and local characteristics in the prior art is solved, and the accuracy of analysis and monitoring is improved.
Patent Information
- Application Number
- CN202411958566.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-02-25
AI Technical Summary
The prior art is difficult to simultaneously display the global and local characteristics of the data in the visualization of physiological data, affecting the accuracy of analysis and monitoring.
By performing the first downsampling process on the physiological data of each sampling channel, the first waveform is displayed; in response to the user's selection operation, the original physiological data is acquired and the second downsampling process is performed, and the second waveform is displayed. The first and second downsampling processes adopt different ways to display global and local features in a dynamic combination.
It realizes that both global features can be clearly displayed and local features can be clearly displayed in physiological data waveform display, thereby improving the accuracy of data analysis and monitoring.
Smart Images

Figure CN119517382A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of signal processing technology, and more specifically to a physiological data waveform display method, a physiological data waveform display device, an electronic device, a storage medium and a computer program product. Background Art
[0002] With the development of science and technology, real-time monitoring and analysis of physiological data has become increasingly important. Physiological data such as electrocardiogram data, electroencephalogram data, electromyography data, and neural data are of great significance for diagnosing diseases, evaluating treatment effects, and studying human physiological functions.
[0003] The amount of physiological data is usually very large. Direct display will lead to problems such as high consumption of computing resources and display delay, affecting user experience. Therefore, it is necessary to properly process the physiological data to ensure that the data visualization is both efficient and accurate. The processing operation, for example, downsampling the physiological data.
[0004] However, in the related technologies, when visualizing physiological data, it is usually impossible to display both the global features of the physiological data and the local features of the physiological data clearly, thereby affecting the accuracy of physiological data analysis and monitoring. Summary of the invention
[0005] The present invention has been made in view of the above-mentioned problems.
[0006] According to one aspect of the present invention, there is provided a method for displaying a physiological data waveform, comprising:
[0007] Respectively obtain first down-sampling data corresponding to physiological data sampled by multiple sampling channels and subjected to a first down-sampling process; display a first waveform of each sampling channel according to the first down-sampling data of each sampling channel; obtain original physiological data of the target channel before the first down-sampling process in response to a user's selection operation of the first waveform of the target channel; perform a second down-sampling process on the original physiological data to obtain second down-sampling data, wherein the second down-sampling process is different from the down-sampling method of the first down-sampling process; and display a second waveform of the target channel according to the second down-sampling data of the target channel.
[0008] Exemplarily, the first downsampling process includes: determining the target sampling points required for the first waveform; determining the maximum and minimum values in the original sampling points of the original physiological data corresponding to each target sampling point after downsampling according to the target sampling points and the original sampling points of the original physiological data corresponding to each sampling channel, and using them as the first downsampling data corresponding to the target sampling point; displaying the first waveform of each sampling channel according to the first downsampling data of each sampling channel, including: connecting the maximum and minimum values corresponding to each target sampling point according to the first downsampling data of each sampling channel, and displaying the connecting line at the target sampling point to display the first waveform.
[0009] Exemplarily, each target sampling point in the second waveform displays a physiological data value after the second down-sampling processing manner is adopted in the second down-sampling data.
[0010] Exemplarily, the physiological data waveform display method also includes: storing the original physiological data of each sampling channel in the corresponding storage unit according to the preset relationship between each sampling channel and the storage unit; in response to the user's selection operation of the first waveform of the target channel, obtaining the original physiological data of the target channel before the first downsampling processing, including: in response to the selection operation, determining the target channel corresponding to the first waveform, and determining the corresponding storage unit according to the preset relationship and the target channel; obtaining the original physiological data corresponding to the target channel from the determined storage unit.
[0011] Exemplarily, a plurality of sampling channels belong to different sampling modules, and according to a preset relationship between each sampling channel and a storage unit, the original physiological data of each sampling channel is stored in a corresponding storage unit, including: obtaining physiological data of each sampling channel in a plurality of sampling modules, and when the accumulated physiological data of any sampling module meets a preset condition, packaging the physiological data of the sampling module at this time into a first data packet; after each continuous acquisition of a plurality of first data packets corresponding to a plurality of sampling modules, sorting the plurality of first data packets acquired continuously according to a preset sequence of the plurality of sampling modules; wherein a timestamp is stored in each first data packet; when the first data packets of all sampling channels accumulate to a first preset number, the first data packets of the first preset number are used as second data packets, determining the first data packet acquired first among the first preset number of first data packets corresponding to each second data packet, and according to the timestamp of the physiological data of the first acquired first data packet and the sampling rates of different sampling modules, time-aligning the physiological data of all sampling channels of all sampling modules to obtain a time-aligned second data packet; storing the physiological data corresponding to each sampling channel in the time-aligned second data packet as the original physiological data of the sampling channel in a first-in-first-out manner according to a preset relationship in the corresponding storage unit.
[0012] Exemplarily, the physiological data waveform display method further includes: processing the second waveform in response to a processing operation of the user.
[0013] Exemplarily, in response to a processing operation of a user, processing the second waveform includes: in response to the processing operation, performing local amplification processing on the second waveform.
[0014] According to another aspect of the present invention, a physiological data waveform display device is also provided, comprising: a first acquisition module, a first display module, a second acquisition module, a third acquisition module, and a second display module. The first acquisition module is used to respectively acquire first down-sampling data corresponding to physiological data sampled by multiple sampling channels and subjected to first down-sampling processing; the first display module is used to display the first waveform of each sampling channel according to the first down-sampling data of each sampling channel; the second acquisition module is used to respond to the user's selection operation of the first waveform of the target channel, and acquire the original physiological data of the target channel before the first down-sampling processing; the third acquisition module is used to perform a second down-sampling processing on the original physiological data to obtain the second down-sampling data, wherein the second down-sampling processing is different from the down-sampling method of the first down-sampling processing; the second display module is used to display the second waveform of the target channel according to the second down-sampling data of the target channel.
[0015] According to another aspect of the present invention, there is also provided an electronic device, comprising: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, they are used to execute the physiological data waveform display method as described above.
[0016] According to yet another aspect of the present invention, a storage medium is provided, on which program instructions are stored, and the program instructions are used to execute the physiological data waveform display method as described above when running.
[0017] According to another aspect of the present invention, a computer program product is also provided, comprising computer program instructions, which are used to execute the physiological data waveform display method as described above when running.
[0018] The above technical solution displays the first waveform for the first down-sampling data of each sampling channel, responds to the user's selection operation of the first waveform of the target channel, determines the corresponding original physiological data, performs a second down-sampling process on the original physiological data, and displays the second waveform of the target channel. The second down-sampling process is different from the down-sampling method of the first down-sampling process. Through the dynamic combination of the first down-sampling process and the second down-sampling process, the global characteristics of the physiological data can be displayed, and the local characteristics of the physiological data can be clearly displayed, thereby improving the accuracy of physiological data analysis and monitoring.
[0019] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention.
[0021] Figure 1 A schematic flow chart of a method for displaying physiological data waveforms according to an embodiment of the present invention is shown;
[0022] Figure 2 A schematic flow chart of a first downsampling process according to an embodiment of the present invention is shown;
[0023] Figure 3 A schematic block diagram of a physiological data waveform display device according to an embodiment of the present invention is shown;
[0024] Figure 4 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present invention more obvious, exemplary embodiments according to the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention.
[0026] In order to at least solve the above technical problems, an embodiment of the present invention provides a method for displaying a physiological data waveform. Figure 1 FIG. 4 is a schematic flow chart of a method for displaying physiological data waveforms according to an embodiment of the present invention. Figure 1 As shown, the method includes: step S1100, step S1200, step S1300, step S1400 and step S1500.
[0027] In step S1100, first down-sampling data corresponding to physiological data sampled by a plurality of sampling channels and subjected to a first down-sampling process are respectively acquired.
[0028] Exemplarily, physiological data can be collected simultaneously through multiple sampling channels. Each sampling channel can collect physiological data independently, and multiple sampling channels can not interfere with each other. Multiple physiological data can be collected simultaneously through multiple sampling channels. Physiological data includes electrocardiogram data, electroencephalogram data, electromyography data, neural data, etc. The user can set parameters such as the number of sampling channels and the frequency of sampling channels collecting physiological data according to needs. The physiological data corresponding to each sampling channel can be subjected to a first downsampling process through a first downsampling method to obtain the first downsampling data of each sampling channel. Downsampling can reduce the amount of physiological data while retaining the characteristics of the physiological data, which is convenient for subsequent display, analysis, etc. It can be understood that the characteristics of physiological data retained by different downsampling methods may be different.
[0029] In step S1200, the first waveform of each sampling channel is displayed according to the first down-sampled data of each sampling channel. A first interface may be provided for displaying the first waveform. The first down-sampled data of each sampling channel may be rendered to display the first waveform of the first down-sampled data of each sampling channel. The horizontal axis of the first waveform may be the sequence of the first down-sampled data, i.e., the sampling time of the physiological data. The vertical axis of the first waveform may be the value of the first down-sampled data. The first waveform may be an intuitive and visual presentation of the change of the first down-sampled data in the time dimension. Since the first down-sampled data retains the characteristics of the physiological data, the first waveform can display these characteristics, which is convenient for the user to analyze and judge.
[0030] In step S1300, in response to the user's selection operation on the first waveform of the target channel, the original physiological data of the target channel before the first downsampling process is obtained. As described above, the first waveform of each sampling channel is displayed in the first interface. The user can select the first waveform of the target channel through a mouse, keyboard, touch screen, etc. as needed. After receiving the user's selection operation, it can be determined that a certain sampling channel among all the sampling channels is selected as the target channel. The original physiological data before the first downsampling process corresponding to the sampling of the target channel can be determined according to the target channel. The original physiological data can represent unprocessed physiological data. In some embodiments, the original physiological data before the first downsampling process corresponding to the first waveform currently displayed by the target channel can be obtained. In other words, the original physiological data includes the original physiological data of the first waveform currently being displayed, and does not include the original physiological data of the first waveform that is not displayed in history. In other embodiments, all the corresponding original physiological data of the target channel can be obtained. In other words, the original physiological data can include the original physiological data corresponding to the first waveform currently displayed, and can also include the original physiological data of the first waveform that is not displayed in history.
[0031] In step S1400, a second downsampling process is performed on the original physiological data to obtain second downsampling data, wherein the second downsampling process is different from the first downsampling process in a downsampling manner.
[0032] The downsampling method of the second downsampling process is different from that of the first downsampling process. The first downsampling process and the second downsampling process can obtain different features of physiological data. The second downsampling data can retain the features of physiological data different from the first downsampling data. For example, the first downsampling data after the first downsampling process can retain the global features of the physiological data. The second downsampling data obtained by the second downsampling process can retain the local features of the physiological data. For example, the first downsampling process and the second downsampling process can have different downsampling ratios and different downsampling algorithms. The second downsampling process is performed on the original physiological data corresponding to the target sampling channel using the second downsampling method to obtain the second downsampling data. It can be understood that due to the different downsampling methods, the second downsampling data may be different from the first downsampling data.
[0033] In step S1500, a second waveform of the target channel is displayed according to the second down-sampled data of the target channel.
[0034] In some embodiments, the second waveform of the target channel rendered according to the second down-sampling data can be displayed at the display position of the first waveform corresponding to the target channel in the above-mentioned first interface. In other embodiments, a second interface can be provided, in which the second waveform of the target channel is displayed according to the second down-sampling data. It can be understood that due to different downsampling methods, the second down-sampling data after the second down-sampling process may be different from the first down-sampling data after the first down-sampling process. Thus, the first waveform and the second waveform of the target channel may be different. The first waveform and the second waveform can display different features of the physiological data corresponding to the target channel, which is convenient for the user to process and analyze. Because the second down-sampling data can retain the features of the physiological data different from the first down-sampling data. For example, the first down-sampling data after the first down-sampling process can retain the global features of the physiological data, and the first waveform can display the global features of the physiological data. The second down-sampling data obtained by the second down-sampling process can retain the local features of the physiological data, and the second waveform can display the local features of the physiological data.
[0035] The above technical solution displays the first waveform for the first down-sampling data of each sampling channel, responds to the user's selection operation of the first waveform of the target channel, determines the corresponding original physiological data, performs a second down-sampling process on the original physiological data, and displays the second waveform of the target channel. The second down-sampling process is different from the down-sampling method of the first down-sampling process. Through the dynamic combination of the first down-sampling process and the second down-sampling process, the global characteristics of the physiological data can be displayed, and the local characteristics of the physiological data can be clearly displayed, thereby improving the accuracy of physiological data analysis and monitoring.
[0036] For example, Figure 2 FIG. 4 shows a schematic flow chart of a first downsampling process according to an embodiment of the present invention. Figure 2 As shown, the first down-sampling process includes: step S210 and step S220.
[0037] In step S210, the target sampling points required for the first waveform are determined. As described above, the first waveform of each sampling channel is displayed in the first interface. The target sampling points required for the first waveform can be determined according to the length of the canvas displaying the first waveform in the first interface. For example, the length of the canvas of the first waveform in the first interface can be 2000 pixels, and then it can be determined that the target sampling points required for the first waveform are 2000.
[0038] In step S220, according to the target sampling point and the original sampling point of the original physiological data corresponding to each sampling channel, the maximum value and the minimum value in the original sampling point of the original physiological data corresponding to each target sampling point after downsampling are determined, and used as the first downsampling data corresponding to the target sampling point. The amount of original sampling points of the original physiological data corresponding to the first waveform can be determined according to the corresponding duration of the first waveform to be displayed in the above-mentioned first interface and the sampling rate of each sampling channel. For example, the duration corresponding to the first waveform to be displayed in the first interface is 10 seconds, and the sampling rate of each sampling channel is 30000, then the amount of original sampling points of the original physiological data corresponding to the first waveform is 300000. The amount of physiological data corresponding to each sampling point can be determined according to the amount of target sampling points and the original sampling points of the original physiological data corresponding to each sampling channel. For example, if the target sampling points are 2000 and the amount of original sampling points is 300000, then each target sampling point corresponds to 150 original sampling points. The original sampling points corresponding to each target sampling point can be determined according to the amount of original sampling points corresponding to each target sampling point. Further, the maximum and minimum values of the original sampling points can be determined according to the values of the original sampling points corresponding to each target sampling point. Thus, the maximum and minimum values in the original sampling points of the original physiological data corresponding to each target sampling point after downsampling can be determined. The maximum and minimum values in the original sampling points corresponding to each target sampling point are used as the first downsampling data corresponding to the target sampling point. In other words, each target sampling point in the first downsampling data corresponds to two values.
[0039] Step S1200 displays the first waveform of each sampling channel according to the first down-sampling data of each sampling channel, including: according to the first down-sampling data of each sampling channel, connecting the maximum value and the minimum value corresponding to each target sampling point, and displaying the connection line at the target sampling point to display the first waveform. Each target sampling point in the first down-sampling data corresponds to two values, which are the maximum value and the minimum value in the corresponding original sampling point. Each target sampling point can be displayed according to the sequence of each down-sampling point in the first down-sampling data. The maximum value and the minimum value corresponding to each target sampling point can be connected, and the connection line can be displayed at the position of the target sampling point in the first waveform to display the first waveform. In other words, the first waveform is composed of the connection lines of each target sampling point in the first down-sampling data.
[0040] The above technical solution determines the maximum and minimum values in the original sampling points of the original physiological data corresponding to each target sampling point, obtains the first sampling data corresponding to the target sampling point, and determines the first waveform by connecting the maximum and minimum values. Thus, the maximum and minimum values in the original sampling points corresponding to the target sampling point can be displayed in the first waveform, which can highlight key features, such as spike signals, and is simple to calculate, which can save computing resources.
[0041] Exemplarily, each sampling point in the second waveform displays a physiological data value after the second downsampling processing method is used in the second downsampling data. Each target sampling point in the second downsampling data corresponds to a physiological data value. The second downsampling method may include average downsampling, divided into downsampling, longest time bucket (LTTB) and other methods to achieve that each target sampling point in the second downsampling data corresponds to a physiological data value. Taking the longest time bucket (LTTB) as an example, if the number of target sampling points is greater than the number of original sampling points in the original physiological data, the original physiological data can be directly used as the physiological data after the second downsampling. The first point and the last point in the original sampling point can be directly used as the first point and the last point in the target sampling point of the second downsampling data. Then, the number of original sampling points after removing the first point and the last point is divided by the number of target sampling points after removing the first point and the last point to determine the original sampling point corresponding to each target sampling point after removing the first point and the last point. Determine the point in the original sampling point corresponding to each target sampling point that makes the triangle area the largest, usually the other two points of the triangle are the selected point in the original sampling point corresponding to the previous target sampling point and the average point of all the original sampling points corresponding to the next target sampling point. The point that makes the triangle area the largest among the original sampling points corresponding to the target sampling point is used as the selected point of the target sampling point, so as to serve as the physiological data value corresponding to the target sampling point in the second down-sampled data.
[0042] The above technical solution displays a physiological data value in the second downsampled data through each target sampling point in the second waveform, which can ensure the continuity of the second waveform, display local details in the physiological data, and improve the user experience.
[0043] Exemplarily, the physiological data waveform display method also includes: step S1600 stores the original physiological data of each sampling channel in the corresponding storage unit according to the preset relationship between each sampling channel and the storage unit. The storage unit can be used to store the original physiological data of each sampling channel. The original physiological data can represent unprocessed physiological data. The original physiological data can be physiological data directly sampled on the organism without subsequent processing. The storage unit can include local files, cloud files, tables and storage areas in the database, etc. The user can set the preset relationship between each sampling channel and the storage unit according to the needs, and the preset relationship can represent the corresponding rules between the sampling channel and the storage unit. For example, the preset relationship can represent that the original physiological data sampled by sampling channel 1 is stored in storage unit 1, and the original physiological data sampled by sampling channel 2 is stored in storage unit 2, etc. The preset relationship can guide the original physiological data collected by each sampling channel to be stored in the corresponding storage unit, ensuring that the data storage process is accurate and correct, so as to facilitate subsequent data retrieval, processing and analysis. Whenever the original physiological data sampled by a sampling channel is obtained, the original physiological data sampled by the sampling channel can be stored in the corresponding storage unit according to the preset relationship between the sampling channel and the storage unit.
[0044] Step S1300 acquires original physiological data of the target channel before the first down-sampling process in response to the user's selection operation on the first waveform of the target channel, including step S1310 and step S1320.
[0045] In step S1310, in response to the selection operation, the target channel corresponding to the first waveform is determined, and the corresponding storage unit is determined according to the preset relationship and the target channel. In response to the user's selection operation of the first waveform of the target channel, the target channel corresponding to the first waveform can be determined. According to the target channel and the preset relationship, the storage unit corresponding to the target channel is determined. For example, the selected target channel can be sampling channel 3, and in the preset relationship, sampling channel 3 corresponds to storage unit 3, and the storage unit corresponding to the target channel can be determined.
[0046] In step S1320, the original physiological data corresponding to the target channel is obtained from the determined storage unit. After the storage unit corresponding to the target channel is determined, the original physiological data corresponding to the target channel stored in the storage unit can be read.
[0047] The above technical solution determines the original physiological data corresponding to the target sampling channel through the preset relationship between each sampling channel and the storage unit, ensures the accuracy of the original physiological data storage, avoids the confusion of physiological data transmission of multiple sampling channels, and improves the accuracy of subsequent physiological data processing and analysis.
[0048] Exemplarily, the multiple sampling channels belong to different sampling modules. Each sampling module may have at least one sampling channel, and the multiple sampling channels of the multiple sampling modules are commonly used to sample physiological data.
[0049] Step S1600 stores the original physiological data of each sampling channel into the corresponding storage unit according to the preset relationship between each sampling channel and the storage unit, including: step S1610, step S1620, step S1630 and step S1640.
[0050] In step S1610, the physiological data of each sampling channel in the plurality of sampling modules is obtained, and when the physiological data accumulation of any sampling module meets the preset conditions, the physiological data of the sampling module at this time is packaged into a first data packet. In some embodiments, the physiological data sampled by the plurality of sampling channels of each sampling module can be obtained and saved. When the physiological data of any sampling module obtained and saved meets the preset conditions, the physiological data of the sampling module accumulated and saved are packaged into a first data packet. It can be understood that the sampling module usually obtains physiological data at a certain sampling rate. The amount of the corresponding sampled physiological data can be calculated according to the sampling rate and sampling time of each sampling module. Similarly, the corresponding sampling time can be determined according to the sampling rate and the amount of physiological data of each sampling module. The preset condition can be the sampling time of the physiological data of each sampling module, and can also be the amount of physiological data sampled by each sampling module. For example, the preset condition can include a sampling time of 4 milliseconds, and whenever a sampling module samples for 4 milliseconds, the accumulated and saved physiological data collected by the sampling module for these 4 milliseconds are packaged into a first data packet. The sampling rate of all sampling modules can be 10000 Hz, then the amount of physiological data collected by each sampling channel in 4 milliseconds is 40, that is, whenever the amount of physiological data collected by each sampling channel of a sampling module is 40, the 40 physiological data of all sampling channels of the sampling module are packaged into the first data packet. It can be understood that if the sampling rates of the sampling modules are different, the amount of physiological data collected at the same sampling time may be different. The sampling module can have multiple sampling channels, and the physiological data in the first data packet can be packaged according to the sampling channels.
[0051] In step S1620, each time a plurality of first data packets corresponding to a plurality of sampling modules are continuously acquired, the plurality of first data packets acquired continuously are sorted in a preset order of the plurality of sampling modules; wherein a timestamp is stored in each first data packet. In some embodiments, the plurality of first data packets corresponding to the plurality of sampling modules may be acquired sequentially, not simultaneously. The order of the plurality of first data packets acquired corresponding to the plurality of sampling modules may be any order. The preset order of the plurality of sampling modules may include the label order of the plurality of sampling modules. Before collecting physiological data, the user may set a preset order for the plurality of sampling modules according to requirements. For example, there may be 4 sampling modules, and the labels 1, 2, 3 and 4 may be set for the 4 sampling modules respectively. The sampling rate of each sampling module may be different, and the time when the corresponding physiological data meets the preset condition may be different. For sampling modules with the same sampling rate, the time when the corresponding physiological data meets the preset condition may be the same, but the order in which the first data packets are acquired may also be different. Therefore, when the first data packets corresponding to the plurality of sampling modules are acquired, the first data packets corresponding to each sampling module acquired do not meet the preset order. For example, there may be 4 sampling modules, and the order of the first data packets corresponding to the multiple sampling modules obtained one by one may be 3, 4, 1, and 2. In other words, the first data packet corresponding to sampling module No. 3 is obtained first, then the first data packet of sampling module No. 4 is obtained, then the first data packet corresponding to sampling module No. 1 is obtained, and finally the first data packet corresponding to sampling module No. 2 is obtained. It does not conform to the preset order of the four sampling modules 1, 2, 3, and 4. The multiple first data packets obtained continuously can be sorted according to the preset order of the multiple sampling modules so that the multiple first data packets corresponding to the multiple sampling modules one by one conform to the preset order. It can be understood that each time the first data packet corresponding to each sampling module is obtained, the first data packets obtained continuously can be sorted. When each first data packet is obtained, the physiological data in the first data packet can be timestamped, and the timestamp can be stored in the first data packet. The timestamp can represent the time of each physiological data in the first data packet.
[0052] In step S1630, when the first data packets of all sampling channels are accumulated to the first preset number, the first data packets of the first preset number are used as the second data packets, and the first data packets first obtained in the first preset number of first data packets corresponding to each second data packet are determined. According to the timestamp of the physiological data of the first data packet obtained first and the sampling rates of different sampling modules, the physiological data of all sampling channels of all sampling modules are time-aligned to obtain the second data packets after time alignment. The preset number can be the number of first data packets. The preset number can be determined jointly according to factors such as the processing speed of the host computer and the amount of physiological data in the first data packet. For example, the processing speed of the host computer affects the amount of physiological data in the second data packet, and the preset number and the amount of physiological data in the first data packet affect the amount of physiological data in the second data packet. For example, the faster the processing speed of the host computer control module, the larger the amount of physiological data in the second data packet can be, and further, the larger the preset number of first data packets can be. For another example, the preset number can be 40, that is, when 40 first data packets are obtained, these 40 first data packets are used as second data packets. Multiple first data packets can be obtained in sequence, and when the number of first data packets obtained meets the preset number, they are used as second data packets. The first data packet obtained first in the second data packet can be determined. In some embodiments, the sampling rates of the sampling modules can be different. The time reference can be determined based on the timestamp in the first data packet obtained first and the sampling rate of the sampling module corresponding to the first data packet. The physiological data of the first data packet corresponding to the remaining sampling modules in the second data packet are time-aligned with the time reference so that the sampling time of the physiological data of all sampling channels of all sampling modules is the same without deviation. In other embodiments, the sampling rates of all sampling modules can be the same, and the physiological data of the sampling module corresponding to the first data packet in the second data packet can be used as the time reference based on the timestamp of the first data packet obtained first, and the corresponding physiological data of the remaining sampling modules are time-aligned with the physiological data corresponding to the sampling module. The second data packet after time alignment is obtained.
[0053] In step S1640, the physiological data corresponding to each sampling channel in the second data packet after time alignment are respectively used as the original physiological data of the sampling channel and stored in the corresponding storage unit in a first-in-first-out manner according to the preset relationship. According to the preset relationship, the storage unit corresponding to each sampling channel is determined. The physiological data of each sampling channel in the second data packet after time alignment can be respectively used as the original physiological data of the sampling channel. The original physiological data of each sampling channel can be stored in the corresponding storage unit in a first-in-first-out manner. The capacity of the first-in-first-out can be determined according to the amount of physiological data corresponding to the first waveform. In other words, only the original physiological data corresponding to the first waveform currently displayed can be stored, and the original physiological data corresponding to the first waveform that has been displayed will not be stored.
[0054] The above technical solution performs time alignment on the second data packet, and stores the physiological data corresponding to each sampling channel in the second data packet after time alignment as the original physiological data of the sampling channel in the corresponding storage unit according to a preset relationship and in a first-in-first-out manner. The quality of the stored original physiological data is guaranteed, and the amount of the stored original physiological data is reduced, thereby reducing the occupation of storage resources.
[0055] Exemplarily, the physiological data waveform display method further includes: step S1700, processing the second waveform in response to the user's processing operation. After displaying the second waveform of the target channel, the user can perform a processing operation on the second waveform based on settings such as a mouse, keyboard, handwriting tablet, touch screen, etc. The second waveform can be processed in response to the user's operation, and the processed second waveform can be displayed. The processing operation includes enlarging the second waveform, reducing the second waveform, moving the first waveform, stretching the second waveform, etc.
[0056] The above technical solution processes the second waveform in response to the processing operation of the user, meets the user's processing requirements for the second waveform, better analyzes the physiological data, and improves the user experience.
[0057] Exemplarily, step S1700, in response to the processing operation of the user, processes the second waveform, including: step S1710, in response to the processing operation, locally amplifies the second waveform. In some embodiments, the second waveform of the target channel can be displayed in an interface different from the first waveform. For example, the first interface can display the first waveform of each sampling channel. The second interface can display the second waveform of the target channel. The user's processing operation may include selecting a local area where the second waveform needs to be amplified, determining the magnification, etc. The second waveform can be amplified according to the local area of the second waveform selected by the user. The local amplification process may include amplifying the horizontal axis and / or vertical axis of the second waveform of the local area so that the locally amplified second waveform can display more local details.
[0058] The above technical solution performs local amplification processing on the second waveform in response to the processing operation. The locally amplified second waveform can display more local information, which is convenient for user analysis and improves user experience.
[0059] Illustratively, according to another aspect of the present invention, a physiological data waveform display device is also provided. Figure 3 FIG. 4 is a schematic block diagram of a physiological data waveform display device 300 according to an embodiment of the present invention. Figure 3 As shown, the physiological data waveform display device 300 includes a first acquisition module 310 , a first display module 320 , a second acquisition module 330 , a third acquisition module 340 and a second display module 350 .
[0060] The first acquisition module 310 is used to respectively acquire first down-sampling data corresponding to physiological data sampled by multiple sampling channels and subjected to first down-sampling processing. The first display module 320 is used to display the first waveform of each sampling channel according to the first down-sampling data of each sampling channel; the second acquisition module 330 is used to respond to the user's selection operation of the first waveform of the target channel and acquire the original physiological data of the target channel before the first down-sampling processing; the third acquisition module 340 is used to perform a second down-sampling processing on the original physiological data to obtain second down-sampling data, wherein the second down-sampling processing is different from the down-sampling method of the first down-sampling processing; the second display module 350 is used to display the second waveform of the target channel according to the second down-sampling data of the target channel.
[0061] Exemplarily, the first downsampling process includes: determining the target sampling point required for the first waveform; determining the maximum and minimum values in the original sampling points of the original physiological data corresponding to each target sampling point after downsampling according to the target sampling point and the original sampling points of the original physiological data corresponding to each sampling channel, and using them as the first downsampling data corresponding to the target sampling point. The first display module 320 includes a first display submodule. The first display submodule is used to connect the maximum and minimum values corresponding to each target sampling point according to the first downsampling data of each sampling channel, and display the connection line at the target sampling point to display the first waveform.
[0062] Exemplarily, each target sampling point in the second waveform displays a physiological data value after the second down-sampling processing manner is adopted in the second down-sampling data.
[0063] Exemplarily, the physiological data waveform display device 300 also includes a storage module. The second acquisition module 330 includes a first determination submodule and a first acquisition submodule. The storage module is used to store the original physiological data of each sampling channel to the corresponding storage unit according to the preset relationship between each sampling channel and the storage unit. The first determination submodule is used to determine the target channel corresponding to the first waveform in response to the selection operation, and determine the corresponding storage unit according to the preset relationship and the target channel. The first acquisition submodule is used to obtain the original physiological data corresponding to the target channel from the determined storage unit.
[0064] Exemplarily, multiple sampling channels belong to different sampling modules. The storage module includes a second acquisition submodule, a third acquisition submodule, a time alignment submodule and a first storage submodule. The second acquisition submodule is used to acquire the physiological data of each sampling channel in the multiple sampling modules, and when the physiological data accumulation of any sampling module meets the preset conditions, the physiological data of the sampling module at this time is packaged into a first data packet. The third acquisition submodule is used to sequentially acquire multiple first data packets corresponding to multiple sampling modules one by one, and sort the multiple first data packets acquired continuously according to the preset order of the multiple sampling modules; wherein each first data packet stores a timestamp. The time alignment submodule is used to, when the first data packets of all sampling channels accumulate to a first preset number, use the first preset number of first data packets as the second data packet, determine the first data packet acquired first in the first preset number of first data packets corresponding to each second data packet, and time align the physiological data of all sampling channels of all sampling modules according to the timestamp of the physiological data of the first acquired first data packet and the sampling rates of different sampling modules, and obtain the time-aligned second data packet. The first storage submodule is used to store the physiological data corresponding to each sampling channel in the time-aligned second data packet as the original physiological data of the sampling channel in the corresponding storage unit according to the preset relationship and in a first-in-first-out manner.
[0065] Exemplarily, the physiological data waveform display device 300 further includes a waveform processing module. The waveform processing module is used to process the second waveform in response to a processing operation of the user.
[0066] Exemplarily, the waveform processing module includes a waveform processing submodule. The waveform processing submodule is used to perform local amplification processing on the second waveform in response to the processing operation.
[0067] Illustratively, according to yet another aspect of the present invention, an electronic device is also provided. Figure 4A schematic block diagram of an electronic device 400 according to an embodiment of the present invention is shown. The electronic device 400 includes a processor 410 and a memory 420. The memory 420 stores computer program instructions, which are used to execute the physiological data waveform display method described above when the processor 410 is running.
[0068] Exemplarily, according to another aspect of the present invention, a storage medium is also provided, on which program instructions are stored, and the program instructions are used to execute the physiological data waveform display method as described above when running. The storage medium may include, for example, an erasable programmable read-only memory (EPROM), a portable read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The storage medium may be any combination of one or more computer-readable storage media.
[0069] Illustratively, according to yet another aspect of the present invention, there is further provided a computer program product, comprising computer program instructions, which are used to execute the physiological data waveform display method as described above when the computer program instructions are run.
[0070] A person skilled in the art may understand the specific implementation schemes and beneficial effects of the physiological data waveform display device, electronic device, storage medium and computer program product by reading the above description of the physiological data waveform display method, which will not be described in detail here for the sake of brevity.
[0071] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present application to this. Those of ordinary skill in the art may make various changes and modifications therein without departing from the scope and spirit of the present application. All these changes and modifications are intended to be included within the scope of the present application as required by the appended claims.
[0072] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0073] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0074] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0075] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present application should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with features less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are hereby explicitly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.
[0076] It will be understood by those skilled in the art that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.
[0077] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.
[0078] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some modules in the physiological data waveform display device according to the embodiment of the present application. The present application can also be implemented as a device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0079] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.
[0080] The above is only a specific implementation or description of a specific implementation of the present application, and the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for displaying physiological data waveforms, characterized in that: include: Respectively acquiring first down-sampling data corresponding to physiological data sampled by a plurality of sampling channels and subjected to first down-sampling processing; Displaying a first waveform of each sampling channel according to a first down-sampled data of each sampling channel; In response to a user's selection operation of a first waveform of a target channel, acquiring original physiological data of the target channel before the first downsampling process; Performing a second downsampling process on the original physiological data to obtain second downsampling data, wherein the second downsampling process is different from the first downsampling process in a downsampling manner; A second waveform of the target channel is displayed according to the second down-sampled data of the target channel.
2. The physiological data waveform display method according to claim 1, characterized in that: The first downsampling process comprises: determining a target sampling point required for the first waveform; According to the target sampling point and the original sampling point of the original physiological data corresponding to each sampling channel, determine the maximum value and the minimum value in the original sampling points of the original physiological data corresponding to each target sampling point after downsampling, and use them as the first downsampling data corresponding to the target sampling point; The method of displaying the first waveform of each sampling channel according to the first down-sampling data of each sampling channel comprises: According to the first down-sampling data of each sampling channel, a maximum value and a minimum value corresponding to each target sampling point are connected, and the connection line is displayed at the target sampling point to display the first waveform.
3. The physiological data waveform display method according to claim 1, characterized in that: Each target sampling point in the second waveform displays a physiological data value after the second down-sampling processing method is used in the second down-sampling data.
4. The physiological data waveform display method according to claim 1, characterized in that: The physiological data waveform display method also includes: According to the preset relationship between each sampling channel and the storage unit, the original physiological data of each sampling channel is stored in the corresponding storage unit; The step of acquiring the original physiological data of the target channel before the first downsampling process in response to the user's selection operation of the first waveform of the target channel comprises: In response to the selection operation, determining a target channel corresponding to the first waveform, and determining a corresponding storage unit according to the preset relationship and the target channel; The original physiological data corresponding to the target channel is acquired from the determined storage unit.
5. The data waveform display method according to claim 4, characterized in that: The multiple sampling channels belong to different sampling modules. According to the preset relationship between each sampling channel and the storage unit, storing the original physiological data of each sampling channel into the corresponding storage unit includes: Acquire the physiological data of each sampling channel in the plurality of sampling modules, and when the accumulated physiological data of any sampling module meets a preset condition, package the physiological data of the sampling module at this time into a first data packet; Whenever a plurality of first data packets corresponding to a plurality of sampling modules are continuously acquired, the plurality of first data packets acquired continuously are sorted according to a preset sequence of the plurality of sampling modules; wherein a timestamp is stored in each first data packet; When the first data packets of all sampling channels are accumulated to a first preset number, the first preset number of first data packets are used as second data packets, the first data packet first obtained in the first preset number of first data packets corresponding to each second data packet is determined, and the physiological data of all sampling channels of all sampling modules are time-aligned according to the timestamp of the physiological data of the first obtained first data packet and the sampling rates of different sampling modules to obtain the time-aligned second data packets; The physiological data corresponding to each sampling channel in the time-aligned second data packet is respectively used as the original physiological data of the sampling channel and stored in the corresponding storage unit in a first-in-first-out manner according to the preset relationship.
6. The physiological data waveform display method according to claim 1, characterized in that: The physiological data waveform display method further includes: In response to a processing operation of a user, the second waveform is processed.
7. The physiological data waveform display method according to claim 6, characterized in that: The processing of the second waveform in response to the processing operation of the user includes: In response to the processing operation, a local amplification process is performed on the second waveform.
8. A physiological data waveform display device, characterized in that: A first acquisition module, used to respectively acquire first down-sampling data corresponding to physiological data sampled by multiple sampling channels and subjected to first down-sampling processing; A first display module, used for displaying a first waveform of each sampling channel according to first down-sampled data of each sampling channel; A second acquisition module, configured to acquire original physiological data of the target channel before the first downsampling process in response to a user's selection operation of the first waveform of the target channel; A third acquisition module, configured to perform a second downsampling process on the original physiological data to obtain second downsampling data, wherein the second downsampling process is different from the first downsampling process in a downsampling manner; The second display module is used to display a second waveform of the target channel according to the second down-sampling data of the target channel.
9. An electronic device, comprising: A processor and a memory, characterized in that The memory stores computer program instructions, which are used by the processor to execute the physiological data waveform display method according to any one of claims 1 to 7 when the processor runs the computer program instructions.
10. A storage medium having program instructions stored thereon, characterized in that: The program instructions are used to execute the physiological data waveform display method according to any one of claims 1 to 7 when running.
11. A computer program product comprising computer program instructions, characterized in that The computer program instructions are used to execute the physiological data waveform display method according to any one of claims 1 to 7 when running.
Citation Information
Cited By
Multi-channel data display method and device and storage medium
CN120234059A
Multichannel data display methods, apparatus and storage media
CN120234059B
Data management method and device, computer equipment and storage medium
CN120763152A