CN107613128B - Volume adjusting method, terminal and computer readable storage medium - Google Patents

Volume adjusting method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107613128B
CN107613128B CN201710884277.9A CN201710884277A CN107613128B CN 107613128 B CN107613128 B CN 107613128B CN 201710884277 A CN201710884277 A CN 201710884277A CN 107613128 B CN107613128 B CN 107613128B
Authority
CN
China
Prior art keywords
motion
terminal
value
volume adjustment
volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710884277.9A
Other languages
Chinese (zh)
Other versions
CN107613128A (en
Inventor
薛琇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710884277.9A priority Critical patent/CN107613128B/en
Publication of CN107613128A publication Critical patent/CN107613128A/en
Application granted granted Critical
Publication of CN107613128B publication Critical patent/CN107613128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a volume adjusting method, a terminal and a computer readable storage medium, wherein the method judges whether an external object is close to or far away from the terminal when an audio output unit of the terminal continuously outputs an audio signal outwards; if so, acquiring the motion parameters when the external object approaches to or leaves the terminal; determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter; and adjusting the volume of the terminal according to the volume adjusting parameter. Through implementing above-mentioned scheme, solved current terminal and can only go to adjust the volume and the not convenient to use problem through the mode of button or touch-control, realized more convenient and fast's regulation terminal volume, satisfied user's the demand of controlling, promoted user's use and experienced.

Description

Volume adjusting method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of intelligent terminal technologies, and in particular, to a volume adjustment method, a terminal, and a computer-readable storage medium.
Background
With the continuous innovation of mobile terminal technology, more and more terminal devices are applied to people's daily life, such as smart phones, tablet computers, notebook computers, etc., and these terminal devices have become indispensable tools for people's daily office work and entertainment, and correspondingly, the requirements of users on various functions of the terminal devices are continuously improved.
Taking a smart phone as an example, in the process of playing an audio/video file by using the smart phone, a user controls the volume of an output audio signal through a physical key or a virtual key arranged on the smart phone, and with the continuous progress of terminal device design aesthetics, the physical key often occupies a certain volume and affects the appearance attractiveness, and for the needs of merchants continuously pursuing low cost, the physical key is not beneficial to reducing the production cost. More importantly, in some specific application scenarios, such as driving, when the user presses a physical key or touches a virtual key to adjust the volume with a mobile phone, the user often needs to look away from the sight to find the key position, which is inconvenient to use, and the user is easy to press the wrong key.
In summary, the volume adjustment method in the prior art cannot meet the use requirements of the user, so that the user experience is poor.
Disclosure of Invention
The technical problem to be solved by the present invention is that the existing terminal is inconvenient to use because the volume can only be adjusted by a key or touch, and the present invention provides a volume adjusting method, a terminal and a computer readable storage medium.
In order to solve the above technical problem, the present invention provides a volume adjusting method, including:
when an audio output unit of the terminal continuously outputs audio signals outwards, judging whether an external object approaches or leaves the terminal;
if so, acquiring the motion parameters when the external object approaches to or leaves the terminal;
determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter;
and adjusting the volume of the terminal according to the volume adjusting parameter.
Optionally, the determining whether there is an external object approaching or departing from the terminal includes:
collecting N transmitting audio signals output by an audio output unit, and recording the collecting time of each transmitting audio signal, wherein N is an integer value more than or equal to 2;
receiving an audio signal from the outside through an audio receiving unit of the terminal, and recording the receiving time of each audio signal;
when the audio receiving unit receives the reflected audio signals corresponding to the N transmitted audio signals within a first preset time range, whether the transmission distance of the received reflected audio signals changes or not is judged according to the acquisition time of the transmitted audio signals, the receiving time of the reflected audio signals and the transmission speed of the audio signals, and if yes, it is determined that an external object is close to or far away from the terminal.
Optionally, the determining whether there is an external object approaching or departing from the terminal includes:
determining an air flow speed by an air flow sensor provided on the terminal;
and determining whether a foreign object approaches or moves away from the terminal according to the change of the air flow speed.
Optionally, determining whether the transmission distance of the received reflected audio signal changes includes:
judging whether the transmission distance of the received reflected audio signal is increased or decreased in sequence;
if yes, determining that an external object approaches to or leaves from the terminal, and including:
if the distances increase in sequence, determining that an external object is far away from the terminal;
and if the values are sequentially reduced, determining that an external object approaches the terminal.
Optionally, the motion parameters include: a direction of motion;
determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter, wherein the method comprises the following steps:
determining a volume adjusting direction according to the acquired moving direction and the corresponding relation between the preset moving direction and the volume adjusting direction; the moving direction comprises: close to or away from; the volume adjustment direction includes volume turning down or volume turning up.
Optionally, the motion parameters further include: a motion parameter scalar value;
determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter, wherein the method comprises the following steps:
and determining the volume adjustment amplitude according to the acquired motion parameter scalar value and the corresponding relation between the preset motion parameter scalar value and the volume adjustment amplitude.
Optionally, the motion parameter scalar value includes: any one of a movement distance value, a movement speed value and a movement acceleration value;
determining the volume adjustment amplitude according to the obtained motion parameter scalar value and the corresponding relation between the preset motion parameter scalar value and the volume adjustment amplitude, wherein the method comprises the following steps:
if the motion parameter scalar value is a motion distance value, determining a total motion distance value when an external object is far away from or close to the terminal, and determining a volume adjustment amplitude according to the obtained total motion distance value and a preset corresponding relation between the total motion distance value and the volume adjustment amplitude;
if the motion parameter scalar value is a motion speed value, determining any one of a maximum motion speed value, an average motion speed value or a minimum motion speed value when the external object is far away from or close to the terminal as the motion speed value, and determining a volume adjustment amplitude according to the corresponding relation between any one of the acquired maximum motion speed value, average motion speed value or minimum motion speed value and a preset maximum motion speed value, average motion speed value or minimum motion speed value and the volume adjustment amplitude;
and if the motion parameter scalar value is a motion acceleration value, determining any one of a maximum motion acceleration value, an average motion acceleration value and a minimum motion acceleration value when the external object is far away from or close to the terminal as the motion acceleration value, and determining the volume adjustment amplitude according to the corresponding relation between any one of the acquired maximum motion acceleration value, average motion acceleration value or minimum motion acceleration value and a preset maximum motion acceleration value, average motion acceleration value or minimum motion acceleration value and the volume adjustment amplitude.
Optionally, after adjusting the volume of the terminal according to the volume adjustment parameter, the method further includes:
and stopping detecting whether an external object approaches to or is far away from the terminal within a second preset time range.
Furthermore, the invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing the connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the volume adjustment method described above.
Further, the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the volume adjustment method described above.
Advantageous effects
The invention provides a volume adjusting method, a terminal and a computer readable storage medium, aiming at the defect that the existing terminal is inconvenient to use because the volume can only be adjusted by a key or a touch mode, whether an external object is close to or far away from the terminal is judged when an audio output unit of the terminal continuously outputs an audio signal outwards; if so, acquiring the motion parameters when the external object approaches to or leaves the terminal; determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter; and adjusting the volume of the terminal according to the volume adjusting parameter. The inconvenience brought by the fact that the user adjusts the terminal volume in a key or touch mode is solved, the terminal volume can be adjusted more conveniently and rapidly, the user control requirement is met, and the user experience is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a basic flowchart of a volume adjustment method according to a first embodiment of the present invention;
fig. 4 is a schematic diagram of a palm approaching a terminal according to a first embodiment of the present invention;
fig. 5 is a detailed flowchart of a volume adjustment method according to a second embodiment of the present invention;
FIG. 6 is a diagram illustrating a second embodiment of the present invention providing a palm facing away from the terminal;
fig. 7 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (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 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 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), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program 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 109 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 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 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 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
First embodiment
Fig. 3 is a basic flowchart of the volume adjustment method provided in this embodiment, and the method can be applied to any type of terminal having an audio playing function, and is not limited to a mobile terminal, but also can be applied to a fixed terminal such as a digital television, a desktop computer, a vehicle-mounted navigation device, and the like. The volume adjusting method comprises the following steps:
s301, when the audio output unit of the terminal continuously outputs the audio signal outwards, whether an external object approaches to or is far away from the terminal is judged.
Specifically, the external object may be a part of a user's limb such as a palm, or may be an object without a living feature such as a book. Since the acoustic signal propagation is performed in all directions, the moving direction of the external object approaching or moving away from the terminal is not particularly limited, and the approaching or moving away of the external object in any direction above the plane of the terminal can be detected and uniquely corresponded, not only to the approaching or moving away from the terminal perpendicular or parallel to the plane of the terminal. The approach or the distance of the external object to the terminal is a trigger event for adjusting the volume, and when no external object exists, and the external object exists but does not move close to or far from the terminal, the volume adjustment is not triggered.
Further, determining whether there is an external object approaching or departing from the terminal includes: collecting N transmitting audio signals output by an audio output unit, and recording the collecting time of each transmitting audio signal, wherein N is an integer value more than or equal to 2; receiving an audio signal from the outside through an audio receiving unit of the terminal, and recording the receiving time of each audio signal; when the audio receiving unit receives the reflected audio signals corresponding to the N transmitted audio signals within a first preset time range, whether the transmission distance of the received reflected audio signals changes or not is judged according to the acquisition time of the transmitted audio signals, the receiving time of the reflected audio signals and the transmission speed of the audio signals, and if yes, it is determined that an external object is close to or far away from the terminal.
Specifically, according to the reflection characteristics of the audio signal, emission occurs when the audio signal encounters an obstacle while propagating in the air, and the frequency of the audio signal remains unchanged after the reflection occurs. In this embodiment, when the audio output unit outputs the audio signal to the outside, N specific transmitting audio signals are selected for sampling, and the frequency and the sending time of the output audio signals are recorded, it should be noted that, in order to make each transmitting audio signal distinguishable, so as to ensure that the subsequently received reflected audio signal can be matched with the corresponding transmitting audio signal through frequency, the frequencies of the N specific transmitting audio signals are all specific, that is, the frequency of each transmitting audio signal should be unique. In addition, in the embodiment, the reflected audio signals are received by the audio receiving unit of the terminal, the frequency and the receiving time of the reflected audio signals are recorded, the corresponding transmitted audio signals are matched through the frequency, and each of the N transmitted audio signals corresponds to one reflected audio signal. The transmission distance of the audio signal reflected back to the terminal when encountering an external object can be calculated according to the acquisition time t of the transmitted audio signal, the receiving time t' of the reflected audio signal and the transmission speed V of the audio signal: if all the transmitted audio signals encounter an object which is fixed and is reflected by encountering a fixed wall, the distance transmitted by each reflected audio signal when the reflected audio signal returns to the terminal and is received by the audio receiving unit should be a fixed value, and if all the transmitted audio signals encounter an object which is close to or far away from the terminal in a certain time, such as a palm, the position of each transmitted audio signal when the transmitted audio signal encounters the palm will change, and the transmission distance of the corresponding reflected audio signal when the reflected audio signal is reflected back to the terminal will also keep changing. Of course, since the transmission speed of the audio signal is kept constant during the sampling period, the determination may be made only according to the difference between the receiving time of the reflected audio signal and the capturing time of the transmitted audio signal, and the time elapsed in the whole process from the transmission to the reception of the reflected audio signal by the audio receiving unit remains changed, that is, the audio signal is reflected while encountering an object approaching or moving away. It should be noted that the number N of samples of the transmitted audio signal in this embodiment is any number greater than or equal to 2, and of course, when the number N of samples is as large as possible, the accuracy of the judgment or the subsequent calculation may be higher.
It should be noted that before determining whether there is an external object approaching or departing from the terminal, the method further includes: acquiring the corresponding ambient temperature at the initial sampling point; and determining the transmission speed of the corresponding audio signal according to the ambient temperature. Specifically, the environmental temperature has a great influence, and in the process of adjusting the volume, the palm is close to the mobile phone, so the distance calculation should be accurate to a millimeter position, and errors caused by the influence of the temperature on the transmission speed of the audio signal cannot be ignored; the time of the same volume adjustment period is usually only a few seconds, so the influence of the ambient temperature can be ignored, but the influence of the ambient temperature can not be ignored if the time span of the volume adjustment period is larger, so the current ambient temperature is acquired by selecting the initial sampling point of each sampling period, and the transmission speed of the audio signal corresponding to the ambient temperature is suitable for the current sampling period.
In practical application, within the sampling time range of the terminal, there are other sound generating objects around the terminal, that is, interfering sound sources, and the audio signals sent by the sound generating objects are likely to be received by the audio receiving unit of the terminal, and there are usually a few audio signals of the interfering sound sources that are the same as the audio signals of some sampling points of the terminal, so that there is a certain possibility that the audio receiving unit of the terminal misinterprets the interfering audio signals as reflected audio signals, therefore, in order to avoid the influence of such interfering sound sources on the volume adjustment of the terminal device, based on that the interfering audio signals are unlikely to be the same as the audio signals of all the sampling points, it is possible to perform a full check on all the reflected audio signals received by the audio receiving unit of the terminal, that is, all the reflected audio signals of all the N sampling points in the audio signal sequence are received within a predetermined time range, the audio signal sequence emitted by the audio output device is deemed to encounter a foreign object within the defined range.
Optionally, the determining whether there is an external object approaching or departing from the terminal includes: determining an air flow speed by an air flow sensor provided on the terminal; and determining whether a foreign object approaches or moves away from the terminal according to the change of the air flow speed.
Specifically, when an external object moves close to or away from the terminal, air flow around the object is caused, the air flow sensor of the terminal calculates the volume flow or the mass flow according to the volume or the mass of the sucked air, and the air flow speed can be obtained by calculating the ratio of the volume flow to the effective cross-sectional area through which the air passes. The air flow speed corresponds to the speed when the external object moves, the acceleration can be further obtained according to the speed, because the speed and the acceleration are vectors and not only have magnitude properties but also have direction properties, the magnitude of the numerical value of the volume adjusting parameter, namely the magnitude of the volume adjustment of the terminal, can be determined according to the numerical value of the speed or the acceleration when the external object moves faster, the calculated numerical value of the speed or the acceleration is larger, if the positive correlation between the numerical value of the speed or the acceleration and the magnitude of the volume adjustment is preset, the magnitude of the volume adjustment is larger, and in addition, the moving direction of the external object relative to the terminal, namely, the approaching or the departing can be determined according to the direction of the speed or the acceleration when the external object moves, on the basis of which the volume can be determined to be increased or decreased, namely, the volume adjustment magnitude is endowed with "+/-", for example, when the volume adjustment parameter is-20 db, 20 indicates the volume adjustment amplitude corresponding to the value of the velocity or acceleration, and "-" indicates the adjustment direction corresponding to the direction of the velocity or acceleration, which in combination indicates that the volume is adjusted 20db smaller. Accordingly, whether a foreign object is approaching or departing from the terminal can be identified based on the air flow sensor.
Further, determining whether the transmission distance of the received reflected audio signal changes includes: judging whether the transmission distance of the received reflected audio signal is increased or decreased in sequence; if yes, determining that an external object approaches to or leaves from the terminal, and including: if the distances increase in sequence, determining that an external object is far away from the terminal; and if the values are sequentially reduced, determining that an external object approaches the terminal.
Specifically, in this embodiment, when the change of the transmission distance of the reflected audio signal is that the transmission distances of the reflected audio signals sequentially and continuously change, it is defined that an external object is close to or far from the terminal; of course, in other embodiments, it may be allowed that the continuous change is not needed, for example, the transmission distance of the reflected audio signal with a few abnormal sampling points may be allowed to destroy the overall continuous change trend, as long as the overall change process is a significant and determinable change trend.
And S302, if so, acquiring the motion parameters when the external object approaches to or leaves the terminal.
In practical applications, a process of adjusting a volume by approaching/moving away a user to/from a terminal is usually an accelerated approaching/moving away process, and motion parameters with different properties can be obtained based on the acquisition time of a transmitted audio signal, the receiving time of a reflected audio signal, and the transmission speed of the audio signal, and can be selected according to practical application scenarios.
S303, determining volume adjusting parameters according to the acquired motion parameters and the corresponding relation between the preset motion parameters and the volume adjusting parameters.
Optionally, the motion parameters include: a direction of motion; determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter, wherein the method comprises the following steps: determining a volume adjusting direction according to the acquired moving direction and the corresponding relation between the preset moving direction and the volume adjusting direction; the moving direction comprises: close to or away from; the volume adjustment direction includes volume turning down or volume turning up.
In some application scenarios, the volume adjustment parameter can be determined only by the movement direction, for example, the terminal is preset with a fixed volume adjustment parameter value, and the terminal is suitable for the same volume adjustment amplitude corresponding to the volume adjustment parameter value under the movement condition of all external objects; or the different moving directions are preset with fixed volume adjusting parameter values correspondingly. Then, each time the volume is adjusted, the volume adjusting direction is determined according to the moving direction, so that the volume of the terminal is adjusted up or down according to the preset volume adjusting parameter value, and the preset volume adjusting parameter value is given as "+/-". The movement direction of the external object relative to the terminal can be judged by combining the change condition of the distance between the external object and the terminal at each sampling point, the volume adjustment direction is further defined according to the movement direction, based on the description, when the transmission distance of the reflected audio signal received by the terminal is sequentially increased, the external object is far away from the terminal, and similarly, when the transmission distance of the reflected audio signal received by the terminal is sequentially reduced, the external object is close to the terminal. The corresponding relation between the movement direction and the volume adjustment direction can be flexibly set according to an application scene, if an external object is far away from the terminal and the volume is adjusted to be large, the external object is close to the terminal and the volume is adjusted to be small, and vice versa. For example, the value of the volume adjustment parameter preset by the terminal is 10db, and if the external object is far away from the terminal, the volume adjustment direction is determined to be turned up, and the volume is turned up by 10db, that is, the volume is adjusted according to the volume adjustment parameter +10db obtained by assigning "+" to 10 db.
Further, the motion parameters further include: a motion parameter scalar value; determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter, wherein the method comprises the following steps: and determining the volume adjustment amplitude according to the acquired motion parameter scalar value and the corresponding relation between the preset motion parameter scalar value and the volume adjustment amplitude.
In other application scenarios, the motion parameter may include a motion parameter scalar value besides the motion direction, where the motion parameter scalar value is a size attribute of the motion parameter numerical value, and the motion behavior of the external object relative to the terminal is different, and the motion parameter scalar value reflects the degree of the motion behavior, such as how fast the motion is, how close the motion is, and the like, so that the volume adjustment parameter numerical value may be defined as different numerical values according to different motion behaviors, so as to obtain different volume adjustment amplitudes accordingly, and in general, the motion parameter scalar value and the volume adjustment amplitude are in a positive correlation, in practical application, the correspondence between the motion parameter scalar value and the volume adjustment amplitude may be stored in the terminal in a table form, and of course, the correspondence may also be stored in the terminal in a function form, such as the volume adjustment amplitude is equal to the motion parameter scalar value X, the value of X is determined according to the practical application condition. The motion parameters are determined according to the motion parameter scalar value with the size attribute and the motion direction with the direction attribute, so that the volume adjusting direction and the volume adjusting amplitude are defined in a differentiated mode according to different motion behaviors of the external object relative to the terminal, and the volume adjustment is flexible.
Further, the motion parameter scalar values include: any one of a movement distance value, a movement speed value and a movement acceleration value; determining the volume adjustment amplitude according to the obtained motion parameter scalar value and the corresponding relation between the preset motion parameter scalar value and the volume adjustment amplitude, wherein the method comprises the following steps: if the motion parameter scalar value is a motion distance value, determining a total motion distance value when an external object is far away from or close to the terminal, and determining a volume adjustment amplitude according to the obtained total motion distance value and a preset corresponding relation between the total motion distance value and the volume adjustment amplitude; if the motion parameter scalar value is a motion speed value, determining any one of a maximum motion speed value, an average motion speed value or a minimum motion speed value when the external object is far away from or close to the terminal as the motion speed value, and determining a volume adjustment amplitude according to the corresponding relation between any one of the acquired maximum motion speed value, average motion speed value or minimum motion speed value and a preset maximum motion speed value, average motion speed value or minimum motion speed value and the volume adjustment amplitude; and if the motion parameter scalar value is a motion acceleration value, determining any one of a maximum motion acceleration value, an average motion acceleration value and a minimum motion acceleration value when the external object is far away from or close to the terminal as the motion acceleration value, and determining the volume adjustment amplitude according to the corresponding relation between any one of the acquired maximum motion acceleration value, average motion acceleration value or minimum motion acceleration value and a preset maximum motion acceleration value, average motion acceleration value or minimum motion acceleration value and the volume adjustment amplitude.
Specifically, the motion distance value, the motion speed value and the motion acceleration value are all suitable for defining the degree of motion behavior of the object, and a plurality of motion parameter scalar values can be acquired because a plurality of sampling points are corresponding to the external object in the process of approaching or departing from the terminal, and the motion distance value, the motion speed value and the motion acceleration value acquired at each sampling point are different, so that different adjustment rules can be selected by combining the plurality of motion parameter scalar values calculated by all the sampling points. On one hand, the extreme value of the motion parameter scalar value can be selected to determine the volume adjustment amplitude, such as the maximum value and the minimum value of the motion speed value and the motion acceleration value; on the other hand, the average value of the motion parameter scalar values can be selected to determine the volume adjustment amplitude, such as the motion velocity value, the maximum value and the minimum value of the motion acceleration value; in particular, the total movement distance value when the external object is far away from or close to the terminal can be selected to determine the volume adjustment amplitude, and the total movement distance value is the movement distance of the external object when the tail sampling point meets the external object relative to the transmission audio signal of the initial sampling point. As shown in fig. 4, which is a schematic diagram of when a palm approaches a terminal, taking sampling three transmitted audio signals as an example, in a process that the palm approaches the terminal, a transmitted audio signal of an initial sampling point encounters the palm at a position a and is reflected, in turn, a transmitted audio signal of a second sampling point encounters the palm at a position B, and a transmitted audio signal of an end sampling point encounters the palm at a position C, so that a total movement distance of the palm in a process of approaching the terminal is a movement distance of the palm when the palm moves from the position a to the position C.
And S304, adjusting the volume of the terminal according to the volume adjusting parameter.
Further, after adjusting the volume of the terminal according to the volume adjustment parameter, the method further includes: and stopping detecting whether an external object approaches to or is far away from the terminal within a second preset time range.
Specifically, in practical applications, an exercise behavior related to an external object in a process of performing volume adjustment once is a reciprocating behavior, for example, when a user wants to turn down a volume by an action of a palm approaching a terminal, after the palm of the user approaches the terminal, the terminal recognizes the action and determines a corresponding volume adjustment parameter to perform volume adjustment, the palm must have a subsequent action of withdrawing, the action is usually far away from the terminal, and if the terminal recognizes the subsequent action, determines the volume adjustment parameter and then performs volume adjustment after adjustment is completed, a volume adjustment effect actually desired by the user is not achieved. Therefore, a masking period is set in this embodiment, after the volume adjustment is completed, the terminal enters the masking period, and the subsequent motion behavior of the external object is stopped being detected within a period of time, so that the volume adjusted according to the previous effective motion behavior can be kept effective.
The invention provides a volume adjusting method, aiming at the defect that the existing terminal is inconvenient to use because the volume can only be adjusted by a key or a touch mode, judging whether an external object is close to or far away from the terminal or not when an audio output unit of the terminal continuously outputs an audio signal outwards; if so, acquiring the motion parameters when the external object approaches to or leaves the terminal; determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter; and adjusting the volume of the terminal according to the volume adjusting parameter. The inconvenience brought by the fact that the user adjusts the terminal volume in a key or touch mode is solved, the terminal volume can be adjusted more conveniently and rapidly, the user control requirement is met, and the user experience is improved.
Second embodiment
Fig. 5 is a detailed flowchart of a volume adjustment method according to a second embodiment of the present invention, where the volume adjustment method includes:
s501, when the audio output unit of the terminal continuously outputs the audio signals outwards, the audio receiving unit receives the reflected audio signals corresponding to the N transmitted audio signals within a first preset time range.
S502, judging whether the transmission distance of the received reflected audio signal changes or not according to the acquisition time of the transmitted audio signal, the receiving time of the reflected audio signal and the transmission speed of the audio signal, if so, turning to S503, and if not, returning to S501.
Wherein N is an integer value greater than or equal to 2, and an embodiment of a specific determination process of whether an external object is close to or far from a terminal is given below by taking N sampling points as an example, and the recording information of the N sampling points is shown in table 1:
TABLE 1
Figure BDA0001419830390000161
As shown in fig. 6, which is a schematic diagram when the palm is far from the terminal, the position where the transmitting audio signal of the initial sampling point ID1 meets the palm is a, the position where the transmitting audio signal of the sampling point ID2 meets the palm is B, the position where the transmitting audio signal of the sampling point ID3 meets the palm is C, and the position where the transmitting audio signal of the last sampling point IDn meets the palm is N. The distance between the palm and the terminal at the time point, namely the transmission distance of the reflected audio signal, can be calculated according to the acquisition time of the transmitted audio signal, the receiving time of the reflected audio signal and the transmission speed of the audio signal, and the time when the transmitted audio signal corresponding to each sampling point meets the palm can be calculated according to the acquisition time of the transmitted audio signal at each sampling point and the receiving time of the reflected audio signal. Based on this, the initial sampling point ID1 is the distance of the palm from the terminal at this time: s1 ═ V/2 (t 1' -t1), the time at which the emitted audio signal encountered the palm: t1 ═ (T1+ T1')/2; sample point ID2 distance of palm from terminal at this time: s2 ═ V/2 (t 2' -t2), the time at which the emitted audio signal encountered the palm: t2 ═ (T2+ T2')/2; sample point ID3 distance of palm from terminal at this time: s3 ═ V/2 (t 3' -t3), the time at which the emitted audio signal encountered the palm: t3 ═ (T3+ T3')/2; and so on, the distance from the end sampling point IDn palm to the terminal at this time: sn ═ tn' -tn × V/2, the time at which the transmitting audio signal encountered the palm: tn ═ Tn + Tn')/2, then comparing S1, S2, S3, … …, Sn, the resulting changes in S1, S2, S3, … …, Sn should be successively larger corresponding to the motion of the palm away from the terminal shown in fig. 6, and in other embodiments, the corresponding changes in S1, S2, S3, … …, Sn should be successively smaller if the palm approaches the terminal. In addition, in other embodiments, whether an external object moves relative to the terminal may also be determined by comparing the difference between the receiving time of the reflected audio signal and the acquiring time of the transmitted audio signal at each sampling point, and if the difference between the receiving time of the reflected audio signal and the acquiring time of the transmitted audio signal at each sampling point increases in sequence, it may be determined that an external object is far away from the terminal.
And S503, acquiring the motion direction of the external object relative to the terminal.
Based on the change relationship between the distance between the external object and the terminal, the moving direction of the external object relative to the terminal can be obtained, and when the moving direction is increased in sequence in S1, S2, S3, S … … and Sn, the palm is far away from the terminal.
S504, obtaining a motion parameter scalar value when the external object moves relative to the terminal.
In connection with the above description, the average moving speed of the palm in the time period can be calculated according to the time difference between two adjacent transmitting audio signals of the terminal and the palm and the moving distance of the palm in the time period. Based on this, V1 ═ S2-S1)/(T2-T1), V2 ═ S3-S2)/(T3-T2), … …, Vn ═ Sn-1)/(Tn-1), and further, the motion acceleration of the external object of the adjacent period can be calculated based on the motion speed obtained by the above calculation. Because speed, acceleration are the vector quantity, existing direction attribute has big or small attribute again, this embodiment only needs to utilize its big or small attribute, consequently gets the motion velocity value, motion acceleration value is the motion scalar value, in addition, calculates the difference between the distance of end sampling point palm to terminal and the distance of initial sampling point palm to terminal, obtains the total distance of motion of external object when the transmission audio signal of the relative initial sampling point of end sampling point meets external object, and based on this, S equals Sn-S1, this value also can be regarded as the motion parameter scalar value.
And S505, determining the corresponding volume adjusting direction and volume adjusting amplitude according to the motion direction and the motion parameter scalar value.
Specifically, the volume adjusting direction is determined according to the movement direction, namely the volume is turned up or turned down; and determining the volume adjustment amplitude, namely the size of the volume adjustment value according to the motion parameter scalar value.
And S506, adjusting the volume of the terminal according to the volume adjusting direction and the volume adjusting amplitude.
And S507, stopping detecting whether an external object approaches to or is far away from the terminal within a second preset time range.
The invention provides a volume adjusting method, aiming at the defect that the existing terminal is inconvenient to use because the volume can only be adjusted by a key or a touch mode, judging whether an external object is close to or far away from the terminal or not when an audio output unit of the terminal continuously outputs an audio signal outwards; if so, acquiring the motion parameters when the external object approaches to or leaves the terminal; determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter; and adjusting the volume of the terminal according to the volume adjusting parameter. The inconvenience brought by the fact that the user adjusts the terminal volume in a key or touch mode is solved, the terminal volume can be adjusted more conveniently and rapidly, the user control requirement is met, and the user experience is improved.
Third embodiment
The embodiment provides a terminal, as shown in fig. 7, including a processor 701, a memory 702, and a communication bus 703;
the communication bus 703 is used for realizing connection and communication between the processor 701 and the memory 702;
the memory 702 is configured to store one or more programs, and the processor 701 is configured to execute the one or more programs stored in the memory 702 to implement the steps of the volume adjusting method in the embodiments described above, which are not described herein again.
Fourth embodiment
The present invention further provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to implement the steps of the volume adjusting method in the embodiments described above, which are not described herein again.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 the invention can be practiced without departing from the spirit of the invention and the scope of the appended claims
In the context of the present invention, many forms may be made which are within the scope of the present invention.

Claims (8)

1. A volume adjustment method, characterized in that the volume adjustment method comprises:
when an audio output unit of the terminal continuously outputs audio signals outwards, judging whether an external object approaches to or is far away from the terminal;
if so, acquiring the motion parameters of the external object approaching or far away from the terminal;
determining a volume adjusting parameter according to the obtained motion parameter and the corresponding relation between the preset motion parameter and the volume adjusting parameter;
adjusting the volume of the terminal according to the volume adjusting parameter;
the judging whether an external object approaches to or is far away from the terminal includes:
collecting N transmitting audio signals output by the audio output unit, and recording the collecting time of each transmitting audio signal, wherein N is an integer value greater than or equal to 2, and the frequencies of the N transmitting audio signals are different;
receiving external audio signals through an audio receiving unit of the terminal, and recording the receiving time of each audio signal;
when the audio receiving unit receives all the reflected audio signals corresponding to the N transmitted audio signals within a first preset time range, judging whether the transmission distance of the received reflected audio signals changes or not according to the acquisition time of the transmitted audio signals, the receiving time of the reflected audio signals and the transmission speed of the audio signals, and if so, determining that an external object is close to or far away from the terminal.
2. The volume adjustment method of claim 1, wherein the determining whether the transmission distance of the received reflected audio signal changes comprises:
judging whether the transmission distance of the received reflected audio signal is increased or decreased in sequence;
if yes, determining that an external object is close to or far away from the terminal, including:
if the sizes of the external objects are sequentially increased, determining that the external objects are far away from the terminal;
and if the values are sequentially reduced, determining that an external object approaches the terminal.
3. The volume adjustment method of claim 2, wherein the motion parameter comprises: a direction of motion;
the determining the volume adjustment parameter according to the obtained motion parameter and the corresponding relationship between the preset motion parameter and the volume adjustment parameter includes:
determining a volume adjusting direction according to the acquired moving direction and the corresponding relation between the preset moving direction and the volume adjusting direction; the direction of motion comprises: close to or away from; the volume adjusting direction comprises volume turning down or volume turning up.
4. The volume adjustment method of claim 3, wherein the motion parameter further comprises: a motion parameter scalar value;
the determining the volume adjustment parameter according to the obtained motion parameter and the corresponding relationship between the preset motion parameter and the volume adjustment parameter includes:
and determining the volume adjustment amplitude according to the acquired motion parameter scalar value and the corresponding relation between the preset motion parameter scalar value and the volume adjustment amplitude.
5. The volume adjustment method of claim 4, wherein the motion parameter scalar value comprises: any one of a movement distance value, a movement speed value and a movement acceleration value;
determining the volume adjustment amplitude according to the obtained motion parameter scalar value and the corresponding relation between the preset motion parameter scalar value and the volume adjustment amplitude, wherein the method comprises the following steps:
if the motion parameter scalar value is a motion distance value, determining a total motion distance value when an external object is far away from or close to the terminal, and determining a volume adjustment amplitude according to the obtained total motion distance value and a preset corresponding relation between the total motion distance value and the volume adjustment amplitude;
if the motion parameter scalar value is a motion speed value, determining any one of a maximum motion speed value, an average motion speed value or a minimum motion speed value when an external object is far away from or close to the terminal as the motion speed value, and determining a volume adjustment amplitude according to the corresponding relation between any one of the acquired maximum motion speed value, average motion speed value or minimum motion speed value and a preset maximum motion speed value, average motion speed value or minimum motion speed value and the volume adjustment amplitude;
and if the motion parameter scalar value is a motion acceleration value, determining any one of a maximum motion acceleration value, an average motion acceleration value and a minimum motion acceleration value when an external object is far away from or close to the terminal as the motion acceleration value, and determining the volume adjustment amplitude according to the corresponding relation between any one of the acquired maximum motion acceleration value, average motion acceleration value or minimum motion acceleration value and a preset maximum motion acceleration value, average motion acceleration value or minimum motion acceleration value and the volume adjustment amplitude.
6. The volume adjustment method according to any one of claims 1 to 5, wherein after adjusting the volume of the terminal according to the volume adjustment parameter, the method further comprises:
and stopping detecting whether an external object approaches to or is far away from the terminal within a second preset time range.
7. A terminal, characterized in that the terminal comprises a processor, a memory, a communication bus;
the communication bus is used for realizing the connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the volume adjustment method according to any one of claims 1 to 6.
8. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the volume adjustment method according to any one of claims 1 to 6.
CN201710884277.9A 2017-09-26 2017-09-26 Volume adjusting method, terminal and computer readable storage medium Active CN107613128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710884277.9A CN107613128B (en) 2017-09-26 2017-09-26 Volume adjusting method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710884277.9A CN107613128B (en) 2017-09-26 2017-09-26 Volume adjusting method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107613128A CN107613128A (en) 2018-01-19
CN107613128B true CN107613128B (en) 2020-06-26

Family

ID=61058430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710884277.9A Active CN107613128B (en) 2017-09-26 2017-09-26 Volume adjusting method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107613128B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924375B (en) * 2018-06-14 2021-09-07 Oppo广东移动通信有限公司 Ringtone volume processing method and device, storage medium and terminal
CN110913062B (en) * 2018-09-18 2022-08-19 西安中兴新软件有限责任公司 Audio control method, device, terminal and readable storage medium
CN111049972B (en) * 2019-11-20 2021-04-27 维沃移动通信有限公司 Audio playing method and terminal equipment
CN113360124B (en) * 2020-03-05 2023-07-18 Oppo广东移动通信有限公司 Audio input/output control method and device, electronic equipment and readable storage medium
CN112380972B (en) * 2020-11-12 2022-03-15 四川长虹电器股份有限公司 Volume adjusting method applied to television scene
CN113900573A (en) * 2021-09-30 2022-01-07 惠州Tcl移动通信有限公司 Volume control method and device, electronic equipment and computer readable storage medium
CN114096032B (en) * 2021-10-14 2024-01-05 佛山电器照明股份有限公司 Lamp control method, component control method, storage medium, equipment and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729654A (en) * 2009-10-31 2010-06-09 华为终端有限公司 Mobile terminal and method for adjusting call voice of same
CN105100408A (en) * 2015-05-26 2015-11-25 努比亚技术有限公司 Method and device for controlling a mobile terminal
CN106331371A (en) * 2016-09-14 2017-01-11 维沃移动通信有限公司 Volume adjustment method and mobile terminal
CN106980486A (en) * 2017-03-23 2017-07-25 北京小米移动软件有限公司 Method for controlling volume and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729654A (en) * 2009-10-31 2010-06-09 华为终端有限公司 Mobile terminal and method for adjusting call voice of same
CN105100408A (en) * 2015-05-26 2015-11-25 努比亚技术有限公司 Method and device for controlling a mobile terminal
CN106331371A (en) * 2016-09-14 2017-01-11 维沃移动通信有限公司 Volume adjustment method and mobile terminal
CN106980486A (en) * 2017-03-23 2017-07-25 北京小米移动软件有限公司 Method for controlling volume and device

Also Published As

Publication number Publication date
CN107613128A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107613128B (en) Volume adjusting method, terminal and computer readable storage medium
CN108566479B (en) Screen state control method, mobile terminal and computer readable storage medium
CN110035176B (en) Brightness adjusting method of mobile terminal, mobile terminal and storage medium
CN110035149B (en) Multi-antenna optimization method and mobile terminal
CN109284065B (en) Key false touch prevention method and device, mobile terminal and readable storage medium
CN108055412B (en) Method of controlling mobile terminal, and computer-readable storage medium
CN110007816B (en) Display area determining method, terminal and computer readable storage medium
CN108184023B (en) Screen state control method, mobile terminal and computer readable storage medium
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN108234767B (en) Control method of screen state, mobile terminal and computer readable storage medium
CN108196777B (en) Flexible screen application method and device and computer readable storage medium
CN107329572B (en) Control method, mobile terminal and computer-readable storage medium
CN108226880B (en) Method and device for preventing interference in ultrasonic distance detection and storage medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN107277364B (en) Shooting method, mobile terminal and computer readable storage medium
CN110052024B (en) Game vibration adjusting method, adjusting device, mobile terminal and storage medium
CN108744505B (en) Rate control method, terminal and computer readable storage medium
CN107424393B (en) Mobile terminal searching method, mobile terminal and storage medium
CN108287627B (en) Interface operation method based on flexible screen, terminal and computer readable storage medium
CN107566631B (en) Volume control method, mobile terminal and computer readable storage medium
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN110060617B (en) Screen light spot compensation method and device, terminal and readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN109683778B (en) Flexible screen control method and device and computer readable storage medium
CN107734147B (en) Step recording method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant