CN104008769A - MP3 player stopping playing along with user falling sleep and control method thereof - Google Patents

MP3 player stopping playing along with user falling sleep and control method thereof Download PDF

Info

Publication number
CN104008769A
CN104008769A CN201410274311.7A CN201410274311A CN104008769A CN 104008769 A CN104008769 A CN 104008769A CN 201410274311 A CN201410274311 A CN 201410274311A CN 104008769 A CN104008769 A CN 104008769A
Authority
CN
China
Prior art keywords
user
player
microprocessor
pulse
playing
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.)
Pending
Application number
CN201410274311.7A
Other languages
Chinese (zh)
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.)
Changzhou Campus of Hohai University
Original Assignee
Changzhou Campus of Hohai University
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 Changzhou Campus of Hohai University filed Critical Changzhou Campus of Hohai University
Priority to CN201410274311.7A priority Critical patent/CN104008769A/en
Publication of CN104008769A publication Critical patent/CN104008769A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an MP3 player stopping playing along with a user falling sleep and a control method of the MP3 player. The MP3 player comprises an MP3 body, a liquid crystal display screen, a microprocessor, a USB interface and a storage unit are arranged on the MP3 body, an audio decoding chip is connected to the microprocessor, an audio output interface is formed in the audio decoding chip, downloaded music is transmitted to the audio decoding chip by the microprocessor to be decoded, and the audio decoding chip decodes currently-played songs and transmits the currently-played songs to the audio output interface to be listened to by the user. A pulse sensor is connected to the MP3 body, the pulse sensor is connected with the microprocessor through an AD converter, the AD converter converts collected pulse signals into digital signals, and the digital signals are transmitted to the microprocessor. The MP3 player automatically stops playing after the fact that the user is in the sleep state is judged according to the pulse beat frequency of the user, and the situation that the eardrums of the user are hurt due to the fact that the music is played for a long time when the user is in the sleep state is avoided.

Description

Along with user falls asleep and stops MP3 player and the control method thereof play
Technical field
The present invention relates to a kind of player, relate in particular to a kind ofly along with user falls asleep and stops the MP3 player of playing, also relate to a kind ofly along with user falls asleep and stops the control method of MP3 player of playing, belong to electronic player technical field.
Background technology
MP3 utilizes people's ear to the insensitive characteristic of high-frequency sound signal, convert time domain waveform signal to frequency-region signal, and be divided into multiple frequency ranges, different frequency ranges is used to different compressibilitys, high frequency is strengthened to ratio of compression (even ignoring signal) low frequency signal is used to small reduction ratio, ensure that signal is undistorted.So be just equivalent to abandon the substantially unheard high-frequency sound of people's ear, only retain the low frequency part that can hear, thereby by the even compressibility compression of 1:12 of 1:10 for sound.Because the full name of this compress mode is MPEG Audio Player3, thus people it referred to as MP3.
Because MP3 has higher compressibility, fidelity, have that volume is little, the plurality of advantages such as be easy to carry simultaneously, be now subject to numerous people's favor.At present, the habits and customs that a lot of people have used ear inserting type earphone to listen to the music while having formed rest, and more people has MP3 in the process of carrying out music, to progress into dormant experience.And China scientific and technical personnel are through research, experimenter to the mean age about 23 years old, hour compared with control group, there is significant threshold of audibility difference use ear inserting type earphone every day 1 hour, 1-2.5, and using the ear inserting type earphone time longer, hearing impairment is more serious.
In prior art, there is a kind of pulse transducer can detect people's the information such as beat pulse speed, intensity, and people's the beat pulse frequency can be starkly lower than under non-sleep at sleep state, therefore can indirect detection whether go out people in sleep state by pulse transducer.
Summary of the invention
The object of the invention is to for deficiency of the prior art, provide along with user falls asleep and stops the MP3 player of playing, can after user enters sleep state, automatically stop playing MP3 player, avoid long-time play music under user's sleep state to cause ear-drum damage.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: along with user falls asleep and stops the MP3 player of playing, comprise MP3 body, MP3 body is provided with: the LCDs showing for data, for the microprocessor of data analysis and process, be used for the USB interface of data transmission and charging and the storage unit for data storage, on described microprocessor, be also connected with audio decoder chip, described audio decoder chip is provided with audio output interface, microprocessor is decoded the music transmission of having downloaded to audio decoder chip, audio decoder chip is decoded the song of playing and is transferred to audio output interface and listens to for user, on described MP3 body, be also connected with the pulse transducer for gathering user's beat pulse information, pulse transducer is connected with microprocessor through AD converter, and AD converter converts the pulse signal collecting to digital signal and flows to microprocessor.
As a further improvement on the present invention, on described microprocessor, be also connected with the bluetooth communication for communicating with other music media, the audio-frequency information of not decoding is transferred to other music media by bluetooth communication, and other music media are play after audio-frequency information is decoded.
As a further improvement on the present invention, on described MP3 body, be also connected with for MP3 body is fixed on to the connecting band in user's wrist.Connecting band can ensure that pulse transducer accurately locates, and avoids pulse transducer to be arbitrarily shifted.
As a further improvement on the present invention, described connecting band is elastic connecting strip, and elastic connecting strip is provided with buckling piece and the fastening hole for adjustable elastic connecting band length.Buckling piece buckles in fastening hole to adapt to the user that wrist thickness is different.
As preferred version of the present invention, described pulse transducer adopts the piezoelectric type pulse transducer that model is HK-2000A.
As preferred version of the present invention, described storage unit adopts the eeprom chip of 24C02.
As preferred version of the present invention, described microprocessor adopts the arm processor of STM32F103ZET6.
Compared with prior art, provided by the invention along with user falls asleep and the beneficial effect that produces of MP3 player that stops playing is: can to judge whether user enter sleep state according to user's beat pulse frequency, in the time detecting that user enters sleep state, automatically stop MP3 player, prevent that user is because forgetting before falling asleep that closing MP3 player listens to the music for a long time and cause ear-drum damage; Be equipped with bluetooth communication, the audio-frequency information of not decoding can be transferred to other music media, such as bluetooth earphone, avoid wired earphone to affect user's arm freely movable, make user be immersed in the more comfortable atmosphere of music freely.
Another object of the present invention is to provide a kind of control method that adopts above-mentioned MP3 player, comprise the steps:
Step 1: the beat pulse frequency that detects user non-sleep state: pulse transducer detect in real time user's beat pulse information and by beat pulse communication to microprocessor, microprocessor within the predetermined detection time, add up per minute beat pulse under user's non-sleep state total degree cnt1, cnt2 ... cntn, and to cnt1, cnt2 ... cntn cnt0=(the cnt1+cnt2+ that averages ... + cntn)/n, carries out next step relatively using cnt0 as reference value;
Step 2: beat pulse frequency comparison: microprocessor statistics user per minute beat pulse total degree cnt ', and cnt ' and cnt0 are compared, if cnt ' is less than 0.8cnt0, judge that user has entered sleep state, microcontroller cuts out MP3 player automatically.
As preferred version of the present invention, the described predetermined detection time is first 5 ~ 10 minutes that user brings into use MP3 player at every turn.
Compared with prior art, the beneficial effect that the control method of MP3 player provided by the invention produces is: provide a kind of along with user falls asleep and stops the control method of MP3 player of playing, judge after user enters sleep state and automatically stop MP3 player according to user's beat pulse frequency, there is accuracy of judgement, export the feature timely of controlling, avoid user's long-time play music and cause ear-drum damage still under sleep state, make the control system of MP3 player possess hommization control.
Brief description of the drawings
Fig. 1 is structural representation of the present invention.
Fig. 2 is schematic block circuit diagram of the present invention.
In figure: 1, MP3 body; 2, LCDs; 3, connecting band; 4, USB interface; 5, audio output interface; 6, fastening hole; 7, buckling piece; 8, button.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.Following examples are only for technical scheme of the present invention is more clearly described, and can not limit the scope of the invention with this.
As shown in Figure 1 and Figure 2, along with user falls asleep and stops the MP3 player of playing, comprise MP3 body 1, MP3 body 1 is provided with: the LCDs 2 showing for data, can select the LCDs 2 of 2.8 or 3.2 cun; For MP3 body 1 is fixed on to the connecting band 3 in user's wrist, connecting band 3 preferred elastomeric connecting bands, elastic connecting strip is provided with buckling piece 7 and the fastening hole 6 for adjustable elastic connecting band length.Buckling piece 7 buckles in fastening hole 6 to adapt to the user that wrist thickness is different; For the various buttons 8 that operate, as on & off switch, F.F. or fast backspace key and options button.The inside of MP3 body 1 is provided with: for the microprocessor of data analysis and process, microprocessor adopts the arm processor of STM32F103ZET6; Be used for the USB interface 4 of data transmission and charging and the storage unit for data storage, storage unit adopts the eeprom chip of 24C02, and microprocessor is responsible for transferring from storage unit that the song of having downloaded is play and deposit the song that downloads to MP3 player by USB interface 4 in storage unit simultaneously.On microprocessor, be also connected with audio decoder chip, audio decoder chip is selected PCM1770 low-power consumption stereo audio D A C chip, and audio decoder chip is provided with audio output interface 5.Microprocessor is decoded the music transmission of having downloaded to audio decoder chip, audio decoder chip is decoded the song of playing and is transferred to audio output interface 5 and listens to for user, and audio output interface 5 can be the earphone special socket of MP3 player.On MP3 body 1, be also connected with the pulse transducer for gathering user's beat pulse information, pulse transducer adopts the piezoelectric type pulse transducer that model is HK-2000A, be arranged at the back of MP3 body 1, the detecting element of pulse transducer should be just to user's beat pulse region.AD converter is selected AD7799 chip, and the pulse signal that AD7799 chip collects pulse transducer converts digital signal to and flows to microprocessor.On microprocessor, be also connected with the bluetooth communication for communicating with other music media, the audio-frequency information of not decoding is transferred to other music media by bluetooth communication, such as bluetooth earphone etc., bluetooth earphone is play after to audio-frequency information decoding.
Provided by the invention along with user fall asleep and stop play MP3 player can according to user's beat pulse frequency judge user whether enter sleep state, in the time detecting that user enters sleep state, microprocessor sends stop signal and automatically closes down MP3 player, prevents that user from closing the player ear-drum damage causing of listening to the music for a long time because forgetting before falling asleep.
The control method that adopts above-mentioned MP3 player, step is as follows:
Step 1: the beat pulse frequency that detects user non-sleep state: pulse transducer detect in real time user's beat pulse information and by beat pulse communication to microprocessor, microprocessor within the predetermined detection time, add up per minute beat pulse under user's non-sleep state total degree cnt1, cnt2 ... cntn, and to cnt1, cnt2 ... cntn cnt0=(the cnt1+cnt2+ that averages ... + cntn)/n, carries out next step relatively using cnt0 as reference value;
Step 2: beat pulse frequency comparison: microprocessor statistics user per minute beat pulse total degree cnt ', and cnt ' and cnt0 are compared, if cnt ' is less than 0.8cnt0, judge that user has entered sleep state, microcontroller cuts out MP3 player automatically.
As preferred version of the present invention, the predetermined detection time is first 5 ~ 10 minutes that user brings into use MP3 player at every turn.
Below be only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, do not departing under the prerequisite of the technology of the present invention principle; can also make some improvement and distortion, these improvement and distortion also should be considered as protection scope of the present invention.

Claims (9)

1. along with falling asleep, user stops the MP3 player of playing, it is characterized in that, comprise MP3 body, MP3 body is provided with: the LCDs showing for data, for the microprocessor of data analysis and process, be used for the USB interface of data transmission and charging and the storage unit for data storage, on described microprocessor, be also connected with audio decoder chip, described audio decoder chip is provided with audio output interface, microprocessor is decoded the music transmission of having downloaded to audio decoder chip, audio decoder chip is decoded the song of playing and is transferred to audio output interface and listens to for user, on described MP3 body, be also connected with the pulse transducer for gathering user's beat pulse information, pulse transducer is connected with microprocessor through AD converter, and AD converter converts the pulse signal collecting to digital signal and flows to microprocessor.
2. according to claim 1 along with user falls asleep and stops the MP3 player of playing, it is characterized in that, on described microprocessor, be also connected with the bluetooth communication for communicating with other music media, the audio-frequency information of not decoding is transferred to other music media by bluetooth communication, and other music media are play after audio-frequency information is decoded.
According to claim 1 along with user fall asleep and stop play MP3 player, it is characterized in that, on described MP3 body, be also connected with for MP3 body is fixed on to the connecting band in user's wrist.
According to claim 3 along with user fall asleep and stop play MP3 player, it is characterized in that, described connecting band is elastic connecting strip, elastic connecting strip is provided with buckling piece and the fastening hole for adjustable elastic connecting band length.
5. according to claim 1ly it is characterized in that along with user falls asleep and stops the MP3 player of playing, described pulse transducer adopts the piezoelectric type pulse transducer that model is HK-2000A.
6. according to claim 5ly it is characterized in that along with user falls asleep and stops the MP3 player of playing, described storage unit adopts the eeprom chip of 24C02.
7. according to claim 6ly it is characterized in that along with user falls asleep and stops the MP3 player of playing, described microprocessor adopts the arm processor of STM32F103ZET6.
8. a control method that adopts MP3 player claimed in claim 1, is characterized in that, comprises the steps:
Step 1: the beat pulse frequency that detects user non-sleep state: pulse transducer detect in real time user's beat pulse information and by beat pulse communication to microprocessor, microprocessor within the predetermined detection time, add up per minute beat pulse under user's non-sleep state total degree cnt1, cnt2 ... cntn, and to cnt1, cnt2 ... cntn cnt0=(the cnt1+cnt2+ that averages ... + cntn)/n, carries out next step relatively using cnt0 as reference value;
Step 2: beat pulse frequency comparison: microprocessor statistics user per minute beat pulse total degree cnt ', and cnt ' and cnt0 are compared, if cnt ' is less than 0.8cnt0, judge that user has entered sleep state, microcontroller cuts out MP3 player automatically.
9. the control method of MP3 player according to claim 8, is characterized in that, the described predetermined detection time is first 5 ~ 10 minutes that user brings into use MP3 player at every turn.
CN201410274311.7A 2014-06-19 2014-06-19 MP3 player stopping playing along with user falling sleep and control method thereof Pending CN104008769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410274311.7A CN104008769A (en) 2014-06-19 2014-06-19 MP3 player stopping playing along with user falling sleep and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410274311.7A CN104008769A (en) 2014-06-19 2014-06-19 MP3 player stopping playing along with user falling sleep and control method thereof

Publications (1)

Publication Number Publication Date
CN104008769A true CN104008769A (en) 2014-08-27

Family

ID=51369394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410274311.7A Pending CN104008769A (en) 2014-06-19 2014-06-19 MP3 player stopping playing along with user falling sleep and control method thereof

Country Status (1)

Country Link
CN (1) CN104008769A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484045A (en) * 2014-12-26 2015-04-01 小米科技有限责任公司 Audio play control method and device
CN104699248A (en) * 2015-03-24 2015-06-10 小米科技有限责任公司 Electronic equipment, device and method for control of audio play
CN105425962A (en) * 2015-11-23 2016-03-23 广东欧珀移动通信有限公司 Stop method and system of multimedia playing
CN105791518A (en) * 2014-12-23 2016-07-20 联想(北京)有限公司 Information processing method and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2850517Y (en) * 2005-06-02 2006-12-27 东莞市富旭电子有限公司 Sports MP3
CN2930613Y (en) * 2006-05-22 2007-08-08 洪金叶 MP3 broadcaster capable of transmitting pulse data
WO2009069037A2 (en) * 2007-11-27 2009-06-04 Koninklijke Philips Electronics, N.V. Aural heart monitoring apparatus and method
US20090192556A1 (en) * 2008-01-25 2009-07-30 Medtronic, Inc. Sleep stage detection
CN201622443U (en) * 2009-11-27 2010-11-03 张新春 Sports watch
CN102707644A (en) * 2012-07-02 2012-10-03 陕西科技大学 Management system controlling household hydroelectric equipment by utilizing pulse and realization method of system
CN203354187U (en) * 2013-05-22 2013-12-25 翁欣文 Induction-type music sleeping bag
CN203455623U (en) * 2013-08-07 2014-02-26 陈新根 Multifunctional watch

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2850517Y (en) * 2005-06-02 2006-12-27 东莞市富旭电子有限公司 Sports MP3
CN2930613Y (en) * 2006-05-22 2007-08-08 洪金叶 MP3 broadcaster capable of transmitting pulse data
WO2009069037A2 (en) * 2007-11-27 2009-06-04 Koninklijke Philips Electronics, N.V. Aural heart monitoring apparatus and method
US20090192556A1 (en) * 2008-01-25 2009-07-30 Medtronic, Inc. Sleep stage detection
CN201622443U (en) * 2009-11-27 2010-11-03 张新春 Sports watch
CN102707644A (en) * 2012-07-02 2012-10-03 陕西科技大学 Management system controlling household hydroelectric equipment by utilizing pulse and realization method of system
CN203354187U (en) * 2013-05-22 2013-12-25 翁欣文 Induction-type music sleeping bag
CN203455623U (en) * 2013-08-07 2014-02-26 陈新根 Multifunctional watch

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791518A (en) * 2014-12-23 2016-07-20 联想(北京)有限公司 Information processing method and electronic device
CN104484045A (en) * 2014-12-26 2015-04-01 小米科技有限责任公司 Audio play control method and device
CN104484045B (en) * 2014-12-26 2018-07-20 小米科技有限责任公司 Audio play control method and device
CN104699248A (en) * 2015-03-24 2015-06-10 小米科技有限责任公司 Electronic equipment, device and method for control of audio play
CN105425962A (en) * 2015-11-23 2016-03-23 广东欧珀移动通信有限公司 Stop method and system of multimedia playing
CN105425962B (en) * 2015-11-23 2018-09-14 广东欧珀移动通信有限公司 The method of shutting down and system of multimedia

Similar Documents

Publication Publication Date Title
CN102065350A (en) Method, system and earphone for intelligently controlling multimedia playing
CN104008769A (en) MP3 player stopping playing along with user falling sleep and control method thereof
CN205283778U (en) Take earphone of detecting plate
CN104678747A (en) Intelligent wrist watch
CN103488073A (en) Sports watch with musical function
CN203691612U (en) Cluster type multifunctional audio communication system
CN204861545U (en) Intelligence music broadcast bracelet
CN204072438U (en) A kind of electronics snore stopper based on ARM
TW201617104A (en) Auxiliary system and method for aiding sleep
CN204408581U (en) A kind of intelligent earphone device
CN202339715U (en) Novel wireless MP3 (moving picture experts group audio layer-3)
CN202222884U (en) Novel pillow
CN201256445Y (en) Health prompt earphone
CN202694603U (en) Multi-period timing-playing learning machine
CN201548817U (en) Intelligent alarm clock
CN201683888U (en) Blood pressure meter with voice function
CN205143594U (en) Intelligence belt
CN202887717U (en) Novel cassette player
CN202102608U (en) Intelligent electronic repeating device
CN202095928U (en) Music pillow
CN211862442U (en) Music pillow with alarm clock
CN202206543U (en) Portable multimedia mini sound box with ultraviolet index display function
CN201278094Y (en) Sound recording clock
CN201886294U (en) Multifunctional watch
CN201384506Y (en) Electronic stethoscope

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140827