CN110297615A - Portable electronic device and audio frequency playing method - Google Patents
Portable electronic device and audio frequency playing method Download PDFInfo
- Publication number
- CN110297615A CN110297615A CN201810241454.6A CN201810241454A CN110297615A CN 110297615 A CN110297615 A CN 110297615A CN 201810241454 A CN201810241454 A CN 201810241454A CN 110297615 A CN110297615 A CN 110297615A
- Authority
- CN
- China
- Prior art keywords
- audio
- earphone
- portable electronic
- electronic device
- ambient sound
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
Abstract
A kind of one earphone of portable electronic device connection, the portable electronic device includes audio playing module and processor, audio playing module output audio to the earphone plays, the processor includes ambient sound and identifies the special audio in the ambient sound, when the processor judges the special audio occur in the ambient sound, the audio playing module stops exporting the audio to the earphone and then exporting the ambient sound to the earphone playing.Additionally provide a kind of audio frequency playing method.
Description
Technical field
A kind of changing the present invention relates to a kind of portable electronic device more particularly to for environmental change audio broadcasting
Portable electronic device and audio frequency playing method.
Background technique
Some portable electronic device users like being connected to the sound that portable electronic device listens to its broadcasting by earphone
Frequently, music or call are such as listened to.When user is in outdoor environment, if the too audio listened to of investment earphone, be easy to cause to periphery
The alertness of environment reduces, and danger coefficient is increased.
Summary of the invention
Change the portable electronic device that audio plays for environmental change in view of this, it is necessary to provide a kind of.
A kind of one earphone of portable electronic device connection, the portable electronic device includes audio playing module and processing
Device, audio playing module output audio to the earphone play, and the processor includes ambient sound and identifies the ring
Special audio in the sound of border, when the processor judges the special audio occur in the ambient sound, the audio
Playing module stops exporting the audio to the earphone and then exporting the ambient sound to the earphone playing.
A kind of audio frequency playing method, comprising:
Audio to earphone is exported to play;
It includes ambient sound and identifies the special audio in the ambient sound;And
When judging the special audio occur in the ambient sound, stop exporting the audio to the earphone, so
After export the ambient sound to the earphone and play.
When audio frequency broadcast system user of the invention listens to music or call by earphone, portable electronic device is according to sentencing
The special audio of disconnected ambient sound to suspend broadcasting present video, then exports playing environment sound, is worked as with reminding user to notice
Preceding environment promotes safety.
Detailed description of the invention
Fig. 1 is the functional block diagram of the audio frequency broadcast system of present pre-ferred embodiments.
Fig. 2 is the flow chart of the audio frequency playing method of present pre-ferred embodiments.
Main element symbol description
Audio frequency broadcast system 1
Portable electronic device 100
Audio playing module 10
Locating module 20
Radio module 40
Processor 50
Earphone 200
Loudspeaker 210
Microphone 220
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
Referring to Fig. 1, present pre-ferred embodiments provide an audio frequency broadcast system 1 include portable electronic device 100 and
Earphone 200.Wireless communication connection or wired connection can be established between the portable electronic device 100 and earphone 200.It can manage
Solution, when passing through wired connection between portable electronic device 100 and earphone 200, earphone 200 can be inserted into and be opened in portable electric
The earphone interface of sub-device 100.The portable electronic device 100 can be mobile phone, tablet computer or PDA etc..The ear
Machine 200 is used to play audio to user.
The portable electronic device 100 includes audio playing module 10, locating module 20, radio module 40 and processor
50.The processor 50 is respectively and electrically connected to each module and handles the data and information of each module.
The audio playing module 10 is for playing audio.When the portable electronic device 100 is connected with earphone 200
When, the audio playing module 10 exports audio to earphone.In the present embodiment, the audio that the audio playing module 10 plays can
To be music, voice messaging or voice communication etc..
The locating module 20 is used to judge the position of the portable electronic device 100.In the present embodiment, the positioning
Module 20 can utilize global positioning system (Global Position System, GPS), BEI-DOU position system or other satellites
Position system is to judge the position of the portable electronic device 100.
The radio module 40 is for including ambient sound and including user speech.In the present embodiment, the radio module
40 can be, but be not limited to microphone.
The processor 50 is for controlling these modules and handling the data of these modules.The processor 50 controls described
Radio module 40 includes ambient sound, identifies the special audio in the ambient sound, and judge in the ambient sound whether
There is the special audio.The identification of the processor 50 includes voice recognition and speech recognition.Wherein, the voice recognition
Special audio can be, but be not limited to, tucket, sound of bringing to a halt, strike note or shriek etc.;The speech recognition it is special
Audio can be, but be not limited to predetermined keyword, such as the voice of user name or the words such as " borrowing ", " careful ".It is described
Processor 50 controls the audio that audio playing module 10 exports, and waits control audio playing module 10 if necessary and export caution sound
Frequently.The position for the portable electronic device 100 that the processor 50 is provided according to the locating module 20, further judges user
Currently whether in predeterminated position, such as dwelling or office;Also according to the portable electronic device 100 position judge it is portable
The change in location of electronic device 100, to calculate the movement speed of portable electronic device 100, to judge the current fortune of user
Dynamic state, such as runs or cycles.
The earphone 200 includes at least loudspeaker 210 and microphone 220.The earphone 200 can be connected to plug described
Portable electronic device 100, and the audio that the audio playing module 10 exports is played by loudspeaker 210.The microphone
220 for including ambient sound and including user speech.
Referring to Fig. 2, the audio frequency playing method of the audio frequency broadcast system 1 of present pre-ferred embodiments includes the following steps:
Step 01, the portable electronic device 100 accesses earphone 200, and the audio playing module 10 is defeated to earphone 200
Audio out, the loudspeaker 210 play the audio.In the present embodiment, when the portable electronic device 100 call when,
The audio is voice communication;When the portable electronic device 100 is when playing music, the audio is music VF.
Step 02, the locating module 20 judges the position of the portable electronic device 100.
Step 03, it is default according to the position to judge whether the portable electronic device 100 is located at for the processor 50
Position, such as user dwelling or office.When processor 50 judges that user currently in predeterminated position, executes step 06;Work as processing
When device 50 judges that user is not currently in predeterminated position, step 05 is executed.
Step 04, the processor 50 calculates described portable according to the change in location of the portable electronic device 100
The movement speed of electronic device 100.
Step 05, the processor 50 judges whether the movement speed is located in preset range.The preset range pair
The motion state for answering the user of the portable electronic device 100 current is such as walked, runs or is cycled.It is appreciated that different
Motion state can correspond to different preset ranges.If judging, the movement speed is located in the preset range, and user just locates
In the motion state, step 06 is executed;Otherwise 02 is returned to step.
Step 06, the radio module 40 or microphone 220 include ambient sound, the 50 environment-identification sound of processor
In the special audio.It is appreciated that can be carried out simultaneously by the radio module 40 and 220 either or both of them of microphone
Include ambient sound.When the portable electronic device 100 is on call, ambient sound can be included by radio module 40
Sound receives user's communication voice by microphone 220.It is appreciated that when the processor 50 judges in the ambient sound not
When there is the special audio, the audio playing module 10 continues to output present video to the earphone 200 and plays.
Step 07, the processor 50 judges whether occur the special audio in the ambient sound.If judgement occurs
The special audio, thens follow the steps 08;Otherwise 02 is returned to step.
Step 08, the processor 50 controls the audio playing module 10 and stops playing audio.
Step 09, the audio playing module 10 exports an Audio Alert to the earphone 200, and the earphone 200 passes through
Loudspeaker 210 plays the Audio Alert with call user's attention.
Step 11, the portable electronic device 100 exports the ambient sound that radio module 40 is included to the earphone
200, the loudspeaker 210 plays the ambient sound.In the present embodiment, the portable electronic device 100 is in call shape
When state, the ambient sound can be included by the radio module 40, user's communication voice is included by the microphone 220.
Step 12, the earphone 200 includes ambient sound by microphone 220, and the loudspeaker 210 plays the environment
Sound.
It is appreciated that step 11 and 12 be two embodiments executive mode, the earphone 200 can both pass through the radio reception
Module 40 can include ambient sound by the microphone 220 again, and play the ambient sound by loudspeaker 210.
In another embodiment, step 02,03,04 and 05 can be omitted, i.e., the described loudspeaker 210 when playing audio,
The radio module 40 or microphone 220 directly include ambient sound, without judging user current location and current kinetic shape
State.
It is appreciated that the portable electronic device 100 is stored with the data of the special audio.The processor 50 is logical
The special audio data comparison by ambient sound and storage is crossed, to identify and judge these special audios.
When 1 user of audio frequency broadcast system of the invention listens to music or call by earphone 200, portable electronic device
100, according to the special audio for judging ambient sound, to suspend broadcasting present video, then export playing environment sound, to remind
User notices current environment, promotes safety.
In conclusion although the preferred embodiment of the present invention has been disclosed for the purpose of illustration, however, the present invention not only office
It is limited to embodiment as described above, in the scope without departing from basic fundamental thought of the present invention, the technical staff of relevant industries can
Various deformation and application are carried out to it.
Claims (14)
1. a kind of portable electronic device, for connecting an earphone, it is characterised in that: the portable electronic device includes audio
Playing module and processor, audio playing module output audio to the earphone play, and the processor includes ambient sound
Sound simultaneously identifies the special audio in the ambient sound, when the processor judges occur the special sound in the ambient sound
When frequency, the audio playing module stops exporting the audio to the earphone and then exports the ambient sound to the earphone
It plays.
2. portable electronic device as described in claim 1, it is characterised in that: the portable electronic device further includes radio reception
Module, the earphone include microphone, and the processor includes the environment by the radio module and/or the microphone
Sound.
3. portable electronic device as described in claim 1, it is characterised in that: when the processor judges the ambient sound
In when not occurring the special audio, the audio playing module continues to output the audio to the earphone and plays.
4. portable electronic device as described in claim 1, it is characterised in that: the audio playing module is stopping to described
After earphone exports the audio, and before the output ambient sound to earphone broadcasting, one Audio Alert of output is extremely
The earphone plays, with call user's attention.
5. portable electronic device as described in claim 1, it is characterised in that: the portable electronic device further includes positioning
Module, for judging the position of the portable electronic device, the processor judges the portable electric according to the position
Whether sub-device is located at predeterminated position, when the processor judge to occur in the ambient sound special audio and it is described just
When portable electronic apparatus is located at the predeterminated position, the audio playing module stops exporting the audio then to the earphone
The ambient sound to the earphone is exported to play.
6. portable electronic device as described in claim 1, it is characterised in that: the portable electronic device further includes positioning
Module, for judging the position of the portable electronic device, the processor is described just according to the variation of position calculating
The movement speed of portable electronic apparatus, when the processor judges occur the special audio and the shifting in the ambient sound
When dynamic speed is located in preset range, the audio playing module stops exporting to the earphone described in the audio and then output
Ambient sound to the earphone plays.
7. portable electronic device as described in claim 1, it is characterised in that: the portable electronic device further includes radio reception
Module, the earphone include microphone, and when the portable electronic device is on call, the processor passes through described
Radio module includes the ambient sound, and the call voice of user is included by the microphone.
8. portable electronic device as described in claim 1, it is characterised in that: the special audio is the language of predetermined keyword
Sound, or the audio for tucket, bring to a halt sound or strike note.
9. a kind of audio frequency playing method, it is characterised in that: the audio frequency playing method includes:
Audio to earphone is exported to play;
It includes ambient sound and identifies the special audio in the ambient sound;And
When judging the special audio occur in the ambient sound, stop exporting the audio to the earphone, it is then defeated
The ambient sound to the earphone plays out.
10. audio frequency playing method as claimed in claim 9, it is characterised in that: the audio frequency playing method further include:
When judging the special audio do not occur in the ambient sound, continues to output the audio to the earphone and play.
11. audio frequency playing method as claimed in claim 9, it is characterised in that: the audio frequency playing method further include:
After stopping exporting the audio to the earphone, and before the output ambient sound to earphone broadcasting,
It exports an Audio Alert to the earphone to play, with call user's attention.
12. audio frequency playing method as claimed in claim 9, it is characterised in that: the audio frequency playing method further include:
Judge the position for the portable electronic device that the earphone is connected;
Judge whether the portable electronic device is located at predeterminated position according to the position;And
When judging to occur the special audio in the ambient sound and the portable electronic device is located at the predeterminated position
When, stop exporting the audio to the earphone and then exporting the ambient sound to the earphone playing.
13. audio frequency playing method as claimed in claim 9, it is characterised in that: the audio frequency playing method further include:
Judge the position for the portable electronic device that the earphone is connected;
The movement speed of the portable electronic apparatus is calculated according to the variation of the position;And
When judging to occur the special audio in the ambient sound and the movement speed is located in preset range, stop to
The earphone exports the audio and then exports the ambient sound to the earphone and plays.
14. audio frequency playing method as claimed in claim 9, it is characterised in that: the special audio is the language of predetermined keyword
Sound, or the audio for tucket, bring to a halt sound or strike note.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810241454.6A CN110297615A (en) | 2018-03-22 | 2018-03-22 | Portable electronic device and audio frequency playing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810241454.6A CN110297615A (en) | 2018-03-22 | 2018-03-22 | Portable electronic device and audio frequency playing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110297615A true CN110297615A (en) | 2019-10-01 |
Family
ID=68025787
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810241454.6A Pending CN110297615A (en) | 2018-03-22 | 2018-03-22 | Portable electronic device and audio frequency playing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110297615A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624980A (en) * | 2012-03-06 | 2012-08-01 | 惠州Tcl移动通信有限公司 | Method for detecting abrupt environment and prompting based on earphone of mobile phone and mobile phone |
CN103825993A (en) * | 2014-03-11 | 2014-05-28 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for treating environment sound during conversation |
CN105611443A (en) * | 2015-12-29 | 2016-05-25 | 歌尔声学股份有限公司 | Control method and system of earphone and earphone |
CN105939415A (en) * | 2016-04-14 | 2016-09-14 | Tcl集团股份有限公司 | Security alert method and system in external auditory masking state |
CN106488013A (en) * | 2016-09-27 | 2017-03-08 | 维沃移动通信有限公司 | A kind of danger based reminding method and mobile terminal |
CN107613113A (en) * | 2017-09-05 | 2018-01-19 | 深圳天珑无线科技有限公司 | A kind of headset mode control method, device and computer-readable recording medium |
-
2018
- 2018-03-22 CN CN201810241454.6A patent/CN110297615A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624980A (en) * | 2012-03-06 | 2012-08-01 | 惠州Tcl移动通信有限公司 | Method for detecting abrupt environment and prompting based on earphone of mobile phone and mobile phone |
CN103825993A (en) * | 2014-03-11 | 2014-05-28 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for treating environment sound during conversation |
CN105611443A (en) * | 2015-12-29 | 2016-05-25 | 歌尔声学股份有限公司 | Control method and system of earphone and earphone |
CN105939415A (en) * | 2016-04-14 | 2016-09-14 | Tcl集团股份有限公司 | Security alert method and system in external auditory masking state |
CN106488013A (en) * | 2016-09-27 | 2017-03-08 | 维沃移动通信有限公司 | A kind of danger based reminding method and mobile terminal |
CN107613113A (en) * | 2017-09-05 | 2018-01-19 | 深圳天珑无线科技有限公司 | A kind of headset mode control method, device and computer-readable recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6697024B2 (en) | Reduces the need for manual start / end points and trigger phrases | |
EP3723083B1 (en) | Recorded media hotword trigger suppression | |
CN107003969B (en) | Connection attribute for using electronic accessories to connect promotes the main equipment of positioning attachment | |
US9509269B1 (en) | Ambient sound responsive media player | |
CN105100356B (en) | The method and system that a kind of volume automatically adjusts | |
CN103578474B (en) | A kind of sound control method, device and equipment | |
US9167368B2 (en) | Event notification on a mobile device using binaural sounds | |
CN104954555A (en) | Volume adjusting method and system | |
CN103190139B (en) | For providing the system and method for conferencing information | |
CN108681440A (en) | A kind of smart machine method for controlling volume and system | |
CN108538320A (en) | Recording control method and device, readable storage medium storing program for executing, terminal | |
JP2017516167A (en) | Perform actions related to an individual's presence | |
CN105654767A (en) | Station-arrival reminding processing method, device and terminal | |
CN107613113A (en) | A kind of headset mode control method, device and computer-readable recording medium | |
CN107786714B (en) | Sound control method, apparatus and system based on vehicle-mounted multimedia equipment | |
CN108540660A (en) | Audio signal processing method and device, readable storage medium storing program for executing, terminal | |
CN108111698A (en) | A kind of incoming call reminding method and smart machine | |
CN105232051B (en) | A kind of children's self monitor system based on abnormal speech identification technology | |
WO2022068694A1 (en) | Electronic device and wake-up method thereof | |
CN103853646A (en) | Called prompting system and method | |
CN111326159B (en) | Voice recognition method, device and system | |
CN105187658A (en) | Incoming call control method under driving state and incoming call control system | |
CN104750452A (en) | Voice recognition system and method | |
CN110297615A (en) | Portable electronic device and audio frequency playing method | |
CN112259076A (en) | Voice interaction method and device, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |