Embodiment
Fig. 1 is the process flow diagram of an embodiment of terminal media control method for playing back provided by the invention.As shown in Figure 1, the executive agent of following steps can have one or more modules, chip on the terminal of media play function for mobile phone, MP3, MP4, PAD etc.This terminal media control method for playing back specifically comprises:
S101, detection user's eeg signal;
Take mobile phone as example, when integrated when controlling the function of media play by user's brain wave in user mobile phone, can detect by the brain wave sensor established in the mobile phone eeg signal to the user.
Bio-electric phenomenon is one of essential characteristic of vital movement, and various biologies all have the performance of electrical activity, arrives greatly whale, and is little of bacterium, and strong or weak bioelectricity is arranged.In fact, English cell (cell) word also has the implication of battery, and countless cells just is equivalent to a miniature baby battery successively, is bioelectric source.
There are many neurocyte in activity in human brain, form the change of electrical equipment.That is to say have the swing of electrical equipment to exist.And this swing is presented on scientific instrument, seems just as fluctuation.We are referred to as brain wave electrical equipment vibrations in brain.
Can detect eeg signal by brain wave sensor, such as ThinkGear AM chip of the U.S. etc.
S102 determines user's the residing band information of eeg signal, and the residing band information of this eeg signal is used for this user's of reflection sleep state;
After the eeg signal that the user detected, can identify the residing band information of this eeg signal by the central control unit in mobile phone.Because the eeg signal of different frequency range can reflect the sleep state that the user is current, so just can know the state that the user is current by identifying the residing band information of this eeg signal.
Concrete, human brain is not producing brain wave all the time.The frequency variation scope between per second 1~30 time, can be divided into four wave bands usually: " α " ripple, frequency are 8-12Hz.Be in the state of mind of loosening fully when brain, or the brain wave that occurs when the mind is absorbed in." β " ripple, frequency are 14~30Hz.The brain wave situation that is the mankind under a kind of common, daily waking state of this ripple reflection.It is the fluctuation situation of brain under general waking state, and in this state, the practices such as logical thinking, analysis will appear in the people." θ " ripple, frequency are 4~8Hz.The initial stage of the sleep that the brain wave in this stage is behaved.Be that the people begins to feel that sleepiness is dim, the transitional region between entirely waking up and entirely sleeping, brain wave just becomes the speed motion with 4~8Hz." δ " ripple, frequency are 0.5~4Hz.The brain wave in the deep sleep stage that it is behaved.When the people entered sound sleep fully, brain was just with 0.5~4Hz motion, i.e. δ ripple.At this moment, people's breathing deeply, bradycardia, blood pressure and body temperature all can descend to some extent.Nowadays, related to every field for the application of brain wave technology, especially the application in areas of information technology is particularly extensive.
To sum up, can determine by detecting the residing band information of eeg signal user's sleep state.
S103, band information residing according to eeg signal carries out Play Control to the media play software of terminal.
Because the residing band information of eeg signal has reacted the current sleep state of user, specifically referring to the associated description in S102, therefore, sleep state that can be current according to the user, namely the residing band information of eeg signal by central control unit to the media play software of terminal carry out as: regulate volume, close the Play Control operation such as software.
Terminal media control method for playing back provided by the invention, eeg signal by detecting the user is also determined band information under it, band information residing according to this eeg signal carries out Play Control to the media play software of terminal, guarantees that the human body sense of hearing is healthy, saves the mobile phone electric weight.
Fig. 2 is the process flow diagram of another embodiment of terminal media control method for playing back provided by the invention, is a kind of concrete implementation of embodiment as shown in Figure 1.As shown in Figure 2, the executive agent of following steps can have one or more modules, chip on the terminal of media play function for mobile phone, MP3, MP4, PAD etc.This terminal media control method for playing back specifically comprises:
S201, the state of the media play software of judgement terminal if media play software is in starting state, determines to detect this user's eeg signal;
Take mobile phone as example, when the mobile phone original state, the central control unit in mobile phone is first inquired about peripheral hardware as the current state of frequency modulation broadcasting (Frequency Modulation, FM), audio frequency or video player.If peripheral hardware is in closed condition, do not need to do any action.If peripheral hardware is in open mode, the brain wave sensor of establishing in enabling in mobile phone detects user's eeg signal to indicate it.
S202, detection user's eeg signal; This step can be referring to the corresponding contents ofstep 101.
S203 amplifies successively with filtering eeg signal and processes;
Generally, we think the holder of terminal, and namely detected targeted customer, nearest apart from terminal, and the signal amplitude of its brain wave is maximum.So in all eeg signals that sensor detects, extract the eeg signal of amplitude maximum as targeted customer's eeg signal, and amplify processing through amplifier, then carry out filtering through wave filter and process, with filtering clutter, obtain eeg signal more clearly.
S204 carries out analog to digital conversion to the signal that obtains after amplification and filtering processing, obtains digital signal.
Because above-mentioned steps is processed and what obtain is all simulating signal, so the signal that amplifies and filtering obtains after processing need to be carried out analog to digital conversion, obtain digital signal, so that the central control unit in mobile phone is identified this signal, and the execution corresponding operating.
S205 determines user's the residing band information of eeg signal, and the residing band information of this eeg signal is used for reflecting described user's sleep state; Particularly, can determine the residing band information of digital signal that obtains after this eegsignal process step 203 and 204 processing, the specific descriptions of this determining step can be referring to the corresponding contents ofstep 102.
S206, band information residing according to described eeg signal carries out Play Control to the media play software of terminal;
Concrete, if residing frequency range belongs to α wave band or beta band, described media play software is not carried out Play Control;
If the residing frequency range of the eeg signal that detects belongs to the θ wave band, the volume of media play software is turned down;
If the residing frequency range of the eeg signal that detects belongs to the δ wave band, close media play software.
Concrete, after central control unit is identified the residing band information of this eeg signal corresponding to above-mentioned digital signal, be built in tables of data in mobile phone by inquiry, the data that preset in the digital signal that obtains and mobile phone compared the eeg signal type that acknowledges receipt of.Operate accordingly according to different signal types again, in order to control the state of peripheral hardware.This operation comprises:
If judge that this brain wave is α or β ripple, illustrate that the user is in waking state, do not need media play software is carried out control operation.
If judge that this brain wave is the θ ripple, illustrate that user's consciousness is fuzzy gradually, but also there is no the penetration depth sleep state, can reduce the volume of mobile media this moment, specifically can be adjusted to 1/2 or 1/3 of original volume.
If judge that this brain wave is the δ ripple, illustrate that the user has entered deep sleep.All media play softwares that play in can closing hand phone this moment allow mobile phone enter into sleep state.Thereby protected user's the sense of hearing, also avoided mobile phone to play for a long time the situation that media cause electric weight to deplete simultaneously.
Further, the frequency of the digital signal of central control unit poll monitoring input can also be set, the brain wave type corresponding according to the current digital signal that monitors, the control operation of real-time renewal to media play software.
Terminal media control method for playing back provided by the invention, eeg signal by detecting the user is also determined band information under it, band information residing according to this eeg signal carries out Play Control to the media play software of terminal, guarantees that the human body sense of hearing is healthy, saves the mobile phone electric weight.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can be completed by the hardware that programmed instruction is correlated with.Aforesaid program can be stored in a computer read/write memory medium.This program is carried out the step that comprises above-mentioned each embodiment of the method when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 3 is the structural representation of an embodiment of terminal media broadcast control device provided by the invention.This terminal media broadcast control device can have one or more modules, chip on the terminal of media play function for mobile phone, MP3, MP4, PAD etc., and can carry out as shown in Figure 1 method step, this device comprises: detection module 31, identification module 32 and control module 33, wherein:
Detection module 31 is for detection of user's eeg signal;
Identification module 32, for the residing band information of eeg signal of determining described user, the residing band information of described eeg signal is used for reflecting described user's sleep state;
Control module 33 is used for band information residing according to described eeg signal, and the media play software of terminal is carried out Play Control.
Particularly, take mobile phone as example, when integrated when controlling the function of media play by user's brain wave in user mobile phone, can detect by 31 couples of users' of detection module eeg signal.This detection module 31 can be the brain wave sensor of establishing in mobile phone.
User's eeg signal detected when detection module 31 after, can identify by 32 pairs of residing band informations of this eeg signal of the identification module in mobile phone.Because the eeg signal of different frequency range can reflect the sleep state that the user is current, so just can know the state that the user is current by identifying the residing band information of this eeg signal.This identification module 32 can be the central control unit in mobile phone.
Because the residing band information of eeg signal has reacted the current sleep state of user, sleep state that can be current according to the user, namely the media play software of the residing band information of eeg signal by 33 pairs of terminals of control module carry out as: regulate volume, close the Play Control operation such as software.Wherein this control module 33 can be the central control unit in mobile phone.
Terminal media broadcast control device provided by the invention, eeg signal by detecting the user is also determined band information under it, band information residing according to this eeg signal carries out Play Control to the media play software of terminal, guarantees that the human body sense of hearing is healthy, saves the mobile phone electric weight.
Fig. 4 is the structural representation of another embodiment of terminal media broadcast control device provided by the invention, is a kind of concrete implementation of embodiment as shown in Figure 3.This device can have one or more modules, chip on the terminal of media play function for mobile phone, MP3, MP4, PAD etc., and can carry out as shown in Figure 2 method step, this device comprises: judge module 41, detection module 42, processing module 43, modular converter 44, identification module 45 and control module 46, wherein:
Judge module 41 for the state of the media play software that judges described terminal, if described media play software is in starting state, determines to detect described user's eeg signal;
Detection module 42 is for detection of user's eeg signal;
Processing module 43 is used for eeg signal is amplified successively with filtering processing;
Modular converter 44 is used for the signal that obtains after amplification and filtering processing is carried out analog to digital conversion, obtains digital signal;
Identification module 45, for the residing band information of eeg signal of determining the user, the residing band information of this eeg signal is used for reflection user's sleep state;
Control module 46 is used for band information residing according to eeg signal, and the media play software of terminal is carried out Play Control.
Particularly, take mobile phone as example, when the mobile phone original state, mobile phone is by judge module 41, first inquires about peripheral hardware as the current state of frequency modulation broadcasting (Frequency Modulation, FM), audio frequency or video player as the central control unit in mobile phone.Be in closed condition if judge peripheral hardware, do not need to do any action.Be in open mode if judge peripheral hardware, the enable detection module 42, as the brain wave sensor of establishing in mobile phone, detect users' eeg signal with indication detection module 42.
After detection module 42 is received the detection indication of judge module 41, begin to detect user's eeg signal; This step can be referring to the corresponding contents ofstep 101.
The eeg signal that detects by 43 pairs of detection modules 42 of processing module amplifies and the filtering processing successively, with filtering clutter, obtains eeg signal more clearly; This step can be referring to the corresponding contents ofstep 203.
By modular converter 44, the signal that obtains after amplification and filtering processing is carried out analog to digital conversion, obtain digital signal, identify for 45 pairs of these digital signals of identification module, determine this user's the residing band information of eeg signal.
Determine user's the residing band information of eeg signal by identification module 45, the residing band information of this eeg signal is used for reflecting described user's sleep state; Particularly, can determine the residing band information of digital signal that obtains after this eeg signal process processing module 43 and modular converter 44 processing, the specific descriptions of this determining step can be referring to the corresponding contents ofstep 102.
By control module 46, according to the residing band information of eeg signal of identification module 45 identification, the media play software of terminal is carried out Play Control, concrete operations comprise:
Belong to α wave band or beta band when identification module 45 identifies the residing frequency range of this eeg signal, 46 pairs of media play softwares of control module do not carry out Play Control;
Belong to the θ wave band when identification module 45 identifies the residing frequency range of this eeg signal, by control module 46, the volume of this media play software is turned down;
Belong to the δ wave band when identification module 45 identifies the residing frequency range of this eeg signal, close this media play software by control module 46.
The above-mentioned residing frequency range of eeg signal that identifies according to identification module 45 by control module 46 can be referring to the corresponding contents ofstep 206 to the specific operation process that media play software carries out.
Terminal media broadcast control device provided by the invention, eeg signal by detecting the user is also determined band information under it, band information residing according to this eeg signal carries out Play Control to the media play software of terminal, guarantees that the human body sense of hearing is healthy, saves the mobile phone electric weight.
It should be noted that at last: above each embodiment is not intended to limit only in order to technical scheme of the present invention to be described; Although with reference to aforementioned each embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.