WO2019033435A1 - 音量调节方法、装置、移动终端及存储介质 - Google Patents

音量调节方法、装置、移动终端及存储介质 Download PDF

Info

Publication number
WO2019033435A1
WO2019033435A1 PCT/CN2017/098168 CN2017098168W WO2019033435A1 WO 2019033435 A1 WO2019033435 A1 WO 2019033435A1 CN 2017098168 W CN2017098168 W CN 2017098168W WO 2019033435 A1 WO2019033435 A1 WO 2019033435A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume adjustment
impedance value
mobile terminal
adjustment information
volume
Prior art date
Application number
PCT/CN2017/098168
Other languages
English (en)
French (fr)
Inventor
严锋贵
许钊铵
甘高亭
郑志勇
杨海
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to PCT/CN2017/098168 priority Critical patent/WO2019033435A1/zh
Priority to CN201780091852.8A priority patent/CN110731087B/zh
Publication of WO2019033435A1 publication Critical patent/WO2019033435A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • 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/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Definitions

  • Embodiments of the present invention relate to computer technologies, and in particular, to a volume adjustment method, apparatus, mobile terminal, and storage medium.
  • the invention provides a volume adjustment method, device, mobile terminal and storage medium, which improves the volume adjustment efficiency and reduces the power consumption of the mobile terminal.
  • an embodiment of the present invention provides a volume adjustment method, including:
  • an embodiment of the present invention further provides a volume adjustment apparatus, including:
  • An impedance value detecting module configured to detect an impedance value of a speaker installed in the mobile terminal
  • a volume adjustment information determining module configured to determine corresponding volume adjustment information according to the impedance value
  • a volume adjustment module configured to adjust a volume of the mobile terminal according to the volume adjustment information.
  • an embodiment of the present invention further provides a mobile terminal, including: a processor, a memory, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program, such as The volume adjustment method described in the embodiment of the invention.
  • an embodiment of the present invention further provides a storage medium including executable instructions of a mobile terminal, where the executable instructions of the mobile terminal, when executed by a mobile terminal processor, are used to perform volume adjustment according to an embodiment of the present invention. method.
  • the technical solution provided by the embodiment of the present invention detects the impedance value of the speaker of the mobile terminal, and Determining the preset volume adjustment information according to the impedance value, and adjusting the volume of the mobile terminal according to the adjustment information.
  • FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure.
  • FIG. 6 is a structural block diagram of a volume adjustment apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a volume adjustment method according to an embodiment of the present invention.
  • the method may be implemented by a volume adjustment apparatus provided by an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware, and may be integrated into a mobile terminal. in.
  • the method includes:
  • the speakers are often arranged inside the mobile terminal, and the configuration and configuration positions of different mobile terminals are different.
  • the working principle of the speaker of the mobile terminal is substantially the same, and both are elements for converting an electrical signal into a sound signal for reproduction.
  • the most widely used is the electric speaker, which consists of It consists of a diaphragm, a voice coil, a permanent magnet, and a bracket.
  • the voice coil of the speaker When the voice coil of the speaker is connected to the audio current, the voice coil generates an alternating magnetic field under the action of current, and the permanent magnet also produces a constant magnetic field of constant magnitude and direction. Since the magnitude and direction of the magnetic field generated by the voice coil are constantly changing with the change of the audio current, the interaction of the two magnetic fields causes the voice coil to move perpendicular to the direction of the current in the voice coil. Since the voice coil is connected to the diaphragm, Thereby, the voice coil drives the diaphragm to vibrate, and the vibrating surface of the air causes the vibration surface of the air to sound.
  • the impedance value of the speaker directly affects the current of the voice coil inside the speaker, so the detection of the impedance value of the speaker is particularly important.
  • the impedance value of the speaker can be calculated by adding the appropriate voltage and detecting the current. It is also possible to determine the impedance value of the speaker by detecting the difference between the volume produced by the speaker and the theoretical value when a fixed current is input to the speaker.
  • the impedance value of the speaker is composed of the internal resistance of the electrical component, such as the DC impedance of the voice coil, the impedance generated by the inductance, and the impedance generated by the counter electromotive force. Therefore, in testing the impedance value of the speaker of the mobile terminal, in order to avoid the impedance generated by the inductance at different frequencies and the impedance generated by the counter electromotive force, different impedance values are exhibited, and the impedance value at the speaker can be obtained. When testing, use a fixed frequency or fixed frequency audio file for testing. This can make the detection result of the impedance value of the speaker more accurate and reduce the interference of other factors.
  • the volume adjustment information may be a target volume information. For example, according to the current impedance value, it may be determined that the target volume may be 40 decibels, and the volume is 40 decibels as a target volume.
  • the volume adjustment information may also be an adjustment amount. For example, according to the current impedance value, the volume of the mobile terminal may be increased by 10 decibels accordingly. For example, if the volume is 30 decibels, the volume may be increased by 10 decibels to 40 decibels, for example, the original volume. For 50 decibels, you can increase 10 decibels to 60 decibels. It is also possible to modify the audio data in the audio and video file to increase or decrease its amplitude.
  • the volume adjustment level corresponding to the detected speaker is determined according to the detected impedance value of the speaker, and the volume adjustment level corresponding to the speaker is determined according to the theoretical impedance value of the speaker. If the current impedance value of the speaker is 6000 milliohms, and the theoretical impedance value of the speaker is 5000 milliohms, the current that affects the voice coil must reduce the sound, and the volume adjustment information can increase the original output volume value by 25%. The output volume value can be close to the original set volume value.
  • an adaptive adjustment is made to the volume of the mobile terminal. If the volume adjustment information is a certain target volume value, the volume level corresponding to the volume may be adjusted. If the volume adjustment information is a certain adjustment value, the current volume level is adjusted accordingly, for example, the volume adjustment information is for the audio. An adjustment parameter of the data, the corresponding adjustment of the amplitude of the audio data.
  • the impedance value of the speaker of the mobile terminal is detected, and the preset volume adjustment information is determined according to the impedance value, and then the volume of the mobile terminal is adjusted according to the adjustment information.
  • the volume adjustment can also be performed according to the original volume level of the mobile terminal, except that the current input to the voice coil corresponding to each volume level changes, and the user's original volume adjustment habit can be retained.
  • the detecting the impedance value of the speaker of the mobile terminal comprises: detecting the impedance value of the speaker installed in the mobile terminal through the power amplifier chip when the audio test file is played.
  • the audio test file can be configured in the memory of the mobile terminal when the mobile terminal is shipped from the factory, or can be obtained by downloading, sharing, and the like.
  • the impedance value of the speaker of the mobile terminal is detected by the power amplifier chip. It is easy to operate and the detection value is accurate by detecting the impedance value of the speaker through the power amplifier chip, which improves the applicability of the technical solution.
  • FIG. 2 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention.
  • the volume adjustment method is further optimized based on the foregoing technical solution.
  • the volume adjustment method includes:
  • the audio test file may be a constant frequency band or a constant frequency band range, and a file of constant amplitude or constant amplitude range.
  • the impedance value of the speaker can be detected by the power amplifier chip, wherein the constant current source test and the constant voltage source test can be used for detecting the power amplifier chip, and other test methods capable of obtaining the speaker impedance value can be used. .
  • the historical impedance value may be an impedance value when the mobile terminal is just used, or may be a previously detected impedance value after using for a period of time. Because the impedance of the speaker will become larger and larger with the use of the mobile terminal, the change may be different for different devices.
  • the method for detecting the impedance value of the speaker by using the power amplifier chip provided by the embodiment can determine the aging condition of the current speaker according to the detection data, and provide data support for testing the performance of the mobile terminal.
  • the embodiment of the present invention performs multiple detections on the same audio test file, which may be periodic detection or irregular detection. Recording the test result of the impedance value of the speaker after each test, and extracting the impedance value obtained before the preset duration, wherein the preset duration may be 10 days or 30 days, etc., a relatively long time, This setting can get more obvious results. It should be noted that if the current test result of the current mobile terminal does not exceed the preset time interval, the first test result may prevail.
  • the test result of each test can be recorded in a record of the impedance value detection result, and can be stored in the memory of the mobile terminal. While recording the impedance value detection result, the impedance value test date and time can be recorded, and the impedance value test can also be detected. frequency.
  • S201 and S202 of the present technical solution are not absolute in the timing of occurrence, and the operation of S202 may be performed first and then S201 may be performed, or two steps may be performed simultaneously.
  • the volume adjustment information corresponding to the current impedance value may be determined according to the difference between the historical impedance value and the currently detected impedance value, or a multiple of the phase difference, for example, the historical impedance value is 5000 milliohms, and the current impedance value is 5350. In milliohms, the volume adjustment information can be determined by using the difference between the two or by using the ratio of the two.
  • the technical solution provides a method for determining volume adjustment information by acquiring historical impedance values and current impedance values on the basis of the above technical solutions. This method can provide a calculation basis for volume adjustment, and the adjustment result is more accurate.
  • FIG. 3 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention.
  • the volume adjustment method is further optimized based on the foregoing technical solution.
  • the volume adjustment method includes:
  • the standard impedance value may be the original speaker impedance value, or the impedance value of the speaker at the factory, the marked impedance value may be detected and stored in the memory of the mobile terminal before the mobile terminal leaves the factory, or may be according to the model
  • the impedance value of the mobile terminal speaker determines an average value as the impedance standard value, and may also be an impedance value measured by the user for a certain period of time using the mobile terminal as a standard impedance value.
  • the standard impedance value can be determined when the audio test file is played. The advantage of this setup is that you can control the variables to make the test results more accurate.
  • the volume adjustment information may also be determined by using the difference value and the ratio method in the above technical solution.
  • the technical solution provides a method for determining the volume adjustment information according to the standard impedance value and the current impedance value on the basis of the above technical solutions.
  • the advantage of the setting is that the calculation using the standard impedance value and the currently detected impedance value is more accurate. It more clearly reflects the change of the impedance value of the speaker during use, which makes the volume adjustment of the mobile terminal more accurate.
  • FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention.
  • the volume adjustment method is further optimized based on the foregoing technical solution.
  • the volume adjustment method includes:
  • the audio and video files include audio files and video files, and may also include other files that can be sounded.
  • the method for detecting the start of playing the audio and video file by the mobile terminal may be a method of reading the progress of the mobile terminal, reading interface information, or the like, or detecting an operation instruction of the user.
  • the impedance value of the speaker of the mobile terminal is detected by the power amplifier chip.
  • S402. Determine an amplitude curve of the currently played audio and video.
  • the amplitude curve may be a curve in which the amplitude changes with time, or may be a curve in which the decibel value changes with time.
  • the amplitude curve can be decoded internally by the audio and video file to obtain an audio digital signal, and the digital signal is sampled to obtain an amplitude value, and then the determined amplitude curve.
  • the amplitude curve can be divided into three stages according to the high, medium and low amplitudes, each stage
  • the demarcation can be determined as appropriate, and this embodiment does not limit this.
  • Corresponding volume adjustment information is determined according to the amplitude curve and the impedance value, and the corresponding volume adjustment information may be determined according to the phase of the amplitude curve and the impedance value.
  • the amplitude curve is a low-amplitude phase, which can be regarded as a noise signal, which is suppressed.
  • the amplitude curve is a mid-amplitude phase, and an appropriate amplitude coefficient can be made in combination with the impedance value, such as 0.8-1.2 times scaling, amplitude If the curve is in the high amplitude phase, the amplitude coefficient can be reduced, such as 0.4-0.8 times scaling.
  • Corresponding volume adjustment information is determined according to the amplitude curve and the impedance value, and the corresponding volume adjustment information may be determined according to the ratio of the high amplitude phase to the low amplitude phase in the amplitude curve and combined with the impedance value.
  • the ratio of the high amplitude phase to the low amplitude phase can represent the average level of the audio amplitude of the current audio and video file. If it is low, it can be multiplied by a coefficient greater than one. If it is too high, it can be multiplied by a coefficient less than one. .
  • the technical solution provides a method for determining the volume adjustment information by using the amplitude curve of the audio and video file and the impedance value of the speaker on the basis of the above technical solutions.
  • the method increases the volume adjustment information by the impedance value.
  • the amplitude curve of the played audio and video file is used as reference information, so that the volume adjustment information adjusts the volume more in line with the user's demand for volume.
  • determining the corresponding volume adjustment information according to the amplitude curve and the impedance value comprises: determining, according to the amplitude curve, the impedance value, and a preset adjustment table, Volume adjustment information.
  • the preset adjustment table may be a correspondence table between the volume adjustment information and the amplitude curve and the impedance value.
  • FIG. 5 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention.
  • the volume adjustment method is further optimized based on the foregoing technical solution.
  • the volume adjustment method includes:
  • the amplitude curve of the sound source played by the mobile terminal may be the audio track currently played by the mobile terminal.
  • the amplitude curve of the sound source is adjusted according to the volume adjustment information, and the volume adjustment information may be set to an adjustment coefficient, which may be a coefficient of multiplication or addition with the amplitude in the amplitude curve of the sound source.
  • the volume adjustment information is 1.2, which can be adjusted by multiplying all the amplitudes by 1.2 times in the amplitude curve.
  • S504 Adjust a current volume value of the mobile terminal according to a target volume value in the volume adjustment information.
  • the volume adjustment information may include a target volume value, which is a target value for adjusting the volume according to the volume adjustment information. If the target volume value included in the volume adjustment information is 12 levels, the volume level of the mobile terminal can be adjusted to 12 levels. If the target volume value included in the volume adjustment information is 80 decibels, the volume level of the mobile terminal can be adjusted to 80 decibels.
  • the volume adjustment information may include a volume change value, that is, an adjustment value that adjusts the volume according to the volume adjustment information. If the volume change value included in the volume adjustment information is +2 level, the volume level of the mobile terminal can be increased by 2 levels from the current level. If the target volume value included in the volume adjustment information is -3, the volume level of the mobile terminal can be reduced by 3 levels from the current level.
  • a volume change value that is, an adjustment value that adjusts the volume according to the volume adjustment information.
  • the technical solution provides three ways for adjusting the volume on the basis of the above technical solutions. According to the above three methods, the volume of the mobile terminal can be quickly and accurately adjusted, so that the speaker of the mobile terminal plays the sound. The volume is more accurate and improves the user experience.
  • FIG. 6 is a structural block diagram of a volume adjustment apparatus according to an embodiment of the present invention.
  • the apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and the volume of the mobile terminal may be adjusted by performing a volume adjustment method.
  • the device includes:
  • the impedance value detecting module 601 is configured to detect an impedance value of the speaker installed in the mobile terminal;
  • the volume adjustment information determining module 602 is configured to determine corresponding volume adjustment information according to the impedance value
  • a volume adjustment module 603 configured to enter a volume of the mobile terminal according to the volume adjustment information Line adjustment.
  • the impedance value of the speaker of the mobile terminal is detected, and the preset volume adjustment information is determined according to the impedance value, and then the volume of the mobile terminal is adjusted according to the adjustment information.
  • the impedance value detecting module 601 includes:
  • the first power amplifier chip detecting unit is configured to detect, when the audio test file is played, the impedance value of the speaker installed in the mobile terminal through the power amplifier chip.
  • the device further includes:
  • a historical impedance value obtaining module configured to acquire a historical impedance value of the speaker corresponding to the audio test file, where the historical impedance value includes an impedance value obtained by detecting the speaker before a preset duration;
  • the volume adjustment information determining module 602 includes:
  • the first volume adjustment information determining unit is configured to determine corresponding volume adjustment information according to the historical impedance value and the currently detected impedance value.
  • the device further includes:
  • a standard impedance value acquisition module configured to acquire a standard impedance value of the speaker corresponding to the audio test file recorded
  • the volume adjustment information determining module 602 includes:
  • the second volume adjustment information determining unit is configured to determine corresponding volume adjustment information according to the standard impedance value and the currently detected impedance value.
  • the impedance value detecting module 601 includes:
  • a second power amplifier chip detecting unit configured to detect, by the power amplifier chip, an impedance value of the speaker installed in the mobile terminal when the mobile terminal starts to play the audio and video;
  • the device also includes:
  • An amplitude curve determining unit configured to determine an amplitude curve of the currently played audio and video
  • the volume adjustment information determining module 602 includes:
  • the third volume adjustment information determining unit is configured to determine corresponding volume adjustment information according to the amplitude curve and the impedance value.
  • the third volume adjustment information determining unit is configured to:
  • Corresponding volume adjustment information is determined according to the amplitude curve, the impedance value, and a preset adjustment table.
  • the volume adjustment module 603 includes:
  • the amplitude curve adjusting unit is configured to adjust an amplitude curve of the sound source played by the mobile terminal according to the adjustment coefficient in the volume adjustment information.
  • the volume adjustment module 603 includes:
  • the target volume value adjustment unit is configured to adjust the current volume value of the mobile terminal according to the target volume value in the volume adjustment information.
  • the volume adjustment module 603 includes:
  • a volume change value adjusting unit configured to adjust a current volume value of the mobile terminal according to the volume change value in the volume adjustment information.
  • Embodiments of the present invention also provide a storage medium including computer executable instructions for performing a volume adjustment method when executed by a computer processor, the method comprising:
  • Storage media any of a variety of types of memory devices or storage devices.
  • the term "storage medium” is intended to include: a mounting medium such as a CD-ROM, a floppy disk or a tape device; a computer system memory or a random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.
  • Non-volatile memory such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, and the like.
  • the storage medium may also include other types of memory or a combination thereof.
  • 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, the second computer system being coupled to the first computer system via a network, such as the Internet.
  • the second computer system can provide program instructions to the first computer for execution.
  • the term "storage medium" can include two or more storage media that can reside in different locations (eg, in different computer systems connected through a network).
  • a storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.
  • the storage medium containing the computer executable instructions provided by the embodiment of the present invention is not limited to the volume adjustment method as described above, and may also be implemented in the volume adjustment method provided by any embodiment of the present invention. Related operations.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal may include: a memory 701, a central processing unit (CPU) 702 (also referred to as a processor, hereinafter referred to as a CPU), a circuit board (not shown), and a power supply circuit ( Not shown in the figure).
  • CPU central processing unit
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal may include: a memory 701, a central processing unit (CPU) 702 (also referred to as a processor, hereinafter referred to as a CPU), a circuit board (not shown), and a power supply circuit ( Not shown in the figure).
  • CPU central processing unit
  • the circuit board is disposed inside a space enclosed by the casing; the CPU 702 and the memory 701 are disposed on the circuit board; and the power circuit is configured to supply power to each circuit or device of the mobile terminal
  • the memory 701 is configured to store executable program code; the CPU 702 runs a computer program corresponding to the executable program code by reading executable program code stored in the memory 701 to implement the following steps:
  • the mobile terminal further includes: a peripheral interface 703, an RF (Radio Frequency) circuit 705, an audio circuit 706, a speaker 711, a power management chip 708, an input/output (I/O) subsystem 709, a touch screen 712, and others.
  • Input/control device 710 and external port 704 are communicated via one or more communication buses or signal lines 707.
  • the illustrated mobile terminal 700 is merely one example of a mobile terminal, and that the mobile terminal 700 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can 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 mobile terminal for volume adjustment provided by this embodiment is described in detail below.
  • the mobile terminal takes a mobile phone as an example.
  • the memory 701 can be accessed by the CPU 702, the peripheral interface 703, etc., and the memory 701 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • a non-volatile memory such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • Peripheral interface 703, which can connect the input and output peripherals of the device to CPU 702 and memory 701.
  • the I/O subsystem 709 can connect input and output peripherals on the device, such as touch screen 712 and other input/control devices 710, to peripheral interface 703.
  • the I/O subsystem 709 can include a display controller 7091 and one or more input controllers 7092 for controlling other input/control devices 710. Wherein one or more input controllers 7092 are connected from other input/control devices 710 Receiving signals or transmitting electrical signals to other input/control devices 710, other input/control devices 710 may include physical buttons (press buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 7092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 712 is an input interface and an output interface between the user mobile terminal and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, videos, and the like.
  • Display controller 7091 in I/O subsystem 709 receives an electrical signal from touch screen 712 or an electrical signal to touch screen 712.
  • Touch screen 712 detects contact on the touch screen, display controller 7091 converts the detected contact into interaction with a user interface object displayed on touch screen 712, ie, implements human-computer interaction, and the user interface object displayed on touch screen 712 can be operational
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 705 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 705 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 705 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 705 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 ( COder-DECoder, codec) Chipset, Subscriber Identity Module (SIM), etc.
  • an antenna system an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) Chipset, Subscriber Identity Module (SIM), etc.
  • CODEC COder-DECoder, codec
  • SIM Subscriber Identity Module
  • the audio circuit 706 is mainly used to receive audio data from the peripheral interface 703, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 711.
  • the speaker 711 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 705 to sound and play the sound to the user.
  • the power management chip 708 is used for power supply and power management of the hardware connected to the CPU 702, the I/O subsystem, and the peripheral interface.
  • the mobile terminal provided by the embodiment of the invention can optimize the volume adjustment mode of the mobile terminal.
  • the volume adjustment device, the storage medium, and the mobile terminal provided in the foregoing embodiments may perform the volume adjustment method provided by any embodiment of the present invention, and have corresponding functional modules and beneficial effects for performing the method.
  • the volume adjustment method provided by any embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种音量调节方法、装置、移动终端及存储介质,该方法包括:检测移动终端中安装的扬声器的阻抗值;依据所述阻抗值确定对应的音量调节信息;依据所述音量调节信息对所述移动终端的音量进行调节。本发明实施例所提供的技术方案,可以实现自动调节移动终端扬声器的播放音量的效果。

Description

音量调节方法、装置、移动终端及存储介质 技术领域
本发明实施例涉及计算机技术,尤其涉及一种音量调节方法、装置、移动终端及存储介质。
背景技术
随着移动终端普及程度的提高,越来越多的用户使用移动终端执行各种各样的功能以满足自身需求,如使用移动终端阅读文字、观看视频、听音乐、玩游戏等。当移动终端在播放音视频时,对音量大小的调节存在缺陷,需要改进。
发明内容
本发明提供了一种音量调节方法、装置、移动终端及存储介质,提高了音量调节效率,降低了移动终端的功耗。
第一方面,本发明实施例提供了一种音量调节方法,包括:
检测移动终端中安装的扬声器的阻抗值;
依据所述阻抗值确定对应的音量调节信息;
依据所述音量调节信息对所述移动终端的音量进行调节。
第二方面,本发明实施例还提供了一种音量调节装置,包括:
阻抗值检测模块,用于检测移动终端中安装的扬声器的阻抗值;
音量调节信息确定模块,用于依据所述阻抗值确定对应的音量调节信息;
音量调节模块,用于依据所述音量调节信息对所述移动终端的音量进行调节。
第三方面,本发明实施例还提供了一种移动终端,包括:处理器、存储器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本发明实施例所述的音量调节方法。
第四方面,本发明实施例还提供了一种包含移动终端可执行指令的存储介质,所述移动终端可执行指令在由移动终端处理器执行时用于执行本发明实施例所述的音量调节方法。
本发明实施例提供的技术方案,通过检测移动终端的扬声器的阻抗值,并 依据所述阻抗值确定预置对应的音量调节信息,再根据所述调节信息对移动终端的音量进行调节。通过采用上述技术方案,可以实现自动调节移动终端扬声器的播放音量的效果。
附图说明
图1为本发明实施例提供的一种音量调节方法的流程示意图;
图2为本发明实施例提供的另一种音量调节方法的流程示意图;
图3为本发明实施例提供的另一种音量调节方法的流程示意图;
图4为本发明实施例提供的另一种音量调节方法的流程示意图;
图5为本发明实施例提供的另一种音量调节方法的流程示意图;
图6为本发明实施例提供的一种音量调节装置的结构框图;
图7为本发明实施例提供的一种移动终端的结构示意图。
具体实施方式
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
图1为本发明实施例提供的一种音量调节方法的流程示意图,该方法可以由本发明实施例所提供的音量调节装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括:
S101、检测移动终端中安装的扬声器的阻抗值。
扬声器往往配置于移动终端内部,不同的移动终端的配置方式及配置位置均不尽相同。但是,移动终端的扬声器的工作原理大致相同,均是一种将电信号转换成声音信号进行重放的元件。目前最广泛使用的是电动式扬声器,它由 振动膜、音圈、永久磁铁以及支架等组成。
当扬声器的音圈通入音频电流后,音圈在电流的作用下便产生了交变磁场,永久磁铁同时也产生一个大小与方向不变的恒定磁场。由于音圈所产生的磁场大小和方向随音频电流的变化不断地在改变,这样两个磁场的相互作用使音圈作垂直于音圈中的电流方向的运动,由于音圈和振动膜相连,从而音圈带动振动膜振动,由振动膜振动引起空气的振动面发出声响。
输出给音圈的电流越大,其磁场的作用力就越大.振动膜振动的幅度也就越大,声音则越响。因此,对于扬声器的阻抗值,直接影响扬声器内部音圈的电流,所以,对于扬声器的阻抗值的检测尤为重要。
扬声器的阻抗值的检测方式有很多种,可以根据加入适当电压,通过检测电流的形式,进而计算确定扬声器的阻抗值。还可以在为扬声器输入一个固定电流的情况下,通过检测其产生的音量与理论值之间的差距确定扬声器的阻抗值。
由于扬声器的阻抗值由电器元件的内阻,如音圈的直流阻抗,电感产生的阻抗以及反电动势产生的阻抗等构成。因此,在对移动终端的扬声器的阻抗值的测试时,为了免除不同频率下电感产生的阻抗以及反电动势产生的阻抗收到频率不同的影响而表现出不同的阻抗值,可以在扬声器的阻抗值测试时,采用一个固定的频率或者固定频段的音频文件进行测试。这样可以使对于扬声器的阻抗值的检测结果更加准确,减小其他因素的干扰。
S102、依据所述阻抗值确定对应的音量调节信息。
其中,音量调节信息可以是一个目标音量信息,如根据当前阻抗值,确定目标音量可以是40分贝,则把音量为40分贝作为一个目标音量。音量调节信息还可以是一种调节量,如根据当前阻抗值,则可以相应的将移动终端的音量增大10分贝,例如音量为30分贝,则可以增大10分贝至40分贝,例如原来音量为50分贝,则可以增大10分贝至60分贝。还可以是修改音视频文件中的音频数据,将其振幅增大或者减小。
根据检测到的扬声器的阻抗值,确定与之对应的音量调节等级,可以是根据检测到的扬声器的阻抗值,与该扬声器理论阻抗值,确定与之对应的音量调节等级。如扬声器当前阻抗值是6000毫欧,该扬声器的理论阻抗值为5000毫欧,则其影响到音圈的电流势必使声音减小,则音量调节信息可以增大原输出音量值的25%,则输出音量值可以接近原始设定的音量值。
S103、依据所述音量调节信息对所述移动终端的音量进行调节。
根据确定的音量调节信息,对移动终端的音量做出适应性调节。如音量调节信息是某一个目标音量值,则可以调整与至该音量对应的音量等级,如音量调节信息是某一个调节值,则对当前音量等级做出相应调节,如音量调节信息是对于音频数据的一种调节参数,则对该音频数据的振幅做出相应调整。
本发明实施例提供的技术方案,通过检测移动终端的扬声器的阻抗值,并依据所述阻抗值确定预置对应的音量调节信息,再根据所述调节信息对移动终端的音量进行调节。通过采用上述技术方案,可以实现自动调节移动终端扬声器的播放音量的效果。
在另一个实施例中,还可以直接通过调整输入到移动终端的扬声器的音圈的电流。这样设置的好处是还可以按照移动终端原有的音量等级进行音量调节,只不过每一个音量等级所对应的输入到音圈的电流发生了变化,可以保留用户原有的音量调节习惯。
在上述技术方案的基础上,可选的,所述检测移动终端扬声器的阻抗值包括:检测到音频测试文件播放时,通过功放芯片检测移动终端中安装的扬声器的阻抗值。其中,音频测试文件可以在移动终端出厂时就配置在移动终端的存储器内,也可以通过下载、共享等方式进行获取。音频测试文件播放时,通过功放芯片检测移动终端的扬声器的阻抗值。通过功放芯片检测扬声器的阻抗值易于操作且检测值准确,提高了本技术方案的适用性。
图2为本发明实施例提供的另一种音量调节方法的流程示意图,在上述技术方案的基础上,对所述音量调节方法进行了进一步的优化。
如图2所示,所述音量调节方法包括:
S201、检测到音频测试文件播放时,通过功放芯片检测移动终端中安装的扬声器的阻抗值。
其中,音频测试文件可以是某一恒定频段或者恒定频段范围,以及恒定振幅或者恒定振幅范围的文件。在播放音频测试文件时,可以通过功放芯片检测扬声器的阻抗值,其中利用功放芯片检测时可以采用恒流源测试以及恒压源测试两种方式,还可以采用其他能够获得扬声器阻抗值的测试方式。
S202、获取记录的和所述音频测试文件对应的所述扬声器的历史阻抗值,其中,所述历史阻抗值包括在预设时长之前对所述扬声器进行检测得到的阻抗值。
其中,历史阻抗值可以是移动终端刚刚使用时的阻抗值,也可以是使用一段时间之后的曾经检测过的阻抗值。因为随着移动终端的使用,其扬声器的阻抗值会越来越大,但是变化情况可能因为不同的设备而不同。本实施例提供的采用功放芯片检测扬声器阻抗值的方法,可以根据检测数据判断当前扬声器的老化情况,为测试移动终端的性能提供数据支持。
本发明实施例对于同一音频测试文件进行多次检测,可以是定期检测,也可以是不定期检测。在每一次检测后记录扬声器的阻抗值的测试结果,并对预设时长之前测试得到的阻抗值进行数据提取,其中,预设时长可以是10天或者30天等,一个相对较长的时间,这样设置可以得到更加明显的效果。值得说明的是,如果当前移动终端的首次测试结果与当前测试时间间隔没有超过预设时长,则可以以首次测试结果为准。
每次检测的测试结果可以记录在一个阻抗值检测结果记录文件当中,可以存储在移动终端的存储器当中,记录阻抗值检测结果的同时,可以记录阻抗值测试日期以及时间,还可以检测阻抗值测试次数。
值得说明的是,本技术方案的S201和S202在发生时序上并非绝对,也可以先执行S202的动作再执行S201,或者两个步骤同时进行。
S203、依据所述历史阻抗值和当前检测得到的所述阻抗值确定对应的音量调节信息。
其中,可以根据历史阻抗值与当前检测得到的阻抗值相差的大小,或者相差的倍数,确定与当前阻抗值所对应的音量调节信息,例如,历史阻抗值为5000毫欧,当前阻抗值为5350毫欧,则可以利用二者间的差值或者利用二者的比值确定音量调节信息。
S204、依据所述音量调节信息对所述移动终端的音量进行调节。
本技术方案在上述各技术方案的基础上,提供了通过获取历史阻抗值以及当前阻抗值,确定音量调节信息的方法,这种方法可以为音量调节提供计算基础,是调节结果更加准确。
图3为本发明实施例提供的另一种音量调节方法的流程示意图,在上述技术方案的基础上,对所述音量调节方法进行了进一步的优化。
如图3所示,所述音量调节方法包括:
S301、检测到音频测试文件播放时,通过功放芯片检测移动终端中安装的扬声器的阻抗值。
S302、获取记录的和所述音频测试文件对应的扬声器的标准阻抗值。
其中,标准阻抗值可以是原始的扬声器阻抗值,或者说是扬声器在出厂时的阻抗值,该标注阻抗值可以在移动终端出厂前检测并存储在移动终端的内存中,也可以是根据该型号的移动终端扬声器的阻抗值确定一个平均值作为阻抗标准值,还可以是用户在使用移动终端一定时间内测定的阻抗值作为标准阻抗值。标准阻抗值可以是对音频测试文件进行播放时被测定。这样设置的好处是可以控制变量,使检测结果更加准确。
S303、依据所述标准阻抗值和当前检测得到的所述阻抗值确定对应的音量调节信息。
相应的,也可以采用上述技术方案中的做差值和做比值两种方式,确定音量调节信息。
S304、依据所述音量调节信息对所述移动终端的音量进行调节。
本技术方案在上述各技术方案的基础上,提供了一种根据标准阻抗值和当前阻抗值确定音量调节信息的方法,这样设置的好处是使用标准阻抗值与当前检测的阻抗值进行计算更加准确,更加清晰的反映出扬声器在使用过程中阻抗值的变化情况,进而使移动终端的音量调节更加准确。
图4为本发明实施例提供的另一种音量调节方法的流程示意图,在上述技术方案的基础上,对所述音量调节方法进行了进一步的优化。
如图4所示,所述音量调节方法包括:
S401、检测到移动终端开始播放音视频时,通过功放芯片检测所述移动终端中安装的扬声器的阻抗值。
其中,音视频文件包括音频文件和视频文件,还可以包括其他可以发声的文件。检测移动终端开始播放音视频文件的方式可以是通过读取移动终端的进程,以及读取接口信息等方式,还可以是检测用户的操作指令等。当检测到移动终端播放音视频时,通过功放芯片检测移动终端的扬声器的阻抗值。
S402、确定当前播放的所述音视频的振幅曲线。
其中,振幅曲线可以是振幅随时间变化的曲线,也可以是分贝值随时间变化的曲线。振幅曲线可以是由音视频文件内部解码出来,得到音频数字信号,对该数字信号进行采样,可以得到振幅值,进而确定的振幅曲线。
S403、依据所述振幅曲线以及所述阻抗值确定对应的音量调节信息。
其中,振幅曲线可以根据振幅的高、中、低划分为三个阶段,每个阶段的 分界可以酌情确定,本实施例对此不作限定。
根据振幅曲线以及所述阻抗值确定对应的音量调节信息,可以是根据振幅曲线的阶段以及阻抗值确定对应的音量调节信息。如,振幅曲线为低振幅阶段,可以认为是噪声信号,对其进行抑制,振幅曲线为中振幅阶段,可以结合阻抗值做出适当的振幅系数,如对其进行0.8-1.2倍的缩放,振幅曲线为高振幅阶段,则可以减小振幅系数,如对其进行0.4-0.8倍的缩放。
根据振幅曲线以及所述阻抗值确定对应的音量调节信息,还可以是根据振幅曲线中,高振幅阶段与低振幅阶段的比例,并结合阻抗值,确定对应的音量调节信息。其中,高振幅阶段与低振幅阶段的比例可以表现出当前音视频文件的音频振幅的平均水平,如果偏低,可以乘以一个大于1的系数,如果偏高,可以乘以一个小于1的系数。
S404、依据所述音量调节信息对所述移动终端的音量进行调节。
本技术方案在上述各技术方案的基础上,提供了一种以音视频文件的振幅曲线和扬声器的阻抗值确定音量调节信息的方法,本方法在通过阻抗值确定音量调节信息的基础上,增加了播放的音视频文件的振幅曲线作为参考信息,使得音量调节信息对音量的调节结果更加符合用户对于音量的需求。
在上述各技术方案的基础上,可选的,所述依据所述振幅曲线以及所述阻抗值确定对应的音量调节信息包括:依据所述振幅曲线、所述阻抗值以及预设调节表确定对应的音量调节信息。其中,预设调节表可以是音量调节信息与振幅曲线和阻抗值的对应关系表。这样设置的好处是可以根据预设音量表快速、准确的确定音量调节信息,提高了移动终端扬声器音量调节的响应速度,提高了用户的使用体验。
图5为本发明实施例提供的另一种音量调节方法的流程示意图,在上述技术方案的基础上,对所述音量调节方法进行了进一步的优化。
如图5所示,所述音量调节方法包括:
S501、检测移动终端中安装的扬声器的阻抗值。
S502、依据所述阻抗值确定对应的音量调节信息;并执行S503、S504和S505中的至少一个步骤。
S503、依据所述音量调节信息中的调节系数对所述移动终端播放的音源的振幅曲线进行调节。
其中,移动终端播放的音源的振幅曲线可以是移动终端当前所播放的音视 频文件中解码出的音频文件。根据音量调节信息对音源的振幅曲线进行调节,可以是把音量调节信息设置为一个调节系数,该调节系数可以是音源的振幅曲线中,与振幅做乘法或者加法的系数。如,音量调节信息为1.2,可以是把振幅曲线中,所有振幅都乘以1.2倍进行调节。
S504、依据所述音量调节信息中的目标音量值对所述移动终端当前的音量值进行调节。
其中,音量调节信息可以包括目标音量值,该目标音量值即为根据音量调节信息对音量做出调节的目标值。如音量调节信息中包括的目标音量值为12级,则可以将移动终端的音量等级调整到12级。如音量调节信息中包括的目标音量值为80分贝,则可以将移动终端的音量等级调整到80分贝。
S505、依据所述音量调节信息中的音量改变值对所述移动终端当前的音量值进行调节。
其中,音量调节信息可以包括音量改变值,该音量改变值即为根据音量调节信息对音量做出调节的调节值。如音量调节信息中包括的音量改变值为+2级,则可以将移动终端的音量等级由当前等级增加2级。如音量调节信息中包括的目标音量值为-3级,则可以将移动终端的音量等级由当前等级减少3级。
值得说明的是,本实施例中在确定音量调节信息之后,提供了对音量进行调节的三种方式,本领域技术人员由此方案不难得出,将上述三种方式进行任意组合,对移动终端的扬声器音量做出调节。所以,上述三种调节方式的任意组合形式也属于本申请文件权利要求书的保护范围。
本技术方案在上述各技术方案的基础上,提供了对音量进行调节的三种方式,依据上述三种方式,可以对移动终端的音量进行快速、准确的调节,使移动终端的扬声器所播放的音量更加准确,提高了用户的使用体验。
图6为本发明实施例提供的一种音量调节装置的结构框图,该装置可由软件和/或硬件实现,一般集成在移动终端中,可通过执行音量调节方法来对移动终端的音量进行调节。如图6所示,该装置包括:
阻抗值检测模块601,用于检测移动终端中安装的扬声器的阻抗值;
音量调节信息确定模块602,用于依据所述阻抗值确定对应的音量调节信息;
音量调节模块603,用于依据所述音量调节信息对所述移动终端的音量进 行调节。
本发明实施例提供的技术方案,通过检测移动终端的扬声器的阻抗值,并依据所述阻抗值确定预置对应的音量调节信息,再根据所述调节信息对移动终端的音量进行调节。通过采用上述技术方案,可以实现自动调节移动终端扬声器的播放音量的效果。
在上述各技术方案的基础上,可选的,所述阻抗值检测模块601包括:
第一功放芯片检测单元,用于检测到音频测试文件播放时,通过功放芯片检测移动终端中安装的扬声器的阻抗值。
在上述各技术方案的基础上,可选的,所述装置还包括:
历史阻抗值获取模块,用于获取记录的和所述音频测试文件对应的所述扬声器的历史阻抗值,所述历史阻抗值包括在预设时长之前对所述扬声器进行检测得到的阻抗值;
相应的,所述音量调节信息确定模块602包括:
第一音量调节信息确定单元,用于依据所述历史阻抗值和当前检测得到的所述阻抗值确定对应的音量调节信息。
在上述各技术方案的基础上,可选的,所述装置还包括:
标准阻抗值获取模块,用于获取记录的和所述音频测试文件对应的扬声器的标准阻抗值;
相应的,所述音量调节信息确定模块602包括:
第二音量调节信息确定单元,用于依据所述标准阻抗值和当前检测得到的所述阻抗值确定对应的音量调节信息。
在上述各技术方案的基础上,可选的,所述阻抗值检测模块601包括:
第二功放芯片检测单元,用于检测到移动终端开始播放音视频时,通过功放芯片检测所述移动终端中安装的扬声器的阻抗值;
所述装置还包括:
振幅曲线确定单元,用于确定当前播放的所述音视频的振幅曲线;
相应的,所述音量调节信息确定模块602包括:
第三音量调节信息确定单元,用于依据所述振幅曲线以及所述阻抗值确定对应的音量调节信息。
在上述各技术方案的基础上,可选的,所述第三音量调节信息确定单元,用于:
依据所述振幅曲线、所述阻抗值以及预设调节表确定对应的音量调节信息。
在上述各技术方案的基础上,可选的,所述音量调节模块603包括:
振幅曲线调节单元,用于依据所述音量调节信息中的调节系数对所述移动终端播放的音源的振幅曲线进行调节。
在上述各技术方案的基础上,可选的,所述音量调节模块603包括:
目标音量值调节单元,用于依据所述音量调节信息中的目标音量值对所述移动终端当前的音量值进行调节。
在上述各技术方案的基础上,可选的,所述音量调节模块603包括:
音量改变值调节单元,用于依据所述音量调节信息中的音量改变值对所述移动终端当前的音量值进行调节。
本发明实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种音量调节方法,该方法包括:
检测移动终端中安装的扬声器的阻抗值;
依据所述阻抗值确定对应的音量调节信息;
依据所述音量调节信息对所述移动终端的音量进行调节。
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。
当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的音量调节方法,还可以执行本发明任意实施例所提供的音量调节方法中的相关操作。
本发明实施例提供了一种移动终端,该移动终端中可集成本发明实施例提 供的音量调节装置。图7为本发明实施例提供的一种移动终端的结构示意图。如图7所示,该移动终端可以包括:存储器701、中央处理器(Central Processing Unit,CPU)702(又称处理器,以下简称CPU)、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU702和所述存储器701设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器701,用于存储可执行程序代码;所述CPU702通过读取所述存储器701中存储的可执行程序代码来运行与所述可执行程序代码对应的计算机程序,以实现以下步骤:
检测移动终端中安装的扬声器的阻抗值;
依据所述阻抗值确定对应的音量调节信息;
依据所述音量调节信息对所述移动终端的音量进行调节。
所述移动终端还包括:外设接口703、RF(Radio Frequency,射频)电路705、音频电路706、扬声器711、电源管理芯片708、输入/输出(I/O)子系统709、触摸屏712、其他输入/控制设备710以及外部端口704,这些部件通过一个或多个通信总线或信号线707来通信。
应该理解的是,图示移动终端700仅仅是移动终端的一个范例,并且移动终端700可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
下面就本实施例提供的用于音量调节的移动终端进行详细的描述,该移动终端以手机为例。
存储器701,所述存储器701可以被CPU702、外设接口703等访问,所述存储器701可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
外设接口703,所述外设接口703可以将设备的输入和输出外设连接到CPU702和存储器701。
I/O子系统709,所述I/O子系统709可以将设备上的输入输出外设,例如触摸屏712和其他输入/控制设备710,连接到外设接口703。I/O子系统709可以包括显示控制器7091和用于控制其他输入/控制设备710的一个或多个输入控制器7092。其中,一个或多个输入控制器7092从其他输入/控制设备710接 收电信号或者向其他输入/控制设备710发送电信号,其他输入/控制设备710可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器7092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。
触摸屏712,所述触摸屏712是用户移动终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。
I/O子系统709中的显示控制器7091从触摸屏712接收电信号或者向触摸屏712发送电信号。触摸屏712检测触摸屏上的接触,显示控制器7091将检测到的接触转换为与显示在触摸屏712上的用户界面对象的交互,即实现人机交互,显示在触摸屏712上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。
RF电路705,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路705接收并发送RF信号,RF信号也称为电磁信号,RF电路705将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路705可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。
音频电路706,主要用于从外设接口703接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器711。
扬声器711,用于将手机通过RF电路705从无线网络接收的语音信号,还原为声音并向用户播放该声音。
电源管理芯片708,用于为CPU702、I/O子系统及外设接口所连接的硬件进行供电及电源管理。
本发明实施例提供的移动终端,可以优化移动终端的音量调节方式。
上述实施例中提供的音量调节装置、存储介质及移动终端可执行本发明任意实施例所提供的音量调节方法,具备执行该方法相应的功能模块和有益效果。 未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的音量调节方法。
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。

Claims (20)

  1. 一种音量调节方法,其特征在于,包括:
    检测移动终端中安装的扬声器的阻抗值;
    依据所述阻抗值确定对应的音量调节信息;
    依据所述音量调节信息对所述移动终端的音量进行调节。
  2. 根据权利要求1所述的方法,其特征在于,所述检测移动终端扬声器的阻抗值包括:
    检测到音频测试文件播放时,通过功放芯片检测移动终端中安装的扬声器的阻抗值。
  3. 根据权利要求2所述的方法,其特征在于,在所述依据所述阻抗值确定对应的音量调节信息之前,还包括:
    获取记录的和所述音频测试文件对应的所述扬声器的历史阻抗值,所述历史阻抗值包括在预设时长之前对所述扬声器进行检测得到的阻抗值;
    相应的,所述依据所述阻抗值确定对应的音量调节信息包括:
    依据所述历史阻抗值和当前检测得到的所述阻抗值确定对应的音量调节信息。
  4. 根据权利要求2所述的方法,其特征在于,在所述依据所述阻抗值确定对应的音量调节信息之前,还包括:
    获取记录的和所述音频测试文件对应的扬声器的标准阻抗值;
    相应的,所述依据所述阻抗值确定对应的音量调节信息包括:
    依据所述标准阻抗值和当前检测得到的所述阻抗值确定对应的音量调节信息。
  5. 根据权利要求1所述的方法,其特征在于,所述检测移动终端扬声器的阻抗值包括:
    检测到移动终端开始播放音视频时,通过功放芯片检测所述移动终端中安装的扬声器的阻抗值;
    在依据所述阻抗值确定对应的音量调节信息之前,还包括:
    确定当前播放的所述音视频的振幅曲线;
    相应的,所述依据所述阻抗值确定对应的音量调节信息包括:
    依据所述振幅曲线以及所述阻抗值确定对应的音量调节信息。
  6. 根据权利要求5所述的方法,其特征在于,所述依据所述振幅曲线以及 所述阻抗值确定对应的音量调节信息包括:
    依据所述振幅曲线、所述阻抗值以及预设调节表确定对应的音量调节信息。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述依据所述音量调节信息对所述移动终端的音量进行调节包括:
    依据所述音量调节信息中的调节系数对所述移动终端播放的音源的振幅曲线进行调节。
  8. 根据权利要求1-6中任一项所述的方法,其特征在于,所述依据所述音量调节信息对所述移动终端的音量进行调节包括:
    依据所述音量调节信息中的目标音量值对所述移动终端当前的音量值进行调节。
  9. 根据权利要求1-6中任一项所述的方法,其特征在于,所述依据所述音量调节信息对所述移动终端的音量进行调节包括:
    依据所述音量调节信息中的音量改变值对所述移动终端当前的音量值进行调节。
  10. 一种音量调节装置,其特征在于,包括:
    阻抗值检测模块,用于检测移动终端中安装的扬声器的阻抗值;
    音量调节信息确定模块,用于依据所述阻抗值确定对应的音量调节信息;
    音量调节模块,用于依据所述音量调节信息对所述移动终端的音量进行调节。
  11. 根据权利要求10所述的装置,其特征在于,所述阻抗值检测模块包括:
    第一功放芯片检测单元,用于检测到音频测试文件播放时,通过功放芯片检测移动终端中安装的扬声器的阻抗值。
  12. 根据权利要求11所述的装置,其特征在于,还包括:
    历史阻抗值获取模块,用于获取记录的和所述音频测试文件对应的所述扬声器的历史阻抗值,所述历史阻抗值包括在预设时长之前对所述扬声器进行检测得到的阻抗值;
    相应的,所述音量调节信息确定模块包括:
    第一音量调节信息确定单元,用于依据所述历史阻抗值和当前检测得到的所述阻抗值确定对应的音量调节信息。
  13. 根据权利要求11所述的装置,其特征在于,还包括:
    标准阻抗值获取模块,用于获取记录的和所述音频测试文件对应的扬声器的标准阻抗值;
    相应的,所述音量调节信息确定模块包括:
    第二音量调节信息确定单元,用于依据所述标准阻抗值和当前检测得到的所述阻抗值确定对应的音量调节信息。
  14. 根据权利要求10所述的装置,其特征在于,所述阻抗值检测模块包括:
    第二功放芯片检测单元,用于检测到移动终端开始播放音视频时,通过功放芯片检测所述移动终端中安装的扬声器的阻抗值;
    所述装置还包括:
    振幅曲线确定单元,用于确定当前播放的所述音视频的振幅曲线;
    相应的,所述音量调节信息确定模块包括:
    第三音量调节信息确定单元,用于依据所述振幅曲线以及所述阻抗值确定对应的音量调节信息。
  15. 根据权利要求14所述的装置,其特征在于,所述第三音量调节信息确定单元,用于:
    依据所述振幅曲线、所述阻抗值以及预设调节表确定对应的音量调节信息。
  16. 根据权利要求10-15中任一项所述的装置,其特征在于,所述音量调节模块包括:
    振幅曲线调节单元,用于依据所述音量调节信息中的调节系数对所述移动终端播放的音源的振幅曲线进行调节。
  17. 根据权利要求10-15中任一项所述的装置,其特征在于,所述音量调节模块包括:
    目标音量值调节单元,用于依据所述音量调节信息中的目标音量值对所述移动终端当前的音量值进行调节。
  18. 根据权利要求10-15中任一项所述的装置,其特征在于,所述音量调节模块包括:
    音量改变值调节单元,用于依据所述音量调节信息中的音量改变值对所述移动终端当前的音量值进行调节。
  19. 一种移动终端,包括:处理器、存储器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实 现如权利要求1-9中任一项所述的音量调节方法。
  20. 一种包含移动终端可执行指令的存储介质,其特征在于,所述移动终端可执行指令在由移动终端处理器执行时用于执行如权利要求1-9中任一项所述的音量调节方法。
PCT/CN2017/098168 2017-08-18 2017-08-18 音量调节方法、装置、移动终端及存储介质 WO2019033435A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/098168 WO2019033435A1 (zh) 2017-08-18 2017-08-18 音量调节方法、装置、移动终端及存储介质
CN201780091852.8A CN110731087B (zh) 2017-08-18 2017-08-18 音量调节方法、装置、移动终端及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/098168 WO2019033435A1 (zh) 2017-08-18 2017-08-18 音量调节方法、装置、移动终端及存储介质

Publications (1)

Publication Number Publication Date
WO2019033435A1 true WO2019033435A1 (zh) 2019-02-21

Family

ID=65362072

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098168 WO2019033435A1 (zh) 2017-08-18 2017-08-18 音量调节方法、装置、移动终端及存储介质

Country Status (2)

Country Link
CN (1) CN110731087B (zh)
WO (1) WO2019033435A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819118A (zh) * 2019-03-29 2019-05-28 维沃移动通信有限公司 一种音量调节方法及移动终端

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003032777A (ja) * 2001-07-18 2003-01-31 Denso Corp 音量調整装置及び記録媒体
CN104244141A (zh) * 2013-06-21 2014-12-24 深圳富泰宏精密工业有限公司 耳机音频输出控制电路
US20140376736A1 (en) * 2013-06-21 2014-12-25 Chiun Mai Communication Systems, Inc. Control circuit for controlling audio signal output of earphone
CN105185396A (zh) * 2015-07-28 2015-12-23 小米科技有限责任公司 一种播放音频信号的方法和装置
CN106101408A (zh) * 2016-06-08 2016-11-09 维沃移动通信有限公司 一种移动终端及其音量调整方法
CN106254610A (zh) * 2016-10-31 2016-12-21 北京小米移动软件有限公司 一种音量调节方法、装置及电子设备
CN106303815A (zh) * 2015-05-22 2017-01-04 西安中兴新软件有限责任公司 音量控制方法及电子设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070223736A1 (en) * 2006-03-24 2007-09-27 Stenmark Fredrik M Adaptive speaker equalization
CN101119106B (zh) * 2007-07-12 2010-09-22 深圳市融创天下科技发展有限公司 一种媒体播放器的输出音量自动调节方法
CN103746668A (zh) * 2013-12-31 2014-04-23 上海斐讯数据通信技术有限公司 音量控制方法及系统
CN103745734B (zh) * 2014-01-02 2017-01-11 青岛海信电器股份有限公司 一种设置声音曲线的设备及方法
US9473851B2 (en) * 2014-12-22 2016-10-18 Qualcomm Incorporated Speaker protection circuit with improved accuracy
US9747923B2 (en) * 2015-04-17 2017-08-29 Zvox Audio, LLC Voice audio rendering augmentation
CN105280202B (zh) * 2015-10-23 2018-03-27 广东欧珀移动通信有限公司 一种调整有线音箱播放参数的方法、系统及移动终端
CN106959838A (zh) * 2017-03-03 2017-07-18 广东欧珀移动通信有限公司 音频控制方法、音频控制装置和电子装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003032777A (ja) * 2001-07-18 2003-01-31 Denso Corp 音量調整装置及び記録媒体
CN104244141A (zh) * 2013-06-21 2014-12-24 深圳富泰宏精密工业有限公司 耳机音频输出控制电路
US20140376736A1 (en) * 2013-06-21 2014-12-25 Chiun Mai Communication Systems, Inc. Control circuit for controlling audio signal output of earphone
CN106303815A (zh) * 2015-05-22 2017-01-04 西安中兴新软件有限责任公司 音量控制方法及电子设备
CN105185396A (zh) * 2015-07-28 2015-12-23 小米科技有限责任公司 一种播放音频信号的方法和装置
CN106101408A (zh) * 2016-06-08 2016-11-09 维沃移动通信有限公司 一种移动终端及其音量调整方法
CN106254610A (zh) * 2016-10-31 2016-12-21 北京小米移动软件有限公司 一种音量调节方法、装置及电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819118A (zh) * 2019-03-29 2019-05-28 维沃移动通信有限公司 一种音量调节方法及移动终端
CN109819118B (zh) * 2019-03-29 2021-05-14 维沃移动通信有限公司 一种音量调节方法及移动终端

Also Published As

Publication number Publication date
CN110731087B (zh) 2023-11-10
CN110731087A (zh) 2020-01-24

Similar Documents

Publication Publication Date Title
CN107509153B (zh) 声音播放器件的检测方法、装置、存储介质及终端
US9466300B2 (en) User profile based audio adjustment techniques
CN109379678B (zh) 非线性补偿方法、装置、存储介质及终端设备
US8306235B2 (en) Method and apparatus for using a sound sensor to adjust the audio output for a device
CN108810749B (zh) 播放器控制方法、装置、终端设备及存储介质
EP3664291A1 (en) Audio signal adjustment method and device, storage medium, and terminal
US10440464B2 (en) Method and apparatus for adjusting volume, terminal device and storage medium
WO2019033987A1 (zh) 提示方法、装置、存储介质及终端
CN107465824B (zh) 音量调节方法、装置、移动终端及存储介质
CN107566618B (zh) 音量调节方法、装置、终端设备及存储介质
US11201598B2 (en) Volume adjusting method and mobile terminal
CN103746668A (zh) 音量控制方法及系统
CN107526570B (zh) 音量调节方法、装置、终端设备及存储介质
CN107508983B (zh) 音量调节方法、装置、存储介质及终端设备
CN107479852B (zh) 音量调节方法、装置、终端设备及存储介质
CN110799936B (zh) 音量调节方法、装置、终端设备及存储介质
WO2019033942A1 (zh) 音量调节方法、装置、终端设备及存储介质
CN109119097B (zh) 基音检测方法、装置、存储介质及移动终端
CN107483734B (zh) 音量调节方法、装置、终端设备及存储介质
WO2019033435A1 (zh) 音量调节方法、装置、移动终端及存储介质
CN112565976B (zh) 扬声器的驱动电路、温度保护方法、终端设备及存储介质
CN107506168B (zh) 音量调节方法、装置、终端设备及存储介质
WO2019033939A1 (zh) 音量调节方法、装置、终端设备及存储介质
WO2019033439A1 (zh) 音量调节方法、装置、存储介质及移动终端
WO2019033938A1 (zh) 音量调节方法、装置、存储介质及移动终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17921669

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17921669

Country of ref document: EP

Kind code of ref document: A1