A method and device for displaying waveform information

By dynamically adjusting the waveform information transmission interval, combined with data buffer, CPU utilization, and waveform change rate, the problems of waveform distortion, buffer overflow, and system lag caused by traditional fixed time intervals are solved, and the complete and real-time display of waveform information is achieved.

CN114238039BActive Publication Date: 2024-11-01BEIJING AEONMED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111393345.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-11-01
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

In traditional waveform display systems, the method of sending waveform information at fixed time intervals leads to waveform distortion, buffer overflow, and system lag.

Method used

By combining the data buffer occupancy rate of the lower-level machine, the CPU occupancy rate of the display screen, and the waveform curve change rate, the transmission time interval of waveform information is dynamically adjusted. The transmission time interval Ts is adjusted in real time using the influence coefficients α, β, and γ to avoid buffer overflow and system lag, and to ensure the integrity and real-time performance of waveform display.

Benefits of technology

It ensures complete and real-time display of waveform information without system lag, avoids data loss and buffer overflow, and improves the detail and stability of waveform display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114238039B_ABST
    Figure CN114238039B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of waveform information transmission, and in particular to a waveform information display method and device, the method comprising the following preprocessing steps: step 1) based on the historical changes of the occupancy rate of the lower computer data buffer area, the CPU occupancy rate of the display screen and the change rate of the displayed waveform curve within a period of time, the corresponding variance is obtained; step 2) the corresponding influence coefficient is obtained by using the variance; step 3) the current value is collected and obtained; step 4) the transmission time interval is obtained: step 5) it is determined whether the transmission time interval is less than 1 / 20 of the current cycle of the displayed waveform curve; step 6) the lower computer sends the waveform information to the display screen at the transmission time interval Ts. The present invention adjusts the transmission interval in real time according to the current operating conditions to achieve the best display effect, avoids the data loss caused by sending data when the cache overflows, reduces the system jam, and displays the complete waveform information in more detail.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of waveform information transmission, and in particular to a waveform information display method and device. Background Art

[0002] To ensure the normal display and refresh of waveform information on the screen of systems or devices with waveform display, such as anesthesia machines and ventilators, the lower computer needs to send waveform data to the screen at regular intervals. The time interval between each transmission is crucial. If the time is too long, the displayed waveform will be distorted and a large amount of available information will be lost. If the time is too short, the CPU may be over-consumed, causing the entire system to run slowly.

[0003] In a conventional system with a waveform display, the time interval for sending waveform information each time is often set to a fixed value, and the sending interval is usually set based on actual experience.

[0004] The traditional method of sending waveform information at a fixed time has the following main defects:

[0005] 1) Waveform distortion: When the waveform changes too quickly, the traditional fixed sending interval method may cause key information in the waveform to be omitted or lost.

[0006] 2) Buffer overflow: When the communication volume between the lower computer and the system or device with waveform display is large, the fixed sending interval used in the traditional method may cause the lower computer's sending buffer to overflow, resulting in the loss of waveform data along with other data.

[0007] 3) System freeze: When the fixed sending time interval of waveform information is set too short, the waveform display function of the system or device with waveform display consumes a lot of screen CPU resources, but the waveform does not improve significantly, and display freeze may occur. Summary of the invention

[0008] The present invention provides a waveform information display method and device that utilizes the occupancy rate of the lower computer data buffer area, the CPU occupancy rate of the display screen, and the change rate of the displayed waveform curve in combination with the relevant influence coefficient to obtain a dynamically adjusted sending time interval to prevent system freezes, data distortion, and overflow of the lower computer sending buffer. The method provided by the present invention adjusts the sending time in real time according to the application situation in the sending data buffer to ensure that the screen displays a waveform curve with complete information and good real-time performance without system freezes. The invention provides a waveform information display method, comprising:

[0009] Step 1) Based on the historical changes of the three dynamic adjustment factors over a period of time, obtain the corresponding variance σ α , σ β and σ γ,Among them, the three dynamic adjustment factors include: the occupancy of the data buffer area of ​​the ,lower computer, the CPU occupancy of the display screen and the ,change rate of the displayed waveform curve;

[0010] Step 2) Using the variance σ α , σ β and σ γ , obtain the influence coefficient α of the lower computer data cache area occupancy rate, the influence coefficient β of the display screen CPU occupancy rate and the influence coefficient γ of the change rate of the displayed waveform curve; where,

[0011]

[0012] It can be seen from the above formula that the numerical range of α, β and γ is 0% to 100%, and α+β+γ=1; the numerical value of the influence coefficient represents the influence weight on the corresponding dynamic adjustment factor.

[0013] Step 3) Collect the current lower computer data sampling time interval Tr or data generation time interval Tc, and collect the current value U of the CPU occupancy rate of the display screen and the current period Tm of the displayed waveform curve; obtain the current value C of the lower computer data buffer area occupancy rate and the current value D of the change rate of the displayed waveform curve;

[0014] Step 4) Based on the current lower computer data sampling time interval Tr or data generation time interval Tc, as well as the current values ​​of the three dynamic adjustment factors and the influence coefficients α, β and γ, the sending time interval Ts is obtained:

[0015] Ts = Tmin + α*C + β*U - γ*D;

[0016] Among them, Tmin is the minimum sending time interval, which is not less than twice the lower computer data sampling time interval Tr or twice the data generation time interval Tc;

[0017] When the device is running, the three dynamic adjustment factors will keep changing. The values ​​of C, U, and D are used to obtain the sending time interval to achieve the goal of dynamic adjustment. In step 4), α, β, and γ are fixed values, and the sending time interval Ts is determined by the occupancy rate of the lower computer data buffer area, the CPU occupancy rate of the display screen, and the rate of change of the displayed waveform curve. The occupancy rate of the lower computer data buffer area represents the usage of the data buffer area of ​​the lower computer. The larger the value, the closer it is to the buffer overflow, which is more likely to cause data loss. In the present invention, Ts is obtained by the formula of sending time interval Ts. The occupancy rate of the data buffer area is positively correlated with the sending time interval. When the occupancy rate of the data buffer area increases, the Ts value also increases. Data loss caused by sending data when the buffer overflows is avoided. The occupancy rate C of the lower computer data buffer area is obtained through the usage of the lower computer data buffer area, and its maximum value is 1. The greater the CPU occupancy rate of the display screen, the more likely the system is to freeze, which may cause incomplete or deformed waveform display. The present invention uses the formula of sending time interval Ts to obtain Ts. The CPU occupancy rate of the display screen is positively correlated with the sending time interval. When the CPU occupancy rate of the display screen increases, the Ts value also increases. By increasing the sending time interval, the system freeze is reduced. The CPU occupancy rate of the display screen is collected and transmitted from the display screen to the lower computer during the communication process. The maximum value is 1.

[0018] The waveform change rate D indicates the change of the displayed waveform. The larger the value of the waveform change rate D, the more detailed waveform information needs to be displayed. In order to display the complete change information, the sending time interval should be reduced. The present invention uses the sending time interval Ts formula to obtain Ts. The waveform change rate D is negatively correlated with the sending time interval. The waveform change rate D increases, the sending time interval is smaller, and the complete waveform information is displayed more carefully.

[0019] Step 5) Determine whether the sending time interval Ts is less than 1 / 20 of the current period Tm of the displayed waveform curve; if so, execute step 6); if not, adjust the values ​​of the influence coefficients α, β and γ based on experience, and re-acquire the sending time interval Ts until the sending time interval Ts is less than 1 / 20 of the current period Tm of the displayed waveform curve, and execute step 6);

[0020] When the sending time interval Ts is greater than 1 / 20 of the current period Tm of the displayed waveform curve; the operator can adjust the values ​​of the influence coefficients α, β and γ based on experience, and use them to obtain the sending time interval Ts, until the sending time interval Ts is less than 1 / 20 of the current period Tm of the displayed waveform curve; and set the values ​​of the influence coefficients α, β and γ at that time as fixed values, which are used to obtain the subsequent sending time interval Ts.

[0021] Step 6) The waveform information is sent to the display screen through the lower computer based on the sending time interval Ts.

[0022] As an improvement of the above method, the process of obtaining the rate of change of the waveform curve includes:

[0023] Set the maximum slope value Dmax, and obtain the slope value D′ of the displayed waveform curve through the lower computer;

[0024] The change rate D of the displayed waveform curve is obtained by using the maximum slope value Dmax and the slope value D` of the displayed waveform curve:

[0025] D=D` / D max ;

[0026] Dmax is the maximum slope value. Since the maximum slope of the waveform curve monitored during breathing is affected by the physiological condition of the human body, there will be no vertically rising maximum slope value. The slope value and the maximum slope value of the displayed waveform curve are used to obtain the rate of change D of the displayed waveform curve. The larger the value of D, the greater the waveform change.

[0027] As an improvement of the above method, the displayed waveform curve includes: a displayed waveform curve of breathing pressure, a waveform curve of tidal volume or a waveform curve of respiratory flow rate.

[0028] As an improvement to the above method, the period of time in step 1) is not less than 2 hours.

[0029] As an improvement of the above method, the influence coefficients α, β and γ set according to experience in step 5) have a value range of 0% to 100%, and α+β+γ=1.

[0030] As an improvement of the above method, the values ​​of the influence coefficients α, β and γ set based on experience in step 5) are: α=0.4; β=0.3; γ=0.3.

[0031] To achieve another object of the present invention, the present invention provides a waveform information display device, which includes: a processing module, and the waveform display device uses the above display method during the waveform information display process.

[0032] The advantages of the present invention are:

[0033] 1) The present invention dynamically adjusts the waveform information sending interval so that the system can adjust the sending interval in real time according to the current operating conditions to achieve the best display effect;

[0034] 2) The data buffer area occupancy rate is positively correlated with the sending time interval. When the data buffer area occupancy rate increases, the Ts value also increases, thereby avoiding data loss caused by sending data when the buffer overflows;

[0035] 3) The CPU occupancy rate of the display screen is positively correlated with the sending time interval. When the CPU occupancy rate of the display screen increases, the Ts value also increases. By increasing the sending time interval, the system freeze is reduced.

[0036] 4) The waveform change rate D is negatively correlated with the sending time interval. As the waveform change rate D increases, the sending time interval becomes smaller, and the complete waveform information is displayed more carefully.

[0037] 5) The impact coefficient is obtained by using the historical changes of the three dynamic adjustment factors, or is set based on experience to better meet actual needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 The present invention is a flow chart of a waveform information display method. DETAILED DESCRIPTION

[0039] The technical solution provided by the present invention is further illustrated below in conjunction with embodiments.

[0040] like Figure 1 The present invention provides a waveform information display method, comprising:

[0041] Step 1) Based on the historical changes of the three dynamic adjustment factors over a period of time, obtain the corresponding variance σ α , σ β and σ γ , wherein the three dynamic adjustment factors include: the occupancy rate of the data buffer area of ​​the lower computer, the CPU occupancy rate of the display screen and the change rate of the displayed waveform curve; the period of time is not less than 2 hours; the displayed waveform curve includes: the displayed waveform curve of the breathing pressure, the waveform curve of the tidal volume or the waveform curve of the respiratory flow rate;

[0042] Step 2) Using the variance σ α , σ β and σ γ , obtain the influence coefficient α of the lower computer data cache area occupancy rate, the influence coefficient β of the display screen CPU occupancy rate and the influence coefficient γ of the change rate of the displayed waveform curve; where,

[0043]

[0044] It can be seen from the above formula that the numerical range of α, β and γ is 0% to 100%, and α+β+γ=1; the numerical value of the influence coefficient represents the influence weight on the corresponding dynamic adjustment factor.

[0045] Step 3) Collect the current lower computer data sampling time interval Tr or data generation time interval Tc, and collect the current value U of the CPU occupancy rate of the display screen and the current period Tm of the displayed waveform curve; obtain the current value C of the lower computer data buffer area occupancy rate and the current value D of the change rate of the displayed waveform curve;

[0046] Step 4) Based on the current lower computer data sampling time interval Tr or data generation time interval Tc, as well as the current values ​​of the three dynamic adjustment factors and the influence coefficients α, β and γ, the sending time interval Ts is obtained:

[0047] Ts = Tmin + α*C + β*U - γ*D;

[0048] Among them, Tmin is the minimum sending time interval, which is not less than twice the lower computer data sampling time interval Tr or twice the data generation time interval Tc;

[0049] When the device is running, the three dynamic adjustment factors will keep changing. The values ​​of C, U, and D are used to obtain the sending time interval to achieve the goal of dynamic adjustment. In step 4), α, β, and γ are fixed values, and the sending time interval Ts is determined by the occupancy rate of the lower computer data buffer area, the CPU occupancy rate of the display screen, and the rate of change of the displayed waveform curve. The occupancy rate of the lower computer data buffer area represents the usage of the data buffer area of ​​the lower computer. The larger the value, the closer it is to the buffer overflow, and the easier it is to cause data loss. In the present invention, Ts is obtained by the formula of sending time interval Ts. The occupancy rate of the data buffer area is positively correlated with the sending time interval. When the occupancy rate of the data buffer area increases, the Ts value also increases. Data loss caused by sending data when the buffer overflows is avoided. The occupancy rate C of the lower computer data buffer area is obtained through the usage of the lower computer data buffer area, and its maximum value is 1. The greater the CPU occupancy rate of the display screen, the more likely the system is to freeze, which may cause incomplete or deformed waveform display. The present invention uses the formula of sending time interval Ts to obtain Ts. The CPU occupancy rate of the display screen is positively correlated with the sending time interval. When the CPU occupancy rate of the display screen increases, the Ts value also increases. By increasing the sending time interval, the system freeze is reduced. The CPU occupancy rate of the display screen is collected and transmitted from the display screen to the lower computer during the communication process. Its maximum value is 1.

[0050] The waveform change rate D indicates the change of the displayed waveform. The larger the value of the waveform change rate D, the more detailed waveform information needs to be displayed. In order to display the complete change information, the sending time interval should be reduced. The present invention uses the sending time interval Ts formula to obtain Ts. The waveform change rate D is negatively correlated with the sending time interval. The waveform change rate D increases, the sending time interval is smaller, and the complete waveform information is displayed more carefully.

[0051] The process of obtaining the rate of change of the waveform curve includes:

[0052] Set the maximum slope value Dmax, and obtain the slope value D′ of the displayed waveform curve through the lower computer;

[0053] The change rate D of the displayed waveform curve is obtained by using the maximum slope value Dmax and the slope value D` of the displayed waveform curve:

[0054] D=D` / D max ;

[0055] Dmax is the maximum slope value. Since the maximum slope of the waveform curve monitored during breathing is affected by the physiological condition of the human body, there will be no vertically rising maximum slope value. The slope value and the maximum slope value of the displayed waveform curve are used to obtain the rate of change D of the displayed waveform curve. The larger the value of D, the greater the waveform change.

[0056] Step 5) determines whether the sending time interval Ts is less than 1 / 20 of the current period Tm of the displayed waveform curve; if so, executes step 6); if not, adjusts the values ​​of the influence coefficients α, β and γ according to experience, and re-acquires the sending time interval Ts until the sending time interval Ts is less than 1 / 20 of the current period Tm of the displayed waveform curve, and executes step 6); wherein the influence coefficients α, β and γ set according to experience have a value range of 0% to 100%, and α+β+γ=1, for example, the influence coefficients α, β and γ set according to experience are: α=0.4; β=0.3; γ=0.3.

[0057] Step 6) The waveform information is sent to the display screen through the lower computer based on the sending time interval Ts.

[0058] From the above specific description of the present invention, it can be seen that the present invention dynamically adjusts the waveform information sending interval so that the system can adjust the sending interval in real time according to the current operating conditions to achieve the best display effect. The data buffer area occupancy rate is positively correlated with the sending time interval. When the data buffer area occupancy rate increases, the Ts value also increases, thereby avoiding data loss caused by sending data when the cache overflows; the CPU occupancy rate of the display screen is positively correlated with the sending time interval. When the CPU occupancy rate of the display screen increases, the Ts value also increases. By increasing the sending time interval, the system freeze is reduced; the waveform change rate D is negatively correlated with the sending time interval. The waveform change rate D increases, the sending time interval is smaller, and the complete waveform information is displayed more meticulously; the influence coefficient is obtained by using the historical changes of the three dynamic adjustment factors, or is set according to experience, which is more suitable for actual needs.

[0059] The present invention further provides a waveform information display device, which includes: a processing module. The waveform display device uses the above display method during the waveform information display process.

[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that any modification or equivalent replacement of the technical solutions of the present invention does not depart from the spirit and scope of the technical solutions of the present invention and should be included in the scope of the claims of the present invention.

Claims

1. A waveform information display method, characterized in that: The following preprocessing steps are included: Step 1) Based on the historical changes of the three dynamic adjustment factors over a period of time, obtain the corresponding variance , and , wherein the three dynamic adjustment factors include: the occupancy rate of the lower computer data buffer area, the CPU occupancy rate of the display screen and the change rate of the displayed waveform curve; Step 2) Utilize Variance , and , obtain the influence coefficient α of the lower computer data buffer area occupancy rate, the influence coefficient β of the display screen CPU occupancy rate and the influence coefficient γ of the change rate of the displayed waveform curve; where, ; Step 3) Collect the current lower computer data sampling time interval Tr or data generation time interval Tc, and collect the current value U of the CPU occupancy rate of the display screen and the current period Tm of the displayed waveform curve; obtain the current value C of the lower computer data buffer area occupancy rate and the current value D of the change rate of the displayed waveform curve; Step 4) Based on the current lower-level data sampling time interval Tr or data generation time interval Tc, as well as the current values ​​of the three dynamic adjustment factors and the influence coefficients α, β and γ, the sending time interval Ts is obtained: wherein, ; Among them, Tmin is the minimum sending time interval, which is not less than twice the lower computer data sampling time interval Tr or twice the data generation time interval Tc; Step 5) Determine whether the sending time interval Ts is less than 1 / 20 of the current period Tm of the displayed waveform curve; if so, execute step 6); if not, adjust the values ​​of the influence coefficients α, β and γ based on experience, and re-acquire the sending time interval Ts until the sending time interval Ts is less than 1 / 20 of the current period Tm of the displayed waveform curve, and execute step 6); Step 6) The lower computer sends waveform information to the display screen at a sending time interval Ts; The step of acquiring the rate of change of the waveform curve comprises: Set the maximum slope value Dmax and obtain the slope value of the displayed waveform curve through the lower computer ; Use the maximum slope value Dmax and the slope value of the displayed waveform curve Get the change rate D of the displayed waveform curve: ; The displayed waveform curve includes: a displayed waveform curve of breathing pressure, a waveform curve of tidal volume or a waveform curve of respiratory flow rate.

2. A waveform information display method according to claim 1, characterized in that: The period of time in step 1) is not less than 2 hours.

3. A waveform information display method according to claim 1, characterized in that: The values ​​of the influence coefficients α, β and γ adjusted according to experience in step 5) range from 0% to 100%, and .

4. A waveform information display method according to claim 3, characterized in that: The values ​​of the influence coefficients α, β and γ set based on experience are: α=0.4; β=0.3; γ=0.

3.

5. A waveform information display device, characterized in that: The waveform information display device comprises: a processing module, and executes the display method described in any one of claims 1-4 during the waveform information display process.