CN106303091A - The method and device of mobile terminal loudspeaker status switching - Google Patents
The method and device of mobile terminal loudspeaker status switching Download PDFInfo
- Publication number
- CN106303091A CN106303091A CN201610911096.6A CN201610911096A CN106303091A CN 106303091 A CN106303091 A CN 106303091A CN 201610911096 A CN201610911096 A CN 201610911096A CN 106303091 A CN106303091 A CN 106303091A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- speaker
- described mobile
- information
- light intensity
- 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/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)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The present invention is applicable to field of mobile terminals, it is provided that the method and device of a kind of mobile terminal loudspeaker status switching.Described method includes: obtain the environmental information of described mobile terminal, when the described environmental information obtained meets pre-conditioned, obtain the status switching instruction of described pre-conditioned correspondence, according to described status switching instruction, the state of described mobile terminal speaker is switched over.It is capable of intelligence switching speaker by said method, improves Consumer's Experience.
Description
Technical field
The embodiment of the present invention belongs to field of mobile terminals, the method particularly relating to the switching of a kind of mobile terminal loudspeaker status
And device.
Background technology
At present, during using mobile terminal (such as mobile phone, panel computer etc.) call, there are the need using speaker
Asking, such as, user is not desired to hand-held or need to vacate both hands and hurry other thing using in mobile terminal calling process, or
When person needs that people listens together with on the scene other people, it is required for opening speaker.
During the switching manipulation of speaker can be frequently occurred on user's routine use to mobile terminal, but, existing
In some mobile terminals, the switching to speaker needs manual-lock, when user just will when forgetting mute speaker
Mobile terminal picks up ear when continuing call, crosses conference due to mobile terminal call sound and frightens user, and sound mistake
User's ear is caused certain damage by conference, causes Consumer's Experience the best.
Therefore, it is necessary to a kind of new technical scheme is proposed, to solve above-mentioned technical problem.
Summary of the invention
Embodiments provide the method and device of a kind of mobile terminal loudspeaker status switching, it is intended to solve user
The state of manual switching speaker is needed when using mobile terminal call, thus the problem causing complex operation.
The embodiment of the present invention is achieved in that a kind of method that mobile terminal loudspeaker status switches, described method bag
Include:
Obtain the environmental information of described mobile terminal;
When the described environmental information obtained meets pre-conditioned, the state switching obtaining described pre-conditioned correspondence refers to
Order;
According to described status switching instruction, the state of described mobile terminal speaker is switched over.
The another object of the embodiment of the present invention is the device providing a kind of mobile terminal loudspeaker status to switch, described dress
Put and include:
Environment information acquisition unit, for obtaining the environmental information of described mobile terminal;
Status switching instruction acquiring unit, during for meeting pre-conditioned when the described environmental information obtained, obtains described
The status switching instruction of pre-conditioned correspondence;
Loudspeaker status switch unit, for according to described status switching instruction, the shape to described mobile terminal speaker
State switches over.
In embodiments of the present invention, when the described environmental information obtained meets pre-conditioned, automatically obtain described presetting
The status switching instruction that condition is corresponding, according to described status switching instruction, cuts the state of described mobile terminal speaker
Change, it is achieved that automated intelligent opens and closes speaker, improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of a kind of mobile terminal loudspeaker status switching that first embodiment of the invention provides;
Fig. 2 is the structure drawing of device of a kind of mobile terminal loudspeaker status switching that second embodiment of the invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right
The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and
It is not used in the restriction present invention.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work
The every other embodiment obtained under premise, broadly falls into the scope of protection of the invention
Should be appreciated that when using in this specification and in the appended claims, term " includes " that instruction is described special
Levy, entirety, step, operation, element and/or the existence of assembly, but be not precluded from one or more further feature, entirety, step,
Operation, element, assembly and/or the existence of its set or interpolation.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Hereafter clearly indicating other situation, otherwise " ", " " and " being somebody's turn to do " of singulative is intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to the one or more any combination being associated in the item listed and likely combine, and including that these combine.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if be detected that [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to really
Fixed " or " [described condition or event] once being detected " or " in response to [described condition or event] being detected ".
In the embodiment of the present invention, obtain the environmental information of described mobile terminal, when the described environmental information obtained meets pre-
If during condition, obtain the status switching instruction of described pre-conditioned correspondence, according to described status switching instruction, to described mobile whole
The state of end speaker switches over.
In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Embodiment one:
Fig. 1 shows the method flow that a kind of mobile terminal loudspeaker status that first embodiment of the invention provides switches
Figure, details are as follows:
Step S11, obtains the environmental information of described mobile terminal.
Wherein, environmental information refers to that the environmental information around mobile terminal, described environmental information can be mobile terminal weeks
The ambient light intensity information enclosed, when mobile terminal is in and is close to the users ear state, the ambient light intensity of mobile terminal is than moving
It is low that dynamic terminal is in when leaving user's ear state.Described environmental information also can also is that the environment around mobile terminal is made an uproar
Acoustic intelligence.
Specifically, when environmental information includes ambient light intensity information, described step S11 specifically includes:
Obtain the environmental light intensity angle value around described mobile terminal.
When environmental information includes environment noise information, described step S11 specifically includes:
Obtain the environment noise value around mobile terminal.
Alternatively, obtain mobile terminal environmental information waste mobile terminal electricity in order to avoid mobile terminal, in institute always
Before stating S11, also include:
A1, detecting the current state of described mobile terminal, the current state of described mobile terminal includes talking state;
A2, when described mobile terminal is in talking state, detect described mobile terminal speaker current state, described shifting
Dynamic terminal speaker current state includes: opening and closed mode.
Specifically, when detecting mobile terminal and being in non-talking state, terminal surrounding environment information acquisition is not moved
Operation, to save mobile terminal electricity.
When detecting that described mobile terminal is currently at talking state, detect the current shape of described mobile terminal speaker
State, described mobile terminal speaker is currently likely to be at opening, it is also possible to be closed.
Step S12, when the described environmental information obtained meets pre-conditioned, obtains the state of described pre-conditioned correspondence
Switching command.
Alternatively, when the environmental information of described acquisition includes environmental light intensity angle value, and with the locus of mobile terminal
Time information-related, S12 specifically includes:
B1, when mobile terminal speaker current state be opening, and when obtain environmental light intensity angle value less than preset
During ambient light intensity threshold value, obtain the spatial positional information of described mobile terminal;
B2, when described mobile terminal spatial positional information and user spatial positional information distance less than preset away from
When threshold value, the status switching instruction of acquisition is speaker out code;
B3, when mobile terminal speaker current state be closed mode, and when obtain environmental light intensity angle value be not less than pre-
If during ambient light intensity threshold value, obtain the spatial positional information of described mobile terminal;
B4, when the distance of spatial positional information of spatial positional information and user of described mobile terminal is more than or equal to pre-
If distance threshold time, the status switching instruction of acquisition is speaker OPEN.
Specifically, the spatial positional information of described user is the spatial positional information of user's head, it is possible to further be
The spatial positional information of user's ear.
When described mobile terminal speaker is in opening, obtain environmental light intensity angle value.When the environmental light intensity obtained
Angle value, less than when presetting ambient light intensity threshold value, obtains the spatial positional information of described mobile terminal, according to the sky of mobile terminal
Between the spatial positional information of positional information and user's ear obtain the distance of mobile terminal and user's ear, if described mobile terminal
It is less than, with the distance of user's ear, the distance threshold preset, determines that mobile terminal is in close to user's ear state, the shape of acquisition
State switching command is speaker out code, if the spatial positional information of described mobile terminal and the distance of user's ear are more than pre-
If distance threshold, do not obtain any instruction.When ambient light information meets pre-conditioned, mobile terminal speaker closes automatically
Closing, protection human ear does not comes to harm, and improves Consumer's Experience.
When described mobile terminal speaker is closed, obtain environmental light intensity angle value.When the environmental light intensity obtained
When angle value is not less than default ambient light intensity threshold value, obtain the spatial positional information of described mobile terminal, according to mobile terminal
The spatial positional information of spatial positional information and user's ear obtains the distance of mobile terminal and user's ear, if described mobile whole
End is more than or equal to default distance threshold with the distance of user's ear, determines that mobile terminal is in close to user's ear state,
The status switching instruction obtained is speaker OPEN, if the spatial positional information of described mobile terminal and user's ear away from
From less than the distance threshold preset, do not obtain any instruction.When ambient light information meets pre-conditioned, mobile terminal speaker
Automatically opening up, more intelligent, user uses more convenient.
Alternatively, when the environmental information of described acquisition includes environment noise value, and pre-conditioned and mobile terminal sky
Between positional information relevant time, S12 specifically includes:
B1 ', when mobile terminal speaker current state be opening, and when obtain environment noise value less than preset ring
During the noise threshold of border, obtain the spatial positional information of described mobile terminal;
B2 ', when the distance of spatial positional information of spatial positional information and user of described mobile terminal is less than presetting
During distance threshold, the status switching instruction of acquisition is speaker out code;
B3 ', when mobile terminal speaker current state be closed mode, and when obtain environment noise value be not less than default
During ambient noise threshold, obtain the spatial positional information of described mobile terminal;
B4 ', it is more than or equal to the distance of the spatial positional information of user when the spatial positional information of described mobile terminal
During the distance threshold preset, the status switching instruction of acquisition is speaker OPEN.
Specifically, when described mobile terminal speaker is in opening, obtain environment noise value.When the environment obtained
When noise figure is in the range of default ambient noise threshold, obtain the spatial positional information of described mobile terminal, described locus
Information includes the spatial positional information of user's ear.Spatial positional information according to user's ear and the locus of mobile terminal
Acquisition of information mobile terminal and the distance of user's ear, if the spatial positional information of described mobile terminal and the distance of user's ear
Less than the distance threshold preset, determining that mobile terminal is in close to user's ear state, the status switching instruction of acquisition is for raising one's voice
Device out code, if the distance of the spatial positional information of described mobile terminal and user's ear is more than the distance threshold preset, no
Obtain any instruction.
When described mobile terminal speaker is closed, obtain environment noise value.When the environment noise value obtained
Time not in the range of default ambient noise threshold, obtain the distance of mobile terminal and user's ear, if described mobile terminal and use
The distance of family ear, more than or equal to the distance threshold preset, determines that mobile terminal is in away from user's ear state, acquisition
Status switching instruction is speaker OPEN, if the distance of the spatial positional information of described mobile terminal and user's ear is less than
The distance threshold preset, does not obtain any instruction.Described environment noise value is human ear ambient noise value, described ambient noise threshold
Scope is human body noise's scope.
The spatial positional information of described mobile terminal can use distance-sensor with the distance of the spatial positional information of user
Obtain.
Alternatively, when the environmental information of described acquisition includes environmental light intensity angle value and pre-conditioned all with mobile terminal
When the temperature enclosed is relevant, S12 specifically includes following steps:
C1, when mobile terminal speaker current state be opening, and when obtain environmental light intensity angle value less than preset
During ambient light intensity threshold value, obtain the temperature information of described mobile terminal;
C2, when the temperature information of described mobile terminal is in the range of default temperature threshold, the switching of the state of acquisition refers to
Order is speaker out code;
C3, when mobile terminal speaker current state be closed mode, and when obtain environmental light intensity angle value be not less than pre-
If during ambient light intensity threshold value, obtain the temperature information of described mobile terminal;
C4, when the temperature information of described mobile terminal is not in the range of default temperature threshold, the switching of the state of acquisition
Instruction is speaker OPEN.
Specifically, when described mobile terminal speaker is in opening, obtain environmental light intensity angle value.When the ring obtained
Border light intensity value, less than when presetting ambient light intensity threshold value, obtains the temperature information of described mobile terminal, if the human body detected
Temperature in the range of default temperature threshold time, the status switching instruction of acquisition is speaker out code.When described movement
When terminal speaker is closed, obtain environmental light intensity angle value.When the environmental light intensity angle value obtained is less than presetting ambient light
Intensity threshold, when the temperature of mobile terminal detection human body is not in the range of default temperature threshold, the status switching instruction of acquisition
For speaker OPEN.Described temperature threshold scope is human body temperature scope.
Alternatively, around when the environmental information of described acquisition includes environment noise value and pre-conditioned and mobile terminal
Temperature relevant time, S12 specifically includes following steps:
C1 ', when mobile terminal speaker current state be opening, and when obtain environment noise value less than preset ring
During the noise threshold of border, obtain the temperature information of described mobile terminal;
C2 ', when the temperature information of described mobile terminal is in the range of default temperature threshold, the switching of the state of acquisition refers to
Order is speaker out code;
C3 ', when mobile terminal speaker current state be closed mode, and when obtain environment noise value be not less than default
During ambient noise threshold, obtain the temperature information of described mobile terminal;
C4 ', when the temperature information of described mobile terminal is not in the range of default temperature threshold, the switching of the state of acquisition
Instruction is speaker OPEN.
Specifically, when described mobile terminal speaker is in opening, obtain environment noise value.When the environment obtained
When noise figure is in the range of default ambient noise threshold, obtain the temperature information of described mobile terminal, if the human body detected
When temperature is in the range of default temperature threshold, the status switching instruction of acquisition is speaker out code.When described mobile whole
When end speaker is closed, obtain environment noise value.When the environment noise value obtained is not at default ambient noise threshold
In the range of, and mobile terminal detection human body temperature not in the range of default temperature threshold time, the status switching instruction of acquisition
It is human body temperature scope for temperature threshold scope described in speaker OPEN.
Described mobile terminal temperature information can use temperature inductor to obtain.
Step S13, according to described status switching instruction, switches over the state of described mobile terminal speaker.
Alternatively, in order to inform that user's loudspeaker status will switch, improve Consumer's Experience, before step S13, bag
Include: send loudspeaker status switching and remind.
Wherein, described loudspeaker status switching prompting includes that vibrating alert, the tinkle of bells are reminded, display lamp is reminded and this three
Combination in any.The switching prompting of described state can use mobile terminal default setting, it is also possible to is arranged by user oneself.User
Frequency of vibration and the Oscillation Amplitude of vibrating alert can be set, the sound size that the tinkle of bells is reminded is set, it is also possible to arrange display lamp face
Color, flicker brightness and flicker frequency.Loudspeaker status switching is reminded and is terminated after Preset Time reaches.
Specifically, as a example by an application scenarios, in described scene, user is currently in use mobile phone communication, and is put by mobile phone
On the table, opening speaker, now mobile terminal is in talking state, and speaker is opened, when user picks up mobile phone again
When preparing to press close to ear, mobile terminal detects that environmental light intensity angle value, less than when presetting ambient light intensity threshold value, obtains described shifting
Dynamic terminal and the distance of user's ear, when described distance is less than the distance threshold preset, obtain speaker out code, automatically
Before mute speaker, mobile terminal is by certain Oscillation Amplitude vibration, or sends prompt tone, reminds user to close and raises
Sound device, loudspeaker status switching is reminded after terminating in Preset Time, is automatically switched off speaker.
In first embodiment of the invention, obtain the environmental information of described mobile terminal, such as environment noise value and/or environment
Noise figure, when the described environmental information obtained meets pre-conditioned, obtains the status switching instruction of described pre-conditioned correspondence,
According to described status switching instruction, the state of described mobile terminal speaker is switched over.Need not use by said method
Family manual operation can be realized as intelligence switching speaker, improves Consumer's Experience.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence
After, the execution sequence of each process should determine with its function and internal logic, and should be to the implementation process structure of the embodiment of the present invention
Become any restriction.
Embodiment two:
Fig. 2 shows the apparatus structure that a kind of mobile terminal loudspeaker status that second embodiment of the invention provides switches
Figure, this mobile terminal can include smart mobile phone, panel computer etc., for convenience of description, illustrate only and the embodiment of the present invention
Relevant part.
The device of this mobile terminal loudspeaker status switching includes: environment information acquisition unit 21, status switching instruction obtain
Take unit 22, loudspeaker status switch unit 23.Wherein:
Environment information acquisition unit 21, for obtaining the environmental information of described mobile terminal.
Wherein, environmental information refers to that the environmental information around mobile terminal, described environmental information can be mobile terminal weeks
The ambient light intensity information enclosed, when mobile terminal is in and is close to the users ear state, the ambient light intensity of mobile terminal is than moving
It is low that dynamic terminal is in when leaving user's ear state.Described environmental information also can also is that the environment around mobile terminal is made an uproar
Acoustic intelligence.
Specifically, when environmental information includes ambient light intensity information, described environment information acquisition unit 21 is used for obtaining
Environmental light intensity angle value around described mobile terminal.
When environmental information includes environment noise information, described environment information acquisition unit 21 is used for obtaining mobile terminal week
The environment noise value enclosed.
Alternatively, obtain mobile terminal environmental information waste mobile terminal electricity in order to avoid mobile terminal, in institute always
The device stating the switching of mobile terminal loudspeaker status also includes:
Mobile terminal state detector unit, for detecting the current state of described mobile terminal, working as of described mobile terminal
Front state includes talking state;
Loudspeaker status detector unit, for when described mobile terminal is in talking state, detects described mobile terminal
Speaker current state, described mobile terminal speaker current state includes: opening and closed mode.
Specifically, when detecting mobile terminal and being in non-talking state, terminal surrounding environment information acquisition is not moved
Operation, to save mobile terminal electricity.
When detecting that described mobile terminal is currently at talking state, detect the current shape of described mobile terminal speaker
State, described mobile terminal speaker is currently likely to be at opening, it is also possible to be closed.
Status switching instruction acquiring unit 22, during for meeting pre-conditioned when the described environmental information obtained, obtains institute
State the status switching instruction of pre-conditioned correspondence.
Alternatively, when the environmental information of described acquisition includes environmental light intensity angle value, and with the locus of mobile terminal
Time information-related, status switching instruction acquiring unit 22 includes:
First spatial positional information acquisition module, is used for when mobile terminal speaker current state is opening, and works as
The environmental light intensity angle value obtained, less than when presetting ambient light intensity threshold value, obtains the spatial positional information of described mobile terminal;
First speaker out code acquisition module, is used for the sky of the spatial positional information when described mobile terminal and user
Between positional information distance less than preset distance threshold time, the status switching instruction of acquisition is speaker out code;
Second space position information acquisition module, is used for when mobile terminal speaker current state is closed mode, and works as
When the environmental light intensity angle value obtained is not less than default ambient light intensity threshold value, obtain the spatial positional information of described mobile terminal;
First speaker OPEN acquisition module, is used for the sky of the spatial positional information when described mobile terminal and user
Between positional information distance more than or equal to preset distance threshold time, the status switching instruction of acquisition is that speaker opens finger
Order.
Specifically, the spatial positional information of described user is the spatial positional information of user's head, it is possible to further be
The spatial positional information of user's ear.
When described mobile terminal speaker is in opening, obtain environmental light intensity angle value.When the environmental light intensity obtained
Angle value, less than when presetting ambient light intensity threshold value, obtains the spatial positional information of described mobile terminal, according to the sky of mobile terminal
Between the spatial positional information of positional information and user's ear obtain the distance of mobile terminal and user's ear, if described mobile terminal
It is less than, with the distance of user's ear, the distance threshold preset, determines that mobile terminal is in close to user's ear state, the shape of acquisition
State switching command is speaker out code, if the spatial positional information of described mobile terminal and the distance of user's ear are more than pre-
If distance threshold, do not obtain any instruction.When ambient light information meets pre-conditioned, mobile terminal speaker closes automatically
Closing, protection human ear does not comes to harm, and improves Consumer's Experience.
When described mobile terminal speaker is closed, obtain environmental light intensity angle value.When the environmental light intensity obtained
When angle value is not less than default ambient light intensity threshold value, obtain the spatial positional information of described mobile terminal, according to mobile terminal
The spatial positional information of spatial positional information and user's ear obtains the distance of mobile terminal and user's ear, if described mobile whole
End is more than or equal to default distance threshold with the distance of user's ear, determines that mobile terminal is in close to user's ear state,
The status switching instruction obtained is speaker OPEN, if the spatial positional information of described mobile terminal and user's ear away from
From less than the distance threshold preset, do not obtain any instruction.When ambient light information meets pre-conditioned, mobile terminal speaker
Automatically opening up, more intelligent, user uses more convenient.
Alternatively, when the environmental information of described acquisition includes environment noise value, and pre-conditioned and mobile terminal sky
Between positional information relevant time, status switching instruction acquiring unit 22 includes:
3rd spatial positional information acquisition module, when mobile terminal speaker current state is opening, and when obtaining
Environment noise value less than preset ambient noise threshold time, obtain the spatial positional information of described mobile terminal;
Three loudspeakers out code acquisition module, is used for the sky of the spatial positional information when described mobile terminal and user
Between positional information distance less than preset distance threshold time, the status switching instruction of acquisition is speaker out code;
4th spatial positional information acquisition module, is used for when mobile terminal speaker current state is closed mode, and works as
When the environment noise value obtained is not less than default ambient noise threshold, obtain the spatial positional information of described mobile terminal;
Three loudspeakers OPEN acquisition module, is used for the sky of the spatial positional information when described mobile terminal and user
Between positional information distance more than or equal to preset distance threshold time, the status switching instruction of acquisition is that speaker opens finger
Order.
Specifically, when described mobile terminal speaker is in opening, obtain environment noise value.When the environment obtained
When noise figure is in the range of default ambient noise threshold, obtain the spatial positional information of described mobile terminal, described locus
Information includes the spatial positional information of user's ear.Spatial positional information according to user's ear and the locus of mobile terminal
Acquisition of information mobile terminal and the distance of user's ear, if the spatial positional information of described mobile terminal and the distance of user's ear
Less than the distance threshold preset, determining that mobile terminal is in close to user's ear state, the status switching instruction of acquisition is for raising one's voice
Device out code, if the distance of the spatial positional information of described mobile terminal and user's ear is more than the distance threshold preset, no
Obtain any instruction.
When described mobile terminal speaker is closed, obtain environment noise value.When the environment noise value obtained
Time not in the range of default ambient noise threshold, obtain the distance of mobile terminal and user's ear, if described mobile terminal and use
The distance of family ear, more than or equal to the distance threshold preset, determines that mobile terminal is in away from user's ear state, acquisition
Status switching instruction is speaker OPEN, if the distance of the spatial positional information of described mobile terminal and user's ear is less than
The distance threshold preset, does not obtain any instruction.Described environment noise value is human ear ambient noise value, described ambient noise threshold
Scope is human body noise's scope.
The spatial positional information of described mobile terminal can use distance-sensor with the distance of the spatial positional information of user
Obtain.
Alternatively, when the environmental information of described acquisition includes environmental light intensity angle value and pre-conditioned all with mobile terminal
When the temperature enclosed is relevant, status switching instruction acquiring unit 22 includes:
First temperature information acquisition module, is used for when mobile terminal speaker current state is opening, and when obtaining
Environmental light intensity angle value less than preset ambient light intensity threshold value time, obtain the temperature information of described mobile terminal;
Second speaker out code acquisition module, for when the temperature information of described mobile terminal is in default temperature threshold
Time in the range of value, the status switching instruction of acquisition is speaker out code;
Second temperature information acquisition module, is used for when mobile terminal speaker current state is closed mode, and when obtaining
Environmental light intensity angle value when being not less than default ambient light intensity threshold value, obtain the temperature information of described mobile terminal;
Second speaker OPEN acquisition module, for when the temperature information of described mobile terminal is not in default temperature
Time in threshold range, the status switching instruction of acquisition is speaker OPEN.
Specifically, when described mobile terminal speaker is in opening, obtain environmental light intensity angle value.When the ring obtained
Border light intensity value, less than when presetting ambient light intensity threshold value, obtains the temperature information of described mobile terminal, if the human body detected
Temperature in the range of default temperature threshold time, the status switching instruction of acquisition is speaker out code.When described movement
When terminal speaker is closed, obtain environmental light intensity angle value.When the environmental light intensity angle value obtained is less than presetting ambient light
Intensity threshold, when the temperature of mobile terminal detection human body is not in the range of default temperature threshold, the status switching instruction of acquisition
For speaker OPEN.Described temperature threshold scope is human body temperature scope.
Alternatively, around when the environmental information of described acquisition includes environment noise value and pre-conditioned and mobile terminal
Temperature relevant time, status switching instruction acquiring unit 22 includes:
3rd temperature information acquisition module, is used for when mobile terminal speaker current state is opening, and when obtaining
Environment noise value less than preset ambient noise threshold time, obtain the temperature information of described mobile terminal;
4th speaker out code acquisition module, for the temperature information of described mobile terminal at default temperature threshold
In the range of time, the status switching instruction of acquisition is speaker out code;
4th temperature information acquisition module, is used for when mobile terminal speaker current state is closed mode, and when obtaining
Environment noise value when being not less than default ambient noise threshold, obtain the temperature information of described mobile terminal;
4th speaker OPEN acquisition module, for when the temperature information of described mobile terminal is not in default temperature
Time in threshold range, the status switching instruction of acquisition is speaker OPEN.
Specifically, when described mobile terminal speaker is in opening, obtain environment noise value.When the environment obtained
When noise figure is in the range of default ambient noise threshold, obtain the temperature information of described mobile terminal, if the human body detected
When temperature is in the range of default temperature threshold, the status switching instruction of acquisition is speaker out code.When described mobile whole
When end speaker is closed, obtain environment noise value.When the environment noise value obtained is not at default ambient noise threshold
In the range of, and mobile terminal detection human body temperature not in the range of default temperature threshold time, the status switching instruction of acquisition
It is human body temperature scope for temperature threshold scope described in speaker OPEN.
Described mobile terminal temperature information can use temperature inductor to obtain.
Loudspeaker status switch unit 23, for according to described status switching instruction, to described mobile terminal speaker
State switches over.
Alternatively, in order to inform that user's loudspeaker status will switch, improve Consumer's Experience, described mobile terminal speaker
The device of state switching also includes reminding unit, is used for sending loudspeaker status switching and reminds.
Wherein, described loudspeaker status switching prompting includes that vibrating alert, the tinkle of bells are reminded, display lamp is reminded and this three
Combination in any.The switching prompting of described state can use mobile terminal default setting, it is also possible to is arranged by user oneself.User
Frequency of vibration and the Oscillation Amplitude of vibrating alert can be set, the sound size that the tinkle of bells is reminded is set, it is also possible to arrange display lamp face
Color, flicker brightness and flicker frequency.Loudspeaker status switching is reminded and is terminated after Preset Time reaches.
In second embodiment of the invention, when the environmental information obtained, such as environment noise value and/or environment noise value meet
Time pre-conditioned, obtain the status switching instruction of described pre-conditioned correspondence, according to described status switching instruction, to described movement
The state of terminal speaker switches over, it is not necessary to user's manual operation can be realized as intelligence switching speaker, improves use
Family is experienced.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes
Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually
Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel
Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed
The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, permissible
Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit
Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.
Claims (10)
1. the method for a mobile terminal loudspeaker status switching, it is characterised in that described method includes:
Obtain the environmental information of described mobile terminal;
When the described environmental information obtained meets pre-conditioned, obtain the status switching instruction of described pre-conditioned correspondence;
According to described status switching instruction, the state of described mobile terminal speaker is switched over.
Method the most according to claim 1, it is characterised in that before obtaining the environmental information of described mobile terminal, also
Including:
Detecting the current state of described mobile terminal, the current state of described mobile terminal includes talking state;
When described mobile terminal is in talking state, detect described mobile terminal speaker current state, described mobile terminal
Speaker current state includes: opening and closed mode.
Method the most according to claim 2, it is characterised in that described environmental information includes environmental light intensity angle value, now, institute
Stating the described environmental information when obtaining and meet pre-conditioned, the status switching instruction obtaining described pre-conditioned correspondence specifically wraps
Include:
When mobile terminal speaker current state is opening, and when the environmental light intensity angle value obtained is less than presetting environmental light intensity
During degree threshold value, obtain the spatial positional information of described mobile terminal;
When the spatial positional information of described mobile terminal and the distance of the spatial positional information of user are less than the distance threshold preset
Time, the status switching instruction of acquisition is speaker out code;
When mobile terminal speaker current state is closed mode, and when the environmental light intensity angle value obtained is not less than default ambient light
During intensity threshold, obtain the spatial positional information of described mobile terminal;
When described mobile terminal spatial positional information and user spatial positional information distance more than or equal to preset away from
When threshold value, the status switching instruction of acquisition is speaker OPEN.
Method the most according to claim 2, it is characterised in that described environmental information includes environmental light intensity angle value, now, institute
Stating the described environmental information when obtaining and meet pre-conditioned, the status switching instruction obtaining described pre-conditioned correspondence specifically wraps
Include:
When mobile terminal speaker current state is opening, and when the environmental light intensity angle value obtained is less than presetting environmental light intensity
During degree threshold value, obtain the temperature information of described mobile terminal;
When the temperature information of described mobile terminal is in the range of default temperature threshold, the status switching instruction of acquisition is for raising one's voice
Device out code;
When mobile terminal speaker current state is closed mode, and when the environmental light intensity angle value obtained is not less than default ambient light
During intensity threshold, obtain the temperature information of described mobile terminal;
When the temperature information of described mobile terminal is not in the range of default temperature threshold, the status switching instruction of acquisition is for raising
Sound device OPEN.
5. according to the method described in any one of claim 1-4, it is characterised in that described according to described status switching instruction,
Before the state of described mobile terminal speaker is switched over, comprise the steps:
Send loudspeaker status switching to remind.
6. the device of a mobile terminal loudspeaker status switching, it is characterised in that described device includes:
Environment information acquisition unit, for obtaining the environmental information of described mobile terminal;
Status switching instruction acquiring unit, during for meeting pre-conditioned when the described environmental information obtained, obtains described presetting
The status switching instruction that condition is corresponding;
Loudspeaker status switch unit, for according to described status switching instruction, enters the state of described mobile terminal speaker
Row switching.
Device the most according to claim 6, it is characterised in that described device also includes:
Mobile terminal state detector unit, for detecting the current state of described mobile terminal, the current shape of described mobile terminal
State includes talking state;
Loudspeaker status detector unit, for when described mobile terminal is in talking state, detects described mobile terminal and raises one's voice
Device current state, described mobile terminal speaker current state includes: opening and closed mode.
Device the most according to claim 7, it is characterised in that described environmental information includes environmental light intensity angle value, described shape
State switching command acquiring unit includes:
First spatial positional information acquisition module, is used for when mobile terminal speaker current state is opening, and when obtaining
Environmental light intensity angle value less than preset ambient light intensity threshold value time, obtain the spatial positional information of described mobile terminal;
First speaker out code acquisition module, is used for the space bit of the spatial positional information when described mobile terminal and user
When the distance of confidence breath is less than the distance threshold preset, the status switching instruction of acquisition is speaker out code;
Second space position information acquisition module, is used for when mobile terminal speaker current state is closed mode, and when obtaining
Environmental light intensity angle value when being not less than default ambient light intensity threshold value, obtain the spatial positional information of described mobile terminal;
First speaker OPEN acquisition module, is used for the space bit of the spatial positional information when described mobile terminal and user
When the distance of confidence breath is more than or equal to the distance threshold preset, the status switching instruction of acquisition is speaker OPEN.
Device the most according to claim 7, it is characterised in that status switching instruction acquiring unit specifically includes:
First temperature information acquisition module, is used for when mobile terminal speaker current state is opening, and when the ring obtained
Border light intensity value, less than when presetting ambient light intensity threshold value, obtains the temperature information of described mobile terminal;
Second speaker out code acquisition module, for when the temperature information of described mobile terminal is at default temperature threshold model
When enclosing interior, the status switching instruction of acquisition is speaker out code;
Second temperature information acquisition module, is used for when mobile terminal speaker current state is closed mode, and when the ring obtained
When border light intensity value is not less than default ambient light intensity threshold value, obtain the temperature information of described mobile terminal;
Second speaker OPEN acquisition module, for when the temperature information of described mobile terminal is not at default temperature threshold
In the range of time, the status switching instruction of acquisition is speaker OPEN.
10. according to the device described in any one of claim 6-10, it is characterised in that described device includes:
Reminding unit, is used for sending loudspeaker status switching and reminds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610911096.6A CN106303091A (en) | 2016-10-19 | 2016-10-19 | The method and device of mobile terminal loudspeaker status switching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610911096.6A CN106303091A (en) | 2016-10-19 | 2016-10-19 | The method and device of mobile terminal loudspeaker status switching |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106303091A true CN106303091A (en) | 2017-01-04 |
Family
ID=57719649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610911096.6A Pending CN106303091A (en) | 2016-10-19 | 2016-10-19 | The method and device of mobile terminal loudspeaker status switching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303091A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107332998A (en) * | 2017-07-05 | 2017-11-07 | 深圳天珑无线科技有限公司 | Call mode switching method, mobile terminal and readable storage medium storing program for executing |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100017163A1 (en) * | 2007-03-26 | 2010-01-21 | Terumo Kabushiki Kaisha | Ear-type thermometer and a control method thereof |
CN101640720A (en) * | 2008-07-31 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Mobile communication terminal and switching method of answer mode thereof |
CN101931686A (en) * | 2009-06-19 | 2010-12-29 | 宏达国际电子股份有限公司 | Mobile device capable of automatically switching calling mode and method for switching calling mode |
CN102158591A (en) * | 2011-01-27 | 2011-08-17 | 惠州Tcl移动通信有限公司 | Mobile terminal, and video call control method and device thereof |
CN102970423A (en) * | 2012-11-09 | 2013-03-13 | 广东欧珀移动通信有限公司 | Hands-free mode switching method for hand-held communication device during communication |
CN103078997A (en) * | 2012-12-20 | 2013-05-01 | 广东欧珀移动通信有限公司 | Method and system for setting volume of mobile terminal and mobile terminal |
-
2016
- 2016-10-19 CN CN201610911096.6A patent/CN106303091A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100017163A1 (en) * | 2007-03-26 | 2010-01-21 | Terumo Kabushiki Kaisha | Ear-type thermometer and a control method thereof |
CN101640720A (en) * | 2008-07-31 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Mobile communication terminal and switching method of answer mode thereof |
CN101931686A (en) * | 2009-06-19 | 2010-12-29 | 宏达国际电子股份有限公司 | Mobile device capable of automatically switching calling mode and method for switching calling mode |
CN102158591A (en) * | 2011-01-27 | 2011-08-17 | 惠州Tcl移动通信有限公司 | Mobile terminal, and video call control method and device thereof |
CN102970423A (en) * | 2012-11-09 | 2013-03-13 | 广东欧珀移动通信有限公司 | Hands-free mode switching method for hand-held communication device during communication |
CN103078997A (en) * | 2012-12-20 | 2013-05-01 | 广东欧珀移动通信有限公司 | Method and system for setting volume of mobile terminal and mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107332998A (en) * | 2017-07-05 | 2017-11-07 | 深圳天珑无线科技有限公司 | Call mode switching method, mobile terminal and readable storage medium storing program for executing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104380254B (en) | The quick method and terminal for starting application service | |
CN105900042B (en) | Redirect the method and apparatus of audio input and output | |
CN103780758B (en) | The method of Wearable communication equipment and synchronizing information thereof | |
CN103458120B (en) | Event-handling method, device and mobile terminal | |
CN110493678A (en) | The control method and device of earphone | |
CN106547216B (en) | The method and device of intelligent scene trigger condition is set | |
CN108710306A (en) | Control method, device and the computer readable storage medium of smart machine | |
CN109167879A (en) | Based reminding method, mobile terminal and storage medium based on artificial intelligence | |
CN109946986A (en) | Household electric appliance control method, wearable device and computer readable storage medium | |
CN107919124A (en) | Equipment awakening method and device | |
CN110022401A (en) | A kind of control parameter setting method, terminal and computer readable storage medium | |
WO2020087750A1 (en) | Earphone box interaction control method and device, earphone box, and storage medium | |
CN108536996A (en) | Method, apparatus, storage medium and intelligent baby bed are slept in automatic roars of laughter | |
CN102946466A (en) | Call answering method and device | |
CN106210236A (en) | A kind of call control method and electronic equipment | |
CN107147809A (en) | A kind of convenient call method of mobile terminal and system | |
CN109067965A (en) | Interpretation method, translating equipment, wearable device and storage medium | |
CN105187639A (en) | Method and device for switching talk mode during call and mobile terminal | |
CN105357657B (en) | The construction method and device of Mesh network | |
CN105208510B (en) | The method and device of intelligent alarm | |
CN108923810A (en) | Interpretation method and relevant device | |
CN106303091A (en) | The method and device of mobile terminal loudspeaker status switching | |
CN103167127A (en) | System and method for achieving incoming call mute of mobile phone based on range sensor and gesture operation | |
CN106210247A (en) | Terminal control method and device | |
CN106534412A (en) | Bluetooth earphone and control method thereof |
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: 20170104 |