Drawing method, analysis method, drawing device, mobile terminal and storage medium

文档序号:1851867 发布日期:2021-11-19 浏览:16次 中文

阅读说明:本技术 绘制方法、分析方法、绘制装置、移动终端及存储介质 (Drawing method, analysis method, drawing device, mobile terminal and storage medium ) 是由 刘梓轩 王灵博 祖春山 王晓阳 于 2020-04-30 设计创作,主要内容包括:本申请公开了一种用于移动终端的心电图绘制方法。心电图绘制方法包括步骤:接收监测设备发送的监测数据;处理监测数据生成电平数据;和采用电平数据根据预定规则利用贝塞尔曲线在移动终端绘制具有医学意义的心电图。本申请实施方式的心电图绘制方法中,监测设备与移动终端进行通信,移动终端对接收的检测数据进行处理后,得到可用于绘制图样的数据,根据预定规则将数据绘制为心电图,该心电图具有临床医学意义,可提供给医学工作者或者诊断设备直接用于对于心脏健康状况进行诊断。本申请还公开了一种心电图的分析方法、绘制装置、移动终端和存储介质。(The application discloses an electrocardiogram drawing method for a mobile terminal. The electrocardiogram drawing method comprises the following steps: receiving monitoring data sent by monitoring equipment; processing the monitoring data to generate level data; and drawing a medically significant electrocardiogram on the mobile terminal using the level data according to a predetermined rule using a bezier curve. According to the electrocardiogram drawing method, the monitoring device is communicated with the mobile terminal, the mobile terminal processes received detection data to obtain data which can be used for drawing patterns, and the data are drawn into the electrocardiogram according to the preset rule, so that the electrocardiogram has clinical medical significance and can be provided for medical workers or diagnosis equipment to be directly used for diagnosing the heart health condition. The application also discloses an electrocardiogram analysis method, a drawing device, a mobile terminal and a storage medium.)

1. An electrocardiogram drawing method for a mobile terminal, characterized by comprising the steps of:

receiving monitoring data sent by monitoring equipment;

processing the monitoring data to generate level data; and

and drawing a medically significant electrocardiogram on the mobile terminal by using the electrical level data according to a predetermined rule and by using a Bezier curve.

2. The electrocardiographic rendering method according to claim 1 wherein said step of processing said monitor data to generate level data comprises:

and carrying out filtering processing and/or packet sticking processing on the monitoring data to obtain level data.

3. The electrocardiographic rendering method according to claim 1, wherein the step of rendering the electrocardiogram having medical significance at the mobile terminal according to a predetermined rule using the level data comprises:

drawing a background graph with a set size, wherein the background graph comprises a plurality of square grids with the side length of 5mm, each square grid comprises 5 sub-grids, the frequency of sending the monitoring data by the monitoring equipment is 250/s, 50 monitoring data are drawn in each square grid, 10 monitoring data are drawn in each sub-grid, and the height of each millivolt level data corresponds to the side length of 2 square grids.

4. The electrocardiographic rendering method according to claim 3, wherein said step of rendering an electrocardiogram having medical significance at said mobile terminal according to a predetermined rule using said level data comprises:

determining the corresponding relation between the sub lattices and the display device pixel points according to the resolution of the display device of the mobile terminal;

and drawing the electrocardiogram on the background map according to a predetermined rule and the level data.

5. The electrocardiographic rendering method according to claim 4, wherein said step of rendering an electrocardiogram having medical significance at said mobile terminal according to a predetermined rule using said level data comprises:

drawing with 50 level data as a group;

drawing a pattern of a set of level data in one of the square squares at a time;

drawing the patterns on the display device from left to right in sequence to obtain the electrocardiogram.

6. The electrocardiographic drawing method according to claim 5, wherein the step of drawing a pattern of a set of level data in one of the square squares at a time comprises:

setting a plurality of level data to be in a transparent state to obtain a transparent point interval;

respectively drawing a first sub-pattern of the transparent point interval and a second sub-pattern outside the transparent point interval in a group of level data by taking the transparent point interval as a boundary;

displaying the first sub-pattern in a transparent state and displaying the second sub-pattern in a solid state.

7. The electrocardiographic drawing method according to claim 5, wherein the drawing of the patterns on the display device in order from left to right to obtain the electrocardiogram comprises:

judging whether the current group of level data drawing positions exceed the display range of the display device or not;

and if the drawing position exceeds the display range, drawing the level data which exceeds the display range from the initial position of the electrocardiogram drawing and covering the existing pattern.

8. An analysis method of an electrocardiogram, characterized by comprising the steps of:

receiving monitoring data sent by monitoring equipment;

processing the monitoring data to generate level data;

drawing a medical electrocardiogram on the mobile terminal by using the Bezier curve according to a preset rule by using the level data; and

the electrocardiogram is analyzed according to a pre-stored electrocardiogram diagnostic strategy to analyze the heart health condition of the user.

9. An electrocardiographic rendering apparatus characterized by comprising:

the communication module is used for receiving monitoring data sent by the monitoring equipment;

the processing module is used for processing the monitoring data to generate level data; and

and the drawing module is used for drawing the electrocardiogram with medical significance on the mobile terminal by using the Bezier curve according to the preset rule by adopting the level data.

10. A mobile terminal, comprising:

one or more processors, memory; and

one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, the programs comprising instructions for performing the method of electrocardiography according to any one of claims 1-7 or the method of analysis of an electrocardiogram according to claim 8.

11. A non-transitory computer-readable storage medium of computer-executable instructions, which, when executed by one or more processors, cause the processors to perform the electrocardiography method of any one of claims 1-7 or the analysis method of electrocardiograms of claim 8.

Technical Field

The present application relates to the field of medical technology, and in particular, to an electrocardiogram drawing method, an electrocardiogram analysis method, an electrocardiogram drawing device, a mobile terminal, and a storage medium.

Background

With the wide application of electronic technology in the medical field, the user can monitor the heart rate, the respiration, the blood oxygen and the like by wearing the related electronic equipment, thereby being convenient to find abnormality in time and seek medical advice in time. Generally, an electrocardiogram can be used to guide the health condition of the heart, and in the related art, a consumer electronic device used by a user daily often cannot draw the electrocardiogram, and the user needs to go to a hospital or use a relatively specialized medical device to perform an electrocardiogram diagnosis.

Disclosure of Invention

In view of the above, embodiments of the present application provide an electrocardiogram drawing method, an analysis method, an electrocardiogram drawing apparatus, a mobile terminal, and a computer-readable storage medium.

The application provides an electrocardiogram drawing method, which comprises the following steps:

receiving monitoring data sent by monitoring equipment;

processing the monitoring data to generate level data; and

and drawing a medically significant electrocardiogram on the mobile terminal by using the electrical level data according to a predetermined rule and by using a Bezier curve.

In some embodiments, the step of processing the monitoring data to generate level data comprises:

and carrying out filtering processing and/or packet sticking processing on the monitoring data to obtain level data.

In some embodiments, said step of using said level data to render a medically significant electrocardiogram at said mobile terminal according to a predetermined rule comprises:

drawing a background graph with a set size, wherein the background graph comprises a plurality of square grids with the side length of 5mm, each square grid comprises 5 sub-grids, the frequency of sending the monitoring data by the monitoring equipment is 250/s, 50 monitoring data are drawn in each square grid, 10 monitoring data are drawn in each sub-grid, and the height of each millivolt level data corresponds to the side length of 2 square grids.

In some embodiments, said step of using said level data to render a medically significant electrocardiogram at said mobile terminal according to a predetermined rule comprises:

determining the corresponding relation between the sub lattices and the display device pixel points according to the resolution of the display device of the mobile terminal;

and drawing the electrocardiogram on the background map according to a predetermined rule and the level data.

In some embodiments, said step of using said level data to render a medically significant electrocardiogram at said mobile terminal according to a predetermined rule comprises:

drawing with 50 level data as a group;

drawing a pattern of a set of level data in one of the square squares at a time;

drawing the patterns on the display device from left to right in sequence to obtain the electrocardiogram.

In some embodiments, the step of drawing a pattern of a set of level data in one of the square squares at a time comprises:

setting a plurality of level data to be in a transparent state to obtain a transparent point interval;

respectively drawing a first sub-pattern of the transparent point interval and a second sub-pattern outside the transparent point interval in a group of level data by taking the transparent point interval as a boundary;

displaying the first sub-pattern in a transparent state and displaying the second sub-pattern in a solid state.

In some embodiments, the drawing the pattern on the display device sequentially from left to right to obtain the electrocardiogram comprises:

judging whether the current group of level data drawing positions exceed the display range of the display device or not;

and if the drawing position exceeds the display range, drawing the level data which exceeds the display range from the initial position of the electrocardiogram drawing and covering the existing pattern.

The application provides an electrocardiogram analysis method, which comprises the following steps:

receiving monitoring data sent by monitoring equipment;

processing the monitoring data to generate level data;

drawing a medical electrocardiogram on the mobile terminal by using the Bezier curve according to a preset rule by using the level data; and

the electrocardiogram is analyzed according to a pre-stored electrocardiogram diagnostic strategy to diagnose the heart health condition of the user.

The application provides an electrocardiogram drawing device, the electrocardiogram drawing device includes:

the communication module is used for receiving monitoring data sent by the monitoring equipment;

the processing module is used for processing the monitoring data to generate level data; and

and the drawing module is used for drawing the electrocardiogram with medical significance on the mobile terminal by using the Bezier curve according to the preset rule by adopting the level data.

The application provides a mobile terminal, comprising one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, the programs including instructions for performing the electrocardiography method or the analysis of an electrocardiogram method as described above.

A non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the electrocardiography method or analysis method of an electrocardiogram is provided.

According to the electrocardiogram drawing method, the analysis method, the electrocardiogram drawing device, the mobile terminal and the computer readable storage medium, the monitoring device is communicated with the mobile terminal, the mobile terminal processes received detection data to obtain data which can be used for drawing patterns, and draws the data into the electrocardiogram according to the preset rule, the electrocardiogram has clinical medical significance and can be provided for medical workers or diagnosis equipment to be directly used for diagnosing the heart health condition.

Drawings

The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

FIG. 1 is a schematic flow chart diagram of a method of electrocardiography according to certain embodiments of the present application.

Fig. 2 is a block diagram of an electrocardiography device according to some embodiments of the present application.

Fig. 3 is a flow chart illustrating a method of electrocardiography according to some embodiments of the present application.

Fig. 4 is a schematic flow chart diagram of a method of electrocardiography according to some embodiments of the present application.

FIG. 5 is a background pictorial illustration of an electrocardiogram of certain embodiments of the present application.

Fig. 6 is a flow chart illustrating a method of electrocardiography according to some embodiments of the present application.

Fig. 7 is a flow chart illustrating a method of electrocardiography according to some embodiments of the present application.

Fig. 8 is a flow chart illustrating a method of electrocardiography according to some embodiments of the present application.

Fig. 9 is a schematic illustration of electrocardiographic rendering of certain embodiments of the present application.

Fig. 10 is a schematic flow chart diagram of a method of electrocardiography according to some embodiments of the present application.

FIG. 11 is a schematic flow chart diagram of a method of electrocardiography analysis in accordance with certain embodiments of the present application.

Detailed Description

Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.

Referring to fig. 1, the present application provides a method for mapping an electrocardiogram. The method comprises the following steps:

s10: receiving monitoring data sent by monitoring equipment;

s20: processing the monitoring data to generate level data; and

s30: and drawing a medically significant electrocardiogram on the mobile terminal by using the Bezier curve according to a predetermined rule by using the level data.

Referring to fig. 2, an embodiment of the present application provides a mobile terminal. The mobile terminal includes a processor. The processor is used for receiving the monitoring data sent by the monitoring equipment, processing the monitoring data to generate level data, and drawing a medically significant electrocardiogram on the mobile terminal by using a Bezier curve according to a preset rule by adopting the level data. The mobile terminal may be a mobile phone, a tablet computer, or other consumer electronics device, which is not limited herein. The monitoring device may be a wearable intelligent treatment device, such as a smart bracelet, a smart watch, a smart ring, a smart electrocardiogram patch, and the like.

The present embodiment also provides an electrocardiographic drawing device 110, and the electrocardiographic drawing method of the present embodiment can be realized by the electrocardiographic drawing device 110 of the present embodiment.

Specifically, the electrocardiographic rendering device 110 includes a communication module 112, a processing module 114, and a rendering module 116. S10 may be implemented by the communication module 112, S20 may be implemented by the processing module 114, and S30 may be implemented by the drawing module 116. In other words, the communication module 112 is used to receive monitoring data sent by the monitoring device. The processing module 114 is used for processing the monitoring data to generate level data. The rendering module 116 is configured to render a medically significant electrocardiogram at the mobile terminal using the bezier curve according to predetermined rules using the level data.

According to the electrocardiogram drawing method, the electrocardiogram drawing device and the mobile terminal, the monitoring device is communicated with the mobile terminal, the mobile terminal processes received detection data to obtain data which can be used for drawing patterns, and the data are drawn into the electrocardiogram according to the preset rule, so that the electrocardiogram has clinical medical significance and can be provided for medical workers or diagnosis equipment to be directly used for diagnosing the heart health condition.

Particularly, with the wide application of electronic technology in the medical field, a user can monitor body parameters including heart rate, respiration, blood oxygen and the like by wearing related electronic equipment, draw a pattern or a chart to the user, and even perform exception prompt so as to facilitate the user to find out exception and seek medical advice in time. The electrocardiogram can be used for guiding the health condition of the heart, consumer electronic equipment used by a user daily cannot draw the electrocardiogram, the user needs to go to a hospital or use professional medical equipment to perform electrocardiogram diagnosis, the convenience is not high, and equipment capable of drawing images does not have the unified standard, so that drawn patterns do not have medical clinical reference significance.

In this embodiment, the monitoring device communicates with the mobile terminal through bluetooth connection, and the mobile terminal can receive monitoring data for heartbeat sent by the monitoring device in real time. In the aspect of Bluetooth communication, a Bluetooth software development kit or a tool library of a third-party supplier is not used, and the mobile terminal directly interacts with the monitoring equipment to process data. Therefore, the accuracy of the received data and the real-time performance of data receiving can be ensured, the monitoring data packet loss can not be caused, and the real condition of the heart rate can be reflected. The received data is processed by filtering, packet sticking and the like to obtain level data for drawing patterns. It will be appreciated that raw monitoring data is typically some digital code and is not user readable, whereas processed data is rendered medically meaningful so that medical diagnosis can be made through the rendered pattern.

The predetermined rule refers to a drawing rule of an electrocardiogram conforming to medical significance, and includes, for example, how to set an electrocardiogram drawing and how to draw an electrocardiogram on the drawing using level data.

Bezier curves are widely used in industrial drawing operations. In the embodiment, the current heart rate condition can be accurately drawn by using the Bezier curve.

Referring to fig. 3, in some embodiments, S20 includes:

s21: and carrying out filtering processing and/or packet sticking processing on the monitoring data to obtain level data.

In some embodiments, S21 may be implemented by processing module 114. That is, the processing module 114 is configured to perform filtering processing and/or packet sticking processing on the monitoring data to obtain the level data.

In some embodiments, the processor is configured to filter and/or glue the monitoring data to obtain the level data.

Specifically, the monitoring data transmitted by the monitoring device is 16-system number, which has no medical significance, and the clinical electrocardiogram records the curve of voltage change along with time. Therefore, the monitoring data needs to be processed, so that the monitoring data can become data which can be mapped and has medical significance after being processed.

In the processing process, the received monitoring data passes through a filter function, dirty data without practical significance are filtered, and then millivolt level data can be obtained. Meanwhile, due to the fact that the monitoring device and the mobile terminal are in high-speed communication, the problem of monitoring data packet sticking may exist, and therefore data packet sticking processing is needed for the problem of data packet sticking which may occur. For example, a complete set of messages consisting of aa beginning and 5a ending with other data in between: aa 00010203045 a, however, during the communication, the mobile terminal may not receive a complete one, such as 1 half message: aa 00010203045 a aa 0102, in which case the message needs to be processed into a complete message information, that is: aa 00010203045 a.

Therefore, the accuracy of the monitoring data can be ensured, and the phenomenon of packet loss can not occur.

Referring to fig. 4, in some embodiments, S30 includes:

s31: the background plot is drawn at a set size.

In some embodiments, S31 may be implemented by the drawing module 116, that is, the drawing module 116 is configured to draw the background map with a set size.

In some embodiments, the processor is configured to render the background map at a set size.

Referring to fig. 5, specifically, in clinical practice, an electrocardiogram is recorded on a graph paper composed of small lattices of 1mm in width and 1mm in height. The abscissa represents time and the ordinate represents voltage. Recording is usually carried out at a paper speed of 25mm/s, 1 ═ 1mm ═ 0.04 seconds. The ordinate voltage 1, small grid 1mm 0.1 mv.

Therefore, in order to make the pattern drawn by the mobile terminal clinically meaningful, it is necessary to draw a background map in accordance with the specification of the coordinate values of the medical electrocardiogram.

In this embodiment, the background map includes a plurality of 5 mm-long square grids, and each square grid includes 5 sub-grids, that is, each sub-grid is a 1mm × 1mm square grid. The monitoring device transmits monitoring data at a frequency of 250 counts/second, i.e. a recording speed of 25 mm/s. 50 monitor data are plotted in each square, and 10 monitor data are plotted in each sub-grid. The height of each millivolt level data corresponds to the side length of 2 square grids, namely, the vertical coordinate direction is 1mv to 10mm, and each small grid is 1mm to 0.1 mv.

In this way, the background map is drawn according to the electrocardiogram coordinate paper used clinically, so that both the background map and the level data drawn thereon have medical significance.

Referring to fig. 6, in some embodiments, S30 includes:

s32: determining the corresponding relation between the sub lattices and the display device pixel points according to the resolution of the display device of the mobile terminal;

s33: an electrocardiogram is drawn on the background map in accordance with a predetermined rule system and the level data.

In some embodiments, S32 and S33 may be implemented by the rendering module 116, that is, the rendering module 116 is configured to determine the correspondence between the sub-lattices and the pixel points of the display device according to the resolution of the display device of the mobile terminal, and to render the electrocardiogram on the background map according to the predetermined rule and the level data.

In some embodiments, the processor is configured to determine correspondence between the sub-lattices and the pixel points of the display device according to a resolution of the display device of the mobile terminal, and to render an electrocardiogram on the background map according to a predetermined rule system and the level data.

Specifically, for mobile terminal products of different models, resolutions of display devices are generally different, and in order to make electrocardiograms drawn by mobile terminals of different resolution have a unified medical meaning, in this embodiment, a 1mm engineering quantity is converted into the number of pixels of a current display device, that is, the length of 1mm that how many pixels of the current display device can display is determined, and coordinate points of the current display device are respectively recorded and drawn.

In one example, the length of the sub-grid and the pixels may be converted by the following method, the width of the display area of the display device and the number of pixels in the width direction are respectively obtained, and the ratio of the two is further calculated, so as to obtain how many pixels correspond to 1 mm. In this manner, according to the conversion ratio, the drawing of the level data can be performed at the corresponding pixel point. And although the drawing proportion of the mobile terminals with different resolutions is different, the mobile terminals with different resolutions have the same engineering quantity and the same medical reference meaning.

Referring to fig. 7, in some embodiments, S30 includes:

s34: drawing by taking 50 level data as a group;

s35: drawing a set of level data patterns in a square grid at a time;

s36: the patterns are drawn on the display device in order from left to right to obtain an electrocardiogram.

In some embodiments, S34-S36 may be implemented by rendering module 116. Alternatively, the drawing module 116 is used for drawing a group of 50 level data, drawing a group of level data patterns in a square at a time, and drawing the patterns sequentially from left to right on the display device to obtain an electrocardiogram.

In some embodiments, the processor is configured to render a set of 50 level data, and to render a pattern of the set of level data in one square at a time, and to render the pattern sequentially from left to right on the display device to obtain an electrocardiogram.

Specifically, in this embodiment, every 50 pieces of level data are grouped, and a refresh is triggered, where a section of pattern in the electrocardiogram is drawn, and 50 pieces of level data correspond to a square grid, that is, 5 sub-grids. And splicing the patterns of the square grids to obtain the electrocardiogram. Therefore, the effect of dynamically refreshing and displaying the electrocardiogram in the current screen can be realized.

Drawing from left to right is in accordance with the drawing mode of electrocardiogram in medicine and the reading habit of users and diagnosis.

Referring to fig. 8, in some embodiments, S35 further includes:

s351: setting a plurality of level data to be in a transparent state to obtain a transparent point interval;

s352: respectively drawing a first sub-pattern of a transparent point interval and a second sub-pattern outside the transparent point interval in a group of level data by taking the transparent point interval as a boundary;

s353: the first sub-pattern is displayed in a transparent state and the second sub-pattern is displayed in a solid state.

In some embodiments, S351-S353 may be implemented by the rendering module 116. Or, the drawing module 116 is configured to set a plurality of level data to be in a transparent state to obtain a transparent point interval, and to draw a first sub-pattern of the transparent point interval and a second sub-pattern outside the transparent point interval in a group of level data, respectively, with the transparent point interval as a boundary, and to display the first sub-pattern in the transparent state and the second sub-pattern in the physical state.

In some embodiments, the processor is configured to set a plurality of level data to be in a transparent state to obtain a transparent dot interval, and to draw a first sub-pattern of the transparent dot interval and a second sub-pattern outside the transparent dot interval in a set of level data, respectively, with the transparent dot interval as a boundary, and to display the first sub-pattern in the transparent state and the second sub-pattern in the physical state.

Referring to fig. 9, specifically, in the actual drawing, in order to identify the current drawing progress and enable the user to clearly determine the current drawing position, a plurality of the set of 50 level data are set to be in a transparent state to form a transparent point interval, that is, a sub-pattern drawn by the points is displayed or not displayed in a transparent state, and the user can know the square position of the current drawing.

And taking the transparent point interval as a boundary, dividing a group of level data which is refreshed currently into two parts, namely a transparent state and a non-transparent state, respectively drawing sub-patterns of the transparent state and the non-transparent state, displaying the first sub-pattern in the transparent state, and displaying the second sub-pattern in the solid state. The first sub-pattern and the second sub-pattern are spliced together to form the square electrocardiogram pattern.

The number of level data set to the transparent state may be set at the time of factory shipment, for example, to 20, that is, 20 of 50 data refreshed at a time are in the transparent state, for example, the first 20 data refreshed at a time are set to the transparent state, that is, one square grid is updated at a time, and the transparent refresh visual experience in which the first two grids are transparent by 40% is better. Of course, the number of data in the transparent state may be set to 25 or 30 in order to indicate where the refresh is to be performed, and is not limited herein as long as the user can know the refresh position.

From the electrocardiogram whole body, the transparent point interval divides the electrocardiogram into front, middle and rear three sections, and the front section is an electrocardiogram pattern drawn according to all level data before the refreshing position of the transparent interval. The middle section is a first sub-pattern drawn by level data which is set to be in a transparent state and is refreshed currently. The latter section is a second sub-pattern drawn by the level data of the non-transparent state among the 50 level data of the current refresh and a pattern existing in the previous period.

Therefore, through the setting of the transparent interval, firstly, the user can know the current drawing position, secondly, a new effect similar to dynamic refreshing can be realized, and the user experience is better.

Referring to fig. 10, in some embodiments, S36 further includes:

s361: judging whether the current group of level data drawing positions exceed the display range of the display device or not;

s362: if the drawing position is out of the display range, the level data out of the display range is drawn from the initial position of electrocardiographic drawing and covers the existing pattern.

In some embodiments, S361, S362 may be implemented by the mapping module 116. Alternatively, the drawing module 116 is configured to determine whether a current set of the drawing positions of the level data exceeds the display range of the display device, and draw the level data exceeding the display range from the initial position of the electrocardiograph drawing and cover the existing pattern if the drawing positions exceed the display range.

In some embodiments, the processor is configured to determine whether a current set of the level data rendering positions is out of a display range of the display device, and to render the level data out of the display range from an initial position of electrocardiographic rendering and to cover an existing pattern in a case where the rendering position is out of the display range.

Specifically, in this embodiment, a single-screen drawing manner is adopted instead of scrolling, that is, after the current screen has been drawn, the pattern is moved forward to leave the last position for drawing the current refreshed level data, but is redrawn from the initial position of drawing, and the previous pattern is covered. In order to enable the display device to display a plurality of complete square grids, when drawing a background picture, the display range of the electrocardiogram under the condition of single screen can be set according to the width size of the display device.

The storage of the level data of the full screen is recorded by the array. And replacing the level data at the corresponding position of the array after every 50 level data are refreshed and updating the pattern. The position of the current refresh is recorded by the index, which is incremented by 50 after each refresh. When the index is out of the display range, the index is re-recorded from 0. Therefore, the effects of not rolling a single electrocardiogram screen and dynamically refreshing new electric waves are realized.

It should be noted that, although the following pattern may cover the preceding pattern during the process of drawing the electrocardiogram due to the limitation of the display range, the recording of the level data is not covered, but the level data refreshed each time is stored in sequence, and all the information monitored when the heart rate is monitored may be stored in a local storage space. After diagnosis, the current monitoring data can be uploaded to the cloud and recorded according to time for later reference.

It can be understood that the data of each heart rate monitoring can not be completely drawn in one screen, and the stored data is more comprehensive and complete, so that more comprehensive diagnosis can be performed. And the stored historical data can be used for tracking the health condition for a period of time.

The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the electrocardiography method of any of the above embodiments.

The embodiment of the application also provides the mobile terminal. The mobile terminal includes one or more memories and one or more processors, and one or more programs are stored in the memories and configured to be executed by the one or more processors. The program comprises instructions for carrying out the electrocardiographic rendering method according to any one of the above embodiments.

The processor may be used to provide computing and control capabilities that support the operation of the overall mobile terminal. A memory in the mobile terminal provides an environment for the computer readable instructions in the memory to run.

Referring to fig. 11, an embodiment of the present application further provides an analysis method of an electrocardiogram, including the following steps:

s10': receiving monitoring data sent by monitoring equipment;

s20': processing the monitoring data to generate level data;

s30': drawing a medical electrocardiogram on the mobile terminal by using the Bezier curve according to a preset rule by using the level data; and

s40': the electrocardiogram is analyzed according to a pre-stored electrocardiogram diagnosis strategy to diagnose the heart health condition of the user.

The electrocardiogram analysis method can be realized by the mobile terminal.

The electrocardiogram drawing method is applied to an electrocardiogram analysis method and can be used for providing an electrocardiogram drawing scheme with clinical medical guidance significance for diagnosis of heart health conditions through a mobile terminal. The diagnosis of the health condition can be realized by analyzing the electrocardiogram through a local algorithm library of the mobile terminal. For example, the local algorithm library adjusts a standard medical electrocardiogram, compares the drawn electrocardiograph standard electrocardiogram to interpret each band of the drawn electrocardiogram, and further analyzes the potential heart diseases of the user according to the interpretation of the electrocardiogram. In addition, the drawn electrocardiogram can be uploaded to a cloud server and analyzed by big data or medical experts. Further, when the current electrocardiogram waveform is detected to be possible to have abnormality, a detection report can be output. Through the detection report, the user can know the possible disease analysis of the heart, and the user can conveniently see a doctor in time according to the actual state of an illness. So, through mobile terminal and wearable monitoring facilities, the user need not to go to medical institution and can conveniently quick grasp the health status of heart at home.

It should be noted that the analysis method of an electrocardiogram of the present application, including all the embodiments of the above electrocardiogram drawing method, is not repeated herein, and for the related contents, please refer to the explanation of the related parts.

It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.

The above examples 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 present application. 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.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种高压下动物心电图记录装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!