The content of the invention
In view of the foregoing, it is necessary to a kind of mood analysis display system is provided, the real-time emotion shape of user is conveniently checked
Condition.
A kind of mood analysis display methods of offer is provided, the real-time emotion situation of user is conveniently checked.
A kind of mood analyzes display system, runs on electronic installation, the system includes:Computing module, for by electrocardio
RR spacing in figure between adjacent R ripple is converted to low frequency value and high frequency value by frequency-domain analysis;Receiving module, for receiving user
The age of input and sex, obtain the age and the corresponding sympathetic activity standard value of sex and parasympathetic nerve activity criteria
Value;Module is set up, for being worth with above-mentioned sympathetic activity standard value and parasympathetic nerve activity criteria for origin, with sympathetic god
It is transverse axis through activity, sets up coordinate system using parasympathetic nerve activity as the longitudinal axis;Determining module, for being converted to according to above-mentioned
Low frequency value and high frequency value, and sympathetic activity standard value and parasympathetic nerve activity criteria value, determine the low frequency value and high frequency
It is worth position of the corresponding coordinate value in the coordinate system;And reminding module, for determining that the low frequency value is corresponding with high frequency value
Quadrant of the coordinate value on coordinate system, and show that the mood that the quadrant is represented tends on the electronic device.
A kind of mood analyzes display methods, runs on electronic installation, this method comprises the following steps:Calculation procedure, will
RR spacing in electrocardiogram between adjacent R ripple is converted to low frequency value and high frequency value by frequency-domain analysis;Receiving step, receives user
The age of input and sex, obtain the age and the corresponding sympathetic activity standard value of sex and parasympathetic nerve activity criteria
Value;Establishment step, is lived using above-mentioned sympathetic activity standard value and parasympathetic nerve activity criteria value as origin, with sympathetic nerve
Property is transverse axis, sets up coordinate system using parasympathetic nerve activity as the longitudinal axis;Determine step, according to the above-mentioned low frequency value being converted to and
High frequency value, and sympathetic activity standard value and parasympathetic nerve activity criteria value, determine that the low frequency value and high frequency value are corresponding
Position of the coordinate value in the coordinate system;And prompting step, determine the low frequency value and the corresponding coordinate value of high frequency value in seat
The quadrant fastened is marked, and shows that the mood that the quadrant is represented tends on the electronic device.
Compared to prior art, mood analysis shows system and method, can by the frequency-domain analysis to electrocardiogram,
The active coordinate system of sympathetic activity and parasympathetic nerve is set up, allowing can mood of the real time inspection to user in the coordinate system
And suitable control regulation mood, with the emotional state kept fit.
Embodiment
As shown in figure 1, being the running environment figure that mood of the present invention analyzes display system preferred embodiment.Mood analysis is aobvious
Show that system 10 is run in electronic installation 1, the electronic installation 1 can be mobile phone, tablet personal computer, notebook computer, desktop computer etc..
The electronic installation 1 includes database 11, and the database 11 can be built in the electronic installation 1, is also filled external to the electronics
Put 1.Be stored with the sympathetic activity of each age bracket different sexes and the standard of parasympathetic nerve activity in the database 11
Value.The electronic installation 1 by network connection in ecg measurement instrument 2, the network connection can for cable network connection or
Person's wireless network is connected.The ecg measurement instrument 2 is used for the electrocardiogram for measuring user, and the electrocardiogram is sent into electron dress
1 is put, described mood analysis display 10 pairs of electrocardiograms of system carry out frequency-domain analysis, and analysis result is shown in into the electronic installation
On 1, the health of oneself is seen for user.
As shown in Fig. 2 being the functional block diagram of mood analysis display system 10 in Fig. 1.The mood analyzes display system
10 include:Acquisition module 100, computing module 101, receiving module 102, set up module 103, determining module 104 and reminding module
105.The module is the software program section with specific function, and the software is stored in computer-readable recording medium or other deposited
Equipment is stored up, can be performed by computer or other computing devices comprising processor, so as to complete mood analysis display in the present invention
Flow.
Acquisition module 100 is used to get the current electrocardiogram of user from ecg measurement instrument 2, and gets the electrocardio
RR spacing on figure between adjacent R ripple(R-R interval).
Computing module 101 is used to the RR spacing is converted into low frequency value by frequency-domain analysis using fourier algorithm(low
Frequency, LF)And high frequency value(High frequency, HF), the LF and HF numerical value is assumed to be(X1, Y1), low frequency value generation
Table is sympathetic activity, and what high frequency value was represented is parasympathetic nerve activity.
Receiving module 102 is used for age and the sex for receiving user's input, and the age according to the input and sex, in number
According to corresponding sympathetic activity standard value and parasympathetic nerve activity criteria's value is searched in storehouse 11, such as(X, Y).The receiving module
102 can provide a user interface on electronic installation 1, and the user interface is available for user to input age and sex, can also carried
Selected for the range of age and sex for user.
Setting up module 103 is used for the above-mentioned sympathetic activity standard value found and parasympathetic nerve activity criteria's value
For origin, using sympathetic activity numerical value as transverse axis, coordinate system is set up using parasympathetic nerve activity value as the longitudinal axis.Such as Fig. 4 institutes
Show, the sympathetic activity value and parasympathetic nerve activity value of user can all be represented by low frequency value and high frequency value, therefore, low
Frequency value and high frequency value are represented by the coordinate value of a point in the coordinate system.Because sympathetic nerve and parasympathetic nerve are managed respectively
The different moods of people are controlled, therefore each quadrant of the coordinate system can represent that different moods tends to.For example, first quartile is represented
Excited or angry mood tends to, and the second quadrant represents that the mood of relaxation state tends to, and third quadrant represents dejected or sorrow
The mood of wound tends to, and fourth quadrant represents that the mood of anxiety or pressure tends to.
Determining module 104 is used to be converted to low frequency value and high frequency value according to above-mentioned(X1, Y1), and sympathetic activity mark
Quasi- value and parasympathetic nerve activity criteria value(X, Y), calculate(X1, Y1)For(X, Y)Relative coordinate values, it is determined that(X1, Y1)
Position in the coordinate system, and be shown on the coordinate system.It is described in the present embodiment(X1, Y1)Relative coordinate values be
(X1-X, Y1-Y), the coordinate value of the low frequency value and high frequency value corresponding point in the coordinate system is(X1-X, Y1-Y), it is described
Determining module 104 is that can determine that the position of the low frequency value and high frequency value corresponding points in a coordinate system.
Reminding module 105 is used to determine(X1, Y1)Quadrant on the coordinate system, and the mood represented according to the quadrant
The mood for tending to determine the user tends to, and shows that the current mood of the user tends in the user interface of electronic installation 1,
For checking that the current mood of the user tends to, such as user is currently at excitatory state.If as shown in figure 4, user's is low
First quartile of the frequency value coordinate value corresponding with high frequency value in coordinate system, then it represents that the sympathetic activity and parasympathetic of the user
Activity is higher, in excited or angry mood.If the corresponding coordinate value of low frequency value and high frequency value of user is in coordinate system
Second quadrant, then it represents that the sympathetic activity of the user is relatively low, and parasympathetic activity is higher, user is in relaxation state.When with
The corresponding coordinate value of low frequency value and high frequency value at family is in third quadrant, then it represents that the sympathetic activity and parasympathetic of the user is lived
Property it is relatively low, user is in dejected or sad mood.When the corresponding coordinate value of low frequency value and high frequency value of user is in four-quadrant
Limit, then it represents that the sympathetic activity of the user is higher, and parasympathetic nerve activity is relatively low, user is in anxiety or pressure state
In.
As shown in figure 3, being the operation process chart that mood of the present invention analyzes display methods preferred embodiment.
Step S30, acquisition module 100 gets the current electrocardiogram of user from ecg measurement instrument 2, and gets this
RR spacing on electrocardiogram between adjacent R ripple.
The RR spacing is converted to low frequency value by step S31, computing module 101 using fourier algorithm by frequency-domain analysis
(Low frequency, LF)And high frequency value(High frequency, HF), the LF and HF numerical value is assumed to be(X1, Y1), it is low
What frequency value was represented is sympathetic activity, and what high frequency value was represented is parasympathetic nerve activity.
Step S32, receiving module 102 receives age and the sex of user's input, and the age according to the input and sex,
Corresponding sympathetic activity standard value and parasympathetic nerve activity criteria's value are searched in database 11, such as(X, Y).The reception
Module 102 can provide a user interface on electronic installation 1, and the user interface is available for user to input age and sex, also may be used
Selected with providing the range of age and sex for user.
Step S33, is set up module 103 and is marked with the above-mentioned sympathetic activity standard value found and parasympathetic nerve activity
Quasi- value is origin, and using sympathetic activity numerical value as transverse axis, coordinate system is set up using parasympathetic nerve activity value as the longitudinal axis.As schemed
Shown in 4, the sympathetic activity value and parasympathetic nerve activity value of user can all be represented by low frequency value and high frequency value, because
This, low frequency value and high frequency value are represented by the coordinate value of a point in the coordinate system.Due to sympathetic nerve and parasympathetic nerve
The different moods of management and control people respectively, thus the coordinate system each quadrant represents is that different moods tend to.
Step S34, determining module 104 is converted to low frequency value and high frequency value according to above-mentioned(X1, Y1), and sympathetic nerve work
Property standard value and parasympathetic nerve activity criteria value(X, Y), calculate(X1, Y1)With(X, Y)Relative coordinate values, and determine(X1,
Y1)Position in the coordinate system, and be shown on the coordinate system.
Step S35, reminding module 105 is determined(X1, Y1)Quadrant on the coordinate system, and represented according to the quadrant
The mood that mood tends to determine the user tends to, and shows in the user interface of electronic installation 1 the current mood of the user
Tend to, for checking that the current mood of the user tends to, such as user is currently at excitatory state.If as shown in figure 4, user
Low frequency value and the corresponding coordinate value of high frequency value coordinate system first quartile, then it represents that the sympathetic activity and pair of the user
Sympathetic activity is higher, in excited or angry mood.If the corresponding coordinate value of low frequency value and high frequency value of user is in coordinate
Second quadrant of system, then it represents that the sympathetic activity of the user is relatively low, and parasympathetic activity is higher, user is in relaxation state.
When the corresponding coordinate value of low frequency value and high frequency value of user is in third quadrant, then it represents that the sympathetic activity of the user and secondary friendship
Sense activity is relatively low, and user is in dejected or sad mood.When the corresponding coordinate value of low frequency value and high frequency value of user is
Four-quadrant, then it represents that the sympathetic activity of the user is higher, parasympathetic nerve activity is relatively low, and user is in anxiety or pressure
In state.
It should be noted last that, the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although ginseng
The present invention is described in detail according to preferred embodiment, it will be understood by those within the art that, can be to the present invention
Technical scheme modify or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.