CN108683812B - Volume adjusting method and device and mobile terminal - Google Patents

Volume adjusting method and device and mobile terminal Download PDF

Info

Publication number
CN108683812B
CN108683812B CN201810458114.9A CN201810458114A CN108683812B CN 108683812 B CN108683812 B CN 108683812B CN 201810458114 A CN201810458114 A CN 201810458114A CN 108683812 B CN108683812 B CN 108683812B
Authority
CN
China
Prior art keywords
mobile terminal
display screen
volume
preset
target area
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
CN201810458114.9A
Other languages
Chinese (zh)
Other versions
CN108683812A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810458114.9A priority Critical patent/CN108683812B/en
Publication of CN108683812A publication Critical patent/CN108683812A/en
Application granted granted Critical
Publication of CN108683812B publication Critical patent/CN108683812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers

Abstract

The embodiment of the application discloses a volume adjusting method, a volume adjusting device and a mobile terminal. The mobile terminal comprises a display screen, the display screen comprises a plurality of areas, and the method comprises the following steps: when the display screen is in a preset display state, acquiring an area with a pressing operation function detected in the display screen as a target area; acquiring a volume adjusting parameter corresponding to the target area; and controlling the volume of the mobile terminal based on the volume adjusting parameter. According to the method, the area with the pressing operation function detected in the display screen is used as the target area, the volume adjusting parameter corresponding to the target area is obtained, and the volume of the mobile terminal is controlled based on the volume adjusting parameter, so that under the condition that the display screen comprises a plurality of areas, the volume can be adjusted by pressing a certain area, the user experience in the volume adjusting process is improved, and convenience in operation is brought to a user.

Description

Volume adjusting method and device and mobile terminal
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a volume adjustment method and apparatus, and a mobile terminal.
Background
In the use process of the mobile terminal, the audio playing function is an important function for users. For an application program with an audio playing function, audio output can be controlled in an interface displayed by the application program. Taking the music playing application program as an example, the user can operate a designated control on the interface of the music playing application program to control and operate music playing, such as volume up and down, music switching, music playing, pausing, and the like. However, the operation method still has a lot of inconvenience, and the user experience still needs to be improved.
Disclosure of Invention
In view of the above problems, the present application provides a volume adjustment method, a volume adjustment device, and a mobile terminal, so as to improve user experience during a volume adjustment process and bring convenience to a user in operation.
In a first aspect, the present application provides a volume adjustment method applied to a mobile terminal, where the mobile terminal includes a display screen, and the display screen includes a plurality of regions, the method includes: when the display screen is in a preset display state, acquiring an area with a pressing operation function detected in the display screen as a target area; acquiring a volume adjusting parameter corresponding to the target area; and controlling the volume of the mobile terminal based on the volume adjusting parameter.
In a second aspect, the present application provides a volume adjustment device, operating in a mobile terminal, the mobile terminal includes a display screen, the display screen includes a plurality of regions, the device includes: the pressing detection unit is used for acquiring an area with a pressing operation function detected in the display screen as a target area when the display screen is in a preset display state; the adjusting parameter acquiring unit is used for acquiring volume adjusting parameters corresponding to the target area; and the volume adjusting unit is used for controlling the volume of the mobile terminal based on the volume adjusting parameter.
In a third aspect, the present application provides a mobile terminal comprising one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a fourth aspect, the present application provides a computer-readable storage medium comprising a stored program, wherein the method described above is performed when the program is executed.
The application provides a volume control method, device and mobile terminal includes the display screen, under the display screen includes the condition in a plurality of regions, when the display screen is in when presetting the display state, acquires detect the region that has the press operation effect in the display screen as the target area, acquire the volume control parameter that the target area corresponds, based on volume control parameter control mobile terminal's volume to make under the condition that the display screen includes a plurality of regions, can realize the regulation of volume through pressing certain region, promoted the user experience nature in the volume control process, bring the facility in operation for the user.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a flow chart of a volume adjustment method proposed in the present application;
fig. 2 shows a flow chart of another volume adjustment method proposed by the present application;
fig. 3 is a flow chart illustrating another volume adjustment method proposed in the present application;
fig. 4 is a schematic diagram illustrating a mobile terminal posture in another volume adjustment method proposed in the present application;
fig. 5 is a schematic diagram illustrating another mobile terminal posture in another volume adjustment method proposed in the present application;
fig. 6 is a block diagram illustrating a structure of a screen control apparatus according to the present application;
fig. 7 is a block diagram showing a structure of another screen control apparatus proposed in the present application;
fig. 8 is a block diagram illustrating a structure of still another screen control apparatus proposed in the present application;
fig. 9 is a block diagram illustrating a structure of a mobile terminal according to the present application;
fig. 10 shows a block diagram of a mobile terminal of the present application for executing a volume adjustment method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
A music playing application or a video playing application, etc. generally installed in a mobile terminal may output an audio signal during operation. And for the audio signal output by the music playing application program or the video playing application program, the user can adjust the audio signal by touching the designated control on the corresponding interface. For example, on the interface of a music playing application program, the strength of the audio output signal can be controlled by touching a specially configured volume adjustment control, or the stop and start of the audio output can be controlled by specially configuring a playing control button. Furthermore, on the interface of the video playing application program, the user can control the playing or stopping of the video by touching the playing control of the video player, and simultaneously control the audio to start or stop outputting.
Besides adjusting audio or video output through a control on the touch display screen, under the condition that the mobile terminal is provided with a physical key, the audio output can be adjusted through the set physical key.
However, the inventor finds that the operation mode still has a lot of inconvenience, and the user experience still needs to be improved. Therefore, the inventor provides the volume adjusting method, the device and the mobile terminal, which improve the user experience in the volume adjusting process and bring convenience to the user in operation.
It should be noted that the display screen of the mobile terminal provided by the present application is divided into a plurality of areas, and each area corresponds to one volume adjustment parameter.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a volume adjusting method provided by the present application is applied to a mobile terminal, where the mobile terminal includes a display screen, and the display screen includes a plurality of regions, and the method includes:
step S110: and when the display screen is in a preset display state, acquiring an area in the display screen, which is detected to have a pressing operation function, as a target area.
Wherein the preset display state comprises: the display screen is in a breath screen state; the display screen is in a screen locking state; or the display screen displays an interface including an audio signal output.
Specifically, when the mobile terminal is running the music playing application, the user may adjust the audio output through the interface displayed by the music playing application. In the running process of the music playing application program, the user may switch the mobile terminal to the screen-off or screen-locking state, or automatically switch to the screen-off or screen-locking state when a preset screen-locking period in the mobile terminal expires, so that in this display state, the user may still have a need to adjust the audio output of the mobile terminal.
The mobile terminal is usually configured with other pressing operations, so as to be convenient for distinguishing from other pressing modes and avoid false touch, and as one mode, the mobile terminal acquires an area of the display screen, on which the pressing operation exceeding a preset force value is detected, as a target area. In this case, when a pressing operation exceeding a preset force value is detected while the display screen of the mobile terminal is in the above-described display state, the region on which the pressing operation acts is recognized as the target region.
As a mode, the preset force value may be configured in the mobile terminal in advance, or may be adjusted by the user according to the needs of the user. It is understood that a configuration interface is provided in the mobile terminal, and the user can configure the preset force value in the configuration interface. Furthermore, a graph can be arranged in the configuration interface, and the graph can increase the display area according to the increase of the pressing force of the user, so that the user can visually observe the change of the pressing force of the user.
Furthermore, in order to further distinguish from other pressing operations, as one mode, the mobile terminal acquires, as a target region, a region on the display screen where a pressing operation exceeding a preset force value and exceeding a preset pressing area value is detected to act. In this case, when the display screen of the mobile terminal is in the above display state, and the pressing operation exceeding the preset force value is detected, and the action area of the pressing operation is larger than the preset pressing area, the area where the pressing operation acts is recognized as the target area.
It should be noted that the configuration of the preset pressing area value is similar to the configuration of the preset force value, and is not described herein again.
As one method, a user of the mobile terminal may hold the mobile terminal during walking or running, and in this holding state, fingers of the user may be in close contact with the display screen, which may cause a false touch. For example, when the user holds the mobile terminal, the user may press a thumb on the display screen, and if the pressing force is large and exceeds the preset force value, the mobile terminal may misjudge that the user desires to adjust the volume. As a mode, when the mobile terminal detects that the display screen is in a preset display state and detects that the mobile terminal is in a preset motion posture, the mobile terminal acquires a region in the display screen, where a pressing operation effect is detected, as a target region.
The motion posture comprises that the mobile terminal is at a preset inclination angle, or the mobile terminal is at the preset inclination angle, and the collected acceleration value is smaller than a preset value. It should be noted that the preset inclination angle is used to determine whether the user holds the mobile terminal according to the preset posture. For example, when a user holds the mobile terminal in a posture of browsing the display screen, the mobile terminal is tilted to its side.
And the acceleration value is used for judging whether the mobile terminal is in a static state or in a small shaking state. Since, generally, when a user holds the mobile terminal to move, the arm swings, and then the held mobile terminal is also swung to generate an acceleration. In fact, when the user desires to adjust the volume, the user may intentionally reduce the swing of the arm, or even stop the arm from swinging, and hold the mobile terminal to adjust the volume. When the mobile terminal detects that the acceleration of the mobile terminal is smaller than a preset value, the mobile terminal is judged to be in a small shaking state, and when the acceleration is detected to be 0, the mobile terminal is judged to be in a standing state, so that the region, detected to have the pressing operation action, in the display screen is taken as a target region, the region, detected to have the pressing operation action exceeding a preset force value, is taken as a target region, or the region, detected to have the pressing operation action exceeding the preset force value and exceeding a preset pressing area value, is taken as a target region.
Step S120: and acquiring a volume adjusting parameter corresponding to the target area.
Wherein the volume adjustment parameter is indicative of increasing the volume of the mobile terminal or decreasing the volume of the mobile terminal.
Step S130: and controlling the volume of the mobile terminal based on the volume adjusting parameter.
If the volume adjustment parameter represents that the volume of the mobile terminal is increased, the volume of the mobile terminal is increased under the condition that the volume of the mobile terminal is controlled based on the volume adjustment parameter; and if the volume adjustment parameter represents that the volume of the mobile terminal is reduced, the volume of the mobile terminal is reduced under the condition that the volume of the mobile terminal is controlled based on the volume adjustment parameter.
The application provides a pair of volume control method mobile terminal includes the display screen, the display screen includes under the condition of a plurality of regions, works as when the display screen is in when predetermineeing the display state, acquires detect the region that has the press operation effect in the display screen as the target area, acquires the volume control parameter that the target area corresponds, based on volume control parameter control mobile terminal's volume to make under the condition that the display screen includes a plurality of regions, can realize the regulation of volume through pressing certain region, promoted the user experience among the volume control process, bring the facility in operation for the user.
Referring to fig. 2, a volume adjusting method provided by the present application is applied to a mobile terminal, where the mobile terminal includes a display screen, and the display screen includes a plurality of regions, and the method includes:
step S210: and when the display screen is in a preset display state, acquiring an area in the display screen, which is detected to have a pressing operation function, as a target area.
Step S220: and judging whether the target area is in the first preset area or the second preset area.
Step S230: and if the target area is in a first preset area, configuring a volume adjusting parameter corresponding to the target area to represent and improve the volume of the mobile terminal.
Step S240: and if the target area is in a second preset area, configuring a volume adjusting parameter corresponding to the target area to represent and reduce the volume of the mobile terminal.
Step S250: and controlling the volume of the mobile terminal based on the volume adjusting parameter.
The application provides a volume control method mobile terminal includes the display screen, the display screen includes under the condition of a plurality of regions, works as when the display screen is in when predetermineeing the display state, acquires detect the region that has the press operation effect in the display screen and regard as the target area, predetermine regional volume control parameter that corresponds of confirming the target area according to the target area at first predetermined region or in the second predetermined region, based on volume control parameter control mobile terminal's volume to make under the condition that the display screen includes a plurality of regions, can realize the regulation of volume through pressing certain region, promoted the user experience nature in the volume control process, brought the convenience in the operation for the user.
Referring to fig. 3, a volume adjusting method provided by the present application is applied to a mobile terminal, where the mobile terminal includes a display screen, and the display screen includes a plurality of regions, and the method includes:
step S310: and when the display screen is in a preset display state, acquiring an area in the display screen, which is detected to have a pressing operation function, as a target area.
Step S320: and judging the direction of the target area.
Step S330: and if the target area is positioned above other areas in the display screen in the direction far away from the ground, configuring the volume adjusting parameter corresponding to the target area to represent and improve the volume of the mobile terminal.
It should be noted that, during the process of using the mobile terminal, the user may rotate or reverse the mobile terminal, in this case, if the volume adjustment parameter corresponding to each area is fixed, the user may be left unchanged. For example, if, as shown in fig. 4, the volume adjustment parameter corresponding to the area 321 indicates increasing the volume of the mobile terminal, and the volume adjustment parameter corresponding to the area 322 indicates decreasing the volume of the mobile terminal, then under this setting, the user remembers that the area above is pressed relatively to the above to increase the volume of the mobile terminal, and the area below is pressed relatively to decrease the volume of the mobile terminal, however, if the mobile terminal is rotated to the state shown in fig. 5, the relative up-down relationship of the area 321 and the area 322 is reversed, however, the user would press the area 322 when desiring to increase the volume and press the area 321 when desiring to decrease the volume in the manner of the adjustment shown in fig. 4, thus causing the actual adjustment of the mobile terminal to be opposite to the desire. To ameliorate this problem, the mobile terminal configures the volume adjustment parameter corresponding to the area located higher in the direction away from the ground to be indicative of increasing the volume of the mobile terminal.
Step S340: and if the target area is positioned below other areas in the display screen in the direction far away from the ground, configuring a volume adjustment parameter corresponding to the target area to represent and reduce the volume of the mobile terminal.
Similar to the foregoing, to improve this problem, the mobile terminal configures the volume adjustment parameter corresponding to the area that is lower in the direction away from the ground to represent a decrease in the volume of the mobile terminal.
Then after step S320 and step S330 are executed, in fig. 4, the volume adjustment parameter corresponding to the area 321 represents increasing the volume of the mobile terminal, the volume adjustment parameter corresponding to the area 322 represents decreasing, and the volume of the mobile terminal is switched to the state shown in fig. 5, the volume adjustment parameter corresponding to the area 322 represents increasing the volume of the mobile terminal, and the volume adjustment parameter corresponding to the area 321 represents decreasing the volume of the mobile terminal.
Step S350: and controlling the volume of the mobile terminal based on the volume adjusting parameter.
The application provides a volume control method mobile terminal includes the display screen, the display screen includes under the condition of a plurality of regions, works as when the display screen is in when predetermineeing the display state, acquires detect the region that has the press operation effect in the display screen as the target area, confirm the volume control parameter that the target area corresponds according to the position of target area in the orientation of keeping away from ground, based on volume control parameter control mobile terminal's volume to make under the condition that the display screen includes a plurality of regions, can realize the regulation of volume through pressing certain region, promoted the user experience nature among the volume control process, bring the facility in the operation for the user.
Referring to fig. 6, a volume adjustment apparatus 400 provided by the present application is operated in a mobile terminal, where the mobile terminal includes a display screen, and the display screen includes a plurality of regions, and the apparatus 400 includes: a press detection unit 410, an adjustment parameter acquisition unit 420, and a volume adjustment unit 430.
The pressing detection unit 410 is configured to, when the display screen is in a preset display state, acquire an area in the display screen, where a pressing operation effect is detected, as a target area.
As one mode, the preset display state includes: the display screen is in a breath screen state; the display screen is in a screen locking state; or the display screen displays an interface including an audio signal output.
As one way, the pressing detection unit 410 is specifically configured to acquire, as a target area, an area of the display screen on which a pressing operation exceeding a preset force value is detected.
Furthermore, the pressing detection unit 410 is specifically configured to acquire, as a target region, a region of the display screen where a pressing operation action exceeding a preset force value and exceeding a preset pressing area value is detected.
An adjusting parameter obtaining unit 420, configured to obtain a volume adjusting parameter corresponding to the target area.
A volume adjusting unit 430, configured to control the volume of the mobile terminal based on the volume adjusting parameter.
Referring to fig. 7, a volume adjustment apparatus 500 provided by the present application is operated in a mobile terminal, where the mobile terminal includes a display screen, the display screen includes a plurality of regions, and the apparatus 500 includes: a press detection unit 510, a preset region adjustment parameter acquisition unit 520, and a volume adjustment unit 530.
The pressing detection unit 510 is configured to, when the display screen is in a preset display state, acquire an area in the display screen where a pressing operation effect is detected as a target area.
A preset region adjusting parameter obtaining unit 520, configured to configure a volume adjusting parameter corresponding to the target region to represent and increase the volume of the mobile terminal if the target region is in a first preset region; and if the target area is in a second preset area, configuring a volume adjusting parameter corresponding to the target area to represent and reduce the volume of the mobile terminal.
A volume adjusting unit 530 for controlling the volume of the mobile terminal based on the volume adjusting parameter.
Referring to fig. 8, a volume adjustment apparatus 600 provided by the present application is operated in a mobile terminal, where the mobile terminal includes a display screen, the display screen includes a plurality of regions, and the apparatus 600 includes: a press detection unit 610, an orientation area adjustment parameter acquisition unit 620, and a volume adjustment unit 630.
The pressing detection unit 610 is configured to, when the display screen is in a preset display state, acquire an area in the display screen where a pressing operation effect is detected as a target area.
A direction area adjustment parameter obtaining unit 620, configured to configure a volume adjustment parameter corresponding to the target area to indicate that the volume of the mobile terminal is increased if the target area is located above another area in the display screen in a direction away from the ground; and if the target area is positioned below other areas in the display screen in the direction far away from the ground, configuring a volume adjustment parameter corresponding to the target area to represent and reduce the volume of the mobile terminal.
A volume adjusting unit 630, configured to control the volume of the mobile terminal based on the volume adjusting parameter.
It should be noted that the content in the apparatus embodiment corresponds to the content in the foregoing method embodiment, and specific principles of the content in the apparatus embodiment may be referred to the foregoing method embodiment, which is not described in detail in the apparatus embodiment.
To sum up, the volume control method, device and mobile terminal that this application provided the mobile terminal includes the display screen, the display screen includes under the condition of a plurality of regions, works as when the display screen is in and predetermines under the display state, acquires detect the region that has the press operation effect in the display screen as the target area, acquire the volume control parameter that the target area corresponds, based on volume control parameter control mobile terminal's volume to make under the condition that the display screen includes a plurality of regions, can realize the regulation of volume through pressing certain region, promoted the user experience among the volume control process, bring the facility in the operation for the user.
A mobile terminal provided by the present application will be described with reference to fig. 9 and 10.
Referring to fig. 9, based on the volume adjusting method and apparatus, the embodiment of the present application further provides a mobile terminal 100 capable of executing the volume adjusting method. The mobile terminal 100 includes an electronic body 10, and the electronic body 10 includes a housing 12 and a first screen 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the first screen 120 and the second screen 121 generally include a display panel 111, and may also include a circuit and the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
As shown in fig. 10, in an actual application scenario, the mobile terminal 100 may be used as a smartphone terminal, in which case the electronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the present application is not intended to be limited to the configuration of the electronics body portion 10. For example, the electronics body section 10 may include more or fewer components than shown, or have a different configuration than shown.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory remotely located from the processor 102, which may be connected to the electronic body portion 10 or the first screen 120 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., IEEE802.1 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), Wi-Max, and other short message Communication protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The audio circuitry 110, speaker 101, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic body portion 10 or the first screen 120. Specifically, the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the speaker 101. The speaker 101 converts an electric signal into a sound wave audible to the human ear. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed in the electronic body portion 10 or the first screen 120, and examples of the sensor 114 include, but are not limited to: light sensors, operational sensors, pressure sensors, infrared heat sensors, distance sensors, gravitational acceleration sensors, and other sensors.
Specifically, the light sensors may include a light sensor 114F, a pressure sensor 114G. Among them, the pressure sensor 114G may detect a pressure generated by pressing on the mobile terminal 100. That is, the pressure sensor 114G detects pressure generated by contact or pressing between the user and the mobile terminal, for example, contact or pressing between the user's ear and the mobile terminal. Accordingly, the pressure sensor 114G may be used to determine whether contact or pressing has occurred between the user and the mobile terminal 100, as well as the magnitude of the pressure.
Referring to fig. 10 again, in the embodiment shown in fig. 10, the light sensor 114F and the pressure sensor 114G are disposed adjacent to the display panel 111. The light sensor 114F can turn off the display output when an object is near the first screen 120, for example, when the electronic body 10 moves to the ear.
As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the mobile terminal 100. In addition, the electronic body 10 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein,
in this embodiment, the input module 118 may include the touch screen 109 disposed on the first screen 120, and the touch screen 109 may collect a touch operation of a user on or near the touch screen 109 (for example, an operation of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) and drive a corresponding connection device according to a preset program. Optionally, the touch screen 109 may include 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 detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by using resistive, capacitive, infrared, and surface acoustic wave types. In addition to the touch screen 109, in other variations, the input module 118 may include other input devices, such as keys. The keys may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The first screen 120 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic main body part 10, which may be composed of graphics, text, icons, numbers, videos, and any combination thereof, and in one example, the touch screen 109 may be provided on the display panel 111 so as to be integrated with the display panel 111.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components related to the generation, management, and distribution of power in the electronic body 10 or the first screen 120.
The mobile terminal 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the mobile terminal 100. In this embodiment, the locator 119 implements the positioning of the mobile terminal 100 by using a positioning service, which is understood to be a technology or a service for obtaining the position information (e.g., longitude and latitude coordinates) of the mobile terminal 100 by using a specific positioning technology and marking the position of the positioned object on an electronic map.
It should be understood that the mobile terminal 100 described above is not limited to a smartphone terminal, but it should refer to a computer device that can be used in mobility. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with an intelligent operating system, and the mobile terminal 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (mobile terminal) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A volume adjustment method is applied to a mobile terminal, the mobile terminal comprises a display screen, the display screen comprises a plurality of areas, and the method comprises the following steps:
when the display screen is in a preset display state and the mobile terminal is detected to be in a preset movement posture, acquiring a region with a pressing operation function detected in the display screen as a target region, wherein the movement posture comprises that the mobile terminal is in a preset inclination angle or that the mobile terminal is in the preset inclination angle and the acquired acceleration value is smaller than a preset value;
acquiring a volume adjusting parameter corresponding to the target area;
and controlling the volume of the mobile terminal based on the volume adjusting parameter.
2. The method of claim 1, wherein the preset display state comprises:
the display screen is in a breath screen state;
the display screen is in a screen locking state; or
The display screen displays an interface including an audio signal output.
3. The method according to claim 1, wherein the step of acquiring the region of the display screen on which the pressing operation is detected as the target region comprises:
and acquiring an area of the display screen, in which the pressing operation action exceeding a preset force value is detected, as a target area.
4. The method according to claim 3, wherein the step of acquiring, as the target area, an area of the display screen on which the pressing operation exceeding a preset force value is detected comprises:
and acquiring a region of the display screen, which is detected to have a pressing operation action exceeding a preset force value and exceeding a preset pressing area value, as a target region.
5. The method according to claim 1, wherein the step of obtaining the volume adjustment parameter corresponding to the target area comprises:
if the target area is in a first preset area, configuring a volume adjusting parameter corresponding to the target area to represent and improve the volume of the mobile terminal;
and if the target area is in a second preset area, configuring a volume adjusting parameter corresponding to the target area to represent and reduce the volume of the mobile terminal.
6. The method according to claim 1, wherein the step of obtaining the volume adjustment parameter corresponding to the target area comprises:
if the target area is located above other areas in the display screen in the direction away from the ground, configuring a volume adjustment parameter corresponding to the target area to represent and improve the volume of the mobile terminal;
and if the target area is positioned below other areas in the display screen in the direction far away from the ground, configuring a volume adjustment parameter corresponding to the target area to represent and reduce the volume of the mobile terminal.
7. A volume adjustment device, operating in a mobile terminal, the mobile terminal comprising a display screen, the display screen comprising a plurality of regions, the device comprising:
the pressing detection unit is used for acquiring a region with a pressing operation function detected in the display screen as a target region when the display screen is in a preset display state and the mobile terminal is detected to be in a preset motion posture, wherein the motion posture comprises that the mobile terminal is in a preset inclination angle or that the mobile terminal is in the preset inclination angle and the acquired acceleration value is smaller than a preset value;
the adjusting parameter acquiring unit is used for acquiring volume adjusting parameters corresponding to the target area;
and the volume adjusting unit is used for controlling the volume of the mobile terminal based on the volume adjusting parameter.
8. The apparatus of claim 7, wherein the preset display state comprises:
the display screen is in a breath screen state;
the display screen is in a screen locking state; or
The display screen displays an interface including an audio signal output.
9. A mobile terminal comprising one or more processors and memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-6.
10. A computer-readable storage medium having program code executable by a processor, the computer-readable storage medium comprising a stored program, wherein the method of any of claims 1-6 is performed when the program is run.
CN201810458114.9A 2018-05-14 2018-05-14 Volume adjusting method and device and mobile terminal Active CN108683812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810458114.9A CN108683812B (en) 2018-05-14 2018-05-14 Volume adjusting method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810458114.9A CN108683812B (en) 2018-05-14 2018-05-14 Volume adjusting method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108683812A CN108683812A (en) 2018-10-19
CN108683812B true CN108683812B (en) 2020-09-22

Family

ID=63806089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810458114.9A Active CN108683812B (en) 2018-05-14 2018-05-14 Volume adjusting method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108683812B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214194B (en) * 2020-10-21 2024-01-30 北京元心科技有限公司 Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium
CN114257854A (en) * 2021-11-19 2022-03-29 支付宝(杭州)信息技术有限公司 Volume control method, volume control device and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4779264B2 (en) * 2001-09-05 2011-09-28 ヤマハ株式会社 Mobile communication terminal, tone generation system, tone generation device, and tone information providing method
KR20060097856A (en) * 2005-03-07 2006-09-18 주식회사 팬택앤큐리텔 Wireless communication terminal and its method for providing function of controlling volume using gyroscope
US20140047464A1 (en) * 2012-08-10 2014-02-13 Samsung Electronics Co., Ltd. Method and apparatus for measuring tv or other media delivery device viewer's attention
KR20160006518A (en) * 2014-07-09 2016-01-19 엘지전자 주식회사 Mobile terminal
CN104536569B (en) * 2014-12-26 2018-02-09 中科创达软件股份有限公司 Mobile terminal and its control method and control device
CN106331294A (en) * 2015-06-30 2017-01-11 上海卓易科技股份有限公司 Mobile terminal used for movement, and volume self adjusting method thereof
CN105068692B (en) * 2015-08-27 2018-01-19 广东欧珀移动通信有限公司 A kind of volume adjusting method and user terminal
KR101667735B1 (en) * 2015-09-11 2016-10-28 엘지전자 주식회사 Mobile terminal and control method for the mobile terminal
CN105808142A (en) * 2016-03-07 2016-07-27 上海斐讯数据通信技术有限公司 Method and apparatus for adjusting player of terminal device
CN106383645A (en) * 2016-10-31 2017-02-08 维沃移动通信有限公司 Music playing control method and mobile terminal
CN107402711B (en) * 2017-07-19 2020-03-03 北京小米移动软件有限公司 Volume adjusting method and device and computer readable storage medium
CN107404587B (en) * 2017-09-07 2020-09-11 Oppo广东移动通信有限公司 Audio playing control method, audio playing control device and mobile terminal

Also Published As

Publication number Publication date
CN108683812A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN108093099B (en) Mobile terminal falling protection method and system and mobile terminal
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
CN108762859B (en) Wallpaper display method and device, mobile terminal and storage medium
CN108769299B (en) Screen control method and device and mobile terminal
CN108037990B (en) Task information processing method and device and server
CN108804005B (en) Terminal control method and device and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN109101119B (en) Terminal control method and device and mobile terminal
CN108717325B (en) Operation gesture setting method and device and mobile terminal
CN108712563B (en) Call control method and device and mobile terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN107832067B (en) Application updating method, mobile terminal and computer readable storage medium
CN108683812B (en) Volume adjusting method and device and mobile terminal
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN111371705A (en) Download task execution method and electronic equipment
CN109086113B (en) Screen capturing method and device and mobile terminal
CN110221882B (en) Display method, display device, mobile terminal and storage medium
CN110221736B (en) Icon processing method and device, mobile terminal and storage medium
CN108932486B (en) Fingerprint matching method and device and electronic device
CN108803961B (en) Data processing method and device and mobile terminal
CN107918517B (en) Screen rotation response method and device, mobile terminal and storage medium
KR20160026135A (en) Electronic device and method of sending a message using electronic device
CN107819938B (en) Corner mark configuration method and device, mobile terminal and server
CN109947345B (en) Fingerprint identification method and terminal equipment

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