Summary of the invention
In view of above content, be necessary to provide a kind of breast rail display system, conveniently check user's real-time breath state.
Also be necessary to provide a kind of breast rail display packing, conveniently check user's real-time breath state.
A kind of breast rail display system, runs on electronic installation, and this system comprises: set up module, breathe indicator diagram for set up one on the screen of electronic installation; Receiver module, for receive the current electrocardiogram of user from electrocardiogram measuring device, and generates respiratory curve by the value of R ripple in electrocardiogram; Computing module, for obtain the lasting time of active user's expiration phase or expiratory phase from respiratory curve, and calculates the ratio of expiration phase or lasting time of expiratory phase and correct breathing pattern standard time; And mapping block, described in the basis ratio calculation calculating, breathe active user's the expiration phase or the degree of expiratory phase that on indicator diagram, need demonstration.
A kind of breast rail display packing, runs on electronic installation, and the method comprises the steps: establishment step, sets up one and breathe indicator diagram on the screen of electronic installation; Receiving step, receives the current electrocardiogram of user from electrocardiogram measuring device, and generates respiratory curve by the value of R ripple in electrocardiogram; Calculation procedure is obtained the lasting time of active user's expiration phase or expiratory phase from respiratory curve, and calculates the ratio of expiration phase or lasting time of expiratory phase and correct breathing pattern standard time; And mapping step, according to breathing active user's the expiration phase or the degree of expiratory phase that need demonstration on indicator diagram described in the ratio calculation calculating.
Compared to prior art, described breast rail display system and method can grab user's breathing situation, and this breathing situation is presented to user from electrocardiogram, make the breathing situation that user can Real Time Observation oneself, and suitably adjust and breathe.
Detailed description of the invention
As shown in Figure 1, be the running environment figure of breast rail display system of the present invention preferred embodiment.This breast rail display system 10 runs in electronic installation 1, and this electronic installation 1 can be mobile phone, panel computer, notebook computer, desktop computer etc.This electronic installation 1 comprises data base 11 and screen 12, and this data base 11 can be built in this electronic installation 1, also can be placed on this electronic installation 1.In this data base 11, store instruction user according to the standard time of correct breathing pattern, the ratio of standard time and air-breathing standard time of for example exhaling in yoga motion is 2:1, or the standard time of expiration phase is N second, the standard time of expiratory phase is M second etc., and the standard time of this correct breathing pattern also can be set voluntarily by user or medical personnel.Described screen 12 is for showing user's breath state.Described electronic installation 1 is connected in ecg measurement instrument 2 by network, and this network connects and can connect or wireless network connection for cable network.This ecg measurement instrument 2 is for measuring user's electrocardiogram, and this electrocardiogram is sent to electronic installation 1.Described breast rail display system 10, to this ecg analysis, gets user's breath state, and breath state is shown on this electronic installation 1, sees the breath state of oneself, and instruct user to adjust breathing for user.
As shown in Figure 2, be the functional block diagram of breast rail display system 10 in Fig. 1.Described breast rail display system 10 comprises: set up module 100, receiver module 101, detecting module 102, computing module 103 and mapping block 104.Described module is the software program section with specific function, and this software is stored in computer-readable recording medium or other memory device, can be carried out by computer or other accountant that comprises processor, thereby complete the flow process that in the present invention, breast rail shows.
Set up module 100 and breathe indicator diagram for setting up one according to the standard time of the correct breathing pattern of data base's 11 storages on described screen 12.This breathing indicator diagram can embody with various forms, for example show bar (as shown in Figure 5), user can see whether active user's breathing has reached breathing standard from this show bar, for example, as described in Figure 5, on show bar, only show 1/4 process, show that active user's breathing does not reach breathing standard, and in the time that show bar is filled, show that active user's breathing has reached breathing standard.The present embodiment adopts a show bar to represent to exhale and is air-breathing.Other embodiment of the present invention also can represent respectively expiration and air-breathing with two show bars.
Receiver module 101 is for receive the current electrocardiogram of user from electrocardiogram measuring device 2, and generates respiratory curve (electrocardiogram derived respiration, EDR) by the value of R ripple in this electrocardiogram.In the present embodiment, the value of Electrocardiographic R ripple is linked up and formed respiratory curve with level and smooth curve.
Detecting module 102 is expiration phase or expiratory phase for detecting user at the respiratory curve of above-mentioned generation current.In the present embodiment, this detecting module 102 according to the slope of each point in this respiratory curve of detecting judge user current be respiration phase or expiratory phase.As shown in Figure 4, become 0 when detecting slope from positive number, represent that expiration phase finishes; Slope becomes negative from 0, represents that expiratory phase starts; Slope becomes 0 from negative, represents that expiratory phase finishes; Slope becomes positive number from 0, represents that expiration phase starts.If slope is 0 always, be expressed as and breathe no more, for example feel suffocated.
The detecting result of computing module 103 for obtaining according to above-mentioned detecting module 102, obtains the lasting time of active user's expiration phase or expiratory phase, and calculates the ratio of expiration phase or lasting time of expiratory phase and correct breathing pattern standard time.The lasting time of described expiration phase can be that slope becomes positive number from 0 and becomes for 0 time again, and the lasting time of described expiratory phase can be that slope becomes negative from 0 and becomes for 0 time again.
Mapping block 104 is for breathing active user's the expiration phase or the degree of expiratory phase that need demonstration on indicator diagram described in the ratio calculation calculating according to this.For example, if user is current in expiration phase, it is 1:4 with the ratio of correct standard time of exhaling that described computing module 103 calculates the lasting time of the current expiration of user, on the show bar on the breathing indicator diagram shown in Fig. 5, show 1/4 process, user can see that the expiration of oneself has only reached 1/4 degree that standard is exhaled, and needs to continue to exhale from this breathing indicator diagram.
As shown in Figure 3, be the operation process chart of breast rail display packing of the present invention preferred embodiment.
Step S30, sets up module 100 and on described screen 12, sets up a breathing indicator diagram according to the standard time of the correct breathing pattern of storage in data base 11.This breathing indicator diagram can embody with various forms, for example show bar (as shown in Figure 5), and user can see whether active user's breathing has reached breathing standard from this show bar.
Step S31, receiver module 101 receives the current electrocardiogram of user from electrocardiogram measuring device 2, and generates respiratory curve (electrocardiogram derived respiration, EDR) by the value of R ripple in this electrocardiogram.In the present embodiment, the value of Electrocardiographic R ripple is linked up and formed respiratory curve with level and smooth curve.
Step S32, it is expiration phase or expiratory phase that detecting module 102 is detected user current in the respiratory curve of above-mentioned generation.In the present embodiment, this detecting module 102 according to the slope of each point in this respiratory curve of detecting judge user current be respiration phase or expiratory phase.As shown in Figure 4, become 0 when detecting slope from positive number, represent that expiration phase finishes; Slope becomes negative from 0, represents that expiratory phase starts; Slope becomes 0 from negative, represents that expiratory phase finishes; Slope becomes positive number from 0, represents that expiration phase starts.If slope is 0 always, be expressed as and breathe no more, for example feel suffocated.
Step S33, the detecting result that computing module 103 obtains according to above-mentioned detecting module 102, from respiratory curve, obtain the lasting time of active user's expiration phase or expiratory phase, and calculate the ratio of expiration phase or lasting time of expiratory phase and correct breathing pattern standard time.The lasting time of described expiration phase can be that slope becomes positive number from 0 and becomes for 0 time again, and the lasting time of described expiratory phase can be that slope becomes negative from 0 and becomes for 0 time again.Step S34, mapping block 104 is according to breathing active user's the expiration phase or the degree of expiratory phase that need demonstration on indicator diagram described in this ratio calculation calculating.For example, if user is current in expiration phase, it is 1:4 with the ratio of correct standard time of exhaling that described computing module 103 calculates the lasting time of the current expiration of user, on the show bar on the breathing indicator diagram shown in Fig. 5, show 1/4 process, user can see that the expiration of oneself has only reached 1/4 degree that standard is exhaled, and needs to continue to exhale from this breathing indicator diagram.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.