CN105872209A - Information processing method and electronic device - Google Patents
Information processing method and electronic device Download PDFInfo
- Publication number
- CN105872209A CN105872209A CN201610178675.4A CN201610178675A CN105872209A CN 105872209 A CN105872209 A CN 105872209A CN 201610178675 A CN201610178675 A CN 201610178675A CN 105872209 A CN105872209 A CN 105872209A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- information
- audio
- audio frequency
- judged result
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Multimedia (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention provides an information processing method. The information processing method is applied to an electronic device in an audio playing state and comprises the steps o acquiring environment audio information around the electronic device; judging whether the environment audio information matches with preset key information to obtain a first judgment result; and indicating that the environment audio information matches with the preset key information based on the first judgment result, and controlling the audio playing state of the electronic device to be switched from a first mode to a second mode, wherein the volume of the electronic device in the second mode is lower than the volume of the electronic device in the first mode. As the information processing method is adopted to acquire the environment audio information around the electronic device and judge whether the environment audio information matches with the preset key information, and the audio playing state of the electronic device is automatically adjusted from the relatively high volume to the relatively low volume when the environment audio information matches with the preset key information, a user can hear sound in the outer environment and accordingly also can hear calling from people around. The user experience is improved.
Description
Technical field
The present invention relates to electronic device field, in particular, relate to a kind of information processing method and electricity
Subset.
Background technology
Along with popularizing of electronic equipment, electronic equipment can realize by connecting the external playback equipments such as earphone
Play sound.
But, in existing audio frequency playing process, owing to external audio frequency playback equipment sound is relatively big, cause
When user uses this external audio frequency playback equipment, it is impossible to enough hear that it is called by people around, cause user's body
Test poor.
Summary of the invention
In view of this, the invention provides a kind of display packing, solve in prior art, due to user
Use external audio frequency playback equipment sound bigger so that it cannot hear that it is called by people around, cause using
Poor problem is experienced at family.
For achieving the above object, the present invention provides following technical scheme:
A kind of information processing method, described method is applied to electronic equipment, and described electronic equipment is in audio frequency
Broadcast state, described method includes:
Gather the environmental audio information around described electronic equipment;
Judge described environmental audio information whether with preset critical information matches, obtain the first judged result;
Described environmental audio information and described preset critical information matches is characterized based on described first judged result,
The audio frequency broadcast state controlling described electronic equipment is switched to the second pattern, described electronics to set by first mode
It is less than volume when being in described first mode for volume when being in the second pattern.
Above-mentioned method, it is preferred that before the environmental audio information around the described electronic equipment of described collection,
Also include:
Detect the external playback equipment interface of described electronic equipment, obtain detection information;
Judge whether described electronic equipment is connected with external playback equipment based on described detection information, obtain
Two judged results;
Characterize described electronic equipment based on described second judged result to be connected with external playback equipment, perform institute
State the environmental audio information Step gathered around described electronic equipment.
Above-mentioned method, it is preferred that before the environmental audio information around the described electronic equipment of described collection,
Also include:
Obtain volume value during described electronic equipment broadcasting audio frequency;
Judge that described volume value, whether more than predetermined threshold value, obtains the 3rd judged result;
Characterize described volume value based on described 3rd judged result and be more than predetermined threshold value, perform described collection institute
State the environmental audio information Step around electronic equipment.
Above-mentioned method, it is preferred that the audio frequency broadcast state of the described electronic equipment of described control is by the first mould
Formula switches to the second pattern, specifically includes:
Judge whether currently playing audio frequency belongs to call audio frequency, obtain the 4th judged result;
Characterize described audio frequency based on described 4th judged result and be not belonging to audio frequency of conversing, control described electronics and set
Standby audio frequency broadcast sound volume value adjusts to the first numerical value, and described first numerical value is less than the sound of described electronic equipment
Frequently broadcast state is in the second value of first mode.
Above-mentioned method, it is preferred that also include:
Characterizing the audio frequency play based on described 4th judged result is call, controls the sound of described electronic equipment
Frequently broadcast sound volume value adjusts to third value, and described third value is more than described first numerical value and less than second
Numerical value.
Above-mentioned method, it is preferred that described judge described environmental audio information whether with preset critical information
Coupling, including:
According to the audio identification rule preset, identify described environmental audio information, be identified result;
When described recognition result comprises described preset critical information, it is determined that described environmental audio information with
Described preset critical information matches.
Above-mentioned method, it is preferred that described preset critical information is audio form, the described ring of described judgement
Whether border audio-frequency information includes with preset critical information matches:
Retrieve whether described environmental audio information comprises described preset critical information;
When described environmental audio information comprises described preset critical information, it is determined that described environmental audio information
With described preset critical information matches.
Above-mentioned method, it is preferred that also include:
Switched to for the second pattern moment from the audio frequency broadcast state of described electronic equipment, start timing and counted
Time time value;
When described timing time meets preset time threshold, the audio frequency controlling described electronic equipment plays shape
State is switched to first mode by the second pattern.
A kind of electronic equipment, including:
Player, for when described electronic equipment is in audio frequency broadcast state, plays audio-frequency information;
Audio collection device, for gathering the environmental audio information around described electronic equipment;
Processor, be used for judging described environmental audio information whether with preset critical information matches, obtain
One judged result;Described environmental audio information and preset critical information matches is characterized based on the first judged result,
Adjust described player, so that the audio frequency broadcast state of described electronic equipment is switched to by first mode
Two modes, volume when described electronic equipment is in the second pattern is less than sound when being in described first mode
Amount.
Above-mentioned electronic equipment, it is preferred that also include:
Detector unit, for detecting the external playback equipment interface of described electronic equipment, obtains detection information;
Described processor, is additionally operable to judge whether described electronic equipment is broadcast with external based on described detection information
Equipment of putting is connected, and obtains the second judged result;Described electronic equipment is characterized based on described second judged result
It is connected with external playback equipment, triggers described audio collection device.
Above-mentioned electronic equipment, it is preferred that described processor, is additionally operable to obtain described electronic equipment and plays
Volume value during audio frequency;Judge that described volume value, whether more than predetermined threshold value, obtains the 3rd judged result;
Characterize described volume value based on described 3rd judged result and be more than predetermined threshold value, trigger described audio collection device.
Understand via above-mentioned technical scheme, compared with prior art, the invention provides at a kind of information
Reason method, the method is applied to be in the electronic equipment of audio frequency broadcast state, and the method includes: gather institute
State the environmental audio information around electronic equipment;Judge whether described environmental audio information is believed with preset critical
Breath coupling, obtains the first judged result;Described environmental audio information is characterized with pre-based on the first judged result
If key information match, the audio frequency broadcast state controlling described electronic equipment is switched to second by first mode
Pattern, volume when described electronic equipment is in the second pattern is less than volume when being in described first mode.
Use the method, gather the environmental audio information around electronic equipment, and judge its whether with default pass
Key information mates, when the two mates, then by the audio frequency broadcast state of this electronic equipment automatically by relatively high pitch
Amount is adjusted to relatively low volume, enables a user to the sound hearing in external environment, and user is also with regard to energy
Enough hear that it is called by people around, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not
On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The flow chart of a kind of information processing method embodiment 1 that Fig. 1 provides for the present invention;
The flow chart of a kind of information processing method embodiment 2 that Fig. 2 provides for the present invention;
The flow chart of a kind of information processing method embodiment 3 that Fig. 3 provides for the present invention;
The flow chart of a kind of information processing method embodiment 4 that Fig. 4 provides for the present invention;
The flow chart of a kind of information processing method embodiment 5 that Fig. 5 provides for the present invention;
The flow chart of a kind of information processing method embodiment 6 that Fig. 6 provides for the present invention;
The flow chart of a kind of information processing method embodiment 7 that Fig. 7 provides for the present invention;
The flow chart of a kind of information processing method embodiment 8 that Fig. 8 provides for the present invention;
The structural representation of a kind of electronic equipment embodiment 1 that Fig. 9 provides for the present invention;
The structural representation of a kind of electronic equipment embodiment 2 that Figure 10 provides for the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
Refer to accompanying drawing 1, for the flow chart of a kind of information processing method embodiment 1 that the present invention provides, be somebody's turn to do
Method is applied to electronic equipment, this electronic equipment be specifically as follows desktop computer, notebook, panel computer,
The electronic equipment of the forms such as mobile phone, intelligent television, intelligent watch, Wearable, and apply this
During information processing method in bright, this electronic equipment is in audio frequency broadcast state.
Wherein, the method comprises the following steps:
Step S101: gather the environmental audio information around described electronic equipment;
Firstly, it is necessary to explanation, when user uses electronic equipment to carry out audio frequency broadcasting, its local environment
In the environmental audio information representation situation of user surrounding environment.
Concrete, this environmental audio information can be other people to this user's one's voice in speech, can also be
Other sound.
In being embodied as, can use the microphone in electronic equipment (mic) that environmental audio information is adopted
Collection.
Step S102: judge described environmental audio information whether with preset critical information matches, obtain first
Judged result;
Wherein, the information that this preset critical information representation user is concerned about.
In being embodied as, this key message preset can need to be configured according to user.
Concrete, when this environmental audio information and preset critical information matches, surrounding occurs use
The information that family is concerned about, needs user to understand;When this environmental audio information is not mated with preset critical information,
Not occurring the information that user is concerned about in surrounding, electronic equipment maintains current audio frequency to play.
Such as, this preset critical information can be the name of user, as there being this preset critical in environmental audio
During information, then show that someone calls this user, it is desirable to cause the attention of this user, at this time, it may be necessary to turn down
The volume of the audio frequency that this electronic equipment is play, enables a user to hear this call.
Step S103: characterize described environmental audio information and described default pass based on described first judged result
Key information mates, and the audio frequency broadcast state controlling described electronic equipment is switched to the second pattern by first mode.
Concrete, the audio frequency broadcast state of this electronic equipment has multiple pattern, such as first mode and the second mould
Formula, volume when this first mode electronic equipment is in the second pattern is less than volume when being in first mode.
Such as, when the audio frequency broadcast state of electronic equipment is in first mode, its volume can be 50, its
When being in the second pattern, its volume can be 30, volume when playing by reducing the audio frequency of electronic equipment,
Realize user and can hear the sound in external environment.
It should be noted that the volume value proposed in the present embodiment is not limited by the application, specifically real
Volume value corresponding to Shi Zhong, first mode and the second pattern can be configured according to practical situation.
To sum up, a kind of information processing method that the present embodiment provides, including: gather described electronic equipment week
The environmental audio information enclosed;Judge described environmental audio information whether with preset critical information matches, obtain
First judged result;Described environmental audio information and preset critical information is characterized based on the first judged result
Joining, the audio frequency broadcast state controlling described electronic equipment is switched to the second pattern, described electricity by first mode
Volume when subset is in the second pattern is less than volume when being in described first mode.Use the method,
Gather the environmental audio information around electronic equipment, and judge its whether with default key information match,
When the two mates, then the audio frequency broadcast state of this electronic equipment is adjusted to relatively low by higher volume automatically
Volume, enable a user to the sound hearing in external environment, user the most just can hear people around
It is called, improves Consumer's Experience.
Refer to accompanying drawing 2, for the flow chart of a kind of information processing method embodiment 2 that the present invention provides, be somebody's turn to do
Method comprises the following steps:
Step S201: detect the external playback equipment interface of described electronic equipment, obtain detection information;
Step S202: based on described detection information judge described electronic equipment whether with external playback equipment phase
Even, the second judged result is obtained;
Wherein, this external playback equipment can be the external equipment such as line control earphone, bluetooth earphone, then this is outer
Connecing playback equipment interface is corresponding interface.
Such as, the interface that this line control earphone is corresponding is line control earphone interface, and corresponding the connecing of this bluetooth earphone
Mouth is bluetooth communication.
Concrete, this detection information can be the parameter information that this interface is corresponding, such as this line control earphone interface
Corresponding detection information can be the magnitude of voltage etc. of this interface, for determining whether this interface has line traffic control ear
Machine is connected;Detection information as corresponding in bluetooth earphone mouth interface can be whether this bluetooth communication opens
Communication function or this bluetooth module the most carry out data transmission.
Step S203: characterize described electronic equipment and external playback equipment phase based on described second judged result
Even, the environmental audio information around described electronic equipment is gathered;
Step S204: judge described environmental audio information whether with preset critical information matches, obtain first
Judged result;
Step S205: characterize described environmental audio information and described default pass based on described first judged result
Key information mates, and the audio frequency broadcast state controlling described electronic equipment is switched to the second pattern by first mode.
Wherein, step S203-205 is consistent with step S101-103 in embodiment 1, in the present embodiment not
Repeat.
To sum up, in a kind of information processing method that the present embodiment provides, also include: survey described electronic equipment
External playback equipment interface, obtain detection information;Described electronic equipment is judged based on described detection information
Whether it is connected with external playback equipment, obtains the second judged result;Characterize based on described second judged result
Described electronic equipment is connected with external playback equipment, performs the environment around the described electronic equipment of described collection
Audio-frequency information step.Use the method, it is only necessary to playback equipment interface external in electronic equipment is detected,
Can learn whether this electronic equipment is connected with external playback equipment, it is determined whether need electronic equipment week
The environmental audio information enclosed, reduces the data processing load of electronic equipment.
Refer to accompanying drawing 3, for the flow chart of a kind of information processing method embodiment 3 that the present invention provides, be somebody's turn to do
Method comprises the following steps:
Step S301: obtain volume value during described electronic equipment broadcasting audio frequency;
Step S302: judge that described volume value, whether more than predetermined threshold value, obtains the 3rd judged result;
Wherein, volume during electronic equipment broadcasting audio frequency is relatively big, when user cannot hear ambient sound, needs
Perform scheme provided herein, to ensure that user can hear that it is called by people around.
Concrete, volume value when this electronic equipment is play audio frequency obtains, and is judging this acquisition
Volume value more than predetermined threshold value time, gather the environmental audio information around electronic equipment;Otherwise, permissible
The volume value maintaining this electronic equipment current carries out audio frequency broadcasting.
In being embodied as, it can be telephone relation, application program that the audio frequency carried out in this electronic equipment is play
The various broadcastings relating to audio frequency such as video calling, application program video playback, application program audio frequency broadcasting.
Step S303: characterize described volume value more than predetermined threshold value, collection based on described 3rd judged result
Environmental audio information around described electronic equipment;
Step S304: judge described environmental audio information whether with preset critical information matches, obtain first
Judged result;
Step S305: characterize described environmental audio information and described default pass based on described first judged result
Key information mates, and the audio frequency broadcast state controlling described electronic equipment is switched to the second pattern by first mode.
Wherein, step S303-305 is consistent with step S101-103 in embodiment 1, in the present embodiment not
Repeat.
To sum up, in a kind of information processing method that the present embodiment provides, also include: obtain described electronics and set
Volume value during standby broadcasting audio frequency;Judge that described volume value, whether more than predetermined threshold value, obtains the 3rd judgement
Result;Characterize described volume value based on described 3rd judged result and be more than predetermined threshold value, perform described collection
Environmental audio information Step around described electronic equipment.Use the method, only set determining electronics
When the volume value of the audio frequency of standby middle broadcasting is more than predetermined threshold value, just determine the ring needed around electronic equipment
Border audio-frequency information is acquired, and reduces the data processing load of electronic equipment.
Refer to accompanying drawing 4, for the flow chart of a kind of information processing method embodiment 4 that the present invention provides, be somebody's turn to do
Method comprises the following steps:
Step S401: gather the environmental audio information around described electronic equipment;
Step S402: judge described environmental audio information whether with preset critical information matches, obtain first
Judged result;
Wherein, step S401-402 is consistent with step S101-102 in embodiment 1, in the present embodiment not
Repeat.
Step S403: characterize described environmental audio information and described default pass based on described first judged result
Key information mates, it is judged that whether currently playing audio frequency belongs to call audio frequency, obtains the 4th judged result;
Wherein, analyze this currently playing audio frequency and acquire from which is applied, such as telephone relation,
The chat tool such as QQ, wechat, or the application of the playing audio-video such as music player, video player.
It is then possible to application based on this broadcasting audio frequency, it is judged that whether the application playing this audio frequency is call
The function that relevant application and this application are currently opened, i.e. realizes judging whether the audio frequency of this broadcasting belongs to
Call audio frequency.
Such as, the application analyzing this broadcasting audio frequency obtained is music player, then can determine that this broadcasting
Audio frequency is not belonging to audio frequency of conversing;It is video player function that analysis obtains the application of this broadcasting audio frequency, then may be used
Judge that the audio frequency of this broadcasting is not belonging to audio frequency of conversing.
Step S404: characterize described audio frequency based on described 4th judged result and be not belonging to audio frequency of conversing, control
The audio frequency broadcast sound volume value of described electronic equipment adjusts to the first numerical value.
Wherein, this first numerical value is in the of first mode less than the audio frequency broadcast state of described electronic equipment
Two numerical value.
Wherein, determine this audio frequency be not belonging to converse audio frequency time, according to use environment it should be understood that
The importance of this audio frequency is the highest, now, the turning down sound volume this audio frequency can play, enable a user to
Hearing the sound in external environment, user the most just can hear that it is called by people around.
In being embodied as, this first numerical value can be less than second value, and concrete, it can use
Value is 0 or non-zero a certain positive number.
Concrete, when this first numerical value value is 0, the application of this broadcasting audio frequency is adjusted to minimum volume that is 0,
In being embodied as, can be in the way of using the application closing this broadcasting audio frequency, not to reduction in the present embodiment
The mode of volume does concrete restriction.
To sum up, in a kind of information processing method that the present embodiment provides, the described electronic equipment of described control
Audio frequency broadcast state is switched to the second pattern by first mode, specifically includes: judge currently playing audio frequency
Whether belong to call audio frequency, obtain the 4th judged result;Described sound is characterized based on described 4th judged result
Frequency is not belonging to audio frequency of conversing, and the audio frequency broadcast sound volume value controlling described electronic equipment adjusts to the first numerical value.
Use the method, be determined by this currently playing audio frequency and be not belonging to audio frequency of conversing, directly reduce this audio frequency
The volume play, enables a user to the sound hearing in external environment, and user the most just can hear week
Enclose people it is called.
Refer to accompanying drawing 5, for the flow chart of a kind of information processing method embodiment 5 that the present invention provides, be somebody's turn to do
Method comprises the following steps:
Step S501: gather the environmental audio information around described electronic equipment;
Step S502: judge described environmental audio information whether with preset critical information matches, obtain first
Judged result;
Step S503: characterize described environmental audio information and described default pass based on described first judged result
Key information mates, it is judged that whether currently playing audio frequency belongs to call audio frequency, obtains the 4th judged result;
Step S504: characterize described audio frequency based on described 4th judged result and be not belonging to audio frequency of conversing, control
The audio frequency broadcast sound volume value of described electronic equipment adjusts to the first numerical value;
Wherein, step S501-504 is consistent with step S401-404 in embodiment 4, in the present embodiment not
Repeat.
Step S505: characterizing the audio frequency play based on described 4th judged result is call, controls described electricity
The audio frequency broadcast sound volume value of subset adjusts to third value.
Wherein, described third value is more than described first numerical value and less than second value.
Such as, the application analyzing this broadcasting audio frequency obtained is telephone relation, then can determine that the sound of this broadcasting
Frequency belongs to call audio frequency;Analysis obtains the video (or audio frequency) that the application of this broadcasting audio frequency is wechat and leads to
Words function, then can determine that the audio frequency of this broadcasting belongs to call audio frequency.
Wherein, when determining this audio frequency and belonging to call audio frequency, according to using environment it should be understood that be somebody's turn to do
The importance of audio frequency is higher, now, can the volume that this audio frequency is play slightly be turned down, so that at not shadow
On the premise of ringing the call of user, it is ensured that user can hear the sound in external environment.
Concrete, the volume value play by this audio frequency is adjusted to third value from higher numerical value, to realize
Turn the purpose of volume down.
To sum up, in a kind of information processing method that the present embodiment provides, also include: sentence based on the described 4th
It is call that disconnected result characterizes the audio frequency play, control the audio frequency broadcast sound volume value of described electronic equipment adjust to
Second value, described second value is more than described first numerical value.Use the method, determine this broadcasting
Audio frequency belong to call audio frequency time, the volume that this audio frequency is play slightly can be turned down, so that not affecting
On the premise of the call of user, it is ensured that user can hear the sound in external environment.
Refer to accompanying drawing 6, for the flow chart of a kind of information processing method embodiment 6 that the present invention provides, be somebody's turn to do
Method comprises the following steps:
Step S601: gather the environmental audio information around described electronic equipment;
Wherein, step S601 is consistent with step S101 in embodiment 1, does not repeats in the present embodiment.
Step S602: according to the audio identification rule preset, identify described environmental audio information, known
Other result;
Wherein, according to the audio identification rule preset, the environmental audio information of this collection is identified,
It is identified result, and then according to this recognition result, it is judged that whether it comprises preset critical information.
In being embodied as, this recognition result can be other non-audio forms such as character style.
Step S603: when comprising described preset critical information in described recognition result, it is determined that described environment
Audio-frequency information and described preset critical information matches;
Concrete, when this recognition result comprises this preset critical information, then can determine that this environmental audio is believed
Breath and described preset critical information matches, i.e. audio-frequency information in external environment comprise this preset critical letter
Breath.
Step S604: based on described environmental audio information and described preset critical information matches, controls described
The audio frequency broadcast state of electronic equipment is switched to the second pattern by first mode.
Wherein, step S604 is consistent with step S103 in embodiment 1, does not repeats in the present embodiment.
To sum up, in a kind of information processing method that the present embodiment provides, this judgement described environmental audio information
Whether with preset critical information matches, including: according to the audio identification rule preset, identify described environment
Audio-frequency information, is identified result;When described recognition result comprises described preset critical information, sentence
Fixed described environmental audio information and described preset critical information matches.Use the method, environmental audio is believed
Breath is identified, and based on this recognition result determine environmental audio information whether with this preset critical information
Coupling, analysis mode is simple.
Wherein, this preset critical information can be audio form.
Refer to accompanying drawing 7, for the flow chart of a kind of information processing method embodiment 7 that the present invention provides, be somebody's turn to do
Method comprises the following steps:
Step S701: gather the environmental audio information around described electronic equipment;
Wherein, step S701 is consistent with step S101 in embodiment 1, does not repeats in the present embodiment.
Step S702: retrieve whether described environmental audio information comprises described preset critical information;
Wherein, this preset critical information is audio form.
Concrete, when retrieving this preset critical information in this environmental audio information, this environmental audio
Information comprises described preset critical information;Otherwise, this environmental audio information does not comprise described preset critical letter
Breath.
Step S703: when comprising described preset critical information in described environmental audio information, it is determined that described ring
Border audio-frequency information and described preset critical information matches;
Concrete, when this environmental audio information comprises this preset critical information, then can determine that this ambient sound
Frequently information and described preset critical information matches, i.e. audio-frequency information in external environment comprise this default pass
Key information.
Step S704: based on described environmental audio information and described preset critical information matches, controls described
The audio frequency broadcast state of electronic equipment is switched to the second pattern by first mode.
Wherein, step S704 is consistent with step S103 in embodiment 1, does not repeats in the present embodiment.
To sum up, in a kind of information processing method that the present embodiment provides, this judgement described environmental audio information
Whether include with preset critical information matches: retrieve whether described environmental audio information comprises described default pass
Key information;When described environmental audio information comprises described preset critical information, it is determined that described environmental audio
Information and described preset critical information matches.Use the method, directly by environmental audio information and default pass
Key information carries out audio frequency comparison, i.e. can get environmental audio information and preset critical information matches, analysis side
Formula is simple.
Refer to accompanying drawing 8, for the flow chart of a kind of information processing method embodiment 8 that the present invention provides, be somebody's turn to do
Method comprises the following steps:
Step S801: gather the environmental audio information around described electronic equipment;
Step S802: judge described environmental audio information whether with preset critical information matches, obtain first
Judged result;
Step S803: characterize described environmental audio information and described default pass based on described first judged result
Key information mates, and the audio frequency broadcast state controlling described electronic equipment is switched to the second pattern by first mode;
Wherein, step S801-803 is consistent with step S101-103 in embodiment 1, in the present embodiment not
Repeat.
Step S804: switched to for the second pattern moment from the audio frequency broadcast state of described electronic equipment, starts
Timing obtains timing time value;
In being embodied as, a period of time after the audio frequency broadcast state of electronic equipment is switched to the second pattern,
Also need to be adjusted back first mode, to ensure the audio experience of user.
Concrete, it is initial time the audio frequency broadcast state of this electronic equipment is switched to the second pattern,
Starting timing, obtain a timing time, this timing time characterizes current time and switches to the second pattern
Between time span.
Step S805: when described timing time meets preset time threshold, control described electronic equipment
Audio frequency broadcast state is switched to first mode by the second pattern.
Wherein, being additionally provided with time threshold in this electronic equipment, this time threshold can be according to practical situation
It is configured value, as being tens seconds, one minute a few minutes the most longer, the most right in the application
The concrete value of this time threshold limits.
Wherein, when this timing time meets preset time threshold, the audio frequency controlling this electronic equipment is play
State is switched to first mode by the second pattern, will this audio frequency play volume by relatively low numerical value heighten into
High value.
To sum up, in a kind of information processing method that the present embodiment provides, also include: from described electronic equipment
Audio frequency broadcast state switched to for the second pattern moment, start timing and obtain timing time value;When described meter
Time time when meeting preset time threshold, control the audio frequency broadcast state of described electronic equipment by the second pattern
Switch to first mode.Use the method, switch to by controlling the audio frequency broadcast state of this electronic equipment
A period of time after second pattern, also adjusted back first mode, protected card user and electronic equipment is play
The audio experience of audio frequency.
The embodiment that the invention described above provides is described a kind of information processing method, for the present invention in detail
The device that can take various forms of information processing method realize, therefore present invention also offers a kind of application
The electronic equipment of this information processing method, is given below specific embodiment and is described in detail.
Refer to accompanying drawing 9, for the structural representation of a kind of electronic equipment embodiment 1 that the present invention provides, be somebody's turn to do
Electronic equipment is specifically as follows desktop computer, notebook, panel computer, mobile phone, intelligent television, intelligence hands
The electronic equipment of the form such as table, Wearable, and when applying the information processing method in the present invention,
This electronic equipment is in audio frequency broadcast state.
Wherein, this electronic equipment includes following structure: player 901, audio collection device 902 and processor
903;
Wherein, player 901, for when described electronic equipment is in audio frequency broadcast state, play audio frequency
Information;
Wherein, this player 901 specifically can control electronic equipment external device, plays audio-frequency information
Structure.
In being embodied as, this external playback equipment can be the external equipment such as line control earphone, bluetooth earphone,
Then this player can include and this corresponding interface of external playback equipment.
Wherein, audio collection device 902, for gathering the environmental audio information around described electronic equipment;
In being embodied as, this audio collection device can be the microphone of electronic equipment, and this microphone can be arranged on
The optional position of electronic equipment.
Wherein, processor 903, be used for judging described environmental audio information whether with preset critical information matches,
Obtain the first judged result;Characterize described environmental audio information based on the first judged result to believe with preset critical
Breath coupling, adjusts described player, so that the audio frequency broadcast state of described electronic equipment is by first mode
Switching to the second pattern, volume when described electronic equipment is in the second pattern is less than being in described first mould
Volume during formula.
In being embodied as, this processor can be the structure in electronic equipment with information processing capability, as
CPU (central processing unit, central processing unit) etc..
Wherein, when this electronic equipment adjusts, based on electronic equipment self volume, the state that audio frequency is play, institute
State processor, be additionally operable to obtain volume value during described electronic equipment broadcasting audio frequency;Judge described volume value
Whether more than predetermined threshold value, obtain the 3rd judged result;Described sound is characterized based on described 3rd judged result
Value is more than predetermined threshold value, triggers described audio collection device.
To sum up, in a kind of electronic equipment that the present embodiment provides, gather the environmental audio around electronic equipment
Information, and judge its whether with default key information match, when the two mates, then this electronics is set
Standby audio frequency broadcast state is adjusted to relatively low volume by higher volume automatically, enables a user to hear
Sound in external environment, user the most just can hear that it is called by people around, improve Consumer's Experience.
Refer to accompanying drawing 10, the structural representation of a kind of electronic equipment embodiment 2 provided for the present invention,
This electronic equipment includes following structure: player 1001, audio collection device 1002, processor 1003 and
Detector unit 1004;
Wherein, this player 1001, audio collection device 1002, the structure function of processor 1003 and reality
Execute the related device in example 1 identical, the present embodiment does not repeats.
Wherein, this detector unit 1004, for detecting the external playback equipment interface of described electronic equipment,
Obtain detection information;
Such as, the interface that this line control earphone is corresponding is line control earphone interface, and corresponding the connecing of this bluetooth earphone
Mouth is bluetooth communication.
Concrete, this detection information can be the parameter information that this interface is corresponding, such as this line control earphone interface
Corresponding detection information can be the magnitude of voltage etc. of this interface, for determining whether this interface has line traffic control ear
Machine is connected;Detection information as corresponding in bluetooth earphone mouth interface can be whether this bluetooth communication opens
Communication function or this bluetooth module the most carry out data transmission.
Then, this detector unit 1004 can be the circuit of detection line control earphone interface voltage value, it is possible to for inspection
Survey the structure of bluetooth communication communication.
Described processor 1003, is additionally operable to judge that whether described electronic equipment is with outward based on described detection information
Connect playback equipment to be connected, obtain the second judged result;Described electronics is characterized based on described second judged result
Equipment is connected with external playback equipment, triggers described audio collection device.
To sum up, in a kind of electronic equipment that the present embodiment provides, it is only necessary to broadcasting external in electronic equipment is set
Standby interface detects, and can learn whether this electronic equipment is connected with external playback equipment, it is determined whether
Needing the environmental audio information around electronic equipment, the data reducing electronic equipment process negative
Load.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually.
For the device that embodiment provides, owing to it is corresponding with the method that embodiment provides, so describing
Fairly simple, relevant part sees method part and illustrates.
Described above to the embodiment provided, makes professional and technical personnel in the field be capable of or uses
The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art
See, generic principles defined herein can without departing from the spirit or scope of the present invention,
Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with principle provided in this article and features of novelty.
Claims (11)
1. an information processing method, it is characterised in that described method is applied to electronic equipment, described electricity
Subset is in audio frequency broadcast state, and described method includes:
Gather the environmental audio information around described electronic equipment;
Judge described environmental audio information whether with preset critical information matches, obtain the first judged result;
Described environmental audio information and described preset critical information matches is characterized based on described first judged result,
The audio frequency broadcast state controlling described electronic equipment is switched to the second pattern, described electronics to set by first mode
It is less than volume when being in described first mode for volume when being in the second pattern.
Method the most according to claim 1, it is characterised in that described collection described electronic equipment week
Before the environmental audio information enclosed, also include:
Detect the external playback equipment interface of described electronic equipment, obtain detection information;
Judge whether described electronic equipment is connected with external playback equipment based on described detection information, obtain
Two judged results;
Characterize described electronic equipment based on described second judged result to be connected with external playback equipment, perform institute
State the environmental audio information Step gathered around described electronic equipment.
Method the most according to claim 1, it is characterised in that described collection described electronic equipment week
Before the environmental audio information enclosed, also include:
Obtain volume value during described electronic equipment broadcasting audio frequency;
Judge that described volume value, whether more than predetermined threshold value, obtains the 3rd judged result;
Characterize described volume value based on described 3rd judged result and be more than predetermined threshold value, perform described collection institute
State the environmental audio information Step around electronic equipment.
Method the most according to claim 1, it is characterised in that the described electronic equipment of described control
Audio frequency broadcast state is switched to the second pattern by first mode, specifically includes:
Judge whether currently playing audio frequency belongs to call audio frequency, obtain the 4th judged result;
Characterize described audio frequency based on described 4th judged result and be not belonging to audio frequency of conversing, control described electronics and set
Standby audio frequency broadcast sound volume value adjusts to the first numerical value, and described first numerical value is less than the sound of described electronic equipment
Frequently broadcast state is in the second value of first mode.
Method the most according to claim 4, it is characterised in that also include:
Characterizing the audio frequency play based on described 4th judged result is call, controls the sound of described electronic equipment
Frequently broadcast sound volume value adjusts to third value, and described third value is more than described first numerical value and less than second
Numerical value.
Method the most according to claim 1, it is characterised in that the described environmental audio of described judgement is believed
Breath whether with preset critical information matches, including:
According to the audio identification rule preset, identify described environmental audio information, be identified result;
When described recognition result comprises described preset critical information, it is determined that described environmental audio information with
Described preset critical information matches.
Method the most according to claim 1, it is characterised in that described preset critical information is audio frequency
Form, described judges whether described environmental audio information includes with preset critical information matches:
Retrieve whether described environmental audio information comprises described preset critical information;
When described environmental audio information comprises described preset critical information, it is determined that described environmental audio information
With described preset critical information matches.
Method the most according to claim 1, it is characterised in that also include:
Switched to for the second pattern moment from the audio frequency broadcast state of described electronic equipment, start timing and counted
Time time value;
When described timing time meets preset time threshold, the audio frequency controlling described electronic equipment plays shape
State is switched to first mode by the second pattern.
9. an electronic equipment, it is characterised in that including:
Player, for when described electronic equipment is in audio frequency broadcast state, plays audio-frequency information;
Audio collection device, for gathering the environmental audio information around described electronic equipment;
Processor, be used for judging described environmental audio information whether with preset critical information matches, obtain
One judged result;Described environmental audio information and preset critical information matches is characterized based on the first judged result,
Adjust described player, so that the audio frequency broadcast state of described electronic equipment is switched to by first mode
Two modes, volume when described electronic equipment is in the second pattern is less than sound when being in described first mode
Amount.
Electronic equipment the most according to claim 9, it is characterised in that also include:
Detector unit, for detecting the external playback equipment interface of described electronic equipment, obtains detection information;
Described processor, is additionally operable to judge whether described electronic equipment is broadcast with external based on described detection information
Equipment of putting is connected, and obtains the second judged result;Described electronic equipment is characterized based on described second judged result
It is connected with external playback equipment, triggers described audio collection device.
11. electronic equipments according to claim 9, it is characterised in that described processor, also use
In obtaining volume value when audio frequency play by described electronic equipment;Judge that whether described volume value is more than presetting threshold
Value, obtains the 3rd judged result;Described volume value is characterized more than presetting threshold based on described 3rd judged result
Value, triggers described audio collection device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610178675.4A CN105872209A (en) | 2016-03-25 | 2016-03-25 | Information processing method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610178675.4A CN105872209A (en) | 2016-03-25 | 2016-03-25 | Information processing method and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105872209A true CN105872209A (en) | 2016-08-17 |
Family
ID=56625932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610178675.4A Pending CN105872209A (en) | 2016-03-25 | 2016-03-25 | Information processing method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105872209A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106856580A (en) * | 2016-12-21 | 2017-06-16 | 歌尔科技有限公司 | A kind of method of bluetooth earphone and its monitoring condition sound |
WO2018040731A1 (en) * | 2016-08-29 | 2018-03-08 | 深圳市中兴微电子技术有限公司 | Voice suppression method, device, and computer storage medium |
CN108307271A (en) * | 2018-01-25 | 2018-07-20 | 潍坊歌尔电子有限公司 | A kind of volume adjusting method of smart machine, device and smart machine |
US10757247B2 (en) * | 2018-06-11 | 2020-08-25 | Lenovo (Beijing) Co., Ltd. | Switching method, apparatus and electronic device thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369112A (en) * | 2012-03-30 | 2013-10-23 | 富泰华工业(深圳)有限公司 | A mode management system and a management method thereof |
CN103905956A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Audio control method, electronic equipment and audio output device |
CN104378485A (en) * | 2014-11-28 | 2015-02-25 | 小米科技有限责任公司 | Volume adjustment method and volume adjustment device |
CN105244048A (en) * | 2015-09-25 | 2016-01-13 | 小米科技有限责任公司 | Audio play control method and apparatus |
-
2016
- 2016-03-25 CN CN201610178675.4A patent/CN105872209A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369112A (en) * | 2012-03-30 | 2013-10-23 | 富泰华工业(深圳)有限公司 | A mode management system and a management method thereof |
CN103905956A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Audio control method, electronic equipment and audio output device |
CN104378485A (en) * | 2014-11-28 | 2015-02-25 | 小米科技有限责任公司 | Volume adjustment method and volume adjustment device |
CN105244048A (en) * | 2015-09-25 | 2016-01-13 | 小米科技有限责任公司 | Audio play control method and apparatus |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018040731A1 (en) * | 2016-08-29 | 2018-03-08 | 深圳市中兴微电子技术有限公司 | Voice suppression method, device, and computer storage medium |
CN107783752A (en) * | 2016-08-29 | 2018-03-09 | 深圳市中兴微电子技术有限公司 | A kind of voice drawing method and device |
CN106856580A (en) * | 2016-12-21 | 2017-06-16 | 歌尔科技有限公司 | A kind of method of bluetooth earphone and its monitoring condition sound |
CN108307271A (en) * | 2018-01-25 | 2018-07-20 | 潍坊歌尔电子有限公司 | A kind of volume adjusting method of smart machine, device and smart machine |
US10757247B2 (en) * | 2018-06-11 | 2020-08-25 | Lenovo (Beijing) Co., Ltd. | Switching method, apparatus and electronic device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103257873B (en) | The control method of a kind of intelligent terminal and system | |
CN103634724B (en) | Earphone connection interface, earphone operating method and the terminal for supporting the interface and method | |
CN108683798A (en) | A kind of sound output control method and mobile terminal | |
CN108024128B (en) | Control method and device for Bluetooth music playing, terminal equipment and storage medium | |
WO2018201944A1 (en) | Apparatus control method and device | |
CN105872209A (en) | Information processing method and electronic device | |
CN105451070B (en) | TV set control method and device | |
CN105794186A (en) | Method, device and electronic device for controlling application program | |
WO2019201271A1 (en) | Call processing method and mobile terminal | |
CN108551534B (en) | Method and device for multi-terminal voice call | |
CN105049636B (en) | A kind of main wheat hole inspection method and hole inspection of terminal and device | |
CN110177296A (en) | A kind of video broadcasting method and mobile terminal | |
CN112751971A (en) | Voice playing method and device and electronic equipment | |
CN103118191A (en) | Using control method and mobile terminal for iPhone wire control earphone | |
CN105372026A (en) | Air tightness detection device and method of microphone pickup structure path | |
CN109040449A (en) | A kind of volume adjusting method and terminal device | |
CN109451158B (en) | Reminding method and device | |
CN109348306A (en) | Video broadcasting method, terminal and computer readable storage medium | |
CN103581853A (en) | Method and device for voice broadcast of text message on mobile phone | |
CN102938819A (en) | Mobile terminal music control system and method | |
CN110213686A (en) | A kind of detection method and terminal of earphone socket | |
CN109061342A (en) | A kind of fast charge plug test method and device | |
CN111447223A (en) | Call processing method and electronic equipment | |
CN108848267A (en) | Audio frequency playing method and mobile terminal | |
CN111081283A (en) | Music playing method and device, storage medium and terminal equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160817 |