Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a volume adjustment method for a terminal, as shown in fig. 1, the method includes:
step 101: in the case where a play operation on the target audio data is detected, a current value of the volume adjustment influencing factor is acquired.
The same volume is adopted, and the auditory sensation of the user is different under different volume adjustment influence factors, so the volume adjustment influence factors can also be called as factors influencing the auditory sensation of the user.
Optionally, the volume adjustment influencing factor comprises at least one of the following factors: whether the terminal is plugged into a headset, a noise value of an environment in which the terminal is located, and a music type of the audio data.
The same volume is adopted, and under different conditions that the earphone is input into the terminal and the earphone is not inserted (namely, the earphone is externally placed), the sound heard by the user is different in size, namely, the auditory perception of the user is different.
In addition, the same volume is adopted, and the sound heard by the user is different when the terminal is in different environments, namely the auditory sense of the user is different. Specifically, the environment in which the terminal is located may be divided into a plurality of levels from quiet to noisy according to the magnitude of the specific noise value.
In addition, different types of audio data are played with the same volume level, and the user's hearing experience may also be different. For example, the ease, and rock types of music may vary in the user's auditory experience when played at the same volume level.
Based on the above-mentioned factors (i.e. volume adjustment influencing factors) influencing the user's hearing, in the embodiment of the present invention, under the condition that the playing operation of the target audio data is detected, the current value of the volume adjustment influencing factor is obtained, so that the initial volume of the played target audio data can be determined according to the specific value of the volume adjustment influencing factor, and the purpose of satisfying the user's hearing is achieved.
Step 102: and adjusting the volume characteristic curve obtained by pre-training according to the current value of the volume adjustment influence factor to obtain an updated volume characteristic curve.
Wherein at least two discrete points corresponding to different volume values are included on the volume profile.
Optionally, the volume characteristic curve obtained by pre-training is obtained under the condition of a predetermined volume adjustment influence factor, where the predetermined volume adjustment influence factor includes: the terminal is not inserted into the earphone, the noise value of the environment where the terminal is located is in a first preset range, and the first type of audio data is played.
Namely, the volume characteristic curve pre-stored in the terminal is obtained by training under the condition that the earphone is not inserted into the terminal, the noise value of the environment where the terminal is located is in the first preset range, and the first type of audio data is played.
Specifically, for example, a volume profile stored in advance in the terminal is obtained in a case where the terminal is not inserted into a headphone, and the terminal is in a quiet environment and plays a relaxing type of music.
Optionally, the adjusting a volume characteristic curve obtained by pre-training according to the current value of the volume adjustment influence factor to obtain an updated volume characteristic curve includes:
determining an adjustment value corresponding to each volume adjustment influence factor according to the current value of each volume adjustment influence factor;
summing the adjustment values corresponding to the volume adjustment influence factors to obtain the adjustment value of the volume characteristic curve;
and adjusting the volume value corresponding to each discrete point in the volume characteristic curve according to the adjustment value of the volume characteristic curve.
That is, in the embodiment of the present invention, when the volume characteristic curve obtained by the pre-training is adjusted according to the current value of the volume adjustment influence factor, an adjustment value that needs to be adjusted for the volume characteristic curve is determined for each influence factor included in the volume adjustment influence factor, and then the adjustment values corresponding to all influence factors included in the volume adjustment influence factor are superimposed on the pre-obtained volume characteristic curve.
Therefore, the embodiment of the invention trains in advance to obtain the volume characteristic curve under the specific scene, stores the volume characteristic curve in the terminal, and then updates the pre-stored volume characteristic curve according to the specific value of the current volume adjustment influence factor when the audio data is actually required to be played, so that the volume characteristic curve accords with the current prospect.
For example, the volume characteristic curve that the terminal is not inserted into the earphone and is in a quiet environment to play light music is obtained through pre-training, when audio data needs to be played actually, the terminal is inserted into the earphone and is in a noisy environment, and the audio data needs to be played in a rock type, each volume adjustment influence factor needs to be determined, and the difference between the current actual playing scene and the application scene of the pre-trained volume characteristic curve is obtained, so that the adjustment value corresponding to each influence factor is obtained according to the specific difference.
In the embodiment of the present invention, an application scenario of the volume characteristic curve is predetermined, and then, for an influence factor of whether the terminal is plugged in the earphone, there are two specific situations of whether the terminal is plugged in the earphone and not plugged in the earphone, and there are two values for the adjustment value of the volume characteristic curve obtained in advance corresponding to the influence factor of whether the terminal is plugged in the earphone.
That is, optionally, in a case that the volume adjustment influencing factors include whether a terminal is plugged into an earphone, determining, according to a current value of each of the volume adjustment influencing factors, an adjustment value corresponding to each of the volume adjustment influencing factors includes:
under the condition that the terminal is inserted into the earphone, determining that an adjustment value corresponding to the earphone inserted into the terminal is a first preset value, wherein the first preset value is smaller than zero;
and under the condition that the terminal is not inserted with the earphone, determining that the corresponding adjustment value of the terminal without the earphone is zero.
Under the condition that the terminal is inserted into the earphone, the user can hear the audio data clearly without needing large volume, so that under the premise that the application scene of the volume characteristic curve obtained by pre-training is that the earphone is not inserted into the terminal, if the earphone is inserted into the terminal when the audio data is actually played, the volume value in the volume characteristic curve obtained by pre-training needs to be reduced by a certain amplitude.
However, if the earphone is inserted into the terminal in the application scenario of the volume characteristic curve obtained by the pre-training, and the earphone is not inserted into the terminal when the audio data is actually played, the volume value in the volume characteristic curve obtained by the pre-training needs to be increased by a certain amplitude.
In addition, the adjustment value for the volume characteristic curve obtained in advance corresponding to the influence factor of the noise value of the environment where the terminal is located is determined as follows:
that is, optionally, in a case that the volume adjustment affecting factor includes a noise value of an environment where the terminal is located, determining, according to a current value of each of the volume adjustment affecting factors, an adjustment value corresponding to each of the volume adjustment affecting factors, including:
under the condition that the current noise value of the environment where the terminal is located is within the first preset range, determining that the adjustment value corresponding to the current noise value of the environment where the terminal is located is zero;
under the condition that the current noise value of the environment where the terminal is located is smaller than the lower limit value of the first preset range, determining a first adjustment amplitude corresponding to the difference between the lower limit value and the current noise value according to the corresponding relation between the predetermined noise value difference and the adjustment amplitude, and determining that the adjustment value corresponding to the current noise value of the environment where the terminal is located is a negative number of which the absolute value is the first adjustment amplitude;
and under the condition that the current noise value of the environment where the terminal is located is larger than the upper limit value of the first preset range, determining a second adjustment amplitude corresponding to the difference between the upper limit value and the current noise value according to the corresponding relation between the predetermined noise value difference and the adjustment amplitude, and determining that the adjustment value corresponding to the current noise value of the environment where the terminal is located is a positive number of which the absolute value is the second adjustment amplitude.
It can be seen from the above description that, if the actual environmental noise value when the terminal needs to play the audio data is within the noise range applicable to the volume characteristic curve obtained by the pre-training, the volume characteristic curve does not need to be adjusted in terms of the environmental noise, and if the actual environmental noise is quieter than the environmental noise applicable to the volume characteristic curve, the volume value of the volume characteristic curve needs to be reduced by a certain amplitude, and if the actual environmental noise is noisier than the environmental noise applicable to the volume characteristic curve, the volume value of the volume characteristic curve needs to be increased by a certain amplitude.
Further, the adjustment value for the volume characteristic curve obtained in advance corresponding to the influence factor of the music type of the audio data is determined as follows:
that is, optionally, in a case that the volume adjustment influencing factors include a music type of the audio data, the determining, according to a current value of each of the volume adjustment influencing factors, an adjustment value corresponding to each of the volume adjustment influencing factors includes:
determining that an adjustment value corresponding to playing of the second type of audio data is a second preset value under the condition that the music type of the target audio data is a second type;
and under the condition that the music type of the target audio data is a third type, determining that an adjustment value corresponding to the playing of the third type of audio data is a third preset value.
For example, the volume characteristic curve obtained by pre-training is suitable for playing relaxed music, and when the relaxed music needs to be played actually, the volume value of the volume characteristic curve needs to be increased by a certain amplitude, and when rock-and-roll type music needs to be played actually, the volume value of the volume characteristic curve needs to be increased by a certain amplitude.
Step 103: and setting the initial volume for playing the target audio data according to the updated volume characteristic curve.
After the updated volume characteristic curve is obtained through the above steps, the initial volume of the playing target audio data can be further set.
Optionally, a default discrete point corresponding to a default volume value is included in the at least two discrete points; setting an initial volume for playing the target audio data according to the updated volume characteristic curve, including:
and setting the initial volume for playing the target audio data as a default volume value corresponding to the default discrete point.
That is, a default discrete point is set on the volume characteristic curve obtained by pre-training, a default discrete point also exists on the updated volume characteristic curve, and the volume value of the default discrete point on the updated volume characteristic curve can be used as the initial volume of the playing target audio data. The updated volume characteristic curve is obtained after adjustment according to the current value of the volume adjustment influence factor, so that the initial volume of the played target audio data is matched with the specific situation of the volume adjustment influence factor, the steps of adjusting the volume by a user are reduced, and the comfort of ears is improved.
Optionally, after the step of setting the initial volume for playing the target audio data, the method further comprises:
in the playing process of the target audio data, if a volume adjusting instruction input by a user is detected, after the volume adjusting instruction is received every time, determining a first discrete point corresponding to a first volume value of the currently played target audio data on the updated volume characteristic curve;
determining a second volume value corresponding to a second discrete point adjacent to the first discrete point according to the volume adjusting direction indicated by the volume adjusting instruction;
adjusting the volume of playing the target audio data to the second volume value.
For example, nine points-4 to 4 are included on the volume characteristic curve, the middle position point 0 represents the initial volume position (default optimal volume), -4 to-1 four points are the adjustment points of the "volume down key", and 1 to 4 are the adjustment points of the "volume up key". The volume amplitude where the 0 point is located is initially played in a default mode, and when a user presses a volume adding key, the volume amplitude where the 1 point is located is pressed for playing; and when the user presses the volume reduction key, the volume amplitude at the-1 point is pressed for playing.
Among the discrete points included on the volume characteristic curve, the difference between the volume values corresponding to every two adjacent discrete points is different, so that the most suitable and fastest volume adjustment amplitude is provided for a user.
As can be seen from the above, in the embodiment of the present invention, when it is detected that the terminal needs to play audio data, multiple external conditions (i.e., volume adjustment influencing factors) are triggered and extracted, the most suitable user volume is calculated, the most suitable user volume is skipped to the most suitable user volume position once, and around the upper and lower positions of the optimal point, 4 to 8 non-constant amplitude volume plus-minus adjustment fine areas suitable for the current user volume are designed, and the most suitable fast volume adjustment amplitude is provided for the user.
Optionally, in the playing process of the target audio data, if it is detected that the user finishes volume adjustment, a third volume value currently played by the target audio data is obtained;
and according to the third volume value, retraining the volume characteristic curve.
Specifically, if the third volume value is greater than the initial volume, the volume values of discrete points on a volume characteristic curve obtained through pre-training are respectively increased; and if the third volume value is smaller than the initial volume, respectively reducing the volume values of discrete points on a volume characteristic curve obtained by pre-training.
If the volume adjustment instruction is not received again within the preset time after the volume adjustment instruction is received once, it is determined that the user has finished the volume adjustment, that is, the third volume value of the playing target audio data meets the auditory sensation of the user.
In addition, the volume characteristic curve is optimized according to the third volume value finally meeting the auditory sensation of the user, so that the volume meeting the auditory sensation of the user can be adjusted more quickly when the volume is adjusted according to the volume characteristic curve subsequently.
In addition, in the process of playing the target audio data, whether the volume adjustment influence factor changes or not can be detected at regular time, and the volume adjustment process is actively triggered when the volume adjustment influence factor changes.
An embodiment of the present invention further provides a terminal, as shown in fig. 2, where the terminal 200 includes:
an influence factor obtaining module 201, configured to obtain a current value of a volume adjustment influence factor when a play operation on target audio data is detected;
the adjusting module 202 is configured to adjust a volume characteristic curve obtained through pre-training according to the current value of the volume adjustment influence factor, so as to obtain an updated volume characteristic curve; at least two discrete points corresponding to different volume values are included on the volume characteristic curve;
and the initial volume determining module 203 is configured to set an initial volume for playing the target audio data according to the updated volume characteristic curve.
Optionally, the volume characteristic curve obtained by pre-training is obtained under the condition of a predetermined volume adjustment influence factor, where the predetermined volume adjustment influence factor includes: the terminal is not inserted into the earphone, the noise value of the environment where the terminal is located is in a first preset range, and the first type of audio data is played.
Optionally, the volume adjustment influencing factor comprises at least one of the following factors: whether the terminal is plugged into a headset, a noise value of an environment in which the terminal is located, and a music type of the audio data.
Optionally, the adjusting module 202 includes:
an adjustment value determining unit, configured to determine, according to a current value of each of the volume adjustment influencing factors, an adjustment value corresponding to each of the volume adjustment influencing factors;
the summation unit is used for summing the adjustment values corresponding to the volume adjustment influence factors to obtain the adjustment values of the volume characteristic curve;
and the adjusting unit is used for adjusting the volume value corresponding to each discrete point in the volume characteristic curve according to the adjusting value of the volume characteristic curve.
Optionally, in a case that the volume adjustment affecting factor includes whether the terminal is plugged into an earphone, the adjustment value determining unit is specifically configured to:
under the condition that the terminal is inserted into the earphone, determining that an adjustment value corresponding to the earphone inserted into the terminal is a first preset value, wherein the first preset value is smaller than zero;
and under the condition that the terminal is not inserted with the earphone, determining that the corresponding adjustment value of the terminal without the earphone is zero.
Optionally, in a case that the volume adjustment affecting factor includes a noise value of an environment where the terminal is located, the adjustment value determining unit is specifically configured to:
under the condition that the current noise value of the environment where the terminal is located is within the first preset range, determining that the adjustment value corresponding to the current noise value of the environment where the terminal is located is zero;
under the condition that the current noise value of the environment where the terminal is located is smaller than the lower limit value of the first preset range, determining a first adjustment amplitude corresponding to the difference between the lower limit value and the current noise value according to the corresponding relation between the predetermined noise value difference and the adjustment amplitude, and determining that the adjustment value corresponding to the current noise value of the environment where the terminal is located is a negative number of which the absolute value is the first adjustment amplitude;
and under the condition that the current noise value of the environment where the terminal is located is larger than the upper limit value of the first preset range, determining a second adjustment amplitude corresponding to the difference between the upper limit value and the current noise value according to the corresponding relation between the predetermined noise value difference and the adjustment amplitude, and determining that the adjustment value corresponding to the current noise value of the environment where the terminal is located is a positive number of which the absolute value is the second adjustment amplitude.
Optionally, in a case that the volume adjustment influencing factor includes a music type of the audio data, the adjustment value determining unit is specifically configured to:
determining that an adjustment value corresponding to playing of the second type of audio data is a second preset value under the condition that the music type of the target audio data is a second type;
and under the condition that the music type of the target audio data is a third type, determining that an adjustment value corresponding to the playing of the third type of audio data is a third preset value.
Optionally, a default discrete point corresponding to a default volume value is included in the at least two discrete points; the initial volume determining module 203 is specifically configured to:
and setting the initial volume for playing the target audio data as a default volume value corresponding to the default discrete point.
Optionally, the terminal further includes:
the instruction receiving module is used for determining a first discrete point, corresponding to a first volume value of the target audio data played currently, on the updated volume characteristic curve after receiving a volume adjusting instruction every time when the volume adjusting instruction input by a user is detected in the playing process of the target audio data;
the volume value determining module is used for determining a second volume value corresponding to a second discrete point adjacent to the first discrete point according to the volume adjusting direction indicated by the volume adjusting instruction;
and the volume adjusting module is used for adjusting the volume for playing the target audio data into the second volume value.
Optionally, the terminal further includes:
a volume value obtaining module, configured to, in the process of playing the target audio data, if it is detected that the user has finished adjusting the volume, obtain a third volume value currently played by the target audio data;
and the priority module is used for retraining the volume characteristic curve according to the third volume value.
As can be seen from the above, the terminal 200 according to the embodiment of the present invention can adjust the volume characteristic curve obtained by the pre-training according to the current value of the volume adjustment influencing factor when the terminal needs to play the audio data, so as to determine the initial volume of playing the audio data according to the updated volume characteristic curve. Therefore, the embodiment of the invention can determine the appropriate initial volume for the user according to the specific conditions of the volume adjustment influence factors, reduces the steps of adjusting the volume by the user and improves the comfort of ears.
Embodiments of the present invention also provide a terminal, as shown in fig. 3, where the terminal 300 includes but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 306, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the terminal structure shown in fig. 3 is not intended to be limiting and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 310 is configured to obtain a current value of the volume adjustment influencing factor when a play operation on the target audio data is detected; adjusting a volume characteristic curve obtained by pre-training according to the current value of the volume adjustment influence factor to obtain an updated volume characteristic curve; at least two discrete points corresponding to different volume values are included on the volume characteristic curve; and setting the initial volume for playing the target audio data according to the updated volume characteristic curve.
Therefore, the terminal 300 according to the embodiment of the present invention can adjust the volume characteristic curve obtained by the pre-training according to the current value of the volume adjustment influencing factor when the terminal needs to play the audio data, so as to determine the initial volume of playing the audio data according to the updated volume characteristic curve. Therefore, the embodiment of the invention can determine the appropriate initial volume for the user according to the specific conditions of the volume adjustment influence factors, reduces the steps of adjusting the volume by the user and improves the comfort of ears.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 302, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the terminal 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The terminal 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or a backlight when the terminal 300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown as two separate components in fig. 3 to implement the input and output functions of the terminal, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 308 is an interface through which an external device is connected to the terminal 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 300 or may be used to transmit data between the terminal 300 and an external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the terminal. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The terminal 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal 300 includes some functional modules that are not shown, and are not described in detail herein.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the method for adjusting a volume of a terminal, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.