CN107506167B - Volume control method and device of mobile terminal, storage medium and mobile terminal - Google Patents

Volume control method and device of mobile terminal, storage medium and mobile terminal Download PDF

Info

Publication number
CN107506167B
CN107506167B CN201710710678.2A CN201710710678A CN107506167B CN 107506167 B CN107506167 B CN 107506167B CN 201710710678 A CN201710710678 A CN 201710710678A CN 107506167 B CN107506167 B CN 107506167B
Authority
CN
China
Prior art keywords
mobile terminal
shielding
distance
determining
degree information
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.)
Active
Application number
CN201710710678.2A
Other languages
Chinese (zh)
Other versions
CN107506167A (en
Inventor
郑志勇
杨海
许钊铵
甘高亭
严锋贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710710678.2A priority Critical patent/CN107506167B/en
Publication of CN107506167A publication Critical patent/CN107506167A/en
Application granted granted Critical
Publication of CN107506167B publication Critical patent/CN107506167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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

Abstract

The embodiment of the invention discloses a volume control method and device of a mobile terminal, a storage medium and the mobile terminal. The method comprises the following steps: determining that the mobile terminal is in a set shielding environment; obtaining shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment; and adjusting the audio playing volume according to the shielding degree information. The technical scheme provided by the embodiment of the invention can avoid the problems that the user misses the telephone or information and the like due to the fact that the audio playing volume is too small when the mobile terminal is in a shielding environment, and can reasonably control the playing volume of the mobile terminal according to the shielding degree under the condition that the mobile terminal is shielded.

Description

Volume control method and device of mobile terminal, storage medium and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of play control, in particular to a volume control method and device of a mobile terminal, a storage medium and the mobile terminal.
Background
Mobile terminals such as mobile phones have more and more functions, which provides convenience for life and work of people, and people can make and receive calls, listen to music, watch videos, play games and the like by using the mobile phones. When the user performs these operations, the audio playing control system of the mobile terminal controls the audio of these applications to play. However, the related art method for controlling the audio playing volume has drawbacks and needs to be improved.
Disclosure of Invention
The embodiment of the invention provides a volume control method and device of a mobile terminal, a storage medium and the mobile terminal, which can reasonably control the playing volume of the mobile terminal under the condition that the mobile terminal is shielded.
In a first aspect, an embodiment of the present invention provides a volume control method for a mobile terminal, including:
determining that the mobile terminal is in a set shielding environment;
obtaining shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment;
and adjusting the audio playing volume according to the shielding degree information.
In a second aspect, an embodiment of the present invention provides a volume control device for a mobile terminal, including:
the shielding state determining module is used for determining that the mobile terminal is in a set shielding environment;
the shielding degree information acquisition module is used for acquiring shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment;
and the audio playing volume adjusting module is used for adjusting the audio playing volume according to the shielding degree information.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the volume control method of the mobile terminal as provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executed, implements the volume control method of the mobile terminal as provided in the first aspect.
In a fifth aspect, an embodiment of the present invention provides a mobile terminal, including: the proximity sensor is used for acquiring the distance between the mobile terminal and the shelter; the acceleration sensor is used for acquiring the motion state of the mobile terminal; and/or the ambient light sensor is used for collecting the ambient light brightness of the mobile terminal; a memory for storing said distance and said motion state, and/or said distance and said ambient light level; the processor is used for determining that the mobile terminal is in a set shielding environment according to the distance and the motion state and/or the distance and the environment light brightness; obtaining shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment; and adjusting the audio playing volume according to the shielding degree information.
According to the embodiment of the invention, the shielding degree information of the shielding object is obtained by determining that the mobile terminal is in the set shielding environment, the shielding object is an object which shields the mobile terminal in the set shielding environment, and the playing volume of the audio is adjusted according to the shielding degree information, so that the playing volume of the mobile terminal can be reasonably controlled under the condition that the mobile terminal is shielded.
Drawings
FIG. 1a is a block diagram of an audio system architecture according to an embodiment of the present invention;
fig. 1b is a schematic structural diagram of an audio processing hardware system of a smart phone according to an embodiment of the present invention;
fig. 2 is a flowchart of a volume control method of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of a volume control method of another mobile terminal according to an embodiment of the present invention;
fig. 4 is a flowchart of a volume control method of another mobile terminal according to an embodiment of the present invention;
fig. 5 is a flowchart of a volume control method of another mobile terminal according to an embodiment of the present invention;
fig. 6 is a flowchart of a volume control method of another mobile terminal according to an embodiment of the present invention;
fig. 7 is a flowchart of a volume control method of another mobile terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a volume control device of a mobile terminal according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
For convenience of understanding, the Android system is taken as an example, and the audio system architecture in the Android system is briefly described below.
As shown in fig. 1a, the audio system architecture provided by the present embodiment mainly includes a user space, a kernel space, and a hardware system. The user space includes an Application (Application) Layer, an Application Framework (Framework) Layer, and a Hardware Abstraction Layer (HAL), the kernel space includes a Driver Layer, and the Hardware system includes a speaker, an audio codec, and the like. The application layer is the uppermost layer of the audio system, and can execute corresponding logic operations by writing an application program, for example, presetting a preset shielding environment including an environment in which a loudspeaker is shielded, setting a setting range to which the distance between the mobile terminal and a shielding object under the shielding environment belongs, issuing a volume adjustment instruction, and the like. The application framework layer comprises an audio control interface and a standardized plug-in module which is responsible for providing an interface for acquiring audio attribute information and an audio playing state, a loudspeaker volume control interface and the like. The application framework layer provides two classes, AudioTrack and AudioRecorder, and AudioManager, AudioService and AudioSystem. And a system runtime (library) layer is also included between the application framework layer and the hardware abstraction layer. It is known that many classes of framework layers are actually only "intermediaries" where applications use Android library files. Because the upper layer applications are written in java language, they need the support of the most direct java interface, which is one of the meanings of the existence of the frame layer. As "intermediaries," they do not actually implement a particular function or implement only a portion of it, but rather place the primary center of gravity in the library. Such as AudioTrack, AudioRecorder, MediaPlayer, MediaRecorder, etc., above, can find corresponding classes in the library. The part of code is centrally placed in the engineering framework/av/media/libmedia, and most of the code is written in C + + language. The hardware abstraction layer in audio is mainly divided into two parts, namely, audioFlinger and audioPolicyservice, and actually, the latter is not a real device, and only adopts a virtual device mode to allow a manufacturer to conveniently customize its own strategy. Audio devices vary greatly according to products, and in the Android audio architecture, these problems are solved by audio. The hardware abstraction layer is the transition from the application framework layer to the driver layer to achieve compatibility of the underlying hardware. The driving layer controls the audio codec according to the characteristics of the audio codec, so that the audio codec can work normally, and the audio data acquired by the audio codec is provided for the system layer. The hardware system comprises a loudspeaker and an audio codec, wherein the loudspeaker is used for playing audio data to control the volume, and the audio codec is used for analyzing the format of the audio data, such as MP3 and WMA, and is responsible for normal playing of the audio, no noise and the like.
Fig. 1b is a schematic structural diagram of an audio processing hardware system of a smart phone according to an embodiment of the present invention. The audio processing circuit is generally located in the main control circuit board, and the specific location of the audio processing circuit may be different due to different designs of different mobile phones. The audio processing circuit of the smart phone mainly comprises an audio signal processing circuit, a baseband signal processing circuit, an audio power amplifier, an earphone signal amplifier, a receiver, a loudspeaker, a microphone, an earphone interface and the like. Wherein, the audio signal processing circuit is the core of the whole audio processing circuit. The audio processing circuit mainly comprises a receiving audio circuit, a transmitting circuit, an earphone communication circuit and the like, and comprises analog/digital (A/D) conversion, digital/analog (A/D) conversion, digital voice signal processing, an analog audio amplifying circuit and the like of analog audio.
During communication, firstly, a local microphone converts a mechanical sound wave signal of sound into an analog audio signal, the analog audio signal is amplified by an analog audio amplifying circuit, and A/D conversion is carried out by an internal multimode converter to obtain a digital audio signal; secondly, the digital audio signal is sent to a baseband processor for processing such as voice coding, channel coding and the like; a series of processing such as encryption, interweaving and the like is carried out again; finally, the signal is sent to a digital narrow-band modulation module in a baseband processor for modulation, a transmission baseband signal is generated and sent to a radio frequency circuit to be modulated into a transmission intermediate frequency, and the transmission intermediate frequency is sent to a call counterpart. When a call is answered, firstly demodulating received baseband information from a radio frequency circuit, sending the baseband information to the inside of a baseband processor for digital narrowband demodulation, and separating out a control signal and a voice signal; secondly, the voice signal is processed in a series of processes such as decryption, de-interleaving, recombination and the like, and then channel decoding and voice decoding are carried out; finally, pure digital voice signals are obtained and sent to a multi-mode converter in the voice signal processor for D/A conversion; after the analog audio signal is restored, the earphone is pushed to sound after the audio power amplification. If the hand-free receiver is selected, the baseband processor turns off the receiver amplifier of the receiver, starts a hand-free receiver amplifier tube (ringing amplifier tube) to work, and amplifies the power of the audio signal to push the loudspeaker to sound.
During recording, similar to the above process, firstly, a microphone converts a mechanical sound wave signal of sound into an analog audio signal, the analog audio signal is amplified by an analog audio amplifying circuit, a digital audio signal is obtained after A/D conversion, and coding and storage are performed according to a preset audio format. When a recording or other audio files are played, the audio files are decoded to obtain digital audio signals, the digital audio signals are restored into analog audio signals after D/A conversion, and the power of the audio signals is amplified to drive a loudspeaker to sound.
In the embodiment of the invention, the preset audio file can be stored in the terminal in advance and played. The pre-stored audio file and the preset volume level can be selected by a designer according to actual conditions, the preset audio files and/or the preset volume levels corresponding to different sound playing devices can be different, and the embodiment of the invention is not limited. The audio signal collected by the microphone may be the analog audio signal converted from the mechanical sound wave signal, or may be an amplified analog audio signal, and corresponding preset conditions may be set according to the difference between the two, which is not limited in the embodiment of the present invention. In order to facilitate the interaction between the terminal and the user, the terminal generally provides a volume adjustment function for the user, the user can adjust the volume level of sound played by the terminal by adjusting a volume adjustment button or a volume adjustment progress bar, and the terminal performs corresponding amplification processing, such as power amplification, on an audio signal to be played according to the volume level adjusted by the user, so as to meet the listening requirement of the user. The dividing strategies for the volume levels in different terminals may be different, that is, the total number of the specific volume levels and the volume level corresponding to each volume level may be different, and the embodiment of the present invention is not limited.
Fig. 2 is a flowchart of a volume control method of a mobile terminal according to an embodiment of the present invention, where the method of this embodiment may be performed by a volume control device of the mobile terminal, the device may be implemented by hardware and/or software, and the device may be disposed inside the mobile terminal as a part of the mobile terminal.
As shown in fig. 2, the volume control method of the mobile terminal provided in this embodiment includes the following steps:
step 101, determining that the mobile terminal is in a set shielding environment.
The mobile terminal provided by the embodiment of the invention includes but is not limited to a smart phone, a notebook computer or a tablet computer and the like.
In the using process of the mobile terminal, there may be a case that the mobile terminal is shielded by other objects, for example, the mobile terminal of a mobile phone is put into a pocket or placed in sundries, etc. The step is used for determining that the mobile terminal is in the set shielding environment. The set shielding environment is a preset shielding environment meeting the shielding condition of the loudspeaker, and is put into a pocket or placed in sundries.
And 102, obtaining the shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment.
When the sheltering environments of the mobile terminal are different, the sheltering degree of the mobile terminal by the shelter is different. The decision factors of the shielding environment comprise the distance between the shielding object and the mobile terminal, the material and the thickness of the shielding object and the like, namely the shielding degree, the distance between the shielding object and the mobile terminal, and the material and the thickness of the shielding object are related.
And 103, adjusting the audio playing volume according to the shielding degree information.
The audio playing volume can be adjusted according to the information of the shielding degree of the shielding object, and the step can include: acquiring a preset corresponding relation table of the shielding degree and the audio playing volume, and determining a volume adjustment value corresponding to the shielding degree information according to the preset corresponding relation table; and increasing the current audio playing volume by the volume adjustment value to serve as the adjusted audio playing volume. When the shielding degree is larger, a larger volume adjustment value can be determined according to the preset corresponding relation table, and when the shielding degree is smaller, a smaller volume adjustment value can be determined according to the preset corresponding relation table.
The obtaining a preset correspondence table between the shielding degree and the audio playing volume, and determining the volume adjustment value corresponding to the shielding degree information according to the preset correspondence table may include: determining the current default playing volume of the mobile terminal; and acquiring a preset corresponding relation table of the shielding degree and the audio playing volume, and determining a volume adjustment value corresponding to the shielding degree information according to the current default playing volume and the preset corresponding relation table. A relatively large volume adjustment may be determined when the current default play volume is small, and a relatively small volume adjustment may be determined when the current default play volume is large. For example, the shielding degree a < the shielding degree B < the shielding degree C, the maximum playing volume is 10, the current default playing volume is 2, and when the shielding degree is C, the volume adjustment value may be determined to be 4 according to the preset corresponding relationship table, that is, the adjusted playing volume is 6; if the current playing volume is 4, when the shielding degree is C, the volume adjustment value can be determined to be 3 according to the preset corresponding relation table, that is, the adjusted playing volume is 7; if the current playing volume is 2, when the shielding degree is B, the volume adjustment value can be determined to be 3 according to the preset corresponding relation table, namely the adjusted playing volume is 5; if the current playing volume is 4, then when the shielding degree is B, the volume adjustment value can be determined to be 2 according to the preset corresponding relation table, that is, the adjusted playing volume is 6.
According to the volume control method of the mobile terminal, the shielding degree information of the shielding object is obtained by determining that the mobile terminal is in the set shielding environment, the shielding object is an object for shielding the mobile terminal in the set shielding environment, the audio playing volume is adjusted according to the shielding degree information, the problem that a user misses a phone call or information and the like due to the fact that the audio playing volume is too small when the mobile terminal is in the shielding environment is avoided, and the playing volume of the mobile terminal can be reasonably controlled according to the shielding degree under the condition that the mobile terminal is shielded.
On the basis of the above embodiment, it may be determined that the mobile terminal is in the set occlusion environment when it is detected that the audio playing event is triggered, or it may be determined that the mobile terminal is in the set occlusion environment by detecting the environment where the mobile terminal is located at a fixed time.
Fig. 3 is a flowchart illustrating another volume control method for a mobile terminal according to an embodiment of the present invention. As shown in fig. 3, the method provided by this embodiment includes the following steps:
step 201, obtaining the distance between the mobile terminal and the shelter through a proximity sensor of the mobile terminal.
Wherein, the distance between the proximity sensor and the loudspeaker of the mobile terminal is less than a first set distance, and the reason for the setting is as follows: the mobile terminal may be caused to determine an occlusion detection result obtained from the proximity sensor as an occlusion detection result of the speaker. The first set distance may be 0cm to 2cm excluding 0 cm. Generally, the speaker of the mobile terminal is arranged at the bottom of the mobile terminal, and the proximity sensor can be arranged at the position of 0cm-2cm close to the speaker at the bottom of the mobile terminal.
Step 202, acquiring the motion state of the mobile terminal through an acceleration sensor of the mobile terminal.
The motion state may include a stationary state and a motion state.
Step 203, judging whether the distance is within a first set range and whether the motion state is a static state, if so, executing step 204, otherwise, skipping to execute step 201 or step 202. The first setting range is a preset distance range, and may be, for example, 0 to 0.5 m. Illustratively, the distance between the mobile terminal and the shield is 0m when the mobile terminal is attached to the shield, and the distance between the proximity sensor or the speaker at the bottom of the mobile terminal and the drawer is 5cm when the mobile terminal is placed in a sealed space such as a drawer.
And 204, determining that the mobile terminal is in a set shielding environment.
If the user is using the mobile terminal, the acceleration sensor can detect that the mobile terminal is in a motion state, and when the mobile terminal is in the motion state, even if the proximity sensor detects that the distance between the mobile terminal and the shelter is within the first set range, the mobile terminal is not determined to be in the set shelter environment. The reason for this is: for example, in a scene that a user answers a call, the distance between the proximity sensor and the face of the user and the obstruction is within a first set range, but the mobile terminal is not in a set obstruction environment. And when the mobile terminal is placed in sundries or other set shielding environments, the mobile terminal is static. Therefore, the motion state of the mobile terminal is obtained through the acceleration sensor, and when the distance is within the first set range and is in the motion state, the mobile terminal is determined to be in the set shielding environment.
When the distance between the mobile terminal and the shelter is determined to be within a first set range by combining the acceleration sensor with the proximity sensor, and the motion state of the mobile terminal is a static state, the proximity sensor of the mobile terminal can be determined to be in a set shelter environment.
And step 205, obtaining the shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment.
And step 206, adjusting the audio playing volume according to the shielding degree information.
The execution order of step 201 and step 202 may be exchanged.
The method provided by the embodiment includes the steps that the distance between the mobile terminal and a shielding object is obtained through a proximity sensor of the mobile terminal, the motion state of the mobile terminal is obtained through an acceleration sensor of the mobile terminal, when the distance is detected to be within a first set range and the motion state is in a static state, the mobile terminal is determined to be in a set shielding environment, the audio playing volume is adjusted according to shielding program information of the shielding object, the playing volume of the mobile terminal can be controlled reasonably according to the shielding degree under the condition that the mobile terminal is shielded, and the mobile terminal can be accurately determined to be in the set shielding environment.
Fig. 4 is a flowchart illustrating a volume control method of another mobile terminal according to an embodiment of the present invention. As shown in fig. 4, the method provided by this embodiment includes the following steps:
step 301, obtaining the distance of a shelter of the mobile terminal through a proximity sensor of the mobile terminal.
Step 302, obtaining the ambient light brightness of the mobile terminal through an ambient light sensor of the mobile terminal.
Wherein, the distance between the ambient light sensor and the loudspeaker of the mobile terminal is less than a second set distance, and the reason for the setting is as follows: the mobile terminal may be enabled to determine the occlusion detection result obtained from the ambient light sensor as the occlusion detection result of the speaker. The second set distance may be 0cm to 2cm excluding 0 cm. Generally, the speaker of the mobile terminal is arranged at the bottom of the mobile terminal, and the ambient light sensor can be arranged at the position, close to the speaker, of 0cm-2cm at the bottom of the mobile terminal.
The obtaining of the ambient light brightness of the mobile terminal may be obtaining an average value of the ambient light brightness in a set time period. The reason for this is: whether the mobile terminal is in the set shielding environment is determined according to the ambient light brightness in a period of time instead of the ambient light brightness in an instant or short time, so that the situation that the mobile terminal is mistakenly judged to be in the set shielding environment due to the fact that the ambient light brightness is smaller than the set light brightness because the user carelessly shields the mobile terminal can be avoided.
And 303, judging whether the distance is within a second set range and whether the ambient light brightness is smaller than the set light brightness, if so, executing a step 304, otherwise, skipping to execute the step 301 or the step 302. The second setting range is a preset distance range, and may be, for example, 0 to 0.5 m.
And 304, determining that the mobile terminal is in a set shielding environment.
And when the distance is within a second set range and the environmental light brightness is smaller than the set light brightness, determining that the mobile terminal is in a set shielding environment. Generally, when the mobile terminal is in a shielded state, the ambient light brightness is relatively dark, and if the average value of the ambient light brightness in a set time period is smaller than the set light brightness and the distance is within a second set range, it is determined that the mobile terminal is in a set shielded environment.
And 305, obtaining shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment.
And step 306, adjusting the audio playing volume according to the shielding degree information.
The method provided by the embodiment includes the steps that the distance between the mobile terminal and a shielding object is obtained through a proximity sensor of the mobile terminal, the motion state of the mobile terminal is obtained through an ambient light sensor of the mobile terminal, when the distance is detected to be within a second set range and the ambient light brightness is smaller than the set light brightness, the mobile terminal is determined to be in the set shielding environment, the audio playing volume is adjusted according to shielding program information of the shielding object, the playing volume of the mobile terminal can be reasonably controlled according to the shielding degree under the condition that the mobile terminal is shielded, and the mobile terminal can be accurately determined to be in the set shielding environment.
Fig. 5 is a flowchart illustrating a volume control method of another mobile terminal according to an embodiment of the present invention. As shown in fig. 5, the volume control method of the mobile terminal provided in this embodiment includes the following steps:
step 401, determining that the mobile terminal is in a set shielding environment.
The method for determining that the mobile terminal is in the set occlusion environment may be as provided in the foregoing embodiments, and specific implementation details may be as described above.
Step 402, transmitting ultrasonic waves to the shelter through an ultrasonic sensor transmitter of the mobile terminal.
Wherein the ultrasonic emitter can be arranged at a position close to the loudspeaker, for example, if the loudspeaker is arranged at the bottom of the mobile terminal, the ultrasonic emitter can be arranged at a position close to the loudspeaker by 0-2cm (excluding 0cm) at the bottom of the mobile terminal.
And step 403, determining the shielding degree information of the shielding object according to the intensity of the ultrasonic wave received by the ultrasonic sensor receiver and the time difference between the transmitted ultrasonic wave and the received ultrasonic wave.
The intensity of the reflected ultrasonic wave is larger, and the shielding degree of the shielding object is smaller; a longer time difference indicates less penetration of the barrier, e.g. a greater thickness of the barrier indicates a greater degree of barrier.
In one embodiment, the speaker of the mobile terminal may be used as an ultrasonic transmitter to transmit ultrasonic waves to the obstruction, and the microphone of the mobile terminal may be used as an ultrasonic receiver to receive the reflected ultrasonic waves.
And step 404, adjusting the audio playing volume according to the shielding degree information.
According to the method provided by the embodiment, the shielding degree information of the shielding object in the shielding environment is acquired through the ultrasonic sensor integrated with the mobile terminal, and the audio playing volume can be accurately and quickly adjusted according to the shielding degree.
Fig. 6 is a flowchart illustrating a volume control method of another mobile terminal according to an embodiment of the present invention. As shown in fig. 6, the volume control method of the mobile terminal provided in this embodiment includes the following steps:
step 501, determining that the mobile terminal is in a set shielding environment.
And 502, judging whether the distance between the shielding object and the mobile terminal is smaller than a second set distance, if so, executing step 503, otherwise, returning to execute step 502.
And step 503, controlling a vibration motor of the mobile terminal to generate vibration with a set frequency.
When the distance between the shielding object and the mobile terminal is smaller than the second set distance, the material of the shielding object can be detected by controlling the motor of the mobile terminal to generate vibration. Wherein, the value range of the second set distance can be 0cm-1 cm.
And 504, acquiring an acceleration sampling value generated by the vibration through an acceleration sensor of the mobile terminal, and/or acquiring a sound sampling value generated by the vibration through a sound sensor of the mobile terminal.
Wherein, the obtaining, by the acceleration sensor of the mobile terminal, the acceleration sample value generated by the vibration may include: and setting acceleration value sampling time, and acquiring an acceleration sampling value generated by vibration in the acceleration value sampling time through an acceleration sensor of the mobile terminal. The acceleration value sampling time may be set to 5 seconds.
The acquiring, by the sound sensor of the mobile terminal, the sound sample value generated by the vibration may include: the sound sensor of the mobile terminal is used for collecting sound generated by collision of the mobile terminal and the shielding object during vibration. The sound sensor may be replaced by a microphone of the mobile terminal.
And 505, determining the material type of the shielding object according to the acceleration sampling value and/or the sound sampling value.
Wherein, according to the acceleration sampling value, determining the material type of the obstruction may include: and carrying out spectrum analysis on the acceleration sampling value, and determining the material type of the shielding object according to the analysis result. The performing a spectrum analysis on the acceleration sample values may include: and carrying out fast Fourier transform on the acceleration sampling value, converting the time domain sampling value into a frequency domain sampling value, and carrying out spectral characteristic analysis. The type of the media material to which the obstruction belongs can be determined from the analysis.
The determining the material type of the obstruction according to the sound sampling value may include: and analyzing the sound spectrogram of the sound generated by the collision, and determining the type of the medium material to which the obstruction belongs according to the analysis result.
In addition, an acceleration sampling value generated by the vibration can be obtained through an acceleration sensor, and the hardness degree of a medium material to which the shielding object belongs can be determined according to the acceleration sampling value, for example, the shielding object can be determined to be a hard material such as a wooden desk and a stone or a soft material such as clothes and bags through performing spectrum analysis on the acceleration sampling value; then, a sound sampling value generated by the vibration is obtained through a sound sensor, and medium materials with similar hardness degrees are distinguished according to the sound sampling value, for example, the material of the shielding object can be determined to be a wood desk or a stone through analyzing a sound frequency spectrum.
When the sheltering object is clothes, the envelope curve of the acceleration frequency domain analysis graph and the frequency impact response are stronger than those of wood materials or stones. For the low frequency stage, it has been found that the frequency values on the soft dielectric material have already tended to be 0, whereas the frequency values of the hard dielectric material have had non-zero values present. Therefore, the clothes can be distinguished from the wood desk and stones through the frequency; through the sound of mobile terminal when gathering the vibration from the sound sensor who takes to carry out the analysis of sound spectrogram to this audio frequency, can know, the response when shelter produces frequency impulse response ratio wooden material when being the stone material is strong, when sound vibration frequency was about 200Hz about, the audio frequency amplitude on wooden material surface was less than the stone material, consequently alright come to distinguish wooden material and stone system material through setting up the frequency threshold value.
And step 506, determining the shielding degree information of the shielding object according to the material type of the shielding object.
For example, the shielding degree of the shielding object can be determined to be a when the shielding object is made of stone, b when the shielding object is made of wooden desk, and c when the shielding object is made of clothes, wherein the shielding degree is a > the shielding degree b > the shielding degree c.
And step 507, adjusting the audio playing volume according to the shielding degree information.
For example, the volume adjustment value a 'may be determined according to the occlusion degree a, the volume adjustment value b' may be determined according to the occlusion degree b, and the volume adjustment value c 'may be determined according to the occlusion degree c, where the volume adjustment value a' > the volume adjustment value b '> the volume adjustment value c'.
The method provided by this embodiment controls the vibration motor of the mobile terminal to generate vibration with a set frequency when the distance between the shielding object and the mobile terminal is smaller than a second set distance after the mobile terminal is determined to be in the set shielding environment, acquiring an acceleration sampling value generated by the vibration through an acceleration sensor and/or acquiring a sound sampling value generated by the vibration through a sound sensor, determining the material type of the shielding object according to the acceleration sampling value and/or the sound sampling value, determining the shielding degree information of the shielding object according to the material type of the shielding object, adjusting the audio playing volume according to the shielding degree information, the method can accurately acquire the material of the shelter, further determine the shelter degree information of the shelter, and reasonably control the playing volume of the mobile terminal according to the shelter degree information.
Fig. 7 is a flowchart illustrating a volume control method of another mobile terminal according to an embodiment of the present invention. As shown in fig. 7, the volume control method of the mobile terminal provided in this embodiment includes the following steps:
step 601, obtaining the distance between the mobile terminal and the shelter through a proximity sensor of the mobile terminal.
Step 602, acquiring a motion state of the mobile terminal through an acceleration sensor of the mobile terminal.
Step 603, determining whether the distance is within a first set range and the motion state is a static state, if so, executing step 604, otherwise, skipping to execute step 601 or step 602.
And step 604, determining that the mobile terminal is in a set shielding environment.
Step 605, transmitting the ultrasonic wave to the shelter through the ultrasonic sensor transmitter of the mobile terminal.
And 606, determining the shielding degree information of the shielding object according to the intensity of the ultrasonic wave reflected back received by the ultrasonic sensor receiver and the time difference between the transmitted ultrasonic wave and the received ultrasonic wave reflected back.
And step 607, adjusting the audio playing volume according to the shielding degree information.
In the method provided by this embodiment, when the distance between the mobile terminal and the shielding object, which is obtained by using the proximity sensor, is within the first setting range and the motion state of the mobile terminal, which is obtained by using the acceleration sensor, is a static state, it is determined that the mobile terminal is in the set shielding environment, the shielding degree information of the shielding object is obtained by using the ultrasonic sensor of the mobile terminal, and the audio playing volume is adjusted according to the shielding degree information, so that the playing volume of the mobile terminal can be reasonably controlled according to the shielding degree when the mobile terminal is shielded.
Fig. 8 is a schematic structural diagram of a volume control device of a mobile terminal according to an embodiment of the present invention, where the volume control device may be implemented by software and/or hardware and integrated in the mobile terminal. As shown in fig. 8, the apparatus includes an occlusion environment determination module 71, an occlusion degree information acquisition module 72, and an audio playback volume adjustment module 73.
The occlusion environment determining module 71 is configured to determine that the mobile terminal is in a set occlusion environment;
the shielding degree information acquiring module 72 is configured to acquire shielding degree information of a shielding object, where the shielding object is an object that shields the mobile terminal in the set shielding environment;
and the audio playing volume adjusting module 73 is configured to adjust the audio playing volume according to the shielding degree information.
The device that this embodiment provided acquires the degree of shelter from information through confirming that mobile terminal is in setting for sheltering from the environment, shelter from the thing and do set for sheltering from in the environment mobile terminal's object, according to shelter from degree information adjustment audio playback volume, can be in the play volume of the reasonable degree of sheltering from control mobile terminal according to sheltering from under the condition that sheltered from at mobile terminal.
On the basis of the foregoing embodiment, the occlusion environment determination module is specifically configured to:
acquiring the distance between a mobile terminal and a shelter through a proximity sensor of the mobile terminal;
acquiring a motion state of a mobile terminal through an acceleration sensor of the mobile terminal;
and determining that the mobile terminal is in a set shielding environment according to the distance and the motion state.
On the basis of the above embodiment, the determining, by the occlusion environment determining module, that the mobile terminal is in the set occlusion environment according to the distance and the motion state includes:
and when the distance is detected to be within a set range and the motion state is a static state, determining that the mobile terminal is in a set shielding environment.
On the basis of the above embodiment, the acquiring of the shielding degree information of the shielding object by the shielding degree information acquiring module includes:
transmitting ultrasonic waves to the shelter through an ultrasonic sensor transmitter of the mobile terminal;
and determining the shielding degree information of the shielding object according to the intensity of the ultrasonic wave received by the ultrasonic sensor receiver and the time difference between the transmitted ultrasonic wave and the received reflected ultrasonic wave.
On the basis of the above embodiment, the distance between the proximity sensor and the speaker of the mobile terminal is smaller than a first set distance, so that the mobile terminal determines the occlusion detection result of the proximity sensor as the occlusion detection result of the speaker.
On the basis of the above embodiment, the occlusion degree information obtaining module is specifically configured to:
when the distance between the shielding object and the mobile terminal is smaller than a second set distance, controlling a vibration motor of the mobile terminal to generate vibration with a set frequency;
acquiring an acceleration sampling value generated by the vibration through an acceleration sensor of the mobile terminal, and/or acquiring a sound sampling value generated by the vibration through a sound sensor of the mobile terminal;
determining the material type of the shielding object according to the acceleration sampling value and/or the sound sampling value;
and determining the shielding degree information of the shielding object according to the material type of the shielding object.
On the basis of the above embodiment, the audio playback volume adjustment module is specifically configured to:
acquiring a preset corresponding relation table of the shielding degree and the audio playing volume, and determining a volume adjustment value corresponding to the shielding degree information according to the preset corresponding relation table;
and increasing the current audio playing volume by the volume adjustment value to serve as the adjusted audio playing volume.
An embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a volume control method of a mobile terminal, the method including:
determining that the mobile terminal is in a set shielding environment;
obtaining shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment;
and adjusting the audio playing volume according to the shielding degree information.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present invention is not limited to the volume control operation described above, and may also perform related operations in the volume control method of the mobile terminal provided in any embodiments of the present invention.
The embodiment of the invention provides a mobile terminal, which can comprise the volume control device of the mobile terminal provided by any embodiment of the invention. Fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 9, the mobile terminal may include: the proximity sensor is used for acquiring the distance between the mobile terminal and the shelter; the acceleration sensor is used for acquiring the motion state of the mobile terminal; and/or the ambient light sensor is used for collecting the ambient light brightness of the mobile terminal; a memory 801, a Central Processing Unit (CPU) 802 (also called a processor, hereinafter referred to as CPU), and the memory 801, which are used for storing executable program codes; the processor 802 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 801, for performing: determining that the mobile terminal is in a set shielding environment according to the distance and the motion state and/or the distance and the ambient light brightness; obtaining shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment; and adjusting the audio playing volume according to the shielding degree information.
The mobile terminal may further include: the ultrasonic sensor transmitter is used for transmitting ultrasonic waves to the shelter; the ultrasonic sensor receiver is used for receiving the reflected ultrasonic waves; and the processor is also used for determining the shielding degree information of the shielding object according to the intensity of the reflected ultrasonic wave and the time difference between the transmitted ultrasonic wave and the received reflected ultrasonic wave.
The mobile terminal further includes: the vibration motor is used for generating vibration with set frequency when the distance between the shelter and the mobile terminal is less than a third set distance; the sound sensor is used for collecting a sound sampling value generated by the vibration; the acceleration sensor is also used for collecting an acceleration sampling value generated by the vibration; the processor is further used for acquiring the acceleration sampling value and/or the sound sampling value; determining the material type of the shielding object according to the acceleration sampling value and/or the sound sampling value; and determining the shielding degree information of the shielding object according to the material type of the shielding object.
The mobile terminal further includes: peripheral interface 803, RF (Radio Frequency) circuitry 805, audio circuitry 806, speakers 811, power management chip 808, input/output (I/O) subsystem 809, touch screen 812, other input/control devices 810, and external port 804, which communicate over one or more communication buses or signal lines 807.
It should be understood that the illustrated mobile terminal 800 is merely one example of a mobile terminal and that the mobile terminal 800 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes the mobile terminal for controlling volume according to the embodiment in detail, and the mobile terminal is a mobile phone as an example.
A memory 801, the memory 801 being accessible by the CPU802, the peripheral interface 803, and the like, the memory 801 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 803, said peripheral interface 803 may connect input and output peripherals of the device to the CPU502 and the memory 801.
I/O subsystem 809, which I/O subsystem 809 may connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803. The I/O subsystem 809 may include a display controller 8091 and one or more input controllers 8092 for controlling other input/control devices 810. Where one or more input controllers 8092 receive electrical signals from or transmit electrical signals to other input/control devices 810, other input/control devices 810 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 8092 may be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 812, which touch screen 812 is an input interface and an output interface between the user terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 8091 in the I/O subsystem 809 receives electrical signals from the touch screen 812 or sends electrical signals to the touch screen 812. The touch screen 812 detects a contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 812, that is, implements a human-computer interaction, and the user interface object displayed on the touch screen 812 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 805 is mainly used to establish communication between the mobile phone and the wireless network (i.e., the network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 805 receives and transmits RF signals, also referred to as electromagnetic signals, which the RF circuitry 805 converts to or from electrical signals, and communicates with communication networks and other devices over. RF circuitry 805 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 806 is mainly used to receive audio data from the peripheral interface 803, convert the audio data into an electric signal, and transmit the electric signal to the speaker 811.
The speaker 811 is used to convert the voice signal received by the handset from the wireless network through the RF circuit 805 into sound and play the sound to the user.
And a power management chip 808 for supplying power and managing power to the hardware connected to the CPU802, the I/O subsystem, and the peripheral interface 803.
The mobile terminal provided by the embodiment of the invention can execute the method provided by any embodiment of the invention, and has a functional module corresponding to the execution method.
The foregoing is considered as illustrative of the preferred embodiments of the invention and technical principles employed. The present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in more detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the claims.

Claims (11)

1. A volume control method of a mobile terminal, comprising:
determining that the mobile terminal is in a set shielding environment;
the determining that the mobile terminal is in the set shielding environment comprises:
acquiring the distance between a mobile terminal and a shelter through a proximity sensor of the mobile terminal;
acquiring a motion state of a mobile terminal through an acceleration sensor of the mobile terminal;
if the distance is detected to be within a first set range and the motion state is a static state, determining that the mobile terminal is in a set shielding environment;
obtaining shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment, and the shielding degree information is related to the distance between the shielding object and the mobile terminal and the material and thickness of the shielding object;
the acquiring the shielding degree information of the shielding object comprises the following steps:
when the distance between the shielding object and the mobile terminal is smaller than a third set distance, controlling a vibration motor of the mobile terminal to generate vibration with a set frequency;
acquiring an acceleration sampling value generated by the vibration through an acceleration sensor of the mobile terminal, and/or acquiring a sound sampling value generated by the vibration through a sound sensor of the mobile terminal;
determining the material type of the shielding object according to the acceleration sampling value and/or the sound sampling value;
determining the shielding degree information of the shielding object according to the material type of the shielding object;
and adjusting the audio playing volume according to the shielding degree information.
2. The method of claim 1, wherein determining that the mobile terminal is in the set occlusion environment comprises:
the method comprises the steps that the distance of a shelter of the mobile terminal is obtained through a proximity sensor of the mobile terminal;
acquiring the ambient light brightness of the mobile terminal through an ambient light sensor of the mobile terminal;
and if the distance is detected to be within a second set range and the environmental light brightness is smaller than the set light brightness, determining that the mobile terminal is in the set shielding environment.
3. The method of claim 1, wherein the obtaining occlusion degree information of an occlusion comprises:
transmitting ultrasonic waves to the shelter through an ultrasonic sensor transmitter of the mobile terminal;
and determining the shielding degree information of the shielding object according to the intensity of the ultrasonic wave received by the ultrasonic sensor receiver and the time difference between the transmitted ultrasonic wave and the received reflected ultrasonic wave.
4. The method according to claim 1, wherein the proximity sensor is located at a distance smaller than a first set distance from a speaker of the mobile terminal, so that the mobile terminal determines an occlusion detection result obtained from the proximity sensor as an occlusion detection result of the speaker.
5. The method according to claim 2, wherein the distance between the ambient light sensor and the speaker of the mobile terminal is less than a second set distance, so that the mobile terminal determines the occlusion detection result obtained by the ambient light sensor as the occlusion detection result of the speaker.
6. The method according to any one of claims 1-5, wherein the adjusting the audio playback volume according to the occlusion degree information comprises:
acquiring a preset corresponding relation table of the shielding degree and the audio playing volume, and determining a volume adjustment value corresponding to the shielding degree information according to the preset corresponding relation table;
and increasing the current audio playing volume by the volume adjustment value to serve as the adjusted audio playing volume.
7. A volume control apparatus of a mobile terminal, comprising:
the shielding environment determining module is used for determining that the mobile terminal is in a set shielding environment;
the occlusion environment determination module is specifically configured to:
acquiring the distance between a mobile terminal and a shelter through a proximity sensor of the mobile terminal;
acquiring a motion state of a mobile terminal through an acceleration sensor of the mobile terminal;
if the distance is detected to be within a first set range and the motion state is a static state, determining that the mobile terminal is in a set shielding environment;
the shielding degree information acquisition module is used for acquiring shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment, and the shielding degree information is related to the distance between the shielding object and the mobile terminal and the material and thickness of the shielding object;
the shielding degree information acquisition module is specifically used for controlling a vibration motor of the mobile terminal to generate vibration with a set frequency when the distance between the shielding object and the mobile terminal is smaller than a third set distance;
acquiring an acceleration sampling value generated by the vibration through an acceleration sensor of the mobile terminal, and/or acquiring a sound sampling value generated by the vibration through a sound sensor of the mobile terminal;
determining the material type of the shielding object according to the acceleration sampling value and/or the sound sampling value;
determining the shielding degree information of the shielding object according to the material type of the shielding object;
and the audio playing volume adjusting module is used for adjusting the audio playing volume according to the shielding degree information.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements a volume control method of a mobile terminal according to any one of claims 1-6.
9. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the volume control method of the mobile terminal according to any one of claims 1-6 when executing the computer program.
10. A mobile terminal, comprising:
the proximity sensor is used for acquiring the distance between the mobile terminal and the shelter;
the acceleration sensor is used for acquiring the motion state of the mobile terminal; and/or the ambient light sensor is used for collecting the ambient light brightness of the mobile terminal;
a memory for storing said distance and said motion state, and/or said distance and said ambient light level;
the processor is used for determining that the mobile terminal is in a set shielding environment according to the distance and the motion state and/or the distance and the environment light brightness;
the determining that the mobile terminal is in the set shielding environment comprises:
acquiring the distance between a mobile terminal and a shelter through a proximity sensor of the mobile terminal;
acquiring a motion state of a mobile terminal through an acceleration sensor of the mobile terminal;
if the distance is detected to be within a first set range and the motion state is a static state, determining that the mobile terminal is in a set shielding environment;
obtaining shielding degree information of a shielding object, wherein the shielding object is an object which shields the mobile terminal in the set shielding environment, and the shielding degree information is related to the distance between the shielding object and the mobile terminal and the material and thickness of the shielding object;
the vibration motor is used for generating vibration with set frequency when the distance between the shelter and the mobile terminal is less than a third set distance;
the sound sensor is used for collecting a sound sampling value generated by the vibration;
the acceleration sensor is also used for collecting an acceleration sampling value generated by the vibration;
the processor is further used for acquiring the acceleration sampling value and/or the sound sampling value; determining the material type of the shielding object according to the acceleration sampling value and/or the sound sampling value; determining the shielding degree information of the shielding object according to the material type of the shielding object;
and adjusting the audio playing volume according to the shielding degree information.
11. The mobile terminal of claim 10, further comprising:
the ultrasonic sensor transmitter is used for transmitting ultrasonic waves to the shelter;
the ultrasonic sensor receiver is used for receiving the reflected ultrasonic waves;
and the processor is also used for determining the shielding degree information of the shielding object according to the intensity of the reflected ultrasonic wave and the time difference between the transmitted ultrasonic wave and the received reflected ultrasonic wave.
CN201710710678.2A 2017-08-18 2017-08-18 Volume control method and device of mobile terminal, storage medium and mobile terminal Active CN107506167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710710678.2A CN107506167B (en) 2017-08-18 2017-08-18 Volume control method and device of mobile terminal, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710710678.2A CN107506167B (en) 2017-08-18 2017-08-18 Volume control method and device of mobile terminal, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107506167A CN107506167A (en) 2017-12-22
CN107506167B true CN107506167B (en) 2020-06-30

Family

ID=60692062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710710678.2A Active CN107506167B (en) 2017-08-18 2017-08-18 Volume control method and device of mobile terminal, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107506167B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110392298B (en) * 2018-04-23 2021-09-28 腾讯科技(深圳)有限公司 Volume adjusting method, device, equipment and medium
CN108650585B (en) * 2018-06-01 2021-07-16 联想(北京)有限公司 Adjusting method and electronic equipment
CN108958699B (en) * 2018-07-24 2021-12-07 Oppo(重庆)智能科技有限公司 Voice pickup method and related product
CN109547590A (en) * 2018-10-15 2019-03-29 华为技术有限公司 The sound adjusting method of shell structure, mobile terminal and mobile terminal
TW202021377A (en) * 2018-11-23 2020-06-01 廣達電腦股份有限公司 Environmental detection system and sound control method using the same
CN111327754A (en) * 2018-12-13 2020-06-23 青岛海尔多媒体有限公司 Equipment sound optimization method and mobile terminal
CN110113068B (en) * 2019-04-29 2022-12-06 深圳市迈悦科技有限公司 Sound playback mechanism, method, device and computer readable storage medium
CN111327749A (en) * 2020-02-28 2020-06-23 维沃移动通信有限公司 Volume control method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638612A (en) * 2012-02-23 2012-08-15 华为终端有限公司 Method and device for ending conversation
CN105100408A (en) * 2015-05-26 2015-11-25 努比亚技术有限公司 Method and device for controlling a mobile terminal
CN106231103A (en) * 2016-08-03 2016-12-14 Tcl通讯(宁波)有限公司 A kind of method and system realizing volume and brightness regulation based on Proximity Sensor

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070120236A (en) * 2006-06-19 2007-12-24 삼성전자주식회사 Apparatus and method for setting of state using detecting the distance between terminal and user in portable communication terminal
CN103137099B (en) * 2011-11-28 2015-07-29 联想(北京)有限公司 Based on screen luminance adjustment method and the electronic equipment of surround lighting detecting sensor
US9431980B2 (en) * 2012-01-30 2016-08-30 Echostar Ukraine Llc Apparatus, systems and methods for adjusting output audio volume based on user location
CN106486127A (en) * 2015-08-25 2017-03-08 中兴通讯股份有限公司 A kind of method of speech recognition parameter adjust automatically, device and mobile terminal
CN105204620B (en) * 2015-08-25 2018-09-14 厦门美图移动科技有限公司 It is a kind of to adjust the method and device of screen intensity, mobile terminal
CN105572587A (en) * 2015-12-08 2016-05-11 惠州Tcl移动通信有限公司 Mobile terminal motor automatic detection method and system
CN106331371A (en) * 2016-09-14 2017-01-11 维沃移动通信有限公司 Volume adjustment method and mobile terminal
CN106850966A (en) * 2016-12-28 2017-06-13 努比亚技术有限公司 A kind of method for realizing volume control, device and mobile terminal
CN106911873B (en) * 2017-01-20 2020-05-12 奇酷互联网络科技(深圳)有限公司 Method and device for optimizing motor and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638612A (en) * 2012-02-23 2012-08-15 华为终端有限公司 Method and device for ending conversation
CN105100408A (en) * 2015-05-26 2015-11-25 努比亚技术有限公司 Method and device for controlling a mobile terminal
CN106231103A (en) * 2016-08-03 2016-12-14 Tcl通讯(宁波)有限公司 A kind of method and system realizing volume and brightness regulation based on Proximity Sensor

Also Published As

Publication number Publication date
CN107506167A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN107506167B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
US11251763B2 (en) Audio signal adjustment method, storage medium, and terminal
US10466961B2 (en) Method for processing audio signal and related products
CN107562405B (en) Audio playing control method and device, storage medium and mobile terminal
US9019131B2 (en) Terminal and method for executing function using human body communication
CN107371102B (en) Audio playing volume control method and device, storage medium and mobile terminal
JP6505252B2 (en) Method and apparatus for processing audio signals
CN108668009B (en) Input operation control method, device, terminal, earphone and readable storage medium
CN103513769B (en) Method, device and mobile terminal for setting key function
US20090124286A1 (en) Portable hands-free device with sensor
US10628119B2 (en) Sound effect processing method and mobile terminal
CN107483735A (en) Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
CN108886653A (en) A kind of earphone sound channel control method, relevant device and system
CN108449502B (en) Voice call data processing method and device, storage medium and mobile terminal
WO2019033984A1 (en) Volume adjusting method, device, terminal, and storage medium
WO2017215654A1 (en) Method for preventing abrupt change of sound effect, and terminal
CN108769401B (en) Signal detection method and related product
CN108449497B (en) Voice call data processing method and device, storage medium and mobile terminal
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
CN108540659B (en) Method, terminal and computer readable storage medium for reducing TDD noise influence
CN110730946B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
CN106126170B (en) Sound effect setting method of terminal and terminal
CN108600906B (en) Playing control method and device for multiple sound boxes
CN106231499A (en) A kind of audio Enhancement Method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant