[go: up one dir, main page]

WO2019033436A1 - Volume adjustment method, device, storage medium and mobile terminal - Google Patents

Volume adjustment method, device, storage medium and mobile terminal Download PDF

Info

Publication number
WO2019033436A1
WO2019033436A1 PCT/CN2017/098169 CN2017098169W WO2019033436A1 WO 2019033436 A1 WO2019033436 A1 WO 2019033436A1 CN 2017098169 W CN2017098169 W CN 2017098169W WO 2019033436 A1 WO2019033436 A1 WO 2019033436A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume level
volume
user
usual
identity information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/098169
Other languages
French (fr)
Chinese (zh)
Inventor
甘高亭
严锋贵
许钊铵
郑志勇
杨海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201780091853.2A priority Critical patent/CN110730948A/en
Priority to PCT/CN2017/098169 priority patent/WO2019033436A1/en
Publication of WO2019033436A1 publication Critical patent/WO2019033436A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers

Definitions

  • Embodiments of the present invention relate to the field of computers, and in particular, to a volume adjustment method, apparatus, storage medium, and mobile terminal.
  • the embodiment of the invention provides a volume adjustment method, device, storage medium and mobile terminal, which can optimize the volume adjustment mode of the mobile terminal.
  • an embodiment of the present invention provides a volume adjustment method, where the method includes:
  • the conventional volume level includes at least one of a system-used volume level and a program-used volume level;
  • the current volume level is adjusted to the conventional volume level.
  • an embodiment of the present invention provides a volume adjustment apparatus, the apparatus comprising:
  • a conventional volume level obtaining module configured to acquire a user's usual volume level; wherein the conventional volume level includes at least one of a system-used volume level and a program-usual volume level;
  • a determining module configured to acquire a current volume level of the mobile terminal, and determine whether the current volume level is the conventional volume level
  • a volume level adjustment module for adjusting the current volume level to the conventional volume level if the current volume level is not equal to the conventional volume level.
  • an embodiment of the present invention 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 invention is implemented.
  • an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor, where the processor executes the computer program to implement the implementation of the present invention.
  • a mobile terminal including a memory, a processor, and a computer program stored in the memory and operable on the processor, where the processor executes the computer program to implement the implementation of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure.
  • FIG. 6 is a structural block diagram of a volume adjustment apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present invention.
  • the method may be implemented by a volume adjustment apparatus, where the apparatus may be implemented by software and/or hardware, and may be integrated into a mobile terminal.
  • the method includes:
  • the conventional volume level includes at least one of a system-used volume level and a program-used volume level.
  • the conventional volume level can be a specific volume level or a range of volume levels. For example, if the user is accustomed to set the mobile terminal's incoming call alert volume to level 5, or to level 4-6, then either level 5 or level 4-6 can be used as the user's usual volume level.
  • the conventional volume level includes at least one of a system-used volume level and a program-used volume level.
  • the system customary volume level may include an incoming call alert tone volume level, an alarm tone volume level, a short message alert tone volume level, and a conventional volume level of the system playing sound.
  • the program's usual volume level may include a program information prompt tone used volume level, a program playback sound used volume level, and the like. For example, the usual volume level at which a user often uses a music software to play music belongs to the program playback sound used by the volume level.
  • the usual volume levels between multiple softwares can be the same or different.
  • a plurality of softwares may be divided according to the type of the software, such as a map type, a video and audio class, etc., and then the determination and acquisition of the conventional volume level are performed for each type, which is not limited by the embodiment of the present invention.
  • the user's usual volume level in different time periods may also be determined for different time periods, such as a working time period, a learning time period, and a leisure time period.
  • the conventional volume level can be obtained in a variety of ways, including reading a certain number of users' common volume level big data in the cloud server, performing statistics and analysis on the big data, determining initial data of a conventional volume level, and Take other methods.
  • the advantage of this setting is that it can cater to the needs of most users for the volume level of mobile terminals.
  • the obtaining manner may be that the current volume level of the mobile terminal set by the user is read through the interface. After the user's usual volume level and current volume level are obtained, the two can be compared to determine whether the current volume level meets the user's usual volume level. For example, if the current user-set call alert volume level is 7 and the user's custom volume level has an incoming call alert volume level of 7-8, it may be determined that the current user-set incoming call alert volume level conforms to the conventional volume level. If the judgment is met, it is not necessary to adjust the volume level of the mobile terminal. .
  • the current volume level that does not match is adjusted to the conventional volume level.
  • the incoming call alert volume level can be adjusted to 7 or 8 levels. Specifically, the selection is adjusted to 7 or 8 levels, which can be adjusted according to the nearest principle. If it is currently 5 levels, it is adjusted to 7 levels; if it is currently 10 levels, it is adjusted to 8 levels, so the benefit of setting is The current user's volume level requirement is determined according to the current volume level setting of the user. If the user sets a larger volume level and uses the conventional volume level for volume adjustment, it can be adjusted to a larger value of the conventional volume level range value.
  • the user's usual volume level may include a plurality of volume level values. During the determination process, each of the current volume levels may be compared with a corresponding volume level value in the conventional volume level, and if not, the adjustment is made. If it matches, you can keep the setting of the volume level.
  • the volume adjustment method provided in the embodiment of the present invention determines whether the current volume level meets the user's usual volume level by acquiring the user's usual volume level and the current volume level of the mobile terminal, and if not, automatically moves.
  • the current volume of the terminal is adjusted to the user's usual volume.
  • the volume adjustment method may further include: acquiring a set of adjustment values of the user-to-mobile terminal volume level by a preset number of times; and determining a user-used volume level according to the adjustment value set.
  • the preset number of times may be 5 times, and the 5 times may be a value collected by the preset duration after the user adjusts the volume level of the mobile terminal.
  • the volume level that the user has adjusted 5 times before is 6th, 3rd, 7th, 9th, and 6th respectively.
  • the adjustment value set of the music playing software volume level includes 5 volumes.
  • the adjustment value can be determined according to the average value of all the elements in the adjustment value set as the user's usual volume level, and then the user's usual volume level is determined to be 6.2, and rounding is 6 levels.
  • the user's usual volume level may also be determined based on the probability of occurrence of an element in the set of adjustment values or other means.
  • the advantage of this setting is that the user can use the level as the user's usual volume level according to the user's usual settings, and adjust the current volume level of the mobile terminal according to the user's usual volume level, so that the user's use needs can be more catered for, and the user's use can be improved. Use experience.
  • FIG. 2 is a schematic flowchart of another volume adjustment method according to an embodiment of the present invention, as shown in FIG. 2 Show that the method includes:
  • the volume adjustment value of the user may be a value that adjusts the system volume or the volume of an application to the user during the process of using the mobile terminal. For example, during the process of using the mobile terminal, the system volume adjustment is adjusted from 4 levels to 8 levels. Then the mobile terminal can detect the change in the system volume and read the adjustment value.
  • the volume adjustment value is determined as a user's usual volume level.
  • the preset duration may be ten minutes or half an hour.
  • the volume adjustment value of the user is determined as the user's usual volume level.
  • the original user's usual volume level is updated to the volume adjustment value of 8.
  • the mobile terminal's customary volume level can be dynamically adjusted to avoid the change of the volume level requirement of the mobile terminal due to the change of the user's environment, and the original user's usual volume level is also used for adjustment. Affect the user's experience.
  • the volume level of the current mobile terminal when detecting whether the volume level of the current mobile terminal meets the user's usual volume level, it may be detected once every fixed time period, and the setting may save energy consumption of the mobile terminal.
  • the fixed duration can be adjusted according to the user's usage habits.
  • the conventional volume level includes at least one of a system-used volume level and a program-used volume level.
  • the technical solution provides a method for updating the user's usual volume level on the basis of the above technical solutions, so that the adaptive adjustment can be made according to the environment of the user, which is more suitable for the user. Use the demand to improve the user experience.
  • the means for updating the conventional volume level may include multiple types, and the embodiment of the present invention only uses the above one as an example, and does not limit the adjustment manner of the conventional volume level of the mobile terminal.
  • FIG. 3 is a schematic flowchart of another volume adjustment method according to an embodiment of the present invention, as shown in FIG. 3 Show that the method includes:
  • the identity recognition module may be a fingerprint module, or may be a component adopted by other means that can identify the identity of the user. For example, in the process of unlocking the mobile terminal by the user using the fingerprint identification method, the identity information of the user may be taken by the fingerprint module.
  • the identity information of the user may be information corresponding to the unlocked fingerprint, and the identity information may be stored in an internal memory of the mobile terminal.
  • the corresponding normal volume level is found in the internal memory, and the used volume level is used as the usual volume level of the current unlocking phase of the mobile terminal.
  • the conventional volume level includes at least one of a system-used volume level and a program-used volume level.
  • the technical solution provides a solution for determining a user's usual volume level corresponding to the user's identity information.
  • the advantage of this setting is that when the mobile terminal is used by different users, the adjustment can be made according to different usage volume levels of different users, so that each user in the process of using, the mobile terminal adjusts the volume according to the current user's usual volume level. , to meet the needs of users.
  • FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • S402 Determine, according to the identity information of the user, whether the current user identity information is consistent with the previous user identity information; if yes, execute S406; if not, perform S403.
  • the user identity information may be the identity information corresponding to the fingerprint information obtained when the mobile terminal is unlocked, or may be the user's operating habits to determine the identity information of the user after the password is unlocked or unlocked.
  • the operating habits of the user may be an order of starting an application of the mobile terminal and a viewing time of each application, and may also be some fixed actions, such as sliding, adjusting the volume, and the like.
  • the user's identity information can be encoded as an ID code that can be identified by looking at the ID code in internal memory.
  • the current user's customary volume level may be entered, and the entry mode may be to obtain the set volume value of the user, and obtain a set of adjustment values.
  • the conventional volume level of the mobile terminal can be switched to a conventional volume level corresponding to the user's identity information.
  • S406 Perform volume adjustment according to an original volume level of the mobile terminal.
  • the method includes: obtaining a current volume level of the mobile terminal, and determining whether the current volume level is the conventional volume level; if not, adjusting the current volume level to the conventional volume level.
  • the technical solution provides the corresponding normal volume level according to the user's identity information on the basis of the foregoing technical solutions.
  • the advantage of the setting is that when the mobile terminal is used by multiple users, the user can use the user's usual volume level.
  • the adjustment of the volume of the mobile terminal can solve the trouble caused by repeated adjustment of the volume of the mobile terminal due to the difference in the usage level of the volume level between users.
  • the volume adjustment method further includes: acquiring a sound playing state of the mobile terminal; wherein the sound playing state includes an external release state and a headset access state; correspondingly,
  • the user's usual volume level includes an externally used volume level and a headphone used volume level; wherein the externally used volume level includes a conventional volume level using a speaker to play a system sound or a program sound; the earphone conventional volume level includes playing with a headphone The usual volume level of system sound or program sound. Because the user's usage habits often have different headphone volume and external volume, the present technical solution provides a way to distinguish between the externally used volume level and the earphone's usual volume level. The advantage of this setting is that it can be more in line with the user's usage habits, and provide the user with a comfortable service for adjusting the volume according to the usual volume level.
  • FIG. 5 is a schematic flowchart of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 5, the method includes:
  • the updated value may be a system or application volume adjustment value during the user's external release process.
  • S504 Perform volume adjustment according to the original earphone's usual volume level.
  • the update value may be a system or application volume adjustment value during the headset access process.
  • the volume is adjusted according to the original external volume level.
  • the technical solution provides a user's usual volume level when the earphone enters the external release state according to the adjustment of the volume during the earphone access process. And according to the adjustment of the volume during the external release process, adjust the user's usual volume level when the connected earphone enters the earphone access state.
  • the advantage of this setting is that the headset can be connected to the state and the external state, and a positive correlation relationship between the user's usual volume levels can be established, so that the user can access the earphone or unplug the earphone according to the conventional volume level.
  • the volume level is automatically adjusted, and the user's manual adjustment is required to improve the user experience.
  • FIG. 6 is a structural block diagram of a volume adjustment apparatus according to an embodiment of the present invention.
  • the apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may perform volume adjustment on a mobile terminal by performing a volume adjustment method.
  • the device includes:
  • the conventional volume level obtaining module 601 is configured to acquire a user's usual volume level; wherein the conventional volume level includes at least one of a system-used volume level and a program-usual volume level;
  • the determining module 602 is configured to acquire a current volume level of the mobile terminal, and determine whether the current volume level is the conventional volume level;
  • the volume level adjustment module 603 is configured to adjust the current volume level to the conventional volume level if the current volume level is not equal to the conventional volume level.
  • the volume adjustment device determines whether the current volume level meets the user's usual volume level by acquiring the user's usual volume level and the current volume level of the mobile terminal, and if not, automatically moves.
  • the current volume of the terminal is adjusted to the user's usual volume.
  • the method further includes a conventional volume level determining module, where the conventional volume level determining module includes:
  • the adjustment value set obtaining unit is configured to acquire a preset value set of the adjustment value of the volume level of the mobile terminal by the user;
  • the first conventional volume level determining unit is configured to determine a user's usual volume level according to the adjusted value set.
  • the method further includes a conventional volume level determining module, where the conventional volume level determining module further includes:
  • a volume adjustment value acquisition unit configured to acquire a volume adjustment value of the user
  • the second conventional volume level determining unit is configured to determine the volume adjustment value as the user's usual volume level when detecting that the volume adjustment value satisfies the preset duration.
  • the device further includes:
  • An identity information obtaining module configured to acquire identity information of the user obtained by the identity module
  • the conventional volume level determining module is further configured to determine, according to the identity information, a conventional volume level corresponding to the identity information.
  • the identity information acquiring module includes:
  • the identity information determining unit is configured to determine, according to the identity information of the user, whether the current user identity information is consistent with the identity information of the previous user;
  • the conventional volume level switching unit is configured to switch the user's usual volume level to a conventional volume level corresponding to the identity information if the current user identity information does not match the previous user identity information.
  • the device further includes:
  • a playing state obtaining module configured to acquire a sound playing state of the mobile terminal; wherein the sound playing state includes an external release state and a headset access state;
  • the user's usual volume level includes an externally used volume level and a headphone used volume level; wherein the externally used volume level includes using a speaker to play a system sound or a program sound.
  • the state switching adjustment module further includes:
  • a headphone access adjustment unit configured to determine, according to the external release conventional volume level, the used volume level of the earphone when the earphone access is detected;
  • the earphone connection disconnection adjusting unit is configured to determine the external release volume level according to the earphone's usual volume level when detecting that the earphone connection is disconnected.
  • the earphone access adjustment unit includes:
  • a first update determining sub-unit configured to determine whether the external release volume level is updated
  • the earphone access adjustment subunit is configured to determine, according to the updated external volume level or according to the updated value, the earphone habit volume level if an update occurs;
  • the earphone connection disconnection adjustment unit includes:
  • a second update determining subunit configured to determine whether an abnormal volume level of the earphone is updated
  • the earphone connection disconnect adjustment sub-unit is configured to determine the external release volume level according to the updated headphone habit volume level or according to the updated value if an update occurs.
  • Embodiments of the present invention also provide a storage medium including computer executable instructions for performing a volume adjustment method when executed by a computer processor, the method comprising:
  • the conventional volume level includes at least one of a system-used volume level and a program-used volume level;
  • the current volume level is adjusted to the conventional volume level.
  • Storage media any of a variety of types of memory devices or storage devices.
  • the term "storage medium” is intended to include: a mounting medium such as a CD-ROM, a floppy disk or a tape device; a computer system memory or a random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.
  • Non-volatile memory such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, and the like.
  • the storage medium may also include other types of memory or a combination thereof.
  • the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system, the second computer system being coupled to the first computer system via a network, such as the Internet.
  • the second computer system can provide program instructions to the first computer for execution.
  • the term "storage medium" may include being resident in different locations (eg, connected over a network) Two or more storage media in different computer systems).
  • a storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.
  • the storage medium containing the computer executable instructions provided by the embodiment of the present invention is not limited to the volume adjustment operation as described above, and may also be implemented in the volume adjustment method provided by any embodiment of the present invention. Related operations.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal may include: a memory 701, a central processing unit (CPU) 702 (also referred to as a processor, hereinafter referred to as a CPU), a circuit board (not shown), and a power supply circuit ( Not shown in the figure).
  • CPU central processing unit
  • FIG. 7 the mobile terminal may include: a memory 701, a central processing unit (CPU) 702 (also referred to as a processor, hereinafter referred to as a CPU), a circuit board (not shown), and a power supply circuit ( Not shown in the figure).
  • CPU central processing unit
  • the circuit board is disposed inside a space enclosed by the casing; the CPU 702 and the memory 701 are disposed on the circuit board; and the power circuit is configured to supply power to each circuit or device of the mobile terminal
  • the memory 701 is configured to store executable program code; the CPU 702 runs a computer program corresponding to the executable program code by reading executable program code stored in the memory 701 to implement the following steps:
  • the conventional volume level includes at least one of a system-used volume level and a program-used volume level;
  • the current volume level is adjusted to the conventional volume level.
  • the mobile terminal further includes: a peripheral interface 703, an RF (Radio Frequency) circuit 705, an audio circuit 706, a speaker 711, a power management chip 708, an input/output (I/O) subsystem 709, a touch screen 712, and others.
  • Input/control device 710 and external port 704 are communicated via one or more communication buses or signal lines 707.
  • the illustrated mobile terminal 700 is merely one example of a mobile terminal, and that the mobile terminal 700 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile terminal for volume adjustment provided by this embodiment is described in detail below.
  • the mobile terminal takes a mobile phone as an example.
  • Memory 701 can be accessed by a CPU 702, a peripheral interface 703, etc.
  • Memory 701 can include high speed random access memory, and can also include 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 used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 705 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 705 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 705 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) Chipset, Subscriber Identity Module (SIM), etc.
  • an antenna system an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) Chipset, Subscriber Identity Module (SIM), etc.
  • CODEC COder-DECoder, codec
  • SIM Subscriber Identity Module
  • the audio circuit 706 is mainly used to receive audio data from the peripheral interface 703, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 711.
  • the speaker 711 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 705 to sound and play the sound to the user.
  • the power management chip 708 is used for power supply and power management of the hardware connected to the CPU 702, the I/O subsystem, and the peripheral interface.
  • the mobile terminal provided by the embodiment of the invention can optimize the scheme for adjusting the volume of the mobile terminal.
  • the volume adjustment device, the storage medium, and the mobile terminal provided in the foregoing embodiments may perform the volume adjustment method provided by any embodiment of the present invention, and have corresponding functional modules and beneficial effects for performing the method.
  • the volume adjustment method provided by any embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed by the embodiments of the present invention are a volume adjustment method, device, storage medium and mobile terminal. The method comprises: obtaining the usual volume level of a user, wherein the usual volume level comprises at least one of the usual volume level of a system and the usual volume level of a program; obtaining a current volume level of a mobile terminal and determining whether the current volume level is the usual volume level; If not, adjusting the current volume level to the usual volume level. With the technical solution provided by embodiments of the present invention, the effect of adjusting the volume level of a mobile terminal to a volume level to which a user is accustomed may be achieved.

Description

音量调节方法、装置、存储介质及移动终端Volume adjustment method, device, storage medium and mobile terminal 技术领域Technical field

本发明实施例涉及计算机领域,尤其涉及一种音量调节方法、装置、存储介质及移动终端。Embodiments of the present invention relate to the field of computers, and in particular, 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, and various sound playing softwares (such as music and vocal reading software) have emerged. In the process of using the mobile terminal, the user needs to adjust the volume of the mobile terminal due to different requirements. However, the existing volume adjustment method has defects and needs to be improved.

发明内容Summary of the invention

本发明实施例提供一种音量调节方法、装置、存储介质及移动终端,可以优化移动终端的音量调节方式。The embodiment of the invention provides a volume adjustment method, device, storage medium and mobile terminal, which can optimize the volume adjustment mode of the mobile terminal.

第一方面,本发明实施例提供了一种音量调节方法,该方法包括:In a first aspect, an embodiment of the present invention provides a volume adjustment method, where the method includes:

获取用户的惯用音量等级;其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种;Obtaining a user's usual volume level; wherein the conventional volume level includes at least one of a system-used volume level and a program-used volume level;

获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级;Obtaining a current volume level of the mobile terminal, and determining whether the current volume level is the conventional volume level;

若否,则将所述当前音量等级调节至所述惯用音量等级。If not, the current volume level is adjusted to the conventional volume level.

第二方面,本发明实施例提供了一种音量调节装置,该装置包括:In a second aspect, an embodiment of the present invention provides a volume adjustment apparatus, the apparatus comprising:

惯用音量等级获取模块,用于获取用户的惯用音量等级;其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种;a conventional volume level obtaining module, configured to acquire a user's usual volume level; wherein the conventional volume level includes at least one of a system-used volume level and a program-usual volume level;

判断模块,用于获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级;a determining module, configured to acquire a current volume level of the mobile terminal, and determine whether the current volume level is the conventional volume level;

音量等级调节模块,若所述当前音量等级不等于所述惯用音量等级,用于将所述当前音量等级调节至所述惯用音量等级。a volume level adjustment module for adjusting the current volume level to the conventional volume level if the current volume level is not equal to the conventional volume level.

第三方面,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例所述的音量调节方法。 In a third aspect, an embodiment of the present invention 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 invention is implemented.

第四方面,本发明实施例提供了一种移动终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如本发明实施例所述的音量调节方法。In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor, where the processor executes the computer program to implement the implementation of the present invention. The volume adjustment method described in the example.

附图说明DRAWINGS

图1为本发明实施例提供的一种音量调节方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present invention;

图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 flowchart diagram of another volume adjustment method according to an embodiment of the present disclosure;

图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 invention;

图7为本发明实施例提供的一种移动终端的结构示意图。FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The technical solution of the present invention 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 invention and are not intended to limit the invention. It should also be noted that, for ease of description, only some, but not all, of the structures related to the present invention are shown in the drawings.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe the various steps as a sequential process, many of the steps can be implemented in parallel, concurrently, or concurrently. In addition, the order of the 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.

图1为本发明实施例提供的一种音量调节方法的流程示意图,该方法可以由音量调节装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括:FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present invention. The method may be implemented by a volume adjustment apparatus, where the apparatus may be implemented by software and/or hardware, and may be integrated into a mobile terminal. As shown in Figure 1, the method includes:

S101、获取用户的惯用音量等级。S101. Acquire a user's usual volume level.

其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种。The conventional volume level includes at least one of a system-used volume level and a program-used volume level.

惯用音量等级可以是一个具体音量等级,也可以是一个音量等级的范围值。 例如,用户习惯将移动终端的来电提示音量设置为5级,或者为4-6级,则其中的5级或者4-6级都可以作为用户的惯用音量等级。The conventional volume level can be a specific volume level or a range of volume levels. For example, if the user is accustomed to set the mobile terminal's incoming call alert volume to level 5, or to level 4-6, then either level 5 or level 4-6 can be used as the user's usual volume level.

本发明实施例中,可选的,惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种。具体包括上述一种或者两种可以根据用户的设置来确定,也可以在移动终端出厂时直接确定。其中,系统惯用音量等级可以包括来电提示音惯用音量等级、闹钟惯用音量等级、短信提示音惯用音量等级以及系统播放声音的惯用音量等级等。程序惯用音量等级可以包括程序信息提示音惯用音量等级、程序播放音惯用音量等级等。例如,用户经常使用某音乐软件播放音乐的惯用音量等级属于程序播放音惯用音量等级。多个软件之间的惯用音量等级可以相同,也可以不同。多个软件之间也可以根据软件类型进行划分,如地图类、影音类等,再针对每一类型进行惯用音量等级的确定和获取,本发明实施例对此不作限定。本发明实施例中也可以针对不同的时间段,确定用户的在不同时间段内的惯用音量等级,如在工作时间段、学习时间段以及闲暇时间段等。In the embodiment of the present invention, optionally, the conventional volume level includes at least one of a system-used volume level and a program-used volume level. Specifically, one or both of the above may be determined according to the setting of the user, or may be directly determined when the mobile terminal is shipped from the factory. The system customary volume level may include an incoming call alert tone volume level, an alarm tone volume level, a short message alert tone volume level, and a conventional volume level of the system playing sound. The program's usual volume level may include a program information prompt tone used volume level, a program playback sound used volume level, and the like. For example, the usual volume level at which a user often uses a music software to play music belongs to the program playback sound used by the volume level. The usual volume levels between multiple softwares can be the same or different. A plurality of softwares may be divided according to the type of the software, such as a map type, a video and audio class, etc., and then the determination and acquisition of the conventional volume level are performed for each type, which is not limited by the embodiment of the present invention. In the embodiment of the present invention, the user's usual volume level in different time periods may also be determined for different time periods, such as a working time period, a learning time period, and a leisure time period.

惯用音量等级的获取方式可以有多种,可以包括在云端服务器端读取一定数量的用户的常用音量等级大数据,对该大数据进行统计和分析,确定一个惯用音量等级的初始数据,还可以采取其他方式。这样设置的好处是可以尽量迎合大多数用户对于移动终端的音量等级的需求。The conventional volume level can be obtained in a variety of ways, including reading a certain number of users' common volume level big data in the cloud server, performing statistics and analysis on the big data, determining initial data of a conventional volume level, and Take other methods. The advantage of this setting is that it can cater to the needs of most users for the volume level of mobile terminals.

S102、获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级。S102. Acquire a current volume level of the mobile terminal, and determine whether the current volume level is the conventional volume level.

获取移动终端的当前音量等级,可以包括系统音量等级和程序音量等级等。获取方式可以是通过接口读取用户设定的移动终端的当前音量等级。在获取到用户的惯用音量等级和当前音量等级之后,可以对两者进行比较,确定当前音量等级是否符合用户的惯用音量等级。例如,如当前用户设置的来电提醒音量等级为7级,用户的惯用音量等级中的来电提醒音量等级为7-8级,则可确定当前用户设置的来电提醒音量等级符合惯用音量等级。若判断符合,则可以不用对移动终端的音量等级做出调节。。Obtain the current volume level of the mobile terminal, which may include a system volume level and a program volume level. The obtaining manner may be that the current volume level of the mobile terminal set by the user is read through the interface. After the user's usual volume level and current volume level are obtained, the two can be compared to determine whether the current volume level meets the user's usual volume level. For example, if the current user-set call alert volume level is 7 and the user's custom volume level has an incoming call alert volume level of 7-8, it may be determined that the current user-set incoming call alert volume level conforms to the conventional volume level. If the judgment is met, it is not necessary to adjust the volume level of the mobile terminal. .

S103、若否,则将所述当前音量等级调节至所述惯用音量等级。S103. If no, adjust the current volume level to the conventional volume level.

当判断为不符合惯用音量等级时,则对不符合的当前音量等级调节至所述惯用音量等级。When it is determined that the conventional volume level is not met, the current volume level that does not match is adjusted to the conventional volume level.

结合上述示例,如当前用户设置的来电提醒音量等级为5级,用户的惯用 音量等级中的来电提醒音量等级为7-8级,则可确定当前用户设置的来电提醒音量等级不符合惯用音量等级。在这种情况下,则可以将来电提醒音量等级调节至7级或者8级。具体的,选择调节至7级或者8级,可以按照就近的原则来调节,如果当前为5级,则调节至7级;如果当前为10级,则调节至8级,这样设置的好处是可以根据用户当前音量等级的设置判断当前用户的音量等级需求。如用户设置较大音量等级时,而又在采用惯用音量等级进行音量调节时,则可以调节至惯用音量等级范围值的较大值。In combination with the above example, if the current user sets the incoming call alert volume level to 5, the user's usual The volume of the incoming call reminder in the volume level is 7-8, and it can be determined that the incoming call reminder volume level set by the current user does not conform to the conventional volume level. In this case, the incoming call alert volume level can be adjusted to 7 or 8 levels. Specifically, the selection is adjusted to 7 or 8 levels, which can be adjusted according to the nearest principle. If it is currently 5 levels, it is adjusted to 7 levels; if it is currently 10 levels, it is adjusted to 8 levels, so the benefit of setting is The current user's volume level requirement is determined according to the current volume level setting of the user. If the user sets a larger volume level and uses the conventional volume level for volume adjustment, it can be adjusted to a larger value of the conventional volume level range value.

值得说明的是,惯用音量等级为单个固定值时,直接将当前音量调节至该固定值即可。It is worth noting that when the conventional volume level is a single fixed value, the current volume can be directly adjusted to the fixed value.

另外,用户的惯用音量等级可能包含多种音量等级值,在判断过程中,可以将当前的每一种音量等级与惯用音量等级中的对应音量等级值进行比较,如不符合,则做出调节,如符合,则可以保持该音量等级的设置。In addition, the user's usual volume level may include a plurality of volume level values. During the determination process, each of the current volume levels may be compared with a corresponding volume level value in the conventional volume level, and if not, the adjustment is made. If it matches, you can keep the setting of the volume level.

本发明实施例中提供的音量调节方法,通过获取到用户的惯用音量等级以及移动终端的当前音量等级并进行比较,判断当前音量等级是否符合用户的惯用音量等级,若不符合,则自动将移动终端的当前音量调节到用户惯用音量。通过采用上述技术方案,可以实现将移动终端的音量等级调节至用户习惯使用的音量等级的效果。The volume adjustment method provided in the embodiment of the present invention determines whether the current volume level meets the user's usual volume level by acquiring the user's usual volume level and the current volume level of the mobile terminal, and if not, automatically moves. The current volume of the terminal is adjusted to the user's usual volume. By adopting the above technical solution, the effect of adjusting the volume level of the mobile terminal to the volume level that the user is accustomed to use can be achieved.

在一个实施例中,音量调节方法在获取用户惯用音量等级之前还可包括:获取预设次数的用户对移动终端音量等级的调节值集合;根据所述调节值集合确定用户惯用音量等级。In an embodiment, the volume adjustment method may further include: acquiring a set of adjustment values of the user-to-mobile terminal volume level by a preset number of times; and determining a user-used volume level according to the adjustment value set.

其中,预设次数可以是5次,该5次可以是每次用户调节移动终端的音量等级后预设时长采集到的值。如对于某音乐播放软件,用户之前调节5次的音量等级分别为6级、3级、7级、9级和6级,相应的,该音乐播放软件音量等级的调节值集合中包含5个音量调节值,可以根据这个调节值集合中所有元素的平均值作为用户的惯用音量等级,则确定用户的惯用音量等级为6.2级,四舍五入即为6级。也可以根据该调节值集合中的某个元素的出现概率或者其他方式来确定用户的惯用音量等级。The preset number of times may be 5 times, and the 5 times may be a value collected by the preset duration after the user adjusts the volume level of the mobile terminal. For a music playing software, the volume level that the user has adjusted 5 times before is 6th, 3rd, 7th, 9th, and 6th respectively. Correspondingly, the adjustment value set of the music playing software volume level includes 5 volumes. The adjustment value can be determined according to the average value of all the elements in the adjustment value set as the user's usual volume level, and then the user's usual volume level is determined to be 6.2, and rounding is 6 levels. The user's usual volume level may also be determined based on the probability of occurrence of an element in the set of adjustment values or other means.

这样设置的好处是可以根据用户的常用设置尽量等级作为用户的惯用音量等级,并根据用户的惯用音量等级对移动终端的当前音量等级做出调节,这样可以更加迎合用户的使用需求,提高用户的使用体验。The advantage of this setting is that the user can use the level as the user's usual volume level according to the user's usual settings, and adjust the current volume level of the mobile terminal according to the user's usual volume level, so that the user's use needs can be more catered for, and the user's use can be improved. Use experience.

图2为本发明实施例提供的另一种音量调节方法的流程示意图,如图2所 示,该方法包括:2 is a schematic flowchart of another volume adjustment method according to an embodiment of the present invention, as shown in FIG. 2 Show that the method includes:

S201、获取用户的音量调节值。S201. Acquire a volume adjustment value of the user.

其中,用户的音量调节值可以是在用户使用移动终端的过程中,将系统音量或者将某应用程序的音量调节到的某个值。例如,用户在使用移动终端的过程中,系统音量调节由4级调节至8级。则移动终端可以检测到系统音量的变化并将所述调节值读取出来。The volume adjustment value of the user may be a value that adjusts the system volume or the volume of an application to the user during the process of using the mobile terminal. For example, during the process of using the mobile terminal, the system volume adjustment is adjusted from 4 levels to 8 levels. Then the mobile terminal can detect the change in the system volume and read the adjustment value.

S202、当检测到所述音量调节值满足预设持续时间时,将所述音量调节值确定为用户的惯用音量等级。S202. When it is detected that the volume adjustment value meets a preset duration, the volume adjustment value is determined as a user's usual volume level.

其中,预设持续时间可以是十分钟或者半个小时等。当用户将移动终端的音量调节后持续半个小时仍然未对其进行重新调节,则用户的音量调节值确定为用户的惯用音量等级。结合上述示例,如用户将移动终端的音量等级调节至8级持续半小时以上,则将原有用户的惯用音量等级更新为音量调节值8级。这样,就可以对移动终端的惯用音量等级做出动态调整,避免因为用户所处环境的变化,对于移动终端的音量等级需求也发生变化,而还采用原有的用户的惯用音量等级进行调整,影响用户的使用体验。The preset duration may be ten minutes or half an hour. When the user does not re-adjust the volume of the mobile terminal for half an hour after adjusting the volume of the mobile terminal, the volume adjustment value of the user is determined as the user's usual volume level. In combination with the above example, if the user adjusts the volume level of the mobile terminal to 8 levels for more than half an hour, the original user's usual volume level is updated to the volume adjustment value of 8. In this way, the mobile terminal's customary volume level can be dynamically adjusted to avoid the change of the volume level requirement of the mobile terminal due to the change of the user's environment, and the original user's usual volume level is also used for adjustment. Affect the user's experience.

值得说明的是,检测当前移动终端的音量等级是否符合用户的惯用音量等级时,可以是每隔固定时长检测一次,这样设置可以节省移动终端的能源消耗。该固定时长可以根据用户的使用习惯进行调整。It should be noted that, when detecting whether the volume level of the current mobile terminal meets the user's usual volume level, it may be detected once every fixed time period, and the setting may save energy consumption of the mobile terminal. The fixed duration can be adjusted according to the user's usage habits.

S203、获取用户的惯用音量等级;S203. Acquire a user's usual volume level.

其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种。The conventional volume level includes at least one of a system-used volume level and a program-used volume level.

S204、获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级。S204. Acquire a current volume level of the mobile terminal, and determine whether the current volume level is the conventional volume level.

S205、若否,则将所述当前音量等级调节至所述惯用音量等级。S205. If not, adjust the current volume level to the conventional volume level.

本技术方案在上述各技术方案的基础上,提供了一种对于用户的惯用音量等级进行更新的方法,这样可以根据用户所在的环境不同对于惯用音量等级做出适应性的调整,更加符合用户的使用需求,提高用户的体验。The technical solution provides a method for updating the user's usual volume level on the basis of the above technical solutions, so that the adaptive adjustment can be made according to the environment of the user, which is more suitable for the user. Use the demand to improve the user experience.

值得说明的是,对于惯用音量等级更新的手段可以包括多种,而本发明实施例仅以上述一种作为示例,并不限定对于移动终端的惯用音量等级的调整方式。It should be noted that the means for updating the conventional volume level may include multiple types, and the embodiment of the present invention only uses the above one as an example, and does not limit the adjustment manner of the conventional volume level of the mobile terminal.

图3为本发明实施例提供的另一种音量调节方法的流程示意图,如图3所 示,该方法包括:FIG. 3 is a schematic flowchart of another volume adjustment method according to an embodiment of the present invention, as shown in FIG. 3 Show that the method includes:

S301、获取通过身份识别模块获取到用户的身份信息。S301. Acquire, obtain identity information of the user by using an identity module.

其中,身份识别模块可以是指纹模组,还可以是通过其他可以识别用户身份的方式所采用的组件。例如,在用户利用指纹识别方式对移动终端解锁的过程中,可以通过指纹模组采取到用户的身份信息。用户的身份信息可以是与解锁指纹对应的信息,该身份信息可以保存在移动终端的内部存储器当中。The identity recognition module may be a fingerprint module, or may be a component adopted by other means that can identify the identity of the user. For example, in the process of unlocking the mobile terminal by the user using the fingerprint identification method, the identity information of the user may be taken by the fingerprint module. The identity information of the user may be information corresponding to the unlocked fingerprint, and the identity information may be stored in an internal memory of the mobile terminal.

S302、根据所述身份信息,确定与所述身份信息对应的惯用音量等级。S302. Determine, according to the identity information, a conventional volume level corresponding to the identity information.

当用户使用其中存储的指纹进行解锁时,则在内部存储器当中查找出与之对应的惯用音量等级,并将该惯用音量等级作为移动终端当前解锁阶段的惯用音量等级。When the user unlocks using the fingerprint stored therein, the corresponding normal volume level is found in the internal memory, and the used volume level is used as the usual volume level of the current unlocking phase of the mobile terminal.

S303、获取用户的惯用音量等级。S303. Acquire a user's usual volume level.

其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种。The conventional volume level includes at least one of a system-used volume level and a program-used volume level.

S304、获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级。S304. Acquire a current volume level of the mobile terminal, and determine whether the current volume level is the conventional volume level.

S305、若否,则将所述当前音量等级调节至所述惯用音量等级。S305. If no, adjust the current volume level to the conventional volume level.

本技术方案在上述各技术方案的基础上,提供了一种根据用户的身份信息确定与之对应的用户惯用音量等级的方案。这样设置的好处是当移动终端处于被不同的用户使用时,可以根据不同用户的不同惯用音量等级做出调节,使每个用户在使用过程中,移动终端都按照当前用户的惯用音量等级调节音量,适应用户的使用需求。Based on the foregoing technical solutions, the technical solution provides a solution for determining a user's usual volume level corresponding to the user's identity information. The advantage of this setting is that when the mobile terminal is used by different users, the adjustment can be made according to different usage volume levels of different users, so that each user in the process of using, the mobile terminal adjusts the volume according to the current user's usual volume level. , to meet the needs of users.

图4为本发明实施例提供的另一种音量调节方法的流程示意图,如图4所示,该方法包括:FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 4, the method includes:

S401、获取通过身份识别模块获取到用户的身份信息。S401. Acquire, obtain, by the identity module, identity information of the user.

S402、根据用户的身份信息,判断当前用户身份信息是否与前一用户身份信息一致;若一致,则执行S406;若不一致,则执行S403。S402: Determine, according to the identity information of the user, whether the current user identity information is consistent with the previous user identity information; if yes, execute S406; if not, perform S403.

其中,用户身份信息可以是对移动终端进行开锁时的获取到的与指纹信息对应的身份信息,还可以是在密码解锁或者无需解锁后,统计用户的操作习惯确定用户的身份信息。其中,所述用户的操作习惯可以是开启移动终端的应用程序的顺序以及每个应用程序的查看时间,还可以是某些固定动作,如滑屏,调节音量等等。 The user identity information may be the identity information corresponding to the fingerprint information obtained when the mobile terminal is unlocked, or may be the user's operating habits to determine the identity information of the user after the password is unlocked or unlocked. The operating habits of the user may be an order of starting an application of the mobile terminal and a viewing time of each application, and may also be some fixed actions, such as sliding, adjusting the volume, and the like.

S403、判断当前移动终端是否存在于所述当前用户身份信息对应的惯用音量等级;若不存在,则执行S404;若存在,则执行S405。S403. Determine whether the current mobile terminal exists in a conventional volume level corresponding to the current user identity information; if not, execute S404; if yes, execute S405.

用户的身份信息可以编码为一个ID码,可以通过在内部存储器中查看ID码的方式进行识别。The user's identity information can be encoded as an ID code that can be identified by looking at the ID code in internal memory.

S404、录入与当前用户身份信息对应的惯用音量等级。S404. Enter a conventional volume level corresponding to the current user identity information.

如果当前用户身份信息未在内部存储器当中,则可以对当前用户的惯用音量等级进行录入,录入方式可以是获取用户的设置音量值,以及获取调节值集合等方式。If the current user identity information is not in the internal memory, the current user's customary volume level may be entered, and the entry mode may be to obtain the set volume value of the user, and obtain a set of adjustment values.

S405、将所述用户惯用音量等级切换为与所述身份信息对应的惯用音量等级。S405. Switch the user's usual volume level to a conventional volume level corresponding to the identity information.

如果存在与当前用户对应的惯用音量等级,则可以将移动终端的惯用音量等级切换为与该用户的身份信息对应的惯用音量等级。If there is a conventional volume level corresponding to the current user, the conventional volume level of the mobile terminal can be switched to a conventional volume level corresponding to the user's identity information.

S406、按照移动终端原有的惯用音量等级进行音量调节。S406: Perform volume adjustment according to an original volume level of the mobile terminal.

具体包括:获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级;若否,则将所述当前音量等级调节至所述惯用音量等级。Specifically, the method includes: obtaining a current volume level of the mobile terminal, and determining whether the current volume level is the conventional volume level; if not, adjusting the current volume level to the conventional volume level.

本技术方案在上述各技术方案的基础上,根据用户的身份信息提供与之对应的惯用音量等级,这样设置的好处在于当移动终端为多用户使用时,可以根据当前使用用户的惯用音量等级对移动终端的音量做出调节,可以解决因为用户间的音量等级使用习惯的不同,总是对移动终端的音量进行重复调整所带来的烦恼。The technical solution provides the corresponding normal volume level according to the user's identity information on the basis of the foregoing technical solutions. The advantage of the setting is that when the mobile terminal is used by multiple users, the user can use the user's usual volume level. The adjustment of the volume of the mobile terminal can solve the trouble caused by repeated adjustment of the volume of the mobile terminal due to the difference in the usage level of the volume level between users.

在上述各技术方案的基础上,可选的,所述音量调节方法还包括:获取移动终端的声音播放状态;其中,所述声音播放状态包括外放状态和耳机接入状态;相应的,所述用户惯用音量等级包括外放惯用音量等级和耳机惯用音量等级;其中,所述外放惯用音量等级包括采用扬声器播放系统声音或者程序声音的惯用音量等级;所述耳机惯用音量等级包括采用耳机播放系统声音或者程序声音的惯用音量等级。因为用户的使用习惯往往耳机音量和外放音量并不相同,所以,本技术方案提供了一种区分外放惯用音量等级和耳机惯用音量等级两种方式。这样设置的好处是可以更加符合用户的使用习惯,为用户提供舒适的根据惯用音量等级调节音量的服务。On the basis of the above technical solutions, the volume adjustment method further includes: acquiring a sound playing state of the mobile terminal; wherein the sound playing state includes an external release state and a headset access state; correspondingly, The user's usual volume level includes an externally used volume level and a headphone used volume level; wherein the externally used volume level includes a conventional volume level using a speaker to play a system sound or a program sound; the earphone conventional volume level includes playing with a headphone The usual volume level of system sound or program sound. Because the user's usage habits often have different headphone volume and external volume, the present technical solution provides a way to distinguish between the externally used volume level and the earphone's usual volume level. The advantage of this setting is that it can be more in line with the user's usage habits, and provide the user with a comfortable service for adjusting the volume according to the usual volume level.

图5为本发明实施例提供的另一种音量调节方法的流程示意图,如图5所示,该方法包括: FIG. 5 is a schematic flowchart of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 5, the method includes:

S501、获取用户的原始外放惯用音量等级和原始耳机惯用音量等级。S501. Acquire a user's original external release volume level and an original earphone conventional volume level.

S502、当检测到耳机接入时,判断所述外放惯用音量等级是否发生更新;若发生更新,则执行S503;若未发生更新,则执行S504。S502. When the earphone access is detected, determine whether the external release conventional volume level is updated; if an update occurs, execute S503; if no update occurs, execute S504.

S503、根据更新后的外放惯用音量等级或根据更新值确定所述耳机惯用音量等级。S503. Determine the used volume level of the earphone according to the updated external volume level or according to the updated value.

其中,更新值可以是用户在外放过程中,对于系统或者应用程序音量调整值。The updated value may be a system or application volume adjustment value during the user's external release process.

S504、按照原始耳机惯用音量等级进行音量调节。S504: Perform volume adjustment according to the original earphone's usual volume level.

S505、当检测到耳机连接断开时,判断所述耳机惯用音量等级是否发生更新;若发生更新,则执行S506;若未发生更新,则执行S507。S505. When it is detected that the earphone connection is disconnected, determine whether the earphone's usual volume level is updated; if an update occurs, execute S506; if no update occurs, execute S507.

S506、根据更新后的耳机惯用音量等级或根据更新值确定所述外放惯用音量等级。S506. Determine the external release volume level according to the updated earphone conventional volume level or according to the updated value.

其中,更新值可以是用户在耳机接入过程中,对于系统或者应用程序音量调整值。The update value may be a system or application volume adjustment value during the headset access process.

S507、按照原始外放惯用音量等级进行音量调节。S507, the volume is adjusted according to the original external volume level.

本技术方案在上述各技术方案的基础上,提供了一种根据耳机接入过程中对于音量的调节,调整拔掉耳机进入外放状态时用户的惯用音量等级。以及根据外放过程中对于音量的调节,调整连接耳机进入耳机接入状态时用户的惯用音量等级。这样设置的好处在于可以将耳机接入状态和外放状态下,将两者的用户的惯用音量等级建立一种正相关关系,这样可以在用户接入耳机或者拔掉耳机时,根据惯用音量等级自动进行音量等级的调节,如需用户手动调节,提高了用户的体验。Based on the foregoing technical solutions, the technical solution provides a user's usual volume level when the earphone enters the external release state according to the adjustment of the volume during the earphone access process. And according to the adjustment of the volume during the external release process, adjust the user's usual volume level when the connected earphone enters the earphone access state. The advantage of this setting is that the headset can be connected to the state and the external state, and a positive correlation relationship between the user's usual volume levels can be established, so that the user can access the earphone or unplug the earphone according to the conventional volume level. The volume level is automatically adjusted, and the user's manual adjustment is required to improve the user experience.

图6为本发明实施例提供的一种音量调节装置的结构框图,该装置可由软件和/或硬件实现,一般集成在移动终端中,可通过执行音量调节方法来对移动终端的音量调节进行优化。如图6所示,该装置包括:FIG. 6 is a structural block diagram of a volume adjustment apparatus according to an embodiment of the present invention. The apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may perform volume adjustment on a mobile terminal by performing a volume adjustment method. . As shown in Figure 6, the device includes:

惯用音量等级获取模块601,用于获取用户的惯用音量等级;其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种;The conventional volume level obtaining module 601 is configured to acquire a user's usual volume level; wherein the conventional volume level includes at least one of a system-used volume level and a program-usual volume level;

判断模块602,用于获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级;The determining module 602 is configured to acquire a current volume level of the mobile terminal, and determine whether the current volume level is the conventional volume level;

音量等级调节模块603,若所述当前音量等级不等于所述惯用音量等级,用于将所述当前音量等级调节至所述惯用音量等级。 The volume level adjustment module 603 is configured to adjust the current volume level to the conventional volume level if the current volume level is not equal to the conventional volume level.

本发明实施例中提供的音量调节装置,通过获取到用户的惯用音量等级以及移动终端的当前音量等级并进行比较,判断当前音量等级是否符合用户的惯用音量等级,若不符合,则自动将移动终端的当前音量调节到用户惯用音量。通过采用上述技术方案,可以实现将移动终端的音量等级调节至用户习惯使用的音量等级的效果。The volume adjustment device provided in the embodiment of the present invention determines whether the current volume level meets the user's usual volume level by acquiring the user's usual volume level and the current volume level of the mobile terminal, and if not, automatically moves. The current volume of the terminal is adjusted to the user's usual volume. By adopting the above technical solution, the effect of adjusting the volume level of the mobile terminal to the volume level that the user is accustomed to use can be achieved.

在上述技术方案的基础上,可选的,还包括惯用音量等级确定模块,所述惯用音量等级确定模块包括:On the basis of the foregoing technical solution, optionally, the method further includes a conventional volume level determining module, where the conventional volume level determining module includes:

调节值集合获取单元,用于获取预设次数的用户对移动终端音量等级的调节值集合;The adjustment value set obtaining unit is configured to acquire a preset value set of the adjustment value of the volume level of the mobile terminal by the user;

第一惯用音量等级确定单元,用于根据所述调节值集合确定用户惯用音量等级。The first conventional volume level determining unit is configured to determine a user's usual volume level according to the adjusted value set.

在上述技术方案的基础上,可选的,还包括惯用音量等级确定模块,所述惯用音量等级确定模块还包括:On the basis of the foregoing technical solution, optionally, the method further includes a conventional volume level determining module, where the conventional volume level determining module further includes:

音量调节值获取单元,用于获取用户的音量调节值;a volume adjustment value acquisition unit, configured to acquire a volume adjustment value of the user;

第二惯用音量等级确定单元,用于当检测到所述音量调节值满足预设持续时间时,将所述音量调节值确定为用户的惯用音量等级。The second conventional volume level determining unit is configured to determine the volume adjustment value as the user's usual volume level when detecting that the volume adjustment value satisfies the preset duration.

在上述技术方案的基础上,可选的,所述装置还包括:On the basis of the above technical solution, optionally, the device further includes:

身份信息获取模块,用于获取通过身份识别模块获取到用户的身份信息;An identity information obtaining module, configured to acquire identity information of the user obtained by the identity module;

所述惯用音量等级确定模块,还用于根据所述身份信息,确定与所述身份信息对应的惯用音量等级。The conventional volume level determining module is further configured to determine, according to the identity information, a conventional volume level corresponding to the identity information.

在上述技术方案的基础上,可选的,所述身份信息获取模块包括:On the basis of the foregoing technical solution, optionally, the identity information acquiring module includes:

身份信息判断单元,用于根据用户的身份信息,判断当前用户身份信息是否与前一用户身份信息一致;The identity information determining unit is configured to determine, according to the identity information of the user, whether the current user identity information is consistent with the identity information of the previous user;

惯用音量等级切换单元,用于若当前用户身份信息是否与前一用户身份信息不一致,则将所述用户惯用音量等级切换为与所述身份信息对应的惯用音量等级。The conventional volume level switching unit is configured to switch the user's usual volume level to a conventional volume level corresponding to the identity information if the current user identity information does not match the previous user identity information.

在上述技术方案的基础上,可选的,所述装置还包括:On the basis of the above technical solution, optionally, the device further includes:

播放状态获取模块,用于获取移动终端的声音播放状态;其中,所述声音播放状态包括外放状态和耳机接入状态;a playing state obtaining module, configured to acquire a sound playing state of the mobile terminal; wherein the sound playing state includes an external release state and a headset access state;

相应的,所述用户惯用音量等级包括外放惯用音量等级和耳机惯用音量等级;其中,所述外放惯用音量等级包括采用扬声器播放系统声音或者程序声音 的惯用音量等级;所述耳机惯用音量等级包括采用耳机播放系统声音或者程序声音的惯用音量等级。Correspondingly, the user's usual volume level includes an externally used volume level and a headphone used volume level; wherein the externally used volume level includes using a speaker to play a system sound or a program sound. A conventional volume level; the conventional volume level of the earphone includes a conventional volume level that uses a headphone to play a system sound or a program sound.

在上述技术方案的基础上,可选的,还包括状态切换调节模块,包括:On the basis of the foregoing technical solution, optionally, the state switching adjustment module further includes:

耳机接入调节单元,用于当检测到耳机接入时,根据所述外放惯用音量等级确定所述耳机惯用音量等级;或a headphone access adjustment unit, configured to determine, according to the external release conventional volume level, the used volume level of the earphone when the earphone access is detected; or

耳机连接断开调节单元,用于当检测到耳机连接断开时,根据所述耳机惯用音量等级确定所述外放惯用音量等级。The earphone connection disconnection adjusting unit is configured to determine the external release volume level according to the earphone's usual volume level when detecting that the earphone connection is disconnected.

在上述技术方案的基础上,可选的,所述耳机接入调节单元包括:On the basis of the foregoing technical solution, optionally, the earphone access adjustment unit includes:

第一更新判断子单元,用于判断所述外放惯用音量等级是否发生更新;a first update determining sub-unit, configured to determine whether the external release volume level is updated;

耳机接入调节子单元,用于若发生更新,则根据更新后的外放惯用音量等级或根据更新值确定所述耳机惯用音量等级;The earphone access adjustment subunit is configured to determine, according to the updated external volume level or according to the updated value, the earphone habit volume level if an update occurs;

在上述技术方案的基础上,可选的,所述耳机连接断开调节单元包括:On the basis of the above technical solution, optionally, the earphone connection disconnection adjustment unit includes:

第二更新判断子单元,用于判断所述耳机惯用音量等级是否发生更新;a second update determining subunit, configured to determine whether an abnormal volume level of the earphone is updated;

耳机连接断开调节子单元,用于若发生更新,则根据更新后的耳机惯用音量等级或根据更新值确定所述外放惯用音量等级。The earphone connection disconnect adjustment sub-unit is configured to determine the external release volume level according to the updated headphone habit volume level or according to the updated value if an update occurs.

本发明实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行音量调节方法,该方法包括:Embodiments of the present invention also provide a storage medium including computer executable instructions for performing a volume adjustment method when executed by a computer processor, the method comprising:

获取用户的惯用音量等级;其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种;Obtaining a user's usual volume level; wherein the conventional volume level includes at least one of a system-used volume level and a program-used volume level;

获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级;Obtaining a current volume level of the mobile terminal, and determining whether the current volume level is the conventional volume level;

若否,则将所述当前音量等级调节至所述惯用音量等级。If not, the current volume level is adjusted to the conventional volume level.

存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的 不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。Storage media - any of a variety of types of memory devices or storage devices. The term "storage medium" is intended to include: a mounting medium such as a CD-ROM, a floppy disk or a tape device; a computer system memory or a random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. Non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, and the like. The storage medium may also include other types of memory or a combination thereof. 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" may include being resident in different locations (eg, connected over a network) Two or more storage media in different computer systems). 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 invention 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 invention. Related operations.

本发明实施例提供了一种移动终端,该移动终端中可集成本发明实施例提供的音量调节装置。图7为本发明实施例提供的一种移动终端的结构示意图。如图7所示,该移动终端可以包括:存储器701、中央处理器(Central Processing Unit,CPU)702(又称处理器,以下简称CPU)、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU702和所述存储器701设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器701,用于存储可执行程序代码;所述CPU702通过读取所述存储器701中存储的可执行程序代码来运行与所述可执行程序代码对应的计算机程序,以实现以下步骤:The embodiment of the invention provides a mobile terminal, and the volume adjustment device provided by the embodiment of the invention can be integrated into the mobile terminal. FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. 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 configured to supply power to each circuit or device of the mobile terminal The memory 701 is configured to store executable program code; the CPU 702 runs a computer program corresponding to the executable program code by reading executable program code stored in the memory 701 to implement the following steps:

获取用户的惯用音量等级;其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种;Obtaining a user's usual volume level; wherein the conventional volume level includes at least one of a system-used volume level and a program-used volume level;

获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级;Obtaining a current volume level of the mobile terminal, and determining whether the current volume level is the conventional volume level;

若否,则将所述当前音量等级调节至所述惯用音量等级。If not, the current volume level is adjusted to the conventional volume level.

所述移动终端还包括:外设接口703、RF(Radio Frequency,射频)电路705、音频电路706、扬声器711、电源管理芯片708、输入/输出(I/O)子系统709、触摸屏712、其他输入/控制设备710以及外部端口704,这些部件通过一个或多个通信总线或信号线707来通信。The mobile terminal further includes: a peripheral interface 703, an RF (Radio Frequency) circuit 705, an audio circuit 706, a speaker 711, a power management chip 708, an input/output (I/O) subsystem 709, a touch screen 712, and others. Input/control device 710 and external port 704 are communicated via one or more communication buses or signal lines 707.

应该理解的是,图示移动终端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 one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的用于音量调节的移动终端进行详细的描述,该移动终端以手机为例。The mobile terminal for volume adjustment provided by this embodiment is described in detail below. The mobile terminal takes a mobile phone as an example.

存储器701,所述存储器701可以被CPU702、外设接口703等访问,所述 存储器701可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。a memory 701, the memory 701 can be accessed by a CPU 702, a peripheral interface 703, etc. Memory 701 can include high speed random access memory, and can also include 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收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 705 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 705 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 705 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate. 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 mainly used to receive audio data from the peripheral interface 703, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 711.

扬声器711,用于将手机通过RF电路705从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 711 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 705 to sound and play the sound to the user.

电源管理芯片708,用于为CPU702、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 708 is used for power supply and power management of the hardware connected to the CPU 702, the I/O subsystem, and the peripheral interface.

本发明实施例提供的移动终端,可以优化移动终端音量调节的方案。The mobile terminal provided by the embodiment of the invention can optimize the scheme for adjusting the volume of the mobile terminal.

上述实施例中提供的音量调节装置、存储介质及移动终端可执行本发明任意实施例所提供的音量调节方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的音量调节方法。The volume adjustment device, the storage medium, and the mobile terminal provided in the foregoing embodiments may perform the volume adjustment method provided by any embodiment of the present invention, and have corresponding functional modules and beneficial effects for performing the method. 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 invention.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。 Note that the above are only the preferred embodiments of the present invention and the technical principles applied thereto. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various modifications, changes and substitutions may be made without departing from the scope of the invention. Therefore, the present invention has been described in detail by the above embodiments, but the present invention is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the inventive concept. The scope is determined by the scope of the appended claims.

Claims (20)

一种音量调节方法,其特征在于,包括:A volume adjustment method, comprising: 获取用户的惯用音量等级;其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种;Obtaining a user's usual volume level; wherein the conventional volume level includes at least one of a system-used volume level and a program-used volume level; 获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级;Obtaining a current volume level of the mobile terminal, and determining whether the current volume level is the conventional volume level; 若否,则将所述当前音量等级调节至所述惯用音量等级。If not, the current volume level is adjusted to the conventional volume level. 根据权利要求1所述的音量调节方法,其特征在于,在获取用户惯用音量等级之前,还包括:The volume adjustment method according to claim 1, further comprising: before acquiring the user's usual volume level: 获取预设次数的用户对移动终端音量等级的调节值集合;Obtaining a preset set of adjustment values of the user's volume level to the mobile terminal; 根据所述调节值集合确定用户惯用音量等级。A user's usual volume level is determined based on the set of adjustment values. 根据权利要求1所述的音量调节方法,其特征在于,在获取用户惯用音量等级之前,还包括:The volume adjustment method according to claim 1, further comprising: before acquiring the user's usual volume level: 获取用户的音量调节值;Obtain the volume adjustment value of the user; 当检测到所述音量调节值满足预设持续时间时,将所述音量调节值确定为用户的惯用音量等级。When it is detected that the volume adjustment value satisfies the preset duration, the volume adjustment value is determined as the user's usual volume level. 根据权利要求1所述的音量调节方法,其特征在于,在所述获取用户惯用音量等级之前,还包括:The volume adjustment method according to claim 1, wherein before the obtaining the user's usual volume level, the method further comprises: 获取通过身份识别模块获取到用户的身份信息;Obtaining identity information obtained by the identity module; 根据所述身份信息,确定与所述身份信息对应的惯用音量等级。Based on the identity information, a conventional volume level corresponding to the identity information is determined. 根据权利要求4所述的音量调节方法,其特征在于,根据所述身份信息,确定与所述身份信息对应的惯用音量等级,包括:The volume adjustment method according to claim 4, wherein determining a conventional volume level corresponding to the identity information according to the identity information comprises: 根据用户的身份信息,判断当前用户身份信息是否与前一用户身份信息一致;Determining whether the current user identity information is consistent with the previous user identity information according to the identity information of the user; 若不一致,则将所述用户惯用音量等级切换为与所述身份信息对应的惯用音量等级。If not, the user's usual volume level is switched to a conventional volume level corresponding to the identity information. 根据权利要求1所述的音量调节方法,其特征在于,还包括:The volume adjustment method according to claim 1, further comprising: 获取移动终端的声音播放状态;其中,所述声音播放状态包括外放状态和耳机接入状态;Obtaining a sound playing state of the mobile terminal; wherein the sound playing state includes an external release state and a headset access state; 相应的,所述用户惯用音量等级包括外放惯用音量等级和耳机惯用音量等级;其中,所述外放惯用音量等级包括采用扬声器播放系统声音或者程序声音的惯用音量等级;所述耳机惯用音量等级包括采用耳机播放系统声音或者程序 声音的惯用音量等级。Correspondingly, the user's usual volume level includes an externally used volume level and a headphone used volume level; wherein the externally used volume level includes a conventional volume level using a speaker to play a system sound or a program sound; the earphone used volume level Including the use of headphones to play system sounds or programs The usual volume level of the sound. 根据权利要求6所述的音量调节方法,其特征在于,还包括:The volume adjustment method according to claim 6, further comprising: 当检测到耳机接入时,根据所述外放惯用音量等级确定所述耳机惯用音量等级;或When the earphone access is detected, determining the used volume level of the earphone according to the external release volume level; or 当检测到耳机连接断开时,根据所述耳机惯用音量等级确定所述外放惯用音量等级。When it is detected that the earphone connection is disconnected, the external release volume level is determined according to the earphone's usual volume level. 根据权利要求7所述的音量调节方法,其特征在于,当检测到耳机接入时,根据所述外放惯用音量等级确定所述耳机惯用音量等级,包括:The volume adjustment method according to claim 7, wherein when the earphone access is detected, determining the used volume level of the earphone according to the external release volume level includes: 判断所述外放惯用音量等级是否发生更新;Determining whether the external release conventional volume level is updated; 若发生更新,则根据更新后的外放惯用音量等级或根据更新值确定所述耳机惯用音量等级;If an update occurs, determining the used volume level of the earphone according to the updated external volume level or according to the updated value; 根据权利要求7所述的音量调节方法,其特征在于,当检测到耳机连接断开时,根据所述耳机惯用音量等级确定所述外放惯用音量等级,包括:The volume adjustment method according to claim 7, wherein when the earphone connection is detected to be disconnected, determining the external release volume level according to the earphone's usual volume level includes: 判断所述耳机惯用音量等级是否发生更新;Determining whether the earphone's idiomatic volume level is updated; 若发生更新,则根据更新后的耳机惯用音量等级或根据更新值确定所述外放惯用音量等级。If an update occurs, the external playback volume level is determined based on the updated headset's usual volume level or based on the updated value. 一种音量调节装置,其特征在于,包括:A volume adjustment device, comprising: 惯用音量等级获取模块,用于获取用户的惯用音量等级;其中,所述惯用音量等级包括系统惯用音量等级和程序惯用音量等级中的至少一种;a conventional volume level obtaining module, configured to acquire a user's usual volume level; wherein the conventional volume level includes at least one of a system-used volume level and a program-usual volume level; 判断模块,用于获取移动终端的当前音量等级,并判断所述当前音量等级是否为所述惯用音量等级;a determining module, configured to acquire a current volume level of the mobile terminal, and determine whether the current volume level is the conventional volume level; 音量等级调节模块,若所述当前音量等级不等于所述惯用音量等级,用于将所述当前音量等级调节至所述惯用音量等级。a volume level adjustment module for adjusting the current volume level to the conventional volume level if the current volume level is not equal to the conventional volume level. 根据权利要求10所述的音量调节装置,其特征在于,还包括惯用音量等级确定模块,所述惯用音量等级确定模块包括:The volume adjustment device according to claim 10, further comprising a conventional volume level determination module, wherein the conventional volume level determination module comprises: 调节值集合获取单元,用于获取预设次数的用户对移动终端音量等级的调节值集合;The adjustment value set obtaining unit is configured to acquire a preset value set of the adjustment value of the volume level of the mobile terminal by the user; 第一惯用音量等级确定单元,用于根据所述调节值集合确定用户惯用音量等级。The first conventional volume level determining unit is configured to determine a user's usual volume level according to the adjusted value set. 根据权利要求10所述的音量调节装置,其特征在于,还包括惯用音量等级确定模块,所述惯用音量等级确定模块还包括: The volume adjustment device according to claim 10, further comprising a conventional volume level determination module, wherein the conventional volume level determination module further comprises: 音量调节值获取单元,用于获取用户的音量调节值;a volume adjustment value acquisition unit, configured to acquire a volume adjustment value of the user; 第二惯用音量等级确定单元,用于当检测到所述音量调节值满足预设持续时间时,将所述音量调节值确定为用户的惯用音量等级。The second conventional volume level determining unit is configured to determine the volume adjustment value as the user's usual volume level when detecting that the volume adjustment value satisfies the preset duration. 根据权利要求10所述的音量调节装置,其特征在于,还包括:The volume adjustment device according to claim 10, further comprising: 身份信息获取模块,用于获取通过身份识别模块获取到用户的身份信息;An identity information obtaining module, configured to acquire identity information of the user obtained by the identity module; 所述惯用音量等级确定模块,还用于根据所述身份信息,确定与所述身份信息对应的惯用音量等级。The conventional volume level determining module is further configured to determine, according to the identity information, a conventional volume level corresponding to the identity information. 根据权利要求13所述的音量调节装置,其特征在于,所述身份信息获取模块包括:The volume adjustment device according to claim 13, wherein the identity information acquisition module comprises: 身份信息判断单元,用于根据用户的身份信息,判断当前用户身份信息是否与前一用户身份信息一致;The identity information determining unit is configured to determine, according to the identity information of the user, whether the current user identity information is consistent with the identity information of the previous user; 惯用音量等级切换单元,用于若当前用户身份信息是否与前一用户身份信息不一致,则将所述用户惯用音量等级切换为与所述身份信息对应的惯用音量等级。The conventional volume level switching unit is configured to switch the user's usual volume level to a conventional volume level corresponding to the identity information if the current user identity information does not match the previous user identity information. 根据权利要求10所述的音量调节装置,其特征在于,还包括:The volume adjustment device according to claim 10, further comprising: 播放状态获取模块,用于获取移动终端的声音播放状态;其中,所述声音播放状态包括外放状态和耳机接入状态;a playing state obtaining module, configured to acquire a sound playing state of the mobile terminal; wherein the sound playing state includes an external release state and a headset access state; 相应的,所述用户惯用音量等级包括外放惯用音量等级和耳机惯用音量等级;其中,所述外放惯用音量等级包括采用扬声器播放系统声音或者程序声音的惯用音量等级;所述耳机惯用音量等级包括采用耳机播放系统声音或者程序声音的惯用音量等级。Correspondingly, the user's usual volume level includes an externally used volume level and a headphone used volume level; wherein the externally used volume level includes a conventional volume level using a speaker to play a system sound or a program sound; the earphone used volume level Includes the usual volume level for playing system sounds or program sounds with headphones. 根据权利要求15所述的音量调节装置,其特征在于,还包括状态切换调节模块,包括:The volume adjustment device according to claim 15, further comprising a state switching adjustment module, comprising: 耳机接入调节单元,用于当检测到耳机接入时,根据所述外放惯用音量等级确定所述耳机惯用音量等级;或a headphone access adjustment unit, configured to determine, according to the external release conventional volume level, the used volume level of the earphone when the earphone access is detected; or 耳机连接断开调节单元,用于当检测到耳机连接断开时,根据所述耳机惯用音量等级确定所述外放惯用音量等级。The earphone connection disconnection adjusting unit is configured to determine the external release volume level according to the earphone's usual volume level when detecting that the earphone connection is disconnected. 根据权利要求16所述的音量调节装置,其特征在于,所述耳机接入调节单元包括:The volume adjustment device according to claim 16, wherein the earphone access adjustment unit comprises: 第一更新判断子单元,用于判断所述外放惯用音量等级是否发生更新;a first update determining sub-unit, configured to determine whether the external release volume level is updated; 耳机接入调节子单元,用于若发生更新,则根据更新后的外放惯用音量等 级或根据更新值确定所述耳机惯用音量等级;The earphone access adjustment sub-unit is used for updating the external volume according to the updated external release volume, etc. Level or determining the usual volume level of the headset according to the updated value; 根据权利要求16所述的音量调节装置,其特征在于,所述耳机连接断开调节单元包括:The volume adjustment device according to claim 16, wherein the earphone connection disconnection adjustment unit comprises: 第二更新判断子单元,用于判断所述耳机惯用音量等级是否发生更新;a second update determining subunit, configured to determine whether an abnormal volume level of the earphone is updated; 耳机连接断开调节子单元,用于若发生更新,则根据更新后的耳机惯用音量等级或根据更新值确定所述外放惯用音量等级。The earphone connection disconnect adjustment sub-unit is configured to determine the external release volume level according to the updated headphone habit volume level or according to the updated value if an update occurs. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-9中任一所述的音量调节方法。A computer readable storage medium having stored thereon a computer program, wherein the program is executed by a processor to implement the volume adjustment method of any of claims 1-9. 一种移动终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1-9中任一所述的音量调节方法。 A mobile terminal comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program to implement any of claims 1-9 The volume adjustment method described.
PCT/CN2017/098169 2017-08-18 2017-08-18 Volume adjustment method, device, storage medium and mobile terminal Ceased WO2019033436A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780091853.2A CN110730948A (en) 2017-08-18 2017-08-18 Volume adjusting method and device, storage medium and mobile terminal
PCT/CN2017/098169 WO2019033436A1 (en) 2017-08-18 2017-08-18 Volume adjustment method, device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/098169 WO2019033436A1 (en) 2017-08-18 2017-08-18 Volume adjustment method, device, storage medium and mobile terminal

Publications (1)

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

Family

ID=65362163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098169 Ceased WO2019033436A1 (en) 2017-08-18 2017-08-18 Volume adjustment method, device, storage medium and mobile terminal

Country Status (2)

Country Link
CN (1) CN110730948A (en)
WO (1) WO2019033436A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438356A (en) * 2021-05-18 2021-09-24 荣耀终端有限公司 Volume adjusting method and terminal equipment
CN115988398A (en) * 2021-10-14 2023-04-18 同步(郑州)科技有限公司 Voice broadcast system with fingerprint recognition function
WO2023142900A1 (en) * 2022-01-25 2023-08-03 华为技术有限公司 Volume adjustment method and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306451A (en) * 2020-10-30 2021-02-02 西安万像电子科技有限公司 Volume adjustment method, device and system
CN113905128B (en) * 2021-09-08 2022-09-20 荣耀终端有限公司 Call reminder method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050059369A1 (en) * 2003-09-11 2005-03-17 Sapashe Darren T. Method and apparatus for maintaining audio level preferences in a communication device
CN105872180A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for adjusting volume of terminal device
CN105912296A (en) * 2016-04-08 2016-08-31 宇龙计算机通信科技(深圳)有限公司 Voice control method and system
CN105955700A (en) * 2016-06-16 2016-09-21 广东欧珀移动通信有限公司 Sound effect adjusting method and user terminal
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200623619A (en) * 2004-12-30 2006-07-01 Inventec Appliances Corp Intelligent volume switching method used for multimedia
CN105939421A (en) * 2016-06-14 2016-09-14 努比亚技术有限公司 Terminal parameter adjusting device and method
CN106791067B (en) * 2016-12-14 2020-03-10 Oppo广东移动通信有限公司 Method, device and mobile terminal for adjusting call volume

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050059369A1 (en) * 2003-09-11 2005-03-17 Sapashe Darren T. Method and apparatus for maintaining audio level preferences in a communication device
CN105872180A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for adjusting volume of terminal device
CN105912296A (en) * 2016-04-08 2016-08-31 宇龙计算机通信科技(深圳)有限公司 Voice control method and system
CN105955700A (en) * 2016-06-16 2016-09-21 广东欧珀移动通信有限公司 Sound effect adjusting method and user terminal
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438356A (en) * 2021-05-18 2021-09-24 荣耀终端有限公司 Volume adjusting method and terminal equipment
CN115988398A (en) * 2021-10-14 2023-04-18 同步(郑州)科技有限公司 Voice broadcast system with fingerprint recognition function
WO2023142900A1 (en) * 2022-01-25 2023-08-03 华为技术有限公司 Volume adjustment method and electronic device

Also Published As

Publication number Publication date
CN110730948A (en) 2020-01-24

Similar Documents

Publication Publication Date Title
US11095967B2 (en) Wireless audio output devices
CN108810749B (en) Player control method, device, terminal equipment and storage medium
US10558427B2 (en) Electronic device for reproducing audio signal via external device and operating method thereof
CN107770759B (en) Bluetooth voice link establishing method and device, storage medium and mobile terminal
CN109460364B (en) Application program detection method and device, storage medium and mobile terminal
WO2019033436A1 (en) Volume adjustment method, device, storage medium and mobile terminal
CN108510963B (en) Screen brightness adjusting method and device, storage medium and intelligent terminal
CN107450801B (en) Screen display control method and device, storage medium and mobile terminal
CN106776385B (en) Log log information transmission method and device and terminal
CN107343076A (en) Volume adjusting method and device, storage medium and mobile terminal
US11558848B2 (en) Intelligent notification delivery
CN107526569B (en) Volume adjusting method and device, storage medium and mobile terminal
CN106817753B (en) Method and device for saving electricity by switching background gray scales and mobile terminal
CN108933968A (en) A kind of conversion method of message format, device, storage medium and android terminal
CN107040661A (en) Method and device for controlling playback volume of mobile terminal and mobile terminal
CN108882084B (en) Wearable equipment electric quantity balancing method and related product
CN106878915A (en) Playing device control method, device, playing device, and mobile terminal
EP3993438A1 (en) Mobile terminal and control method
CN107483732A (en) Volume control method, device and storage medium of mobile terminal and mobile terminal
CN109186657B (en) Proximity sensor parameter calibration method and device, terminal equipment and storage medium
CN107508983A (en) Volume adjustment method, device, storage medium and terminal equipment
CN110753919B (en) Volume adjusting method and device, storage medium and mobile terminal
CN110730946B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
CN107508986B (en) Volume adjustment method, device, storage medium and terminal device
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: 17921752

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

Country of ref document: EP

Kind code of ref document: A1