CN-121997888-A - Interface display method, apparatus, computer device, readable storage medium, and program product
Abstract
The application relates to an interface display method, an interface display device, a computer device, a readable storage medium and a program product, wherein the method comprises the steps of configuring a physiological parameter block to comprise a text display container and a text measurement container; the text display container is used for displaying physiological parameter information in the web display interface, the text display container is provided with preset container size parameters, the text measurement container is used for measuring display size information of the physiological parameter information received in real time, a size adjustment coefficient for the physiological parameter information is determined based on the container size parameters and the display size information, the physiological parameter information is adjusted based on the size adjustment coefficient, target physiological parameter information is obtained, and the text display container is controlled to display the target physiological parameter information. The method realizes one-time determination of the target physiological parameter information size, and the determined target physiological parameter information can not exceed the boundary of the text display container, so that the memory overhead can be reduced, and the performance is improved.
Inventors
- LEI ZE
- GAN MINGWU
- CHEN KE
- WANG YINGLONG
Assignees
- 武汉联影智融医疗科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241108
Claims (10)
- 1. An interface display method, wherein the method is applied to a central monitoring system, the central monitoring system comprises a web display interface, the web display interface is divided into one or more display sections, each display section is used for receiving and displaying monitoring information of a bound patient, the monitoring information comprises at least one physiological parameter information, each display section comprises at least one physiological parameter block, and each physiological parameter block is used for displaying one physiological parameter information, and the method comprises the following steps: The method comprises the steps of configuring the physiological parameter block to comprise a text display container and a text measurement container, wherein the text display container is used for displaying physiological parameter information in the web display interface and has preset container size parameters; measuring display size information of physiological parameter information received in real time by the text measurement container; Determining a resizing factor for the physiological parameter information based on the container size parameter and the display size information; And adjusting the physiological parameter information based on the size adjustment coefficient to obtain target physiological parameter information, and controlling the text display container to display the target physiological parameter information.
- 2. The method of claim 1, wherein the determining a resizing factor for the physiological parameter information based on the container size parameter and the display size information comprises: acquiring a size ratio between the container size parameter and the display size information; and determining a size adjustment coefficient for the physiological parameter information according to the size proportion.
- 3. The method of claim 2, wherein the container size parameter and the display size information each comprise a width and a height, wherein the size scale comprises a width scale and a height scale, wherein the determining a sizing coefficient for the physiological parameter information based on the size scale comprises: Comparing the wide ratio with the high ratio; And taking the ratio with smaller numerical value of the wide ratio and the high ratio as the size adjustment coefficient.
- 4. The method of claim 1, wherein adjusting the physiological parameter information based on the resizing factor yields target physiological parameter information, comprising: Acquiring a basic font size corresponding to the text measurement container; Obtaining the product of the size adjustment coefficient and the basic font size to obtain a target font size; And adjusting the font size of the physiological parameter information to the target font size to obtain the target physiological parameter information.
- 5. The method of claim 1, wherein the physiological parameter block comprises an electrocardiographic parameter block, an oximetry parameter block and a respiration parameter block that are displayed in an array, wherein the electrocardiographic parameter block comprises an electrocardiographic display container and an electrocardiographic measurement container, wherein the oximetry parameter block comprises an oximetry display container and an oximetry container, and wherein the respiration parameter block comprises a respiration display container and a respiration measurement container; The method further comprises the steps of: Configuring the electrocardiograph display container, the blood oxygen display container and the respiration display container to have the same container size parameters; Respectively controlling the electrocardiograph measuring container to measure the electrocardiograph display size of the electrocardiograph monitoring value received in real time, controlling the blood oxygen measuring container to measure the blood oxygen display size of the blood oxygen monitoring value received in real time, and controlling the respiration measuring container to measure the respiration display size of the respiration monitoring value received in real time; determining an electrocardio-regulating coefficient according to the electrocardio-display size and the same container size parameter; and/or the number of the groups of groups, Determining a blood oxygen adjustment coefficient according to the blood oxygen display size and the same container size parameter; and/or the number of the groups of groups, Determining a respiratory adjustment coefficient according to the respiratory display size and the same container size parameter; and adjusting the display size of the respiration monitoring value according to the respiration adjustment coefficient.
- 6. The method according to claim 1, wherein the method further comprises: determining a normal parameter range corresponding to the physiological parameter information; Determining a target display mode aiming at the physiological parameter information based on a matching result of the physiological parameter information and the normal parameter range; the controlling the text display container to display the target physiological parameter information further comprises: and controlling the text display container to display the target physiological parameter information according to the target display mode.
- 7. An interface display device, characterized in that the interface display device is arranged in a central monitoring system, the central monitoring system comprises a web display interface, the web display interface is divided into one or more display sections, each display section is used for receiving and displaying monitoring information of a bound patient, the monitoring information comprises at least one physiological parameter information, each display section comprises at least one physiological parameter block, and each physiological parameter block is used for displaying one physiological parameter information, and the device comprises: the configuration unit is used for configuring the physiological parameter block to comprise a text display container and a text measurement container, wherein the text display container is used for displaying physiological parameter information in the web display interface and has preset container size parameters; A measurement unit for measuring display size information of physiological parameter information received in real time through the text measurement container; A determining unit configured to determine a resizing factor for the physiological parameter information based on the container size parameter and the display size information; And the adjusting unit is used for adjusting the physiological parameter information based on the size adjusting coefficient to obtain target physiological parameter information and controlling the text display container to display the target physiological parameter information.
- 8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the interface display method of any one of claims 1 to 6 when the computer program is executed.
- 9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the interface display method of any one of claims 1 to 6.
- 10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the interface display method of any one of claims 1 to 6.
Description
Interface display method, apparatus, computer device, readable storage medium, and program product Technical Field The present application relates to the technical field of medical devices, and in particular, to an interface display method, an interface display device, a computer readable storage medium, and a computer program product. Background A central monitoring system (Central Monitoring System, CMS for short) is used to enable centralized real-time monitoring of multiple patients. The web display interface of the central monitoring system is divided into a plurality of physiological parameter blocks, and each physiological parameter block is bound with a patient and used for displaying physiological parameter patients of the patients in real time, wherein the physiological parameters are acquired and transmitted by the monitoring equipment. Since the physiological parameters of the patient are affected by the current state, such as the patient changes from a stationary state to a moving state, the heart rate value may change, and the display area in the physiological parameter block for displaying the heart rate needs to adapt to the heart rate variation. In general, the central monitoring system sets a container (div) with a fixed width and height for displaying physiological parameters, text changing with time is displayed in the container, the text needs to be displayed in a manner of being maximally attached to the container after the length of the text is changed, the container cannot be exceeded, and in this case, the font size of the text suitable for the container needs to be calculated. The current common method is canvas drawing and algorithm, which gives a Text and a font initial value, calculates the width and height actually occupied by the font by the canvas measurement Text method, and then judges whether the width and height are in the container range. If yes, the font is increased by 1, the font width and height are calculated circularly, and if the font width and height are exceeded, the current font value is returned. However, in this method, canvas objects need to be created in the memory every time fonts are calculated, the memory overhead is increased when the fonts are circularly calculated, and especially in the scene that the central monitoring system monitors a plurality of patients in real time, the problems of interface blocking and the like easily occur. Disclosure of Invention Based on this, there is a need to provide an interface display method, apparatus, computer device, computer readable storage medium and computer program product for the technical problems that the above-mentioned text font size calculation method increases memory overhead and reduces performance. In a first aspect, the present application provides an interface display method. The method is applied to a central monitoring system, the central monitoring system comprises a web display interface, the web display interface is divided into one or more display sections, each display section is used for receiving and displaying monitoring information of a bound patient, the monitoring information comprises at least one physiological parameter information, each display section comprises at least one physiological parameter block, and each physiological parameter block is used for displaying one physiological parameter information, and the method comprises the following steps: The method comprises the steps of configuring the physiological parameter block to comprise a text display container and a text measurement container, wherein the text display container is used for displaying physiological parameter information in the web display interface and has preset container size parameters; measuring display size information of physiological parameter information received in real time by the text measurement container; Determining a resizing factor for the physiological parameter information based on the container size parameter and the display size information; And adjusting the physiological parameter information based on the size adjustment coefficient to obtain target physiological parameter information, and controlling the text display container to display the target physiological parameter information. In one embodiment, the determining a resizing factor for the physiological parameter information based on the container size parameter and the display size information comprises: acquiring a size ratio between the container size parameter and the display size information; and determining a size adjustment coefficient for the physiological parameter information according to the size proportion. In one embodiment, the container size parameter and the display size information each comprise a width and a height, the size ratio comprises a width ratio and a height ratio, and the determining the size adjustment coefficient for the physiological parameter information according to the size ratio comprises: Comparing