WO2019033938A1 - Sound volume adjustment method and apparatus, storage medium, and mobile terminal - Google Patents

Sound volume adjustment method and apparatus, storage medium, and mobile terminal Download PDF

Info

Publication number
WO2019033938A1
WO2019033938A1 PCT/CN2018/098645 CN2018098645W WO2019033938A1 WO 2019033938 A1 WO2019033938 A1 WO 2019033938A1 CN 2018098645 W CN2018098645 W CN 2018098645W WO 2019033938 A1 WO2019033938 A1 WO 2019033938A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume
sounding device
mobile terminal
compensation coefficient
real
Prior art date
Application number
PCT/CN2018/098645
Other languages
French (fr)
Chinese (zh)
Inventor
甘高亭
严锋贵
许钊铵
郑志勇
杨海
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019033938A1 publication Critical patent/WO2019033938A1/en

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
    • 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
    • H04M19/042Current 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 with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level

Definitions

  • the embodiments of the present application relate to the field of computers, for example, to a volume adjustment method, apparatus, storage medium, and mobile terminal.
  • the embodiment of the present application provides a volume adjustment method, device, storage medium, and mobile terminal, which can optimize a volume adjustment mode of the mobile terminal.
  • the embodiment of the present application provides a volume adjustment method, where the method includes: recording, when the sounding device of the mobile terminal is in an utterance state, recording a duration of using the sounding device of the mobile terminal; The volume of use determines the volume compensation coefficient of the sounding device; and adjusts the amount of sound emitted by the sounding device of the mobile terminal according to the volume compensation coefficient.
  • the embodiment of the present application provides a volume adjustment apparatus, including: a duration recording module, configured to use the sounding device of the mobile terminal when detecting that the sounding device of the mobile terminal is in an utterance state Recording; the volume compensation coefficient determining module is configured to determine a volume compensation coefficient of the sounding device according to the used duration; the sound volume adjustment module is configured to generate a sound volume to the sounding device of the mobile terminal according to the volume compensation coefficient Make adjustments.
  • a duration recording module configured to use the sounding device of the mobile terminal when detecting that the sounding device of the mobile terminal is in an utterance state Recording
  • the volume compensation coefficient determining module is configured to determine a volume compensation coefficient of the sounding device according to the used duration
  • the sound volume adjustment module is configured to generate a sound volume to the sounding device of the mobile terminal according to the volume compensation coefficient Make adjustments.
  • the embodiment of the present application provides a computer readable storage medium, where a computer program is stored, and when the program is executed by the processor, the volume adjustment method according to the embodiment of the present application is implemented.
  • an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable by the processor, where the processor executes the computer program to implement the implementation of the present application.
  • a mobile terminal including a memory, a processor, and a computer program stored in the memory and executable by the processor, where the processor executes the computer program to implement the implementation of the present application.
  • FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present application
  • 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 diagram of preset operations provided by an embodiment of the present application.
  • 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 application.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • the volume of the sounding device may be affected by factors such as dust and water.
  • the sounding device increases with the use time, its internal impedance will increase, which will also affect the volume of the sounding device. This makes the sound played on the new device behave differently from the sound played on the old device for the same volume.
  • the sound of sounding devices such as speakers and earpieces will become smaller.
  • the embodiment of the present application provides a method for automatically adjusting at least one of volume and gain according to the duration of use of the sound emitting device.
  • FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present disclosure.
  • the method may be performed by a volume adjustment apparatus, where the apparatus may be implemented by at least one of software and hardware, and may be integrated into a mobile terminal.
  • the method includes steps S101 to S103.
  • the sounding device of the mobile terminal may be a speaker, an earphone, an external speaker, and the like of the mobile terminal.
  • different recording files can be created according to different sounding devices, and the recording files can be stored in the internal memory of the mobile terminal.
  • the detection of the utterance state of the sounding device may be the process of acquiring the mobile terminal and determining the utterance time of the sounding device and the sounding device. For example, whether the sounding device is a speaker or a headset according to whether the mobile terminal currently has access to the earphone, and hardware information of the earphone can be read when the earphone is accessed, and different time length recording files are established for different hardware information. Correspondingly, when the external sounding device is connected via Bluetooth, the name of the Bluetooth device can be read and the duration of the sounding is recorded in the log file.
  • a volume compensation coefficient of the sounding device is determined according to the length of use.
  • the volume compensation coefficient can be determined according to the length of use. If the usage time exceeds 100h, the volume compensation coefficient can be 1.02. When the usage time exceeds 200h, the volume compensation coefficient can be 1.05. As the usage time increases, the volume compensation coefficient also increases.
  • the volume compensation coefficient may be a value that is changed continuously by the use time of the sounding device, or may be a volume compensation coefficient for each practical stage, which is not specifically limited in the embodiment of the present application.
  • the amount of sound emitted by the sounding device of the mobile terminal is adjusted according to the volume compensation coefficient.
  • the volume compensation coefficient the sound volume of the sounding device of the mobile terminal is adjusted, and the volume compensation coefficient corresponding to the sounding device is multiplied by the current volume, and the compensated volume can be obtained, which is compared with the set volume level of the user. In line with, it can meet the user's demand for volume adjustment of the mobile terminal.
  • the technical solution provided by the embodiment of the present application detects the time length of the sounding device of the mobile terminal, determines the volume compensation coefficient of the sounding device according to the used duration, and compensates the sound volume by using the volume compensation coefficient.
  • the accuracy of the sound played by the sounding device of the mobile terminal can be improved.
  • the method before determining the volume compensation coefficient of the sounding device according to the use duration, the method further includes: establishing a volume compensation mapping table corresponding to the usage duration of the sounding device; Determining, according to the duration of use, a volume compensation coefficient of the sounding device includes: determining, according to the volume compensation map, a volume compensation coefficient corresponding to a duration of use of the sounding device. In this way, the volume compensation coefficient corresponding to the duration of use of the sounding device can be determined according to the volume compensation map, and the volume compensation coefficient can be determined quickly and accurately.
  • FIG. 2 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present application. As shown in FIG. 2, the method includes steps S201 to S204.
  • the volume value of the sounding device of the recorded mobile terminal may be the volume level value set by the mobile terminal when the mobile terminal plays the sounding device, or may be the volume adjusted by the externally connected sounding device end. value.
  • a preset operation is performed by using a volume value of the sounding device in use and the use duration to obtain a preset operation result.
  • FIG. 3 is a schematic diagram of a preset operation provided by an embodiment of the present application.
  • the volume level of the sounding device and the area enclosed by the use time length t1 are S1
  • the area S1 is the volume value and the length of use.
  • the result of the operation is S1+S2.
  • the size of the volume level is also counted for the consumption of the sounding device.
  • a volume compensation coefficient is determined according to the preset operation result.
  • the amount of sound emitted by the sounding device of the mobile terminal is adjusted according to the volume compensation coefficient.
  • the technical solution calculates the volume level to the consumption of the sounding device, and can not only improve the accuracy of calculating the volume compensation coefficient of the sounding device, but also the volume of the sounding device during use.
  • the volume is taken into account for the difference in consumption, and the sounding device consumption can be accurately estimated and volume compensated.
  • FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present application. As shown in FIG. 4, the method includes steps S401 to S403.
  • the implementation temperature of the sounding device such as setting a temperature sensor at the sounding device position, and using the temperature sensor to obtain the real-time temperature of the sounding device.
  • the current resistance value of a known resistance can be determined by detecting the current, and the temperature value is determined according to the resistance value-temperature curve of the resistance material.
  • a volume compensation coefficient of the sounding device is determined according to the length of use.
  • the amount of sound emitted by the sounding device of the mobile terminal is adjusted according to the real-time temperature and the volume compensation coefficient.
  • the sounding device increases the resistance value as the temperature increases. Therefore, when the temperature rises, the volume value needs to be compensated, so that the volume value of the actual output matches the volume value set by the user.
  • the compensated volume value can be applied to the actual volume value separately from the volume compensation coefficient. This allows the real-time temperature of the sounding device to be used as a reference factor to make the actual output volume value more accurate.
  • the technical solution is based on the foregoing technical solution.
  • determining a temperature compensation coefficient; according to the temperature compensation coefficient and the volume compensation coefficient The amount of sound emitted by the sounding device of the mobile terminal is adjusted. And determining, when the real-time temperature is lower than the preset standard temperature value, a temperature reduction coefficient; and adjusting an amount of sound emitted by the sounding device of the mobile terminal according to the temperature reduction coefficient and the volume compensation coefficient.
  • the preset standard temperature may be a temperature value or a temperature range value
  • the temperature compensation coefficient and the temperature reduction coefficient may be determined by the degree of influence of the resistance of the sounding device by the temperature.
  • FIG. 5 is a schematic flowchart of another volume adjustment method according to an embodiment of the present application. As shown in FIG. 5, the method includes steps S501 to S505.
  • a volume compensation coefficient of the sounding device is determined according to the length of use.
  • the first early warning temperature may be a set temperature threshold for protecting the sounding device.
  • the temperature threshold When the temperature threshold is exceeded, the internal circuit and the hardware structure of the sounding device may be seriously damaged, such as a temperature gate.
  • the limit can be 55 degrees. Therefore, when the temperature exceeds the temperature threshold, at least one of the sound and light prompts may be sent to the user to inform the user that the temperature of the current sounding device is too high, which has a great influence on the service life of the sounding device.
  • the preset duration may be ten minutes, and when the temperature exceeds the first warning temperature for ten minutes, the sound volume of the sounding device of the mobile terminal is adjusted according to the high temperature suppression coefficient and the volume compensation coefficient;
  • the high temperature suppression coefficient is greater than or equal to 0 and less than 1. Among them, the high temperature suppression coefficient can be 0, which can protect the sounding device.
  • the second early warning temperature is greater than the first early warning temperature. If the first early warning temperature is 55 degrees, the second early warning temperature may be 57 degrees. In this way, when the temperature of the sounding device continues to rise, measures can be taken as soon as possible to protect the sounding device.
  • the technical solution can perform volume adjustment according to real-time temperature, and protect the sounding device while performing volume adjustment for the mobile terminal.
  • FIG. 6 is a structural block diagram of a volume adjustment apparatus according to an embodiment of the present disclosure.
  • the apparatus may be implemented by at least one of software and hardware, and is generally integrated in a mobile terminal, and may perform volume adjustment on a mobile terminal. Make adjustments.
  • the device includes a recording duration recording module 601, a volume compensation coefficient determining module 602, and a sound volume adjusting module 603.
  • the duration recording module 601 is configured to record the duration of use of the sounding device of the mobile terminal when detecting that the sounding device of the mobile terminal is in an utterance state.
  • the volume compensation coefficient determining module 602 is configured to determine a volume compensation coefficient of the sounding device according to the used duration.
  • the sound volume adjustment module 603 is configured to adjust the sound volume of the sounding device of the mobile terminal according to the volume compensation coefficient.
  • the device further includes: a volume compensation mapping table establishing module, configured to establish a volume compensation mapping table corresponding to the usage duration of the sounding device; correspondingly,
  • the volume compensation coefficient determining module 602 includes: a first volume compensation coefficient determining unit configured to determine a volume compensation coefficient corresponding to a usage duration of the sounding device according to the volume compensation map.
  • the usage duration recording module 601 further includes: a volume value recording unit configured to record a volume value when the sounding device of the mobile terminal is used; correspondingly, the volume The compensation coefficient determining module 602 includes: a second volume compensation coefficient determining unit configured to perform a preset operation on the volume value when the sounding device is used and the used duration to obtain a preset operation result; according to the preset operation result Determine the volume compensation factor.
  • the device further includes: a real-time temperature acquisition module, configured to acquire a real-time temperature of the sounding device; correspondingly, the volume compensation coefficient determining module 602 includes: The three volume compensation coefficient determining unit is configured to adjust the sound volume of the sounding device of the mobile terminal according to the real-time temperature and the volume compensation coefficient.
  • the sound volume adjustment module 603 includes: a sound volume adjustment unit, configured to: when the real-time temperature is higher than a preset standard temperature value, determine a temperature compensation coefficient; And adjusting the sound volume of the sounding device of the mobile terminal according to the temperature compensation coefficient and the volume compensation coefficient.
  • the real-time temperature acquiring module further includes: a prompt information sending unit, configured to send prompt information to the user when detecting that the real-time temperature exceeds the first early warning temperature;
  • the high temperature suppression unit is configured to adjust the sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient when detecting that the real time temperature exceeds the first warning temperature preset time length;
  • the high temperature suppression coefficient is greater than or equal to 0 and less than 1.
  • the real-time temperature acquiring module further includes: a prompt information sending unit, configured to send prompt information to the user when detecting that the real-time temperature exceeds the first early warning temperature;
  • the high temperature suppression unit is further configured to: when detecting that the real-time temperature exceeds the second early warning temperature, adjust a sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient; wherein The high temperature suppression coefficient is greater than or equal to 0 and less than 1.
  • Embodiments of the present application also provide a storage medium including computer executable instructions that, when executed by a computer processor, are configured to perform a volume adjustment method, the method comprising: detecting a sound of a mobile terminal Recording the duration of use of the sounding device of the mobile terminal when the device is in the utterance state; determining a volume compensation coefficient of the sounding device according to the used duration; and sounding the sounding device of the mobile terminal according to the volume compensation coefficient The volume is adjusted.
  • Storage media any type of storage device or storage device.
  • the term "storage medium” is intended to include: a mounting medium such as a Compact Disc Read-Only Memory (CD-ROM), a floppy disk or a tape device; a computer system memory or a random access memory such as a dynamic random access memory ( Dynamic Random Access Memory (DRAM), Double Data Rate Random Access Memory (DDR RAM), Static Random Access Memory (SRAM), Dynamic Data Memory (Extended Data Output Random Access Memory, EDO RAM) ), Rambus Random Access Memory (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.
  • DRAM Dynamic Random Access Memory
  • DDR RAM Double Data Rate Random Access Memory
  • SRAM Static Random Access Memory
  • EDO RAM Extended Data Output Random Access Memory
  • Rambus RAM Rambus Random Access Memory
  • the storage medium may also include other types of memory or a combination thereof. Additionally, 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 application is not limited to the volume adjustment operation as described above, and may also be implemented in the volume adjustment method provided by any embodiment of the present application. Related operations.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • 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 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 disposed as 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 Recording, when detecting that the sounding device of the mobile terminal is in an uttering state, recording the duration of use of the sounding device of the mobile terminal; determining a volume compensation coefficient of the sounding device according to the used duration; according to the volume compensation coefficient, The amount of sound emitted by the sounding device of the mobile terminal is adjusted.
  • the mobile terminal further includes: a peripheral interface 703, a radio frequency (RF) 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 at least one of signal processing and 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.
  • one or more input controllers 7092 receive electrical signals from other input/control devices 710 or transmit electrical signals to other input/control devices 710, and other input/control devices 710 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel.
  • 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 configured to establish communication between the mobile phone and the wireless network (ie, the network side), and realize 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.
  • CDDEC codec CODER-DECoder
  • the audio circuit 706 is primarily configured 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 arranged 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 configured to provide power and power management for the hardware connected to the CPU 702, the I/O subsystem, and the peripheral interface.
  • the mobile terminal provided by the embodiment of the present application can perform volume adjustment according to performance degradation of the sound emitting device 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 application, and have a corresponding function module for performing the method.
  • a corresponding function module for performing the method.

Abstract

Disclosed in the embodiments of the present application are a sound volume adjustment method and apparatus, a storage medium, and a mobile terminal. The method comprises: when it is detected that a sounding device of the mobile terminal is in a sounding state, recording the usage duration of the sounding device of the mobile terminal; determining, according to the usage duration, a sound volume compensation coefficient of the sounding device; and adjusting, according to the sound volume compensation coefficient, the sounding volume of the sounding device of the mobile terminal.

Description

音量调节方法、装置、存储介质及移动终端Volume adjustment method, device, storage medium and mobile terminal
本申请要求在2017年08月18日提交中国专利局、申请号为201710711110.2的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, filed on Aug. 18, 2017, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本申请实施例涉及计算机领域,例如涉及一种音量调节方法、装置、存储介质及移动终端。The embodiments of the present application relate to the field of computers, for example, to a volume adjustment method, apparatus, storage medium, and mobile terminal.
背景技术Background technique
目前,移动终端的功能日趋丰富,也越来越智能,多种声音播放软件(如音乐及人声读书等软件)应运而生。用户在使用移动终端过程中,对于移动终端的声音播放的音量准确性的要求越来越高,然而现有的音量准确性存在缺陷,需要改进。At present, the functions of mobile terminals are becoming more and more abundant, and more and more intelligent. A variety of sound playback software (such as music and vocal reading software) have emerged. In the process of using the mobile terminal, the user has higher and higher requirements for the volume accuracy of the sound playback of the mobile terminal, but the existing volume accuracy has defects and needs to be improved.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请实施例提供一种音量调节方法、装置、存储介质及移动终端,可以优化移动终端的音量调节方式。The embodiment of the present application provides a volume adjustment method, device, storage medium, and mobile terminal, which can optimize a volume adjustment mode of the mobile terminal.
第一方面,本申请实施例提供了一种音量调节方法,该方法包括:在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录;根据所述使用时长确定发声器件的音量补偿系数;根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。In a first aspect, the embodiment of the present application provides a volume adjustment method, where the method includes: recording, when the sounding device of the mobile terminal is in an utterance state, recording a duration of using the sounding device of the mobile terminal; The volume of use determines the volume compensation coefficient of the sounding device; and adjusts the amount of sound emitted by the sounding device of the mobile terminal according to the volume compensation coefficient.
第二方面,本申请实施例提供了一种音量调节装置,该装置包括:使用时长记录模块,设置为在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录;音量补偿系数确定模块,设置为根据所述使用时长确定发声器件的音量补偿系数;发声音量调节模块,设置为根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。In a second aspect, the embodiment of the present application provides a volume adjustment apparatus, including: a duration recording module, configured to use the sounding device of the mobile terminal when detecting that the sounding device of the mobile terminal is in an utterance state Recording; the volume compensation coefficient determining module is configured to determine a volume compensation coefficient of the sounding device according to the used duration; the sound volume adjustment module is configured to generate a sound volume to the sounding device of the mobile terminal according to the volume compensation coefficient Make adjustments.
第三方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请实施例所述的音量调节方法。In a third aspect, the embodiment of the present application provides a computer readable storage medium, where a computer program is stored, and when the program is executed by the processor, the volume adjustment method according to the embodiment of the present application is implemented.
第四方面,本申请实施例提供了一种移动终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请实施例所述的音量调节方法。In a fourth aspect, an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable by the processor, where the processor executes the computer program to implement the implementation of the present application. The volume adjustment method described in the example.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
图1为本申请实施例提供的一种音量调节方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present application;
图2为本申请实施例提供的另一种音量调节方法的流程示意图;FIG. 2 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure;
图3为本申请实施例提供的预设运算示意图;FIG. 3 is a schematic diagram of preset operations provided by an embodiment of the present application;
图4为本申请实施例提供的另一种音量调节方法的流程示意图;FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure;
图5为本申请实施例提供的另一种音量调节方法的流程示意图;FIG. 5 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure;
图6为本申请实施例提供的一种音量调节装置的结构框图;FIG. 6 is a structural block diagram of a volume adjustment apparatus according to an embodiment of the present application;
图7为本申请实施例提供的一种移动终端的结构示意图。FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图并通过具体实施方式来进一步说明本申请的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。在更加详细地讨论实施例之前应当提到的是,一些实施例被描述成作为流程图描绘的处理或方法。虽然流程图将所有步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,所有步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。The technical solutions of the present application will be further described below with reference to the accompanying drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. It should be mentioned before discussing the embodiments in more detail that some embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe all of the steps as a sequential process, many of the steps can be implemented in parallel, concurrently or concurrently. In addition, the order of all steps can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
目前,移动终端的外放喇叭和耳机等器件在长时间使用过后,可能会进灰尘、进水等因素影响发声器件的音量。而且,还有一方面是因为发声器件随着使用时间的增加,其内部阻抗会加大,同样会影响到发声器件的音量。这就使对于同样音量大小的音源,在新器件上播放的声音和老器件上播放的声音表现不一样。一般情况来讲,随着移动终端使用时间的增长,喇叭和听筒等发声器 件的声音都会变小。At present, after the long-term use of the external speakers and headphones of the mobile terminal, the volume of the sounding device may be affected by factors such as dust and water. Moreover, on the one hand, because the sounding device increases with the use time, its internal impedance will increase, which will also affect the volume of the sounding device. This makes the sound played on the new device behave differently from the sound played on the old device for the same volume. In general, as the usage time of mobile terminals increases, the sound of sounding devices such as speakers and earpieces will become smaller.
根据此需求,本申请实施例提供了一种方法,可以根据发声器件的使用时长,自动调节音量和增益中的至少一种。According to this requirement, the embodiment of the present application provides a method for automatically adjusting at least one of volume and gain according to the duration of use of the sound emitting device.
图1为本申请实施例提供的一种音量调节方法的流程示意图,该方法可以由音量调节装置执行,其中该装置可由软件和硬件中的至少一种实现,一般可集成在移动终端中。如图1所示,该方法包括步骤S101至步骤S103。FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present disclosure. The method may be performed by a volume adjustment apparatus, where the apparatus may be implemented by at least one of software and hardware, and may be integrated into a mobile terminal. As shown in FIG. 1, the method includes steps S101 to S103.
在S101中,在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录。In S101, when it is detected that the sounding device of the mobile terminal is in an utterance state, the duration of use of the sounding device of the mobile terminal is recorded.
其中,移动终端的发声器件可以是移动终端的扬声器、耳机以及外接音箱等。相应的,可以根据发声器件的不同创建不同的记录文件,可以将记录文件存储至移动终端的内部存储器当中。The sounding device of the mobile terminal may be a speaker, an earphone, an external speaker, and the like of the mobile terminal. Correspondingly, different recording files can be created according to different sounding devices, and the recording files can be stored in the internal memory of the mobile terminal.
对于发声器件处于发声状态的检测可以是获取移动终端的进程,并确定发声器件以及发声器件的发声时间。如可以根据移动终端当前是否有接入耳机的状态确定其发声器件是否为扬声器或者耳机,以及可以在耳机接入时读取耳机的硬件信息,针对不同的硬件信息,建立不同的时长记录文件。相应的,通过蓝牙连接外部发声设备时,可以读取该蓝牙设备的名称并将其发声时长记录在记录文件当中。The detection of the utterance state of the sounding device may be the process of acquiring the mobile terminal and determining the utterance time of the sounding device and the sounding device. For example, whether the sounding device is a speaker or a headset according to whether the mobile terminal currently has access to the earphone, and hardware information of the earphone can be read when the earphone is accessed, and different time length recording files are established for different hardware information. Correspondingly, when the external sounding device is connected via Bluetooth, the name of the Bluetooth device can be read and the duration of the sounding is recorded in the log file.
在S102中,根据所述使用时长确定发声器件的音量补偿系数。In S102, a volume compensation coefficient of the sounding device is determined according to the length of use.
其中,使用时间越长的发声器件,其需要的音量补偿系数就越高,因此,可以根据使用时长确定音量补偿系数。如使用时长超过100h时,对其音量补偿系数可以是1.02,使用时长超过200h时,对其音量补偿系数可以是1.05,随着使用时长的增加,音量补偿系数也不断升高。Among them, the sounding device that has a longer use time has a higher volume compensation coefficient, and therefore, the volume compensation coefficient can be determined according to the length of use. If the usage time exceeds 100h, the volume compensation coefficient can be 1.02. When the usage time exceeds 200h, the volume compensation coefficient can be 1.05. As the usage time increases, the volume compensation coefficient also increases.
其中音量补偿系数可以是发声器件使用时间增加而不断变化的值,也可以是对于每个实践阶段,对应一个音量补偿系数,本申请实施例对此不作具体限定。The volume compensation coefficient may be a value that is changed continuously by the use time of the sounding device, or may be a volume compensation coefficient for each practical stage, which is not specifically limited in the embodiment of the present application.
在S103中,根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。In S103, the amount of sound emitted by the sounding device of the mobile terminal is adjusted according to the volume compensation coefficient.
根据该音量补偿系数,对移动终端的发声器件的发声音量进行调节,可以是将发声设备所对应的音量补偿系数乘以当前音量,就可以得到补偿后的音量,与用户的设定音量等级相符合,可以满足用户对于移动终端的音量调节需求。According to the volume compensation coefficient, the sound volume of the sounding device of the mobile terminal is adjusted, and the volume compensation coefficient corresponding to the sounding device is multiplied by the current volume, and the compensated volume can be obtained, which is compared with the set volume level of the user. In line with, it can meet the user's demand for volume adjustment of the mobile terminal.
本申请实施例所提供的技术方案,通过检测移动终端的发声器件的使用时长,并根据所述使用时长确定发声器件的音量补偿系数,利用音量补偿系数对发声音量进行补偿。可以提高移动终端的发声器件播放声音的准确性。The technical solution provided by the embodiment of the present application detects the time length of the sounding device of the mobile terminal, determines the volume compensation coefficient of the sounding device according to the used duration, and compensates the sound volume by using the volume compensation coefficient. The accuracy of the sound played by the sounding device of the mobile terminal can be improved.
在上述技术方案的基础上,在一实施例中,在根据所述使用时长确定发声器件的音量补偿系数之前,还包括:建立与所述发声器件的使用时长相对应的音量补偿映射表;相应的,根据所述使用时长确定发声器件的音量补偿系数,包括:根据所述音量补偿映射表确定与所述发声器件的使用时长相对应的音量补偿系数。这样可以根据音量补偿映射表确定与所述发声器件的使用时长相对应的音量补偿系数,可以快速而准确的确定音量补偿系数。On the basis of the above technical solution, in an embodiment, before determining the volume compensation coefficient of the sounding device according to the use duration, the method further includes: establishing a volume compensation mapping table corresponding to the usage duration of the sounding device; Determining, according to the duration of use, a volume compensation coefficient of the sounding device includes: determining, according to the volume compensation map, a volume compensation coefficient corresponding to a duration of use of the sounding device. In this way, the volume compensation coefficient corresponding to the duration of use of the sounding device can be determined according to the volume compensation map, and the volume compensation coefficient can be determined quickly and accurately.
图2为本申请实施例提供的另一种音量调节方法的流程示意图,如图2所示,该方法包括步骤S201至步骤S204。FIG. 2 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present application. As shown in FIG. 2, the method includes steps S201 to S204.
在S201中,在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录,并记录移动终端的发声器件使用时的音量值。In S201, when it is detected that the sounding device of the mobile terminal is in the utterance state, the use duration of the sounding device of the mobile terminal is recorded, and the volume value when the sounding device of the mobile terminal is used is recorded.
其中,记录的移动终端的发声器件使用时的音量值可以是,在移动终端通过发声器件进行播放时,移动终端对其设置的音量等级值,也可以是在外部连接的发声器件端调节的音量值。The volume value of the sounding device of the recorded mobile terminal may be the volume level value set by the mobile terminal when the mobile terminal plays the sounding device, or may be the volume adjusted by the externally connected sounding device end. value.
在S202中,将所述发声器件使用时的音量值与所述使用时长进行预设运算,得到预设运算结果。In S202, a preset operation is performed by using a volume value of the sounding device in use and the use duration to obtain a preset operation result.
其中,所述预设运算可以是做积分运算。在一实施例中,图3为本申请实施例提供的预设运算示意图。如图3所示,在发声器件音量等级随使用时长的曲线中,在t1时刻,发声器件的音量等级与使用时长t1所围成的面积是S1,该面积S1就是音量值与使用时长做积分运算的结果。同理,在t2时刻,积分运算的结果为S1+S2。在本技术方案中,将音量等级的大小对发声器件的消耗也计算在内。Wherein, the preset operation may be an integral operation. In an embodiment, FIG. 3 is a schematic diagram of a preset operation provided by an embodiment of the present application. As shown in FIG. 3, in the curve of the sound level of the sounding device according to the length of use, at time t1, the volume level of the sounding device and the area enclosed by the use time length t1 are S1, and the area S1 is the volume value and the length of use. The result of the operation. Similarly, at time t2, the result of the integral operation is S1+S2. In the present technical solution, the size of the volume level is also counted for the consumption of the sounding device.
在S203中,根据所述预设运算结果确定音量补偿系数。In S203, a volume compensation coefficient is determined according to the preset operation result.
在S204中,根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。In S204, the amount of sound emitted by the sounding device of the mobile terminal is adjusted according to the volume compensation coefficient.
本技术方案在上述技术方案的基础上,将音量等级的大小对发声器件的消耗也计算在内,不仅可以提高对发声器件音量补偿系数计算的精准度,而且把 发声器件使用过程中,音量高低音量对其造成的消耗的不同考虑在内,可以精准估计发声器件消耗并对其进行音量补偿。Based on the above technical solution, the technical solution calculates the volume level to the consumption of the sounding device, and can not only improve the accuracy of calculating the volume compensation coefficient of the sounding device, but also the volume of the sounding device during use. The volume is taken into account for the difference in consumption, and the sounding device consumption can be accurately estimated and volume compensated.
图4为本申请实施例提供的另一种音量调节方法的流程示意图,如图4所示,该方法包括步骤S401至步骤S403。FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present application. As shown in FIG. 4, the method includes steps S401 to S403.
在S401中,在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录,并获取所述发声器件的实时温度。In S401, when it is detected that the sounding device of the mobile terminal is in an utterance state, the duration of use of the sounding device of the mobile terminal is recorded, and the real-time temperature of the sounding device is acquired.
其中,获取发声器件的实施温度的方式有很多,如在发声器件位置设置温度传感器,利用温度传感器获取发声器件的实时温度。此外,还可以通过检测电流,确定某已知电阻的当前电阻值,并根据该电阻材料的电阻值-温度曲线确定其温度值。Among them, there are many ways to obtain the implementation temperature of the sounding device, such as setting a temperature sensor at the sounding device position, and using the temperature sensor to obtain the real-time temperature of the sounding device. In addition, the current resistance value of a known resistance can be determined by detecting the current, and the temperature value is determined according to the resistance value-temperature curve of the resistance material.
在S402中,根据所述使用时长确定发声器件的音量补偿系数。In S402, a volume compensation coefficient of the sounding device is determined according to the length of use.
在S403中,根据所述实时温度和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。In S403, the amount of sound emitted by the sounding device of the mobile terminal is adjusted according to the real-time temperature and the volume compensation coefficient.
本实施例中,发声器件会随着温度的升高,电阻值增大,因此在温度升高时,需要补偿音量值,从而使实际输出的音量值与用户设置的音量值相符合。该补偿音量值可以在音量补偿系数之外,单独作用于实际音量值。这样可以将发声器件的实时温度作为一种参考因素,使实际输出的音量值更加精准。In this embodiment, the sounding device increases the resistance value as the temperature increases. Therefore, when the temperature rises, the volume value needs to be compensated, so that the volume value of the actual output matches the volume value set by the user. The compensated volume value can be applied to the actual volume value separately from the volume compensation coefficient. This allows the real-time temperature of the sounding device to be used as a reference factor to make the actual output volume value more accurate.
本技术方案在上述技术方案的基础上,在一实施例中,当所述实时温度高于预设标准温度值时,确定温度补偿系数;根据所述温度补偿系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。在所述实时温度低于预设标准温度值时,确定温度削减系数;根据所述温度削减系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。其中,预设标准温度可以是一个温度值,也可以是一个温度范围值,温度补偿系数和温度削减系数可以由发声器件的电阻受温度的影响程度而定。The technical solution is based on the foregoing technical solution. In an embodiment, when the real-time temperature is higher than a preset standard temperature value, determining a temperature compensation coefficient; according to the temperature compensation coefficient and the volume compensation coefficient, The amount of sound emitted by the sounding device of the mobile terminal is adjusted. And determining, when the real-time temperature is lower than the preset standard temperature value, a temperature reduction coefficient; and adjusting an amount of sound emitted by the sounding device of the mobile terminal according to the temperature reduction coefficient and the volume compensation coefficient. Wherein, the preset standard temperature may be a temperature value or a temperature range value, and the temperature compensation coefficient and the temperature reduction coefficient may be determined by the degree of influence of the resistance of the sounding device by the temperature.
图5为本申请实施例提供的另一种音量调节方法的流程示意图,如图5所示,该方法包括步骤S501至步骤S505。FIG. 5 is a schematic flowchart of another volume adjustment method according to an embodiment of the present application. As shown in FIG. 5, the method includes steps S501 to S505.
在S501中,在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录,并获取所述发声器件的实时温度。In S501, when it is detected that the sounding device of the mobile terminal is in an utterance state, the duration of use of the sounding device of the mobile terminal is recorded, and the real-time temperature of the sounding device is acquired.
在S502中,根据所述使用时长确定发声器件的音量补偿系数。In S502, a volume compensation coefficient of the sounding device is determined according to the length of use.
在S503中,当检测到所述实时温度超过第一预警温度时,向用户发送提示 信息。并执行S504或S505。In S503, when it is detected that the real-time temperature exceeds the first early warning temperature, the prompt information is sent to the user. And execute S504 or S505.
其中,第一预警温度可以是设定的对于发声器件进行保护的温度门限值,当超过这一温度门限值时,可能对发声器件的内部线路及硬件结构造成损害较为严重,例如温度门限值可以为55度。因此,在温度超过温度门限值时,可以向用户发出声和光提示中的至少一种,告知用户当前发声器件的温度过高,对于发声器件的使用寿命影响较大。The first early warning temperature may be a set temperature threshold for protecting the sounding device. When the temperature threshold is exceeded, the internal circuit and the hardware structure of the sounding device may be seriously damaged, such as a temperature gate. The limit can be 55 degrees. Therefore, when the temperature exceeds the temperature threshold, at least one of the sound and light prompts may be sent to the user to inform the user that the temperature of the current sounding device is too high, which has a great influence on the service life of the sounding device.
在S504中,当检测到所述实时温度超过第一预警温度预设时长时,根据高温抑制系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节;其中,所述高温抑制系数大于等于0且小于1。In S504, when it is detected that the real-time temperature exceeds the first pre-warning temperature preset time length, adjusting the sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient; wherein The high temperature suppression coefficient is greater than or equal to 0 and less than 1.
其中,预设时长可以是十分钟,当温度超过第一预警温度十分钟时,则根据高温抑制系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节;其中,所述高温抑制系数大于等于0且小于1。其中,高温抑制系数可以是0,这样可以对发声器件产生保护作用。Wherein, the preset duration may be ten minutes, and when the temperature exceeds the first warning temperature for ten minutes, the sound volume of the sounding device of the mobile terminal is adjusted according to the high temperature suppression coefficient and the volume compensation coefficient; The high temperature suppression coefficient is greater than or equal to 0 and less than 1. Among them, the high temperature suppression coefficient can be 0, which can protect the sounding device.
在S505中,当检测到所述实时温度超过第二预警温度时,根据高温抑制系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节;其中,所述高温抑制系数大于等于0且小于1。In S505, when it is detected that the real-time temperature exceeds the second early warning temperature, adjusting the sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient; wherein the high temperature suppression coefficient Greater than or equal to 0 and less than 1.
其中第二预警温度大于第一预警温度,如第一预警温度为55度时,第二预警温度可以是57度。这样可以在发声器件温度继续升高的情况下,尽快采取措施,对发声器件起到保护作用。The second early warning temperature is greater than the first early warning temperature. If the first early warning temperature is 55 degrees, the second early warning temperature may be 57 degrees. In this way, when the temperature of the sounding device continues to rise, measures can be taken as soon as possible to protect the sounding device.
本技术方案在上述技术方案的基础上,可以根据实时温度进行音量调节,在对于移动终端进行音量调节的同时,对发声器件起到保护作用。Based on the above technical solution, the technical solution can perform volume adjustment according to real-time temperature, and protect the sounding device while performing volume adjustment for the mobile terminal.
图6为本申请实施例提供的一种音量调节装置的结构框图,该装置可由软件和硬件种的至少一种实现,一般集成在移动终端中,可通过执行音量调节方法来对移动终端的音量进行调节。如图6所示,该装置包括使用时长记录模块601,音量补偿系数确定模块602以及发声音量调节模块603。FIG. 6 is a structural block diagram of a volume adjustment apparatus according to an embodiment of the present disclosure. The apparatus may be implemented by at least one of software and hardware, and is generally integrated in a mobile terminal, and may perform volume adjustment on a mobile terminal. Make adjustments. As shown in FIG. 6, the device includes a recording duration recording module 601, a volume compensation coefficient determining module 602, and a sound volume adjusting module 603.
使用时长记录模块601,设置为在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录。The duration recording module 601 is configured to record the duration of use of the sounding device of the mobile terminal when detecting that the sounding device of the mobile terminal is in an utterance state.
音量补偿系数确定模块602,设置为根据所述使用时长确定发声器件的音量补偿系数。The volume compensation coefficient determining module 602 is configured to determine a volume compensation coefficient of the sounding device according to the used duration.
发声音量调节模块603,设置为根据所述音量补偿系数,对所述移动终端的 发声器件的发声音量进行调节。The sound volume adjustment module 603 is configured to adjust the sound volume of the sounding device of the mobile terminal according to the volume compensation coefficient.
在上述技术方案的基础上,在一实施例中,所述装置还包括:音量补偿映射表建立模块,设置为建立与所述发声器件的使用时长相对应的音量补偿映射表;相应的,所述音量补偿系数确定模块602包括:第一音量补偿系数确定单元,设置为根据所述音量补偿映射表确定与所述发声器件的使用时长相对应的音量补偿系数。On the basis of the above technical solution, in an embodiment, the device further includes: a volume compensation mapping table establishing module, configured to establish a volume compensation mapping table corresponding to the usage duration of the sounding device; correspondingly, The volume compensation coefficient determining module 602 includes: a first volume compensation coefficient determining unit configured to determine a volume compensation coefficient corresponding to a usage duration of the sounding device according to the volume compensation map.
在上述技术方案的基础上,在一实施例中,所述使用时长记录模块601,还包括:音量值记录单元,设置为记录移动终端的发声器件使用时的音量值;相应的,所述音量补偿系数确定模块602包括:第二音量补偿系数确定单元,设置为将所述发声器件使用时的音量值与所述使用时长进行预设运算,得到预设运算结果;根据所述预设运算结果确定音量补偿系数。On the basis of the above technical solution, in an embodiment, the usage duration recording module 601 further includes: a volume value recording unit configured to record a volume value when the sounding device of the mobile terminal is used; correspondingly, the volume The compensation coefficient determining module 602 includes: a second volume compensation coefficient determining unit configured to perform a preset operation on the volume value when the sounding device is used and the used duration to obtain a preset operation result; according to the preset operation result Determine the volume compensation factor.
在上述技术方案的基础上,在一实施例中,所述装置还包括:实时温度获取模块,设置为获取所述发声器件的实时温度;相应的,所述音量补偿系数确定模块602包括:第三音量补偿系数确定单元,设置为根据所述实时温度和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。On the basis of the above technical solution, in an embodiment, the device further includes: a real-time temperature acquisition module, configured to acquire a real-time temperature of the sounding device; correspondingly, the volume compensation coefficient determining module 602 includes: The three volume compensation coefficient determining unit is configured to adjust the sound volume of the sounding device of the mobile terminal according to the real-time temperature and the volume compensation coefficient.
在上述技术方案的基础上,在一实施例中,所述发声音量调节模块603包括:发声音量调节单元,设置为:当所述实时温度高于预设标准温度值时,确定温度补偿系数;根据所述温度补偿系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。On the basis of the above technical solution, in an embodiment, the sound volume adjustment module 603 includes: a sound volume adjustment unit, configured to: when the real-time temperature is higher than a preset standard temperature value, determine a temperature compensation coefficient; And adjusting the sound volume of the sounding device of the mobile terminal according to the temperature compensation coefficient and the volume compensation coefficient.
在上述技术方案的基础上,在一实施例中,所述实时温度获取模块还包括:提示信息发送单元,设置为当检测到所述实时温度超过第一预警温度时,向用户发送提示信息;高温抑制单元,设置为当检测到所述实时温度超过第一预警温度预设时长时,根据高温抑制系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节;其中,所述高温抑制系数大于等于0且小于1。On the basis of the foregoing technical solution, in an embodiment, the real-time temperature acquiring module further includes: a prompt information sending unit, configured to send prompt information to the user when detecting that the real-time temperature exceeds the first early warning temperature; The high temperature suppression unit is configured to adjust the sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient when detecting that the real time temperature exceeds the first warning temperature preset time length; The high temperature suppression coefficient is greater than or equal to 0 and less than 1.
在上述技术方案的基础上,在一实施例中,所述实时温度获取模块还包括:提示信息发送单元,设置为当检测到所述实时温度超过第一预警温度时,向用户发送提示信息;高温抑制单元,还设置为当检测到所述实时温度超过第二预警温度时,根据高温抑制系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节;其中,所述高温抑制系数大于等于0且小于1。On the basis of the foregoing technical solution, in an embodiment, the real-time temperature acquiring module further includes: a prompt information sending unit, configured to send prompt information to the user when detecting that the real-time temperature exceeds the first early warning temperature; The high temperature suppression unit is further configured to: when detecting that the real-time temperature exceeds the second early warning temperature, adjust a sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient; wherein The high temperature suppression coefficient is greater than or equal to 0 and less than 1.
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机 可执行指令在由计算机处理器执行时设置为执行一种音量调节方法,该方法包括:在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录;根据所述使用时长确定发声器件的音量补偿系数;根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。Embodiments of the present application also provide a storage medium including computer executable instructions that, when executed by a computer processor, are configured to perform a volume adjustment method, the method comprising: detecting a sound of a mobile terminal Recording the duration of use of the sounding device of the mobile terminal when the device is in the utterance state; determining a volume compensation coefficient of the sounding device according to the used duration; and sounding the sounding device of the mobile terminal according to the volume compensation coefficient The volume is adjusted.
存储介质——任何类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如只读光盘(Compact Disc Read-Only Memory,CD-ROM)、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如动态随机存取存储器(Dynamic Random Access Memory,DRAM)、双倍速率随机动态存储器(Double Data Rate Random Access Memory,DDR RAM)、静态随机存储器(Static Random Access Memory,SRAM)、动态存储器(Extended Data Output Random Access Memory,EDO RAM),兰巴斯随机存储器(Rambus Random Access Memory,Rambus RAM)等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。Storage media - any type of storage device or storage device. The term "storage medium" is intended to include: a mounting medium such as a Compact Disc Read-Only Memory (CD-ROM), a floppy disk or a tape device; a computer system memory or a random access memory such as a dynamic random access memory ( Dynamic Random Access Memory (DRAM), Double Data Rate Random Access Memory (DDR RAM), Static Random Access Memory (SRAM), Dynamic Data Memory (Extended Data Output Random Access Memory, EDO RAM) ), Rambus Random Access Memory (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. Additionally, 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.
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的音量调节操作,还可以执行本申请任意实施例所提供的音量调节方法中的相关操作。Of course, the storage medium containing the computer executable instructions provided by the embodiment of the present application is not limited to the volume adjustment operation as described above, and may also be implemented in the volume adjustment method provided by any embodiment of the present application. Related operations.
本申请实施例提供了一种移动终端,该移动终端中可集成本申请实施例提供的音量调节装置。图7为本申请实施例提供的一种移动终端的结构示意图。如图7所示,该移动终端可以包括:存储器701、中央处理器(Central Processing Unit,CPU)702(又称处理器,以下简称CPU)、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU702和所述存储器701设置在所述电路板上;所述电源电路,设置为为所述移动终端的每个电路或器件供电;所述存储器701,设置为存储可执行程序代码;所述CPU702通过读取所述存储器701中存储的可执行程序代码来运行与所述 可执行程序代码对应的计算机程序,以实现以下步骤:在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录;根据所述使用时长确定发声器件的音量补偿系数;根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。The embodiment of the present application provides a mobile terminal, where the volume adjustment device provided by the embodiment of the present application can be integrated. FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. As shown in FIG. 7, 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). 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 disposed as 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 Recording, when detecting that the sounding device of the mobile terminal is in an uttering state, recording the duration of use of the sounding device of the mobile terminal; determining a volume compensation coefficient of the sounding device according to the used duration; according to the volume compensation coefficient, The amount of sound emitted by the sounding device of the mobile terminal is adjusted.
所述移动终端还包括:外设接口703、射频(Radio Frequency,RF)电路705、音频电路706、扬声器711、电源管理芯片708、输入/输出(I/O)子系统709、触摸屏712、其他输入/控制设备710以及外部端口704,这些部件通过一个或多个通信总线或信号线707来通信。The mobile terminal further includes: a peripheral interface 703, a radio frequency (RF) 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.
应该理解的是,图示移动终端700仅仅是移动终端的一个范例,并且移动终端700可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的多种部件可以在包括至少一个信号处理和专用集成电路中至少一种在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that 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 at least one of signal processing and 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.
存储器701,所述存储器701可以被CPU702、外设接口703等访问,所述存储器701可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。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.
外设接口703,所述外设接口703可以将设备的输入和输出外设连接到CPU702和存储器701。 Peripheral interface 703, which can connect the input and output peripherals of the device to CPU 702 and memory 701.
I/O子系统709,所述I/O子系统709可以将设备上的输入输出外设,例如触摸屏712和其他输入/控制设备710,连接到外设接口703。I/O子系统709可以包括显示控制器7091和用于控制其他输入/控制设备710的一个或多个输入控制器7092。其中,一个或多个输入控制器7092从其他输入/控制设备710接收电信号或者向其他输入/控制设备710发送电信号,其他输入/控制设备710可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器7092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 709, which 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 receive electrical signals from other input/control devices 710 or transmit electrical signals to other input/control devices 710, and other input/control devices 710 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel. 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.
触摸屏712,所述触摸屏712是用户移动终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。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.
I/O子系统709中的显示控制器7091从触摸屏712接收电信号或者向触摸屏712发送电信号。触摸屏712检测触摸屏上的接触,显示控制器7091将检测到的接触转换为与显示在触摸屏712上的用户界面对象的交互,即实现人机交互,显示在触摸屏712上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。 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 icon of the game, the icon of the network to the corresponding network, and the like. It is worth noting that 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.
RF电路705,主要设置为建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路705接收并发送RF信号,RF信号也称为电磁信号,RF电路705将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路705可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、编译码器(COder-DECoder,CODEC)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 705 is mainly configured to establish communication between the mobile phone and the wireless network (ie, the network side), and realize 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. 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.
音频电路706,主要设置为从外设接口703接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器711。The audio circuit 706 is primarily configured 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.
扬声器711,设置为将手机通过RF电路705从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 711 is arranged 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.
电源管理芯片708,设置为为CPU702、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 708 is configured to provide power and power management for the hardware connected to the CPU 702, the I/O subsystem, and the peripheral interface.
本申请实施例提供的移动终端,可以根据移动终端的发声器件的性能衰减情况进行音量调节。The mobile terminal provided by the embodiment of the present application can perform volume adjustment according to performance degradation of the sound emitting device 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 application, and have a corresponding function module for performing the method. For details of the techniques not described in detail in the above embodiments, reference may be made to the volume adjustment method provided by any embodiment of the present application.

Claims (20)

  1. 一种音量调节方法,包括:A volume adjustment method includes:
    在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录;Recording the duration of use of the sounding device of the mobile terminal when detecting that the sounding device of the mobile terminal is in an utterance state;
    根据所述使用时长确定所述发声器件的音量补偿系数;Determining a volume compensation coefficient of the sounding device according to the length of use;
    根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。Adjusting the amount of sound emitted by the sound emitting device of the mobile terminal according to the volume compensation coefficient.
  2. 根据权利要求1所述的音量调节方法,在根据所述使用时长确定所述发声器件的音量补偿系数之前,还包括:The volume adjustment method according to claim 1, further comprising: before determining the volume compensation coefficient of the sounding device according to the use duration;
    建立与所述发声器件的使用时长相对应的音量补偿映射表;Establishing a volume compensation map corresponding to the duration of use of the sounding device;
    其中,所述根据所述使用时长确定发声器件的音量补偿系数,包括:Wherein, determining the volume compensation coefficient of the sounding device according to the use duration includes:
    根据所述音量补偿映射表确定与所述发声器件的使用时长相对应的音量补偿系数。A volume compensation coefficient corresponding to a length of use of the sounding device is determined according to the volume compensation map.
  3. 根据权利要求2所述的音量调节方法,在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录时,还包括:The volume adjustment method according to claim 2, when detecting that the sounding device of the mobile terminal is in an utterance state, and recording the duration of use of the sounding device of the mobile terminal, the method further includes:
    记录移动终端的发声器件使用时的音量值;Recording the volume value of the sounding device of the mobile terminal when used;
    其中,所述根据所述使用时长确定发声器件的音量补偿系数,还包括:Wherein, determining the volume compensation coefficient of the sounding device according to the use duration includes:
    对所述发声器件使用时的音量值与所述使用时长进行预设运算,得到预设运算结果;Performing a preset operation on the volume value of the sounding device and the use duration to obtain a preset operation result;
    根据所述预设运算结果确定音量补偿系数。And determining a volume compensation coefficient according to the preset operation result.
  4. 根据权利要求1所述的音量调节方法,在根据所述音量补偿系数,对播放声音进行音量调节之前,还包括:The volume adjustment method according to claim 1, further comprising: before performing volume adjustment on the playback sound according to the volume compensation coefficient,
    获取所述发声器件的实时温度;Obtaining a real-time temperature of the sounding device;
    其中,所述根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节,包括:The adjusting the sound volume of the sounding device of the mobile terminal according to the volume compensation coefficient includes:
    根据所述实时温度和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。And adjusting the sound volume of the sounding device of the mobile terminal according to the real-time temperature and the volume compensation coefficient.
  5. 根据权利要求4所述的音量调节方法,其中,根据所述实时温度和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节,包括:The volume adjustment method according to claim 4, wherein adjusting the amount of sound emitted by the sounding device of the mobile terminal according to the real-time temperature and the volume compensation coefficient comprises:
    当所述实时温度高于预设标准温度值时,确定温度补偿系数;Determining a temperature compensation coefficient when the real-time temperature is higher than a preset standard temperature value;
    根据所述温度补偿系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。And adjusting the sound volume of the sounding device of the mobile terminal according to the temperature compensation coefficient and the volume compensation coefficient.
  6. 根据权利要求4所述的音量调节方法,在获取所述发声器件的实时温度之后,还包括:The volume adjustment method according to claim 4, after acquiring the real-time temperature of the sounding device, further comprising:
    当检测到所述实时温度超过第一预警温度时,向用户发送提示信息;Sending a prompt message to the user when detecting that the real-time temperature exceeds the first early warning temperature;
    当检测到所述实时温度超过第一预警温度预设时长时,根据高温抑制系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节;其中,所述高温抑制系数大于等于0且小于1。When detecting that the real-time temperature exceeds the first pre-warning temperature preset time length, adjusting the sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient; wherein the high temperature suppression coefficient is greater than Equal to 0 and less than 1.
  7. 根据权利要求4所述的音量调节方法,在获取所述发声器件的实时温度之后,还包括:The volume adjustment method according to claim 4, after acquiring the real-time temperature of the sounding device, further comprising:
    当检测到所述实时温度超过第一预警温度时,向用户发送提示信息;Sending a prompt message to the user when detecting that the real-time temperature exceeds the first early warning temperature;
    当检测到所述实时温度超过第二预警温度时,根据高温抑制系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节;其中,所述高温抑制系数大于等于0且小于1。And detecting, when the real-time temperature exceeds the second early warning temperature, adjusting the sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient; wherein the high temperature suppression coefficient is greater than or equal to 0 less than 1.
  8. 根据权利要求1所述的音量调节方法,其中,根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节包括:The volume adjustment method according to claim 1, wherein adjusting the sound volume of the sounding device of the mobile terminal according to the volume compensation coefficient comprises:
    将所述发声器件的音量补偿系数与所述发声器件的当前音量相乘,得到补偿后的音量,实现对所述移动终端的发声器件发声音量的调节。The volume compensation coefficient of the sounding device is multiplied by the current volume of the sounding device to obtain a compensated volume, thereby realizing adjustment of the sound volume of the sounding device of the mobile terminal.
  9. 根据权利要求3所述的音量调节方法,其中,所述记录移动终端的发声器件使用时的音量值为:The volume adjustment method according to claim 3, wherein the volume value of the sounding device of the recording mobile terminal is:
    在所述移动终端通过所述发声器件进行播放时,所述移动终端对所述发声器件设置的音量等级值,或者是在所述移动终端的外部连接的发声器件端调节的音量值。The volume level value set by the mobile terminal to the sound emitting device when the mobile terminal plays the sounding device, or the volume value adjusted by the sounding device end connected to the external terminal of the mobile terminal.
  10. 一种音量调节装置,包括:A volume adjustment device includes:
    使用时长记录模块,设置为在检测到移动终端的发声器件处于发声状态时,对所述移动终端的发声器件的使用时长进行记录;Using a duration recording module, configured to record a duration of use of the sounding device of the mobile terminal when detecting that the sounding device of the mobile terminal is in an utterance state;
    音量补偿系数确定模块,设置为根据所述使用时长确定发声器件的音量补偿系数;a volume compensation coefficient determining module, configured to determine a volume compensation coefficient of the sounding device according to the used duration;
    发声音量调节模块,设置为根据所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。The sound volume adjustment module is configured to adjust the sound volume of the sounding device of the mobile terminal according to the volume compensation coefficient.
  11. 根据权利要求10所述的音量调节装置,还包括:The volume adjustment device of claim 10, further comprising:
    音量补偿映射表建立模块,设置为建立与所述发声器件的使用时长相对应 的音量补偿映射表;a volume compensation mapping table establishing module configured to establish a volume compensation mapping table corresponding to a usage duration of the sounding device;
    其中,所述音量补偿系数确定模块包括:第一音量补偿系数确定单元,设置为根据所述音量补偿映射表确定与所述发声器件的使用时长相对应的音量补偿系数。The volume compensation coefficient determining module includes: a first volume compensation coefficient determining unit configured to determine a volume compensation coefficient corresponding to a usage duration of the sounding device according to the volume compensation mapping table.
  12. 根据权利要求11所述的音量调节装置,所述使用时长记录模块还包括:The volume adjustment device according to claim 11, wherein the usage duration recording module further comprises:
    音量值记录单元,设置为记录移动终端的发声器件使用时的音量值;a volume value recording unit configured to record a volume value when the sounding device of the mobile terminal is used;
    其中,所述音量补偿系数确定模块包括:第二音量补偿系数确定单元,设置为对所述发声器件使用时的音量值与所述使用时长进行预设运算,得到预设运算结果;The volume compensation coefficient determining module includes: a second volume compensation coefficient determining unit configured to perform a preset operation on a volume value used by the sounding device and the used duration to obtain a preset operation result;
    根据所述预设运算结果确定音量补偿系数。And determining a volume compensation coefficient according to the preset operation result.
  13. 根据权利要求10所述的音量调节装置,还包括:The volume adjustment device of claim 10, further comprising:
    实时温度获取模块,设置为获取所述发声器件的实时温度;a real-time temperature acquisition module configured to acquire a real-time temperature of the sounding device;
    其中,所述音量补偿系数确定模块包括:第三音量补偿系数确定单元,设置为根据所述实时温度和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。The volume compensation coefficient determining module includes: a third volume compensation coefficient determining unit configured to adjust a sound volume of the sounding device of the mobile terminal according to the real-time temperature and the volume compensation coefficient.
  14. 根据权利要求13所述的音量调节装置,所述发声音量调节模块包括:The volume adjustment device according to claim 13, wherein the sound volume adjustment module comprises:
    发声音量调节单元,设置为:当所述实时温度高于预设标准温度值时,确定温度补偿系数;a sound volume adjustment unit configured to: determine a temperature compensation coefficient when the real-time temperature is higher than a preset standard temperature value;
    根据所述温度补偿系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节。And adjusting the sound volume of the sounding device of the mobile terminal according to the temperature compensation coefficient and the volume compensation coefficient.
  15. 根据权利要求13所述的音量调节装置,所述实时温度获取模块还包括:The volume adjustment device according to claim 13, wherein the real-time temperature acquisition module further comprises:
    提示信息发送单元,设置为当检测到所述实时温度超过第一预警温度时,向用户发送提示信息;The prompt information sending unit is configured to send the prompt information to the user when detecting that the real-time temperature exceeds the first early warning temperature;
    高温抑制单元,设置为当检测到所述实时温度超过第一预警温度预设时长时,根据高温抑制系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节;其中,所述高温抑制系数大于等于0且小于1。The high temperature suppression unit is configured to adjust the sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient when detecting that the real time temperature exceeds the first warning temperature preset time length; The high temperature suppression coefficient is greater than or equal to 0 and less than 1.
  16. 根据权利要求13所述的音量调节装置,所述实时温度获取模块还包括:The volume adjustment device according to claim 13, wherein the real-time temperature acquisition module further comprises:
    提示信息发送单元,设置为当检测到所述实时温度超过第一预警温度时,向用户发送提示信息;The prompt information sending unit is configured to send the prompt information to the user when detecting that the real-time temperature exceeds the first early warning temperature;
    高温抑制单元,还设置为当检测到所述实时温度超过第二预警温度时,根 据高温抑制系数和所述音量补偿系数,对所述移动终端的发声器件的发声音量进行调节;其中,所述高温抑制系数大于等于0且小于1。The high temperature suppression unit is further configured to: when detecting that the real-time temperature exceeds the second early warning temperature, adjust a sound volume of the sounding device of the mobile terminal according to the high temperature suppression coefficient and the volume compensation coefficient; wherein The high temperature suppression coefficient is greater than or equal to 0 and less than 1.
  17. 根据权利要求10所述的音量调节装置,其中,所述发声音量调节模块设置为:The volume adjustment device according to claim 10, wherein the sound volume adjustment module is configured to:
    将所述发声器件的音量补偿系数与所述发声器件的当前音量相乘,得到补偿后的音量,实现对所述移动终端的发声器件发声音量的调节。The volume compensation coefficient of the sounding device is multiplied by the current volume of the sounding device to obtain a compensated volume, thereby realizing adjustment of the sound volume of the sounding device of the mobile terminal.
  18. 根据权利要求12所述的音量调节装置,其中,所述音量值记录单元设置为:The volume adjusting device according to claim 12, wherein the volume value recording unit is configured to:
    在所述移动终端通过所述发声器件进行播放时,记录所述移动终端对所述发声器件设置的音量等级值,或者是记录在所述移动终端的外部连接的发声器件端调节的音量值。And when the mobile terminal plays the sounding device, recording a volume level value set by the mobile terminal to the sounding device, or recording a volume value adjusted by an externally connected sounding device end of the mobile terminal.
  19. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-9中任一所述的音量调节方法。A computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the volume adjustment method of any of claims 1-9.
  20. 一种移动终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-9中任一所述的音量调节方法。A mobile terminal comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor performing the computer program to implement the volume adjustment according to any one of claims 1-9 method.
PCT/CN2018/098645 2017-08-18 2018-08-03 Sound volume adjustment method and apparatus, storage medium, and mobile terminal WO2019033938A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710711110.2 2017-08-18
CN201710711110.2A CN107404592A (en) 2017-08-18 2017-08-18 volume adjusting method, device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
WO2019033938A1 true WO2019033938A1 (en) 2019-02-21

Family

ID=60396484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/098645 WO2019033938A1 (en) 2017-08-18 2018-08-03 Sound volume adjustment method and apparatus, storage medium, and mobile terminal

Country Status (2)

Country Link
CN (1) CN107404592A (en)
WO (1) WO2019033938A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404592A (en) * 2017-08-18 2017-11-28 广东欧珀移动通信有限公司 volume adjusting method, device, storage medium and mobile terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102804259A (en) * 2009-06-30 2012-11-28 本田技研工业株式会社 Sound Effect Generating Device
CN102959990A (en) * 2010-08-26 2013-03-06 株式会社村田制作所 Piezoelectric device
CN103458339A (en) * 2012-06-01 2013-12-18 联想(北京)有限公司 Audio output control method and electronic equipment
CN106068009A (en) * 2016-08-19 2016-11-02 维沃移动通信有限公司 Method and the electronic installation of calibration is put outside speaker
CN106683625A (en) * 2016-12-15 2017-05-17 惠科股份有限公司 Grayscale curve correcting and adjusting method, terminal and display device
CN107197101A (en) * 2017-06-23 2017-09-22 努比亚技术有限公司 Audio regulation method, mobile terminal and computer-readable recording medium
CN107404592A (en) * 2017-08-18 2017-11-28 广东欧珀移动通信有限公司 volume adjusting method, device, storage medium and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9883305B2 (en) * 2014-03-19 2018-01-30 Cirrus Logic, Inc. Non-linear control of loudspeakers
CN105430588A (en) * 2015-11-02 2016-03-23 广东欧珀移动通信有限公司 Electroacoustic device using time calculation method and device and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102804259A (en) * 2009-06-30 2012-11-28 本田技研工业株式会社 Sound Effect Generating Device
CN102959990A (en) * 2010-08-26 2013-03-06 株式会社村田制作所 Piezoelectric device
CN103458339A (en) * 2012-06-01 2013-12-18 联想(北京)有限公司 Audio output control method and electronic equipment
CN106068009A (en) * 2016-08-19 2016-11-02 维沃移动通信有限公司 Method and the electronic installation of calibration is put outside speaker
CN106683625A (en) * 2016-12-15 2017-05-17 惠科股份有限公司 Grayscale curve correcting and adjusting method, terminal and display device
CN107197101A (en) * 2017-06-23 2017-09-22 努比亚技术有限公司 Audio regulation method, mobile terminal and computer-readable recording medium
CN107404592A (en) * 2017-08-18 2017-11-28 广东欧珀移动通信有限公司 volume adjusting method, device, storage medium and mobile terminal

Also Published As

Publication number Publication date
CN107404592A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
US11251763B2 (en) Audio signal adjustment method, storage medium, and terminal
JP6505252B2 (en) Method and apparatus for processing audio signals
KR102371004B1 (en) Method for processing audio signal and electronic device supporting the same
CN108810749B (en) Player control method, device, terminal equipment and storage medium
WO2019033987A1 (en) Prompting method and apparatus, storage medium, and terminal
WO2019033986A1 (en) Sound playback device detection method, apparatus, storage medium, and terminal
EP3444718A1 (en) Method and apparatus for adjusting volume, terminal device and storage medium
US11201598B2 (en) Volume adjusting method and mobile terminal
CN110622125B (en) Communication device, method and system for adjusting transmission power based on touch detection
US10027299B2 (en) Volume control
US20220417658A1 (en) User hearing protection method, apparatus, and electronic device
WO2016187946A1 (en) Volume control method, electronic device and computer storage medium
KR20180123879A (en) Electronic device and method for controlling audio output according to type of earphone
CN107508983B (en) Volume adjusting method and device, storage medium and terminal equipment
WO2019033940A1 (en) Volume adjustment method and apparatus, terminal device, and storage medium
WO2019033941A1 (en) Volume adjustment method and apparatus, terminal device, and storage medium
WO2020103562A1 (en) Voice processing method and apparatus
WO2019033436A1 (en) Volume adjustment method, device, storage medium and mobile terminal
WO2019033938A1 (en) Sound volume adjustment method and apparatus, storage medium, and mobile terminal
CN107483734B (en) Volume adjusting method and device, terminal equipment and storage medium
CN107506168B (en) Volume adjusting method and device, terminal equipment and storage medium
WO2019033983A1 (en) Sound volume adjustment method and apparatus, storage medium, and terminal device
WO2019033442A1 (en) Mobile terminal volume control method and apparatus, storage medium, and mobile terminal
WO2019033939A1 (en) Volume adjustment method and apparatus, terminal device, and storage medium
WO2019061292A1 (en) Noise reduction method for terminal and terminal

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: 18845519

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: 18845519

Country of ref document: EP

Kind code of ref document: A1