CN113129407A - Physiological waveform chart drawing method and device, computer equipment and readable storage medium - Google Patents

Physiological waveform chart drawing method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN113129407A
CN113129407A CN202110274431.7A CN202110274431A CN113129407A CN 113129407 A CN113129407 A CN 113129407A CN 202110274431 A CN202110274431 A CN 202110274431A CN 113129407 A CN113129407 A CN 113129407A
Authority
CN
China
Prior art keywords
physiological state
state data
target
physiological
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110274431.7A
Other languages
Chinese (zh)
Other versions
CN113129407B (en
Inventor
陈景
何卓彪
陈义峰
尤进进
陈绪辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan United Imaging Zhirong Medical Technology Co Ltd
Original Assignee
Wuhan United Imaging Zhirong Medical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan United Imaging Zhirong Medical Technology Co Ltd filed Critical Wuhan United Imaging Zhirong Medical Technology Co Ltd
Priority to CN202110274431.7A priority Critical patent/CN113129407B/en
Publication of CN113129407A publication Critical patent/CN113129407A/en
Application granted granted Critical
Publication of CN113129407B publication Critical patent/CN113129407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/30ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment

Abstract

The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for drawing a physiological waveform map, a computer device, and a storage medium. The method comprises the following steps: acquiring target fragment physiological state data, wherein the target fragment physiological state data is obtained by a server according to physiological state data to be drawn and is determined from the fragment physiological state data; determining target physiological state data corresponding to the display interface according to the target fragmented physiological state data; and drawing a physiological waveform based on the target physiological state data to generate a corresponding physiological waveform map. By adopting the method, the fluency of interaction is improved when the physiological oscillogram is drawn at the front end of the web.

Description

Physiological waveform chart drawing method and device, computer equipment and readable storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for drawing a physiological waveform map, a computer device, and a readable storage medium.
Background
With the development of modern electronic science and technology, physiological oscillograms have been developed to be more and more perfect, for example, a cardiac chart, an electroencephalogram, an electromyogram, a respiration chart, a blood oxygen chart, etc., and the processing and analysis of physiological state data become important bases for studying various body functions of a body.
In the traditional way, the study on the physiological waveform data is mostly based on the C/S architecture to draw a physiological waveform map and then analyze the physiological waveform map. The physiological oscillogram is drawn based on the C/S framework, so that the problems of high maintenance cost, low data safety, poor data consistency and the like exist, and the problems can be perfectly solved by drawing the physiological oscillogram based on the B/S framework of the WEB.
However, the drawing of the physiological oscillogram based on the B/S framework of the WEB is limited by the storage capacity of the front end of the WEB, and only the physiological state data can be acquired from the back end in real time and drawn at the front end, so that the problem of insufficient smoothness of browsing interaction exists.
Disclosure of Invention
Therefore, in order to solve the above technical problems, it is necessary to provide a physiological waveform map drawing method, apparatus, computer device and readable storage medium for improving interactive fluency performance when a web front end performs physiological waveform map drawing.
A physiological waveform mapping method, the method comprising:
acquiring target fragment physiological state data, wherein the target fragment physiological state data is obtained by a server according to physiological state data to be drawn and is determined from the fragment physiological state data;
determining target physiological state data corresponding to the display interface according to the target fragmented physiological state data;
and drawing a physiological waveform based on the target physiological state data to generate a corresponding physiological waveform map.
In one embodiment, determining the target physiological state data corresponding to the display interface according to the target sliced physiological state data includes:
determining initial physiological state data corresponding to the display interface based on the target fragment physiological state data;
receiving a scrolling instruction of a scrolling control, wherein the scrolling instruction carries scrolling information;
and determining the scrolled target physiological state data corresponding to the display interface based on the scroll information and the initial physiological state data.
A physiological waveform mapping device, the device comprising:
the acquisition module is used for acquiring target fragment physiological state data, wherein the target fragment physiological state data is obtained by a server according to the physiological state data to be drawn and is determined from the fragment physiological state data;
the target physiological state data determining module is used for determining target physiological state data corresponding to the display interface according to the target fragmented physiological state data;
and the physiological waveform drawing module is used for drawing a physiological waveform based on the target physiological state data and generating a corresponding physiological waveform map.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any of the above embodiments when the processor executes the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above embodiments.
According to the physiological waveform drawing method, the device, the computer equipment and the readable storage medium, target fragment physiological state data are obtained by the server according to the physiological state data to be drawn and are determined from the fragment physiological state data through obtaining the target fragment physiological state data, then the target physiological state data corresponding to the display interface are determined according to the target fragment physiological state data, and the physiological waveform drawing is carried out based on the target physiological state data to generate the corresponding physiological waveform drawing. Therefore, the data stored in the front end is only the target sliced physiological state data determined after slicing, the data amount stored in the front end can be reduced, and the storage requirement of the front end is met. And the target physiological state data is determined directly from the target fragmented physiological state data stored at the front end, the physiological waveform is drawn, and the physiological waveform map is generated.
Drawings
FIG. 1 is a diagram illustrating an exemplary application of the physiological waveform mapping method;
FIG. 2 is a schematic flow chart diagram illustrating a method for mapping physiological waveforms in one embodiment;
FIG. 3 is a schematic diagram of an electrocardiographic waveform plot according to one embodiment;
FIG. 4 is a schematic illustration of the step of determining target physiological state data in one embodiment;
FIG. 5 is a flowchart illustrating the step of re-determining target slice physiological state data in one embodiment;
FIG. 6 is a schematic diagram of an electrocardiographic waveform mapping interface in accordance with an embodiment;
FIG. 7 is a block diagram of a physiological waveform mapping apparatus according to an embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The physiological waveform map drawing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The doctor user can acquire the physiological state data of the user to be detected through the acquisition terminal and send the physiological state data to be drawn to the server 104. After the server 104 obtains the physiological state data to be rendered, the physiological state data to be rendered may be processed to obtain corresponding fragmented physiological state data. Server 104 may then determine target sliced physiological state data from the sliced physiological state data and send the target sliced physiological state data to terminal 102. Further, the terminal 102 may determine target physiological state data corresponding to the display interface based on the acquired target sliced physiological state data, and perform physiological waveform drawing based on the target physiological state data to generate a corresponding physiological waveform diagram. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a physiological waveform mapping method is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
step S202, acquiring target fragment physiological state data, wherein the target fragment physiological state data is obtained by a server according to the physiological state data to be drawn and is determined from the fragment physiological state data.
The physiological state data to be drawn refers to data of physiological state potential changes of an object to be detected in multiple periods, which are acquired through a terminal, and specifically may refer to electrocardiogram data, electroencephalogram data, electromyogram data, respiration data, blood oxygen data and the like. The physiological state data to be plotted may include a specific acquisition period, such as 8 points earlier to 8 points later, and may further include a specific acquisition frequency, such as 500 physiological state data acquired in 1 second.
In this embodiment, the physiological potential change data of the object to be detected in the preset detection interval can be collected through the terminal device installed on the user to be detected, so as to obtain the physiological state data to be drawn, and the physiological state data is sent to the server, so that the server can perform subsequent processing conveniently.
In this embodiment, the rendering and drawing of the physiological waveform are performed for the purpose of being displayed to a front-end user for viewing, for example, taking electrocardiographic monitoring as an example, a doctor performs corresponding analysis on the cardiac function of the object to be detected according to the displayed electrocardiographic waveform. And the storage space of the web front end is limited, and the complete physiological state data to be drawn cannot be completely stored.
In this embodiment, after acquiring the to-be-rendered physiological state data, the server may generate corresponding fragmented physiological state data based on the to-be-rendered physiological state data.
In this embodiment, the server generates the corresponding sliced physiological state data based on the to-be-drawn physiological state data, which may be single-slice sliced physiological state data or at least two slices of sliced physiological state data, for example, when the data volume of the to-be-drawn physiological state data is small, the server may not perform any processing, and directly uses the to-be-drawn physiological state data as sliced physiological state data, and when the server determines that the data volume of the to-be-drawn physiological state data is large, the to-be-drawn physiological state data may be processed at this time to obtain the corresponding at least two slices of sliced physiological state data.
Specifically, the criterion of the larger or smaller data amount may be determined according to the storage capacity of the front end (i.e., the terminal), or may also be set to a fixed value, which is not limited in this application.
In this embodiment, the server processes the physiological status data to be rendered to obtain the corresponding at least two pieces of sliced physiological status data, which may be to perform slicing processing on the physiological status data to be rendered to generate the corresponding at least two pieces of sliced physiological status data.
In this embodiment, the server may segment the acquired physiological state data to be rendered from the time dimension to obtain at least two pieces of corresponding sliced physiological state data.
Specifically, when the server segments the physiological state data to be rendered, the physiological state data to be rendered may be segmented according to a data amount storable by the web front end, for example, if the maximum data amount storable by the web front end is 100M, the data amount of each segmented physiological state data obtained by segmentation should be at least less than 100M.
Meanwhile, the server should combine the interface display data volume of the display interface of the terminal to segment the physiological status data to be drawn, for example, the number of the physiological status collection points that can be displayed at the same time point on the display interface is 5000 points, and actually during segmentation, it should be determined that the number of the physiological status collection points included in each piece of physiological status data should be at least greater than or equal to 5000 points.
In this embodiment, the server may comprehensively consider the storage capacity of the web front end and the number of the physiological status collection points that can be displayed at the same time point on the display interface, and segment the physiological status data to be drawn to obtain the corresponding segmented physiological status data.
In this embodiment, after obtaining the fragmented physiological status data, the server may determine the target fragmented physiological status data from the determined fragmented physiological status data, and send the target fragmented physiological status data to the terminal, so that the terminal may store the target fragmented physiological status data and perform subsequent processing.
In this embodiment, when the fragmented physiological status data only has a single chip, the server may directly transmit the fragmented physiological status data to the terminal.
In this embodiment, when the sliced physiological state data includes at least two slices, the server may determine, according to the collection time sequence of each sliced physiological state data, that the sliced physiological state data with the most advanced collection time sequence is the target sliced physiological state data when the physiological waveform is drawn for the first time, and send the target sliced physiological state data to the terminal. And when the sliding browsing is carried out subsequently, according to the sliding distance and the target fragment physiological state data determined before the sliding, re-determining or adjusting the target fragment physiological state data according to the acquisition time sequence, and replacing the target fragment physiological state data stored in the terminal.
The following description will take an example of a process of processing electrocardiographic data.
Specifically, a doctor can acquire myocardial action potential change data of an object to be detected through acquisition equipment to obtain electrocardiogram data to be drawn, and send the electrocardiogram data to a server so as to facilitate subsequent processing of the server.
In this embodiment, after the server acquires the electrocardiographic data to be drawn, the server may determine the electrocardiographic data to be drawn to determine whether the electrocardiographic data to be drawn needs to be processed.
Specifically, the server may determine whether to perform slicing processing on the electrocardiographic data to be drawn based on a preset fixed value or the storage capacity of the front end (i.e., the terminal).
In this embodiment, when the server determines that the data volume of the electrocardiographic data to be rendered is smaller than a preset fixed value or the storage capacity of the front end (i.e., the terminal), the server may determine not to perform slicing processing on the electrocardiographic data to be rendered, and directly use the electrocardiographic data to be rendered as sliced electrocardiographic data. Similarly, when the server determines that the data volume of the electrocardiographic data to be drawn is greater than or equal to a preset fixed value or the storage capacity of the front end (i.e. the terminal), the server can determine that the electrocardiographic data to be drawn is subjected to slicing processing to obtain at least two pieces of sliced electrocardiographic data.
Further, the server can determine target segmented electrocardiogram data from the obtained segmented electrocardiogram data and send the target segmented electrocardiogram data to the terminal, so that the terminal can perform subsequent processing.
And step S204, determining target physiological state data corresponding to the display interface according to the target fragmented physiological state data.
In this embodiment, the target sliced physiological state data acquired by the terminal cannot be completely displayed on the display interface at the same time point (on one screen), so that the terminal can determine the target sliced physiological state data that can be displayed on one screen by the display interface from the acquired target sliced physiological state data, and perform subsequent processing.
Specifically, the terminal may determine the target physiological state data corresponding to the display interface from the target sliced physiological state data according to the display parameters of the display interface, and perform subsequent processing. And continuously taking the electrocardiogram data as an example, namely determining the target electrocardiogram data corresponding to the display interface from the target sliced electrocardiogram data by the terminal, and performing subsequent processing.
And step S206, drawing the physiological waveform based on the target physiological state data, and generating a corresponding physiological waveform map.
In this embodiment, the terminal may perform the drawing of the physiological waveform according to the determined target physiological status data, and display the physiological waveform on the display interface, as can be seen with reference to fig. 3. Figure 3 illustrates a schematic diagram of an electrocardiographic waveform plot, as drawn in one embodiment.
Referring to fig. 3, the physiological waveforms drawn by the server may include electrocardiographic waveforms corresponding to different lead scale lines, for example, electrocardiographic waveforms corresponding to 12 lead scale lines, that is, electrocardiographic data corresponding to different lead scale lines of each physiological state acquisition point may be included in the target physiological state data determined by the server.
In the method for drawing the physiological waveform map, the target fragmented physiological state data is obtained by the server according to the physiological state data to be drawn, is determined from the fragmented physiological state data, then determines the target physiological state data corresponding to the display interface according to the target fragmented physiological state data, and draws the physiological waveform based on the target physiological state data to generate the corresponding physiological waveform map. Therefore, the data stored in the front end is only the target sliced physiological state data determined after slicing, the data amount stored in the front end can be reduced, and the storage requirement of the front end is met. And the target physiological state data is determined directly from the target fragmented physiological state data stored at the front end, the physiological waveform is drawn, and the physiological waveform map is generated.
In one embodiment, determining the target physiological state data corresponding to the display interface according to the target sliced physiological state data may include: determining initial physiological state data corresponding to the display interface based on the target fragment physiological state data; receiving a scrolling instruction of a scrolling control, wherein the scrolling instruction carries scrolling information; and determining the scrolled target physiological state data corresponding to the display interface based on the scroll information and the initial physiological state data.
The initial physiological state data refers to physiological state data corresponding to a physiological waveform drawn on a display interface before the scroll control is scrolled.
The scroll command is a command generated when the user scrolls through the scroll control, for example, a scroll command generated by a doctor sliding a mouse wheel. The rolling instruction summary carries rolling information, for example, the number of pixels of a pixel point rolling on the display interface, and the like.
In this embodiment, when the terminal performs the first time of drawing the physiological waveform, it may be determined that, from the acquired target sliced physiological state data, the physiological state data of the physiological state acquisition point closest to the acquisition time point is the target physiological state data corresponding to the first time of presentation, and the physiological waveform is drawn.
Further, when the terminal receives a scrolling instruction of the scrolling control, the physiological waveform data drawn on the display interface before scrolling can be used as initial physiological state data, target physiological state data of a physiological waveform to be drawn on the display interface after scrolling is determined according to the initial physiological state data and the scrolling information, and the physiological waveform is drawn.
Specifically, the terminal may determine, according to the number of pixels of the scrolling pixel points determined in the scrolling information, the number of physiological state acquisition points scrolled by the scrolling control, for example, one pixel on the display interface corresponds to 5 physiological state acquisition points, and if the number of the pixels scrolled is 100px, the number of the physiological state acquisition points scrolled is determined to be 500. Then, the terminal can determine that the rolling control member rolls from the target slicing physiological state data according to the initial physiological state data and the determined number of the rolling physiological state acquisition points, and then the target physiological state data of the display interface is correspondingly displayed.
In this embodiment, when the target segmented physiological state data is target segmented electrocardiographic data corresponding to electrocardiographic data, the initial physiological state data and the target physiological state data are initial electrocardiographic data and target electrocardiographic data corresponding to the target segmented electrocardiographic data, respectively. Similarly, when the target sliced physiological state data is the target sliced electroencephalogram data corresponding to the electroencephalogram data, the initial physiological state data and the target physiological state data are respectively the initial electrocardiograph data and the target electroencephalogram data corresponding to the target sliced electroencephalogram data.
In the above embodiment, the scrolling instruction of the scrolling control is received, and the scrolled target physiological state data corresponding to the display interface is determined based on the scrolling information and the initial physiological state data carried in the scrolling instruction, so that the scrolling deviation amount can be accurately determined based on the scrolling information, the scrolled target physiological state data can be accurately determined, and the accuracy of drawing the subsequent physiological waveform can be improved.
In one embodiment, determining the scrolled target physiological state data of the corresponding display interface based on the scroll information and the initial physiological state data may include: acquiring display parameters of a display interface and acquisition parameters of physiological state data to be drawn; determining the display quantity of the physiological state acquisition points which can be displayed simultaneously on the display interface based on the display parameters and the acquisition parameters; determining an initial absolute position of the initial physiological state data relative to the physiological state data to be plotted based on the initial physiological state data; determining a rolling offset of rolling according to the rolling information; and determining the scrolled target physiological state data corresponding to the display interface according to the scroll offset, the display quantity and the initial absolute position.
The display parameters may include parameter data such as a total pixel width of a display interface of the display interface, a unit pixel value of the display interface, and the like, and data such as an interface size width occupied by the physiological state acquisition point on the display interface in unit time. The collection parameters of the physiological status data to be plotted may refer to collection frequency of the collection device collecting the physiological status collection points, for example, the collection number of the physiological status collection points collected in unit time.
In this embodiment, the terminal may obtain the display parameters of the display interface and the acquisition parameters of the physiological status data to be drawn from the database, and then determine the display number of the physiological status acquisition points that can be simultaneously displayed on the display interface based on the display parameters and the acquisition parameters, as shown in fig. 4 by pointOfScreen (screen point).
Further, the terminal may determine, according to the initial point data, an initial absolute position of a first physiological state acquisition in the initial physiological state data relative to the physiological state data to be drawn, that is, an initial absolute position preAbsStart of a leftmost physiological state acquisition point of a previous screen pre in fig. 4 relative to a starting point start of the physiological state data to be drawn. In fig. 4, pre denotes a previous screen, current denotes a current screen, and next denotes a next screen.
In this embodiment, the initial absolute position preAbsStart may be determined according to the slice serial number of the target slice physiological state data and the data volume of each slice physiological state data, for example, if the slice serial number of the target slice physiological state data is 4, the data volume of each slice physiological state data is 10000 physiological state acquisition points, then the initial absolute position preAbsStart is 4 × 10000 ═ 40000, and then the initial absolute position preAbsStart is 40000.
Further, the terminal may determine a scroll offset of scrolling according to the scroll information, which is shown in scrollPointNum in fig. 4.
Further, the terminal may determine the scrolled target physiological state data corresponding to the display interface according to the scroll offset scrollPointNum, the display quantity pointOfScreen, and the initial absolute position preabstart, that is, determine the physiological state data corresponding to the current screen current in fig. 4.
In the above embodiment, the display quantity of physiological status acquisition points that can be simultaneously displayed on the display interface is determined according to the display parameters of the display interface and the acquisition parameters of the physiological status data to be drawn, the initial absolute position of the initial physiological status data relative to the physiological status data to be drawn is determined based on the initial physiological status data, the rolling offset of rolling is determined according to the rolling information, and then the rolled target physiological status data corresponding to the display interface is determined according to the rolling offset, the display quantity and the initial absolute position.
In one embodiment, as mentioned above, the display parameters may include a total pixel width of the display interface, a unit pixel value of the display interface, and an interface size width occupied by the physiological condition collection points collected in a unit time on the display interface, and the collection parameters include a collection number of the physiological condition collection points collected in the unit time.
The total pixel width of the display interface can be represented as gridWidth, the unit pixel value of the display interface can be represented as cellPx, the interface size width occupied by the physiological state acquisition points acquired in unit time on the display interface can also refer to the paper feeding speed in the physiological waveform diagram, and can be represented as speedValue, and the acquisition number of the physiological state acquisition points acquired in unit time can be represented as samplingrate.
In this embodiment, determining the display number of the physiological status acquisition points that can be simultaneously displayed on the display interface based on the display parameters and the acquisition parameters may include: determining the interface pixel width occupied by the physiological state acquisition points acquired in unit time on the display interface according to the interface size width occupied by the physiological state acquisition points acquired in unit time on the display interface and the unit pixel value of the display interface; determining the acquisition point pixel width between two adjacent acquisition points according to the interface pixel width and the acquisition number of the physiological state acquisition points acquired in unit time; and determining the display number of the physiological state acquisition points which can be simultaneously displayed on the display interface according to the total pixel width and the acquisition point pixel width.
In this embodiment, the terminal may determine the interface pixel width occupied by the physiological status acquisition point acquired in the unit time on the display interface, that is, cellPx _ speedValue, according to the interface size width occupied by the physiological status acquisition point acquired in the unit time on the display interface, that is, the paper feeding speed speedValue, and the unit pixel value cellPx of the display interface.
Further, the terminal may determine an acquisition point pixel width (cellPx _ speedValue)/samplingrate between two adjacent acquisition points according to the interface pixel width cellPx _ speedValue and the acquisition number samplingrate of the physiological state acquisition points acquired in unit time.
Further, the terminal may determine the display number of the physiological state acquisition points that can be simultaneously displayed on the display interface according to the total pixel width gridWidth and the acquisition point pixel width (cellPx _ speedValue)/samplingate, that is, the following formula (1).
Figure BDA0002976003830000101
Floor is a front-end common function, which means taking an integer downward. The following is a description by a specific example.
For example, the total pixel width gridWidth of the display interface is 1000px, the unit pixel value cellPx of the display interface is 4px, one cell in the display interface is 1mm, namely one cell is 4px, the paper feeding speed speedValue is 25mm/s, namely 25 cells are fed in 1 second, the acquisition number samplinglate of the physiological state acquisition points acquired in unit time is 500, and the display number of the physiological state acquisition points which can be simultaneously displayed on the display interface is 5000 through the formula.
In the above embodiment, the display number of the physiological state acquisition points which can be simultaneously displayed on the display interface is determined based on the display parameters and the acquisition parameters of the display interface, and the display number of the display interface in each specific application scene can be acquired, so that the subsequent physiological waveform drawing is adjusted based on the actual application scene, and the flexibility of the physiological waveform drawing is improved.
In one embodiment, determining the scrolled target physiological state data corresponding to the display interface according to the scroll offset, the display number, and the initial absolute position may include: determining the target absolute position of the scrolled target physiological state data to be determined relative to the physiological state data to be drawn according to the scrolling offset, the display quantity and the initial absolute position; determining the absolute position of the target sliced physiological state data relative to the slice of the physiological state data to be drawn according to the slice sequence of the target sliced physiological state data; and determining the rolled target physiological state data corresponding to the display interface according to the target absolute position and the fragment absolute position.
In this embodiment, the terminal may determine the target absolute position currentAbsStart of the scrolled target physiological state data to be determined relative to the physiological state data to be rendered according to the scroll offset scrollPointNum, the display number pointOfScreen, and the initial absolute position preabstart, that is, may determine the target absolute position currentAbsStart of the scrolled target physiological state data to be determined relative to the physiological state data to be rendered according to the following formula (2).
currentAbsStart=preAbsStart+pointOfScreen+scrollPointNum (2)
Further, as described above, the terminal may determine, according to the fragment sequence of the target fragment physiological state data, a fragment absolute position sliceabstart of the target fragment physiological state data relative to the physiological state data to be rendered, for example, a fragment number of the target fragment physiological state data is 4, a data amount of each fragment physiological state data is 10000 physiological state acquisition points, an initial absolute position preAbsStart is 4 × 10000 ═ 40000, and an initial absolute position preAbsStart is 40000.
In this embodiment, the terminal may determine the scrolled target physiological state data corresponding to the display interface according to the target absolute position currentAbsStart and the slice absolute position sliceabstart when determining the scrolled target absolute position currentAbsStart of the target physiological state data relative to the physiological state data to be rendered and the slice absolute position sliceabstart of the target slice physiological state data relative to the physiological state data to be rendered. That is, the target physiological state data can be determined by the following formula (3).
currentStart=currentAbsStart-sliceAbsStart (3)
In this embodiment, the terminal may intercept the determined target physiological status data, obtain physiological status data ecgScreenData of which the current screen of the display interface can perform a physiological status rendering with a length of pointOfScreen, and perform rendering of a physiological waveform.
In one embodiment, the target sliced physiological state data may include current sliced physiological state data in which the initial physiological state data is located and preloaded sliced physiological state data corresponding to the current sliced physiological state data.
The preloaded slice data may include left-wing slice data and/or right-wing slice data of the current slice physiological state data. In this embodiment, the left wing segment data or the right wing segment data may refer to one segment physiological state data or may refer to a plurality of segment physiological state data, which is not limited in this application.
For example, with continued reference to fig. 4, the current sliced physiological state data in which the initial physiological state data is located may be slice i, the left wing sliced data may not exist, and the right wing sliced data may be slice i + 1.
In this embodiment, after determining the scrolled target physiological state data corresponding to the display interface based on the scroll information and the initial physiological state data, the method may further include: judging whether the current sliced physiological state data of the target physiological state data is consistent with the current sliced physiological state data of the initial physiological state data; and when the current fragmented physiological state data of the target physiological state data is not consistent with the current fragmented physiological state data of the initial physiological state data, acquiring preloaded fragmented data of the current fragmented physiological state data corresponding to the target physiological state data from the server according to the current fragmented physiological state data of the target physiological state data.
In this embodiment, after the terminal performs the rolling preview on the physiological waveform displayed on the display interface through the rolling control, and determines the target physiological state data corresponding to the display interface after the rolling, that is, the target physiological state data of the current screen is determined, the server may determine whether the current sliced physiological state data in which the target physiological state data is located is consistent with the current sliced physiological state data in which the initial physiological state data is located, that is, determine whether the sliced physiological state data in which the physiological state data of the previous screen is located is the same sliced physiological state data as the sliced physiological state data in which the physiological state data of the current screen is located.
In this embodiment, when the terminal determines that the current sliced physiological state data in which the target physiological state data is located is consistent with the current sliced physiological state data in which the initial physiological state data is located, it indicates that after the user rolls through the rolling control, the physiological waveform drawn by the display interface does not roll to the next sliced physiological state data of the current sliced physiological state data in which the initial physiological state data is located, and at this time, the server may not process the physiological waveform.
Further, when the terminal determines that the current sliced physiological state data of the target physiological state data is inconsistent with the current sliced physiological state data of the initial physiological state data, it may be determined that after the user rolls through the rolling control, the physiological waveform drawn by the display interface has rolled to the next sliced physiological state data (sliding to the right) or the previous sliced physiological state data (sliding to the left) of the current physiological state data of the initial physiological state data, and at this time, the terminal may obtain the preloaded sliced physiological state data of the current sliced physiological state data corresponding to the target physiological state data from the server, and according to the determined new target sliced physiological state data, the terminal locally stores the target sliced physiological state data. For example, referring to FIG. 5, the current sliced physiological state data in which the initial physiological state data is located is slice i, and the preloaded sliced physiological state data is slices i-1 and i + 1. When the user scrolls to the left through the scroll control and scrolls to the slice i-1, the preloaded slice data can be determined to be the slice i-2 and the slice i again. Similarly, when the user scrolls to the right through the scroll control and scrolls to the slice i +1, the preloaded slice data can be determined to be the slice i and the slice i +2 again.
In one embodiment, the terminal may also determine the preloaded slice data after the scrolling in another manner, for example, the terminal may determine whether to re-determine the preloaded slice data according to the data amount of the target physiological state data determined after the scrolling and the first physiological state acquisition point of the target slice physiological state data, and if the starting point of the target physiological state data determined after the scrolling and the tail end of the target slice physiological state data determined after the scrolling are less than the preset number of screens when the scrolling control scrolls the physiological waveform diagram to the right, re-determine the corresponding preloaded slice data, that is, the next slice physiological state data of the preloaded right wing slice data. Similarly, when the rolling control member rolls the physiological waveform diagram to the left and the distance between the starting point of the target physiological state data determined after rolling and the starting point of the target sliced physiological state data is less than the length of the preset number of screens, the corresponding preloaded sliced data, namely the previous sliced physiological state data of the preloaded left-wing sliced data, is determined again. The details will be described below.
Specifically, when the terminal is loaded for the first time, two sliced physiological state data with a slice sequence of 0 and 1 are obtained. At this time, the physiological state data of the target segment is a set [ 0,1 ] of the segment 0 and the segment 1. And the physiological waveform drawn by the display interface is the physiological state data of the start point of the slice 0. At this time, when the scroll control is scrolled to the left, the physiological waveform displayed at the front end does not change, i.e., the scrolling to the left is invalid.
Further, when the user scrolls to the right through the scroll control, the terminal may determine whether the distance between the starting point of the target physiological state data of the current screen after scrolling and the tail end of the collection [ 0,1 ] is greater than or equal to a preset length, for example, whether the distance between the starting point of the target physiological state data of the current screen after scrolling and the tail end of the collection [ 0,1 ] is greater than or equal to 4 screen lengths, and when the distance between the starting point of the target physiological state data of the current screen after scrolling and the tail end of the collection [ 0,1 ] is less than the preset length, preload the sliced physiological state data with the sliced sequence of 2, that is, determine that the sliced physiological state data with the sliced sequence of. The physiological state data of the target segment at this time is a set [ 0,1, 2 ]. When the user continues to scroll to the right through the scroll control, the determined target fragment physiological state data can be a set [ i-1, i, i +1 ], and so on. And when the last segment is scrolled to and the display interface displays the physiological waveform of the last physiological state acquisition point, determining that the physiological waveform cannot be scrolled to the right continuously and scrolling to the right continuously is invalid.
Further, when the terminal determines that the current target sliced physiological state data is the set [ i-1, i, i +1 ], and the user scrolls leftwards through the scroll control, the terminal can judge whether the distance between the starting point of the scrolled current screen target physiological state data and the starting point of the set [ i-1, i, i +1 ] is greater than or equal to the preset length, and when the distance between the starting point of the scrolled current screen target physiological state data and the starting point of the set [ i-1, i, i +1 ] is less than the preset length, the terminal can preload the sliced physiological state data with the sliced sequence i-2, that is, the sliced physiological state data with the sliced sequence i-2 is determined to be the preloaded sliced data. The physiological state data of the target segment at this time is a set [ i-2, i-1, i ]. By analogy, the user can continue to scroll to the left through the mouse until the physiological state data of the segment with the segment sequence of 0 is scrolled.
In the embodiment, the pre-loaded fragment data of the current fragment physiological state data is determined, and the current fragment physiological state data and the corresponding pre-loaded fragment data are stored as new target data, so that when the current fragment physiological state data and the corresponding pre-loaded fragment data roll through the rolling control, data required by the display interface for drawing the physiological waveform can be obtained locally from the front end all the time.
In one embodiment, as described above, the physiological status data to be rendered may be electrocardiographic data to be rendered, the sliced physiological status data may be sliced electrocardiographic data corresponding to the electrocardiographic data to be rendered, the target sliced physiological status data may be target sliced electrocardiographic data corresponding to the sliced electrocardiographic data, the target physiological status data may be target electrocardiographic data corresponding to the target sliced electrocardiographic data, and the physiological waveform may be an electrocardiographic waveform.
In this embodiment, performing a physiological waveform mapping based on the target physiological state data to generate a corresponding physiological waveform map may include: acquiring the electrocardio parameters of an electrocardio oscillogram to be drawn and the display parameters of a display interface; determining the lead coordinate position of each lead wire based on the electrocardio parameters; determining a first coordinate position of each physiological state acquisition point on a display interface according to the lead coordinate position, the display parameters and acquisition point data of each physiological state acquisition point in the target electrocardiogram data; determining a second coordinate position of each physiological state acquisition point on the display interface according to the display parameters and the acquisition point data of each physiological state acquisition point; and determining the coordinate position of each physiological state acquisition point on a display interface based on the first coordinate position and the second coordinate position of each physiological state acquisition point, and drawing physiological waveforms to obtain an electrocardiogram waveform diagram corresponding to the target electrocardiogram data.
The electrocardiographic parameters may include the aforementioned acquisition parameters of the electrocardiographic oscillogram to be drawn and the corresponding physiological state data acquired by each physiological state acquisition point.
In this embodiment, the terminal may determine the lead coordinate position of each lead line according to the electrocardiographic parameters. As shown in fig. 6. For example, the terminal may calculate a y coordinate set of the 12-lead ruler line on a Canvas according to the acquired electrocardiographic parameters. First, the server calculates the distance between adjacent lead ruled lines, which is dis ═ (Canvas height-50)/12, where 50 is the pixel value of the last lead V6 from the bottom of Canvas, and Canvas height. Then, the terminal calculates the y coordinate of the scale line of the ith lead, which is yBegins [ i ] - (i +1) × dis, wherein i is a subscript of 12 leads, and the numeric area is [ 0,11 ].
Further, the terminal can determine the first coordinate position of each physiological state acquisition point on the display interface, namely the y position coordinate of each physiological state acquisition point on the display interface, according to the lead coordinate position, the display parameters and the acquisition point data of each physiological state acquisition point (or called as an electrocardiogram acquisition point) in the target electrocardiogram data.
Specifically, the terminal calculates the y position coordinates of each physiological state acquisition point on the display interface through formula (4), as shown below.
y=yBegins[i]+ecgScreenData[index][i]*(cellPx*ratioValue) (4)
Wherein, yBegins [ i ] (i +1) × sis, ecgScreenData is target electrocardiogram data, index is the sampling sequence number of each physiological state acquisition point in the target electrocardiogram data, the value range is [ 0 ], pointOfScreen-1 ], i is the subscript of 12 leads, and ecgScreenData [ index ] [ i ] is the voltage value of the ith lead of the ith acquisition point in the index of the target electrocardiogram data, and the unit is mv. ratioValue is amplitude and may be, for example, 10 mm/mv. The cell pixel value of the cellPx display interface may also be referred to as a screen cell pixel value, and ecgScreenData [ index ] [ i ] (cellPx _ ratio value) is a pixel value converted according to the voltage value. And finally, adding yBegins [ i ] to obtain the y position coordinate of each physiological state acquisition point on the Canvas.
Further, the terminal can determine a second coordinate position of each physiological state acquisition point on the display interface according to the display parameters and the acquisition point data of each physiological state acquisition point, namely, determine an x position coordinate of each physiological state acquisition point on the display interface.
Specifically, the terminal calculates the x position coordinates of each physiological state acquisition point on the display interface through formula (5), as shown below.
x=index*(cellPx*speedValue/samplingrate) (5)
Wherein, index is a sampling sequence number of each physiological state acquisition point in the target electrocardiographic data, the value range is [ 0 ], pointOfScreen-1 ], cellPx is a screen cell pixel, the interface size width occupied on the speedValue display interface, that is, the paper feeding speed, and samplinglate is the acquisition number of the physiological state acquisition points acquired in unit time, which may also be referred to as a sampling frequency, and then (cellPx _ speedValue/samplinglate) is the pixel distance between two adjacent physiological state acquisition points on the canvas. Then, through index (cellPx _ speedValue/samplingyte), the x coordinate of each physiological state collection point on the Canvas can be obtained.
Further, after the terminal determines the first coordinate position and the second coordinate position of each physiological state acquisition point, namely the x coordinate position and the y coordinate position, the terminal can determine the coordinate position of each physiological state acquisition point on the display interface and draw the physiological waveform to obtain the physiological waveform diagram corresponding to the target electrocardiogram data.
Specifically, the terminal firstly calls clearRect (clear function) of the Canvas API to clear existing content on the Canvas, namely, to clear existing physiological waveforms, and then sequentially calls beginPath (start function, call and start a path branch), moveTo (jump function, move to a certain point), lineTo (connect function, from the point connecting the current point to the point after movement, the sum of moveTo and lineTo is a straight line), stroke (straight line definition function, defining a straight line), and the like of the Canvas API, so as to complete drawing of the physiological waveforms corresponding to the target electrocardiogram data.
It will be understood by those skilled in the art that the above is only a description of the mapping of the electrocardiographic waveform, and in other embodiments, the mapping of other physiological state waveforms is also applicable, for example, brain waveform, myoelectric waveform, respiratory waveform, blood oxygen waveform, etc., and the present application is not limited thereto.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a physiological waveform mapping apparatus including: a to-be-rendered physiological state data acquisition module 100, a segmentation module 200, a target segmented physiological state data determination module 300, a target physiological state data determination module 400, and a physiological waveform rendering module 500, wherein:
the acquisition module 100 is configured to acquire target fragment physiological state data, where the target fragment physiological state data is obtained by a server according to physiological state data to be drawn and is determined from the fragment physiological state data.
And the target physiological state data determining module 200 is configured to determine target physiological state data corresponding to the display interface according to the target fragmented physiological state data.
The physiological waveform drawing module 300 is configured to draw a physiological waveform based on the target physiological state data, and generate a corresponding physiological waveform map.
In one embodiment, the target physiological state data determination module 300 may include:
and the initial physiological state data determining submodule is used for determining the initial physiological state data corresponding to the display interface based on the target fragment physiological state data.
And the rolling instruction receiving submodule is used for receiving a rolling instruction of the rolling control, and the rolling instruction carries rolling information.
And the target physiological state data determining submodule is used for determining the scrolled target physiological state data corresponding to the display interface based on the scrolling information and the initial physiological state data.
In one embodiment, the target physiological state data determination sub-module may include:
and the parameter acquisition unit is used for acquiring the display parameters of the display interface and the acquisition parameters of the physiological state data to be drawn.
And the display quantity determining unit is used for determining the display quantity of the physiological state acquisition points which can be displayed simultaneously on the display interface based on the display parameters and the acquisition parameters.
And the initial absolute position determining unit is used for determining the initial absolute position of the initial physiological state data relative to the physiological state data to be drawn based on the initial physiological state data.
And a scroll offset determination unit for determining a scroll offset for scrolling based on the scroll information.
And the target physiological state data determining unit is used for determining the scrolled target physiological state data corresponding to the display interface according to the scrolling offset, the display quantity and the initial absolute position.
In one embodiment, the display parameters may include a total pixel width of the display interface, a unit pixel value of the display interface, and an interface size width occupied by the physiological state acquisition points acquired in unit time on the display interface, and the acquisition parameters include an acquisition number of the physiological state acquisition points acquired in unit time.
In this embodiment, the display number determination unit may include:
and the interface pixel width determining subunit is used for determining the interface pixel width occupied by the physiological state acquisition point acquired in the unit time on the display interface according to the interface size width occupied by the physiological state acquisition point acquired in the unit time on the display interface and the unit pixel value of the display interface.
And the acquisition point pixel width determining subunit is used for determining the acquisition point pixel width between two adjacent acquisition points according to the interface pixel width and the acquisition number of the physiological state acquisition points acquired in unit time.
And the display quantity determining unit is used for determining the display quantity of the physiological state acquisition points which can be displayed simultaneously on the display interface according to the total pixel width and the acquisition point pixel width.
In one embodiment, the target physiological state data determining unit may include:
and the target absolute position determining subunit is used for determining the target absolute position of the scrolled target physiological state data to be determined relative to the physiological state data to be drawn according to the scroll offset, the display quantity and the initial absolute position.
And the fragment absolute position determining subunit is used for determining the fragment absolute position of the target fragment physiological state data relative to the physiological state data to be drawn according to the fragment sequence of the target fragment physiological state data.
And the target physiological state data determining subunit is used for determining the rolled target physiological state data corresponding to the display interface according to the target absolute position and the slicing absolute position.
In one embodiment, the target sliced physiological state data may include current sliced physiological state data in which the initial physiological state data is located and preloaded sliced physiological state data corresponding to the current sliced physiological state data.
In this embodiment, the apparatus may further include:
and the judging module is used for judging whether the current sliced physiological state data of the target physiological state data is consistent with the current sliced physiological state data of the initial physiological state data or not after the scrolled target physiological state data corresponding to the display interface is determined based on the scroll information and the initial physiological state data.
And the pre-loading fragment data determining module is used for acquiring pre-loading fragment data of the current fragment physiological state data corresponding to the target physiological state data from the server according to the current fragment physiological state data of the target physiological state data when the current fragment physiological state data of the target physiological state data is inconsistent with the current fragment physiological state data of the initial physiological state data.
In one embodiment, the physiological state data to be drawn is electrocardiograph data to be drawn, the sliced physiological state data is sliced electrocardiograph data corresponding to the electrocardiograph data to be drawn, the target sliced physiological state data is target sliced electrocardiograph data corresponding to the sliced electrocardiograph data, the target physiological state data is target electrocardiograph data corresponding to the target sliced electrocardiograph data, and the physiological waveform is an electrocardiograph waveform.
In this embodiment, the physiological waveform drawing module 500 may include:
and the acquisition submodule is used for acquiring the electrocardio parameters of the electrocardio oscillogram to be drawn and the display parameters of the display interface.
And the lead coordinate position determining submodule is used for determining the lead coordinate positions of all lead wires based on the electrocardio parameters.
And the first coordinate position determining submodule is used for determining the first coordinate position of each physiological state acquisition point on the display interface according to the lead coordinate position, the display parameters and the acquisition point data of each physiological state acquisition point in the target electrocardiogram data.
And the second coordinate position determining submodule is used for determining a second coordinate position of each physiological state acquisition point on the display interface according to the display parameters and the acquisition point data of each physiological state acquisition point.
And the drawing submodule is used for determining the coordinate position of each physiological state acquisition point on the display interface based on the first coordinate position and the second coordinate position of each physiological state acquisition point, and drawing the electrocardiographic waveform to obtain the electrocardiographic waveform diagram corresponding to the target electrocardiographic data.
For the specific definition of the physiological waveform mapping device, reference may be made to the above definition of the physiological waveform mapping method, which is not described herein again. The various modules of the physiological waveform mapping apparatus can be implemented in whole or in part by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the physiological state data to be drawn, the slice physiological state data, the target physiological state data and the physiological waveform map data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a physiological waveform mapping method.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: acquiring physiological state data to be drawn; segmenting the physiological state data to be drawn to obtain a plurality of corresponding segmented physiological state data; determining target fragmented physiological state data from the plurality of fragmented physiological state data, and storing the target fragmented physiological state data to a network front end; determining target physiological state data corresponding to a display interface from the target fragmented physiological state data stored to the front end of the network; and drawing a physiological waveform based on the target physiological state data to generate a corresponding physiological waveform map.
In one embodiment, the determining, by the processor, the target physiological state data corresponding to the display interface according to the target sliced physiological state data when the processor executes the computer program may include: determining initial physiological state data corresponding to the display interface based on the target fragment physiological state data; receiving a scrolling instruction of a scrolling control, wherein the scrolling instruction carries scrolling information; and determining the scrolled target physiological state data corresponding to the display interface based on the scroll information and the initial physiological state data.
In one embodiment, the processor, when executing the computer program, determines the scrolled target physiological state data of the corresponding display interface based on the scroll information and the initial physiological state data, and may include: acquiring display parameters of a display interface and acquisition parameters of physiological state data to be drawn; determining the display quantity of the physiological state acquisition points which can be displayed simultaneously on the display interface based on the display parameters and the acquisition parameters; determining an initial absolute position of the initial physiological state data relative to the physiological state data to be plotted based on the initial physiological state data; determining a rolling offset of rolling according to the rolling information; and determining the scrolled target physiological state data corresponding to the display interface according to the scroll offset, the display quantity and the initial absolute position.
In one embodiment, the display parameters may include a total pixel width of the display interface, a unit pixel value of the display interface, and an interface size width occupied by the physiological state acquisition points acquired in unit time on the display interface, and the acquisition parameters include an acquisition number of the physiological state acquisition points acquired in unit time.
In this embodiment, the determining, by the processor when executing the computer program, the display number of the physiological status collection points that can be simultaneously displayed on the display interface based on the display parameter may include: determining the interface pixel width occupied by the physiological state acquisition points acquired in unit time on the display interface according to the interface size width occupied by the physiological state acquisition points acquired in unit time on the display interface and the unit pixel value of the display interface; determining the acquisition point pixel width between two adjacent acquisition points according to the interface pixel width and the acquisition number of the physiological state acquisition points acquired in unit time; and determining the display number of the physiological state acquisition points which can be simultaneously displayed on the display interface according to the total pixel width and the acquisition point pixel width.
In one embodiment, the determining the scrolled target physiological state data of the corresponding display interface according to the scroll offset, the display number and the initial absolute position when the processor executes the computer program may include: determining the target absolute position of the scrolled target physiological state data to be determined relative to the physiological state data to be drawn according to the scrolling offset, the display quantity and the initial absolute position; determining the absolute position of the target sliced physiological state data relative to the slice of the physiological state data to be drawn according to the slice sequence of the target sliced physiological state data; and determining the rolled target physiological state data corresponding to the display interface according to the target absolute position and the fragment absolute position.
In one embodiment, the target sliced physiological state data may include current sliced physiological state data in which the initial physiological state data is located and preloaded sliced physiological state data corresponding to the current sliced physiological state data.
In this embodiment, after the processor executes the computer program to determine the scrolled target physiological state data corresponding to the display interface based on the scroll information and the initial physiological state data, the following steps may be further implemented: judging whether the current sliced physiological state data of the target physiological state data is consistent with the current sliced physiological state data of the initial physiological state data; and when the current fragmented physiological state data of the target physiological state data is not consistent with the current fragmented physiological state data of the initial physiological state data, acquiring preloaded fragmented data of the current fragmented physiological state data corresponding to the target physiological state data from the server according to the current fragmented physiological state data of the target physiological state data.
In one embodiment, the physiological state data to be drawn is electrocardiograph data to be drawn, the sliced physiological state data is sliced electrocardiograph data corresponding to the electrocardiograph data to be drawn, the target sliced physiological state data is target sliced electrocardiograph data corresponding to the sliced electrocardiograph data, the target physiological state data is target electrocardiograph data corresponding to the target sliced electrocardiograph data, and the physiological waveform is an electrocardiograph waveform.
In this embodiment, the processor, when executing the computer program, implements the mapping of the physiological waveform based on the target physiological state data to generate the corresponding physiological waveform map, which may include: acquiring the electrocardio parameters of an electrocardio oscillogram to be drawn and the display parameters of a display interface; determining the lead coordinate position of each lead wire based on the electrocardio number; determining a first coordinate position of each physiological state acquisition point on a display interface according to the lead coordinate position, the display parameters and acquisition point data of each physiological state acquisition point in the target electrocardiogram data; determining a second coordinate position of each physiological state acquisition point on the display interface according to the display parameters and the acquisition point data of each physiological state acquisition point; and determining the coordinate position of each physiological state acquisition point on a display interface based on the first coordinate position and the second coordinate position of each physiological state acquisition point, and drawing the electrocardiographic waveform to obtain the electrocardiographic waveform diagram corresponding to the target electrocardiographic data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring physiological state data to be drawn; segmenting the physiological state data to be drawn to obtain a plurality of corresponding segmented physiological state data; determining target fragmented physiological state data from the plurality of fragmented physiological state data, and storing the target fragmented physiological state data to a network front end; determining target physiological state data corresponding to a display interface from the target fragmented physiological state data stored to the front end of the network; and drawing a physiological waveform based on the target physiological state data to generate a corresponding physiological waveform map.
In one embodiment, the computer program when executed by the processor for determining the target physiological state data corresponding to the display interface according to the target sliced physiological state data may include: determining initial physiological state data corresponding to the display interface based on the target fragment physiological state data; receiving a scrolling instruction of a scrolling control, wherein the scrolling instruction carries scrolling information; and determining the scrolled target physiological state data corresponding to the display interface based on the scroll information and the initial physiological state data.
In one embodiment, the computer program when executed by the processor for determining the scrolled target physiological state data of the corresponding display interface based on the scroll information and the initial physiological state data may include: acquiring display parameters of a display interface and acquisition parameters of physiological state data to be drawn; determining the display quantity of the physiological state acquisition points which can be displayed simultaneously on the display interface based on the display parameters and the acquisition parameters; determining an initial absolute position of the initial physiological state data relative to the physiological state data to be plotted based on the initial physiological state data; determining a rolling offset of rolling according to the rolling information; and determining the scrolled target physiological state data corresponding to the display interface according to the scroll offset, the display quantity and the initial absolute position.
In one embodiment, the display parameters may include a total pixel width of the display interface, a unit pixel value of the display interface, and an interface size width occupied by the physiological state acquisition points acquired in unit time on the display interface, and the acquisition parameters include an acquisition number of the physiological state acquisition points acquired in unit time.
In this embodiment, the computer program when executed by the processor for determining the display number of the physiological state collecting points that can be simultaneously displayed on the display interface based on the display parameters may include: determining the interface pixel width occupied by the physiological state acquisition points acquired in unit time on the display interface according to the interface size width occupied by the physiological state acquisition points acquired in unit time on the display interface and the unit pixel value of the display interface; determining the acquisition point pixel width between two adjacent acquisition points according to the interface pixel width and the acquisition number of the physiological state acquisition points acquired in unit time; and determining the display number of the physiological state acquisition points which can be simultaneously displayed on the display interface according to the total pixel width and the acquisition point pixel width.
In one embodiment, the computer program when executed by the processor for determining the scrolled target physiological state data of the corresponding display interface according to the scroll offset, the display number and the initial absolute position may include: determining the target absolute position of the scrolled target physiological state data to be determined relative to the physiological state data to be drawn according to the scrolling offset, the display quantity and the initial absolute position; determining the absolute position of the target sliced physiological state data relative to the slice of the physiological state data to be drawn according to the slice sequence of the target sliced physiological state data; and determining the rolled target physiological state data corresponding to the display interface according to the target absolute position and the fragment absolute position.
In one embodiment, the target sliced physiological state data may include current sliced physiological state data in which the initial physiological state data is located and preloaded sliced physiological state data corresponding to the current sliced physiological state data.
In this embodiment, after the computer program is executed by the processor to determine the scrolled target physiological state data corresponding to the display interface based on the scroll information and the initial physiological state data, the following steps may be further implemented: judging whether the current sliced physiological state data of the target physiological state data is consistent with the current sliced physiological state data of the initial physiological state data; and when the current fragmented physiological state data of the target physiological state data is not consistent with the current fragmented physiological state data of the initial physiological state data, acquiring preloaded fragmented data of the current fragmented physiological state data corresponding to the target physiological state data from the server according to the current fragmented physiological state data of the target physiological state data.
In one embodiment, the physiological state data to be drawn is electrocardiograph data to be drawn, the sliced physiological state data is sliced electrocardiograph data corresponding to the electrocardiograph data to be drawn, the target sliced physiological state data is target sliced electrocardiograph data corresponding to the sliced electrocardiograph data, the target physiological state data is target electrocardiograph data corresponding to the target sliced electrocardiograph data, and the physiological waveform is an electrocardiograph waveform.
In this embodiment, the computer program, when executed by the processor, implements the mapping of the physiological waveform based on the target physiological state data, and generates the corresponding physiological waveform map, which may include: acquiring the electrocardio parameters of an electrocardio oscillogram to be drawn and the display parameters of a display interface; determining the lead coordinate position of each lead wire based on the electrocardio number; determining a first coordinate position of each physiological state acquisition point on a display interface according to the lead coordinate position, the display parameters and acquisition point data of each physiological state acquisition point in the target electrocardiogram data; determining a second coordinate position of each physiological state acquisition point on the display interface according to the display parameters and the acquisition point data of each physiological state acquisition point; and determining the coordinate position of each physiological state acquisition point on a display interface based on the first coordinate position and the second coordinate position of each physiological state acquisition point, and drawing the electrocardiographic waveform to obtain the electrocardiographic waveform diagram corresponding to the target electrocardiographic data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of physiological waveform mapping, the method comprising:
acquiring target fragment physiological state data, wherein the target fragment physiological state data is obtained by a server according to physiological state data to be drawn and is determined from the fragment physiological state data;
determining target physiological state data corresponding to a display interface according to the target fragmented physiological state data;
and drawing a physiological waveform based on the target physiological state data to generate a corresponding physiological waveform map.
2. The method according to claim 1, wherein the determining the target physiological state data corresponding to the display interface according to the target sliced physiological state data comprises:
determining initial physiological state data corresponding to a display interface based on the target fragment physiological state data;
receiving a scrolling instruction of a scrolling control, wherein the scrolling instruction carries scrolling information;
and determining the scrolled target physiological state data corresponding to the display interface based on the scrolling information and the initial physiological state data.
3. The method of claim 2, wherein determining the scrolled target physiological state data corresponding to the display interface based on the scrolled information and the initial physiological state data comprises:
acquiring display parameters of the display interface and acquisition parameters of the physiological state data to be drawn;
determining the display quantity of the physiological state acquisition points which can be simultaneously displayed on the display interface based on the display parameters and the acquisition parameters;
determining an initial absolute position of the initial physiological state data relative to the physiological state data to be plotted based on the initial physiological state data;
determining a rolling offset of rolling according to the rolling information;
and determining the scrolled target physiological state data corresponding to the display interface according to the scrolling offset, the display quantity and the initial absolute position.
4. The method of claim 3, wherein the display parameters comprise a total pixel width of the display interface, a unit pixel value of the display interface, and an interface size width occupied by physiological state acquisition points acquired per unit time on the display interface, and the acquisition parameters comprise an acquisition number of physiological state acquisition points acquired per unit time;
the determining the display quantity of the physiological state acquisition points which can be simultaneously displayed by the display interface based on the display parameters comprises the following steps:
according to the interface size width occupied by the physiological state acquisition points acquired in the unit time on the display interface and the unit pixel value of the display interface, determining the interface pixel width occupied by the physiological state acquisition points acquired in the unit time on the display interface;
determining the acquisition point pixel width between two adjacent acquisition points according to the interface pixel width and the acquisition number of the physiological state acquisition points acquired in the unit time;
and determining the display quantity of the physiological state acquisition points which can be simultaneously displayed on the display interface according to the total pixel width and the acquisition point pixel width.
5. The method of claim 3, wherein determining the scrolled target physiological state data corresponding to the display interface based on the scroll offset, the display number, and the initial absolute position comprises:
determining a target absolute position of the scrolled target physiological state data to be determined relative to the physiological state data to be drawn according to the scrolling offset, the display quantity and the absolute position;
determining the absolute position of the target sliced physiological state data relative to the slice of the physiological state data to be drawn according to the slice sequence of the target sliced physiological state data;
and determining the rolled target physiological state data corresponding to the display interface according to the target absolute position and the slicing absolute position.
6. The method of claim 2, wherein the target sliced physiological state data comprises current sliced physiological state data in which the initial physiological state data is located and pre-loaded sliced physiological state data corresponding to the current sliced physiological state data;
after determining the scrolled target physiological state data corresponding to the display interface based on the scroll information and the initial physiological state data, the method further includes:
judging whether the current sliced physiological state data of the target physiological state data is consistent with the current sliced physiological state data of the initial physiological state data;
and when the current fragmented physiological state data of the target physiological state data is not consistent with the current fragmented physiological state data of the initial physiological state data, acquiring preloaded fragmented data corresponding to the current fragmented physiological state data of the target physiological state data from the server according to the current fragmented physiological state data of the target physiological state data.
7. The method according to claim 1, wherein the physiological state data to be rendered is electrocardiographic data to be rendered, the sliced physiological state data is sliced electrocardiographic data corresponding to the electrocardiographic data to be rendered, the target sliced physiological state data is target sliced electrocardiographic data corresponding to the sliced electrocardiographic data, the target physiological state data is target electrocardiographic data corresponding to the target sliced electrocardiographic data, and the physiological waveform is an electrocardiographic waveform;
the step of drawing a physiological waveform based on the target physiological state data to generate a corresponding physiological waveform map comprises the following steps:
acquiring the electrocardio parameters of the electrocardio oscillogram to be drawn and the display parameters of the display interface;
determining the lead coordinate position of each lead wire based on the electrocardio parameters;
determining a first coordinate position of each physiological state acquisition point on the display interface according to the lead coordinate position, the display parameters and acquisition point data of each physiological state acquisition point in the target electrocardiogram data;
determining a second coordinate position of each physiological state acquisition point on the display interface according to the display parameters and acquisition point data of each physiological state acquisition point;
and determining the coordinate position of each physiological state acquisition point on the display interface based on the first coordinate position and the second coordinate position of each physiological state acquisition point, and drawing an electrocardiographic waveform to obtain an electrocardiographic waveform diagram corresponding to the target electrocardiographic data.
8. A physiological waveform mapping apparatus, the apparatus comprising:
the acquisition module is used for acquiring target fragment physiological state data, wherein the target fragment physiological state data is obtained by a server according to the physiological state data to be drawn and is determined from the fragment physiological state data;
the target physiological state data determining module is used for determining target physiological state data corresponding to the display interface according to the target fragmented physiological state data;
and the physiological waveform drawing module is used for drawing a physiological waveform based on the target physiological state data and generating a corresponding physiological waveform map.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110274431.7A 2021-03-15 2021-03-15 Physiological waveform drawing method, device, computer equipment and readable storage medium Active CN113129407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110274431.7A CN113129407B (en) 2021-03-15 2021-03-15 Physiological waveform drawing method, device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110274431.7A CN113129407B (en) 2021-03-15 2021-03-15 Physiological waveform drawing method, device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113129407A true CN113129407A (en) 2021-07-16
CN113129407B CN113129407B (en) 2023-08-18

Family

ID=76773366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110274431.7A Active CN113129407B (en) 2021-03-15 2021-03-15 Physiological waveform drawing method, device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113129407B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6657625B1 (en) * 1999-06-09 2003-12-02 Microsoft Corporation System and method of caching glyphs for display by a remote terminal
US20100177100A1 (en) * 2009-01-09 2010-07-15 Tony Carnes System and method for customized display of physiological parameters
DE102011053045A1 (en) * 2010-09-07 2012-03-08 General Electric Company System and procedure for the management of personal health and wellness
CN105595988A (en) * 2015-12-23 2016-05-25 石家庄翰纬医疗设备有限公司 Electrocardiogram wave form drawing method and calculation device
CN107122605A (en) * 2017-04-26 2017-09-01 上海联影医疗科技有限公司 The information input method and device of a kind of medical imaging equipment
CN108416825A (en) * 2017-07-25 2018-08-17 平安科技(深圳)有限公司 Generating means, method and the computer readable storage medium of Dynamic Graph
US20180300913A1 (en) * 2013-11-15 2018-10-18 Shenzhen Mindray Bio-Medical Electronics Co., Ltd. Graphical Display of Physiological Parameters on Patient Monitors
CN110246204A (en) * 2019-05-28 2019-09-17 深圳和而泰家居在线网络科技有限公司 Waveform drawing method, apparatus, computer equipment and readable storage medium storing program for executing
CN110755059A (en) * 2019-10-11 2020-02-07 中国科学院深圳先进技术研究院 Blood pressure waveform monitoring method and device
WO2020133432A1 (en) * 2018-12-29 2020-07-02 深圳迈瑞生物医疗电子股份有限公司 Display method, and monitoring device and system for early warning score
KR20200096267A (en) * 2018-09-25 2020-08-11 플렉스-브이알 디지털 테크놀로지 (상하이) 씨오., 엘티디. Real-time rendering method of giga-pixel image
CN112256218A (en) * 2020-09-30 2021-01-22 神思旭辉医疗信息技术有限责任公司 Method and device for drawing massive data graphs
CN112331310A (en) * 2020-10-10 2021-02-05 深圳市智影医疗科技有限公司 Medical image data display method and device, storage medium and intelligent equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6657625B1 (en) * 1999-06-09 2003-12-02 Microsoft Corporation System and method of caching glyphs for display by a remote terminal
US20100177100A1 (en) * 2009-01-09 2010-07-15 Tony Carnes System and method for customized display of physiological parameters
DE102011053045A1 (en) * 2010-09-07 2012-03-08 General Electric Company System and procedure for the management of personal health and wellness
US20180300913A1 (en) * 2013-11-15 2018-10-18 Shenzhen Mindray Bio-Medical Electronics Co., Ltd. Graphical Display of Physiological Parameters on Patient Monitors
CN105595988A (en) * 2015-12-23 2016-05-25 石家庄翰纬医疗设备有限公司 Electrocardiogram wave form drawing method and calculation device
CN107122605A (en) * 2017-04-26 2017-09-01 上海联影医疗科技有限公司 The information input method and device of a kind of medical imaging equipment
CN108416825A (en) * 2017-07-25 2018-08-17 平安科技(深圳)有限公司 Generating means, method and the computer readable storage medium of Dynamic Graph
KR20200096267A (en) * 2018-09-25 2020-08-11 플렉스-브이알 디지털 테크놀로지 (상하이) 씨오., 엘티디. Real-time rendering method of giga-pixel image
WO2020133432A1 (en) * 2018-12-29 2020-07-02 深圳迈瑞生物医疗电子股份有限公司 Display method, and monitoring device and system for early warning score
CN110246204A (en) * 2019-05-28 2019-09-17 深圳和而泰家居在线网络科技有限公司 Waveform drawing method, apparatus, computer equipment and readable storage medium storing program for executing
CN110755059A (en) * 2019-10-11 2020-02-07 中国科学院深圳先进技术研究院 Blood pressure waveform monitoring method and device
CN112256218A (en) * 2020-09-30 2021-01-22 神思旭辉医疗信息技术有限责任公司 Method and device for drawing massive data graphs
CN112331310A (en) * 2020-10-10 2021-02-05 深圳市智影医疗科技有限公司 Medical image data display method and device, storage medium and intelligent equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨晚竹等: "基于分段函数的动态心电图计算机仿真方法研究", 《医疗卫生装备》 *
杨晚竹等: "基于分段函数的动态心电图计算机仿真方法研究", 《医疗卫生装备》, no. 08, 15 August 2009 (2009-08-15) *

Also Published As

Publication number Publication date
CN113129407B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
US9710146B2 (en) System and method for image display control
EP2224346A2 (en) ECG signal analysis tool
US20170177199A1 (en) Medical devices, method and apparatus for adjusting resolutions of digital images
CN110221758B (en) Scroll bar control method and device, computer equipment and storage medium
CN109767382B (en) Image reconstruction method and device, computer equipment and storage medium
US20190302997A1 (en) Medical image display apparatus and recording medium
CN110659092A (en) Webpage screenshot method and device, computer equipment and storage medium
CN111159598A (en) Image browsing method and device, computer equipment and storage medium
US20200060564A1 (en) Information display device, biological signal measurement system and computer-readable recording medium
CN113129407A (en) Physiological waveform chart drawing method and device, computer equipment and readable storage medium
US20200125481A1 (en) Screen recording preparation method for evaluating software usability, computing system, computer program and computer-readable storage medium implementing the method
CN115878935B (en) Method, system, device, equipment and medium for partial refreshing of chart
JP6671918B2 (en) Electrocardiogram waveform display device, electrocardiogram waveform display method, program, and storage medium
US20150265175A1 (en) Non-Invasive Evaluation of Cardiac Repolarisation Instability for Risk Stratification of Sudden Cardiac Death
CN117651523A (en) Electrocardiogram analysis support device, program, electrocardiogram analysis support method, electrocardiogram analysis support system, peak estimation model generation method, and interval estimation model generation method
CN111134656B (en) Electrocardiogram data detection method and device and computer readable storage medium
CN110916649B (en) Processing device, processing method and detection device for long-range electrocardiogram scatter diagram
CN110613444B (en) Method and device for displaying mother-fetus mixed electrocardiosignals
CN110766653B (en) Image segmentation method and device, computer equipment and storage medium
WO2020214093A1 (en) System and method for displaying physiological information
CN111612919A (en) Multidisciplinary split-screen synchronous display method and system of digital twin aircraft
CN108170349B (en) Medical image display method, device, equipment and storage medium
US11232559B2 (en) Image processing apparatus and computer-readable storage medium
CN109036575B (en) Data processing method and device
US20240016434A1 (en) Method, system and non-transitory computer-readable recording medium for detecting and classifying beat in electrocardiogram signal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant