CN112817555B - Volume control method and volume control device - Google Patents

Volume control method and volume control device Download PDF

Info

Publication number
CN112817555B
CN112817555B CN202110138254.XA CN202110138254A CN112817555B CN 112817555 B CN112817555 B CN 112817555B CN 202110138254 A CN202110138254 A CN 202110138254A CN 112817555 B CN112817555 B CN 112817555B
Authority
CN
China
Prior art keywords
target
volume
volume control
input
application program
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
CN202110138254.XA
Other languages
Chinese (zh)
Other versions
CN112817555A (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.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110138254.XA priority Critical patent/CN112817555B/en
Publication of CN112817555A publication Critical patent/CN112817555A/en
Application granted granted Critical
Publication of CN112817555B publication Critical patent/CN112817555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

The application discloses a volume control method and a volume control device, and belongs to the technical field of communication. The method comprises the following steps: receiving a first input; in response to the first input, displaying at least two first volume controls, wherein the first volume controls are in one-to-one correspondence with the application program; receiving a second input to a target volume control of the at least two first volume controls; and responding to the second input, and determining a target volume value of a target application program corresponding to the target volume control. In this way, the volume value of each application program can be controlled according to the first volume control corresponding to the application program, so that the volume adjusting effect of the application program is enhanced.

Description

Volume control method and volume control device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a volume control method and a volume control device.
Background
With the development of electronic technology, more applications are installed on electronic devices, and more functions can be implemented. In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: the playing volume required by different application programs is different, but when a certain application program is used currently, the volume of the application program can be adjusted by adjusting the whole volume of the electronic equipment, so that the current volume adjusting effect on the electronic equipment is poor.
Disclosure of Invention
The embodiment of the application aims to provide a volume control method and a volume control device, which can solve the problem of poor volume adjustment effect of electronic equipment.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a volume control method, including:
receiving a first input;
in response to the first input, displaying at least two first volume controls, wherein the first volume controls are in one-to-one correspondence with the application program;
receiving a second input to a target volume control of the at least two first volume controls;
and responding to the second input, and determining a target volume value of a target application program corresponding to the target volume control.
In a second aspect, embodiments of the present application provide a volume control device, including:
a first receiving module for receiving a first input;
the first display module is used for responding to the first input and displaying at least two first volume controls, and the first volume controls are in one-to-one correspondence with the application programs;
the second receiving module is used for receiving second input of a target volume control in the at least two first volume controls;
and the first determining module is used for responding to the second input and determining a target volume value of a target application program corresponding to the target volume control.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In an embodiment of the application, a first input is received; in response to the first input, displaying at least two first volume controls, wherein the first volume controls are in one-to-one correspondence with the application program; receiving a second input to a target volume control of the at least two first volume controls; and responding to the second input, and determining a target volume value of a target application program corresponding to the target volume control. In this way, the volume value of each application program can be controlled according to the first volume control corresponding to the application program, so that the volume adjusting effect of the application program is enhanced.
Drawings
Fig. 1 is a flowchart of a volume control method provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a volume control device according to an embodiment of the present application;
fig. 3 is one of schematic structural diagrams of an electronic device according to an embodiment of the present application;
fig. 4 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The following describes in detail a volume control method and a volume control device provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of a volume control method according to an embodiment of the present application, as shown in fig. 1, the method includes the following steps:
step 101, the electronic device receives a first input.
The specific type of the first input is not limited herein, for example: the first input may be at least one of touch input, press input, voice input, and the like.
Since the types of the first inputs are different, the input positions of the first inputs are also different, for example: when the first input is a touch input or a press input, the input position of the first input may be a display interface for the electronic device; when the first input is a voice input, then the input location of the first input may be a microphone of the electronic device.
Step 102, the electronic device responds to the first input and displays at least two first volume controls, wherein the first volume controls are in one-to-one correspondence with the application program.
Wherein, the first volume control corresponds to the application program one by one, see the following expression: when an icon of a first application program, an icon of a second application program and an icon corresponding to a third application program are displayed on the electronic device, a first volume control A, a first volume control B and a first volume control C can also be displayed on the electronic device, wherein the first volume control A can correspond to the first application program, and when an input to the first volume control A is received, a volume value of the first application program can be set according to the input; similarly, the first volume control B may correspond to the second application, and when an input to the first volume control B is received, a volume value of the second application may be set according to the input; the first volume control C may correspond to a third application, and when an input to the first volume control C is received, a volume value of the third application may be set according to the input.
And the types of the first application program, the second application program and the third application program may be the same, for example: the first application program, the second application program and the third application program may be all audio playing application programs; of course, the types of the first application, the second application, and the third application described above may also be different. For example: the first application may be an audio playing application, the second application may be a video playing application, and the third application may be an audio or video editing application.
The display manner of the first volume control is not limited herein, for example: the first volume control may be a volume bar, although the first volume control may also be a ring volume control.
The display position of the first volume control is not limited herein, for example: the first volume control can be displayed above the icon of the corresponding application program in a floating display mode, and meanwhile, when the first volume control is displayed in a floating mode, the first volume control can be displayed with preset transparency, so that a user can view the icon of the corresponding application program through the first volume control; the specific value of the preset transparency is not limited herein, for example: the preset transparency may be 50% or 70%, etc.
In addition, for example: the first volume control may also be displayed on one side of an icon of the corresponding application. In this way, the diversity and flexibility of the display positions of the first volume control are enhanced.
It should be noted that, as an alternative embodiment, after displaying at least two first volume controls, the method further includes:
and under the condition that the electronic equipment receives an input for controlling the electronic equipment to shake, canceling the display of the at least two first volume controls, and displaying a second volume control, wherein the second volume control is used for controlling the whole volume value of the electronic equipment.
In this way, the method and the device can complete the switching between the two modes of controlling the volume of the independent target application program to the whole volume value of the electronic equipment, thereby enabling the switching to be more convenient and further enhancing the intelligent degree of the electronic equipment.
As an alternative embodiment, the electronic device displays at least two first volume controls in response to the first input, including:
the electronic equipment responds to the first input and displays a second volume control, wherein the second volume control is used for controlling the whole volume value of the electronic equipment;
the electronic device receives a third input to the second volume control;
the electronic device controls the second volume control to move in response to the third input;
and the electronic equipment displays the at least two first volume controls under the condition that the second volume controls are moved to the target positions.
The second volume control may also be a volume bar or an annular volume control, and specific reference may be made to a corresponding expression of the first volume control, which is not described herein.
The type of the second input is also not limited here, for example: the second input may be a touch input, a press input, or a voice input.
In an optional implementation manner, the second input may be a pressing input for a volume physical control key of the electronic device, so that the second input may trigger display of the second volume control, and occurrence of a phenomenon that the second volume control is triggered by mistake is reduced.
In addition, the second volume control may also be referred to as a global media volume bar or a global media volume control.
The specific location of the target location is not limited herein, for example: the target location may be a middle region, an upper left corner region, an upper right corner region, etc. of a desktop of the electronic device.
In addition, the target position may be a display position of the application program set, and the application program set includes at least two icons of the application programs, so that when the second volume control moves to the target position, the first volume control of each application program in the application program set may be displayed, thereby improving display efficiency of the first volume control.
And the above application set may refer to a set of applications of a certain class, for example: an application set may refer to a set of social class applications, i.e. applications included in the application set all belong to a social class application or all have social functionality.
In the embodiment of the application, since the second volume control is triggered to be displayed first and at least two first volume controls are displayed when the second volume control moves to the target position, the phenomenon that the at least two first volume controls are triggered to be displayed by mistake can be reduced, and the accuracy of triggering the first volume control to be displayed is improved.
Step 103, the electronic device receives a second input to a target volume control of the at least two first volume controls.
The second input may refer to the corresponding expression of the first input, which is not described herein.
Additionally, the target volume control may be highlighted while receiving the second input to the target volume control, the highlighting may include at least one of the following first display modes: display in a preset color, zoom in display, and display in a preset position.
And the other first volume controls may be displayed in at least one of the following second display modes, the second display modes including: decreasing display brightness, increasing dark background, decreasing display size, and increasing shadows.
The target volume control may refer to one volume control, and of course, the target volume control may also refer to two or more volume controls, for example: the second input may be a multi-finger press input, and each finger presses one volume control, so that input to multiple volume controls may be accomplished simultaneously.
Step 104, the electronic device responds to the second input to determine a target volume value of the target application program corresponding to the target volume control.
After determining the target volume value of the target application, the process may return to step 103, thereby continuing to complete the setting of the target volume values of the other applications.
The specific manner of determining the target volume value based on the second input is not limited herein.
The target volume control can be provided with a plurality of volume graduation lines and target marks, and the target marks can be controlled to move on the target volume control through the second input, so that the final position of the target marks can be controlled through the second input, and the volume value corresponding to the volume graduation line corresponding to the final position of the target marks can be controlled to be the target volume value.
In addition, as another alternative, an input area may be displayed on the target volume control, and the second input directly inputs a corresponding value in the input area and determines the value as the target volume value.
As an optional implementation manner, before the electronic device determines the target volume value of the target application program corresponding to the target volume control in response to the second input, the method further includes:
the electronic equipment displays a first identifier at a first position of the target volume control and outputs a first volume value corresponding to the first position;
the electronic equipment responds to the second input to determine a target volume value of a target application program corresponding to the target volume control, and the method comprises the following steps:
the electronic equipment responds to the second input, controls the first mark to move from the first position to a second position on the target volume control, and outputs a second volume value corresponding to the second position;
the electronic device determines the second volume value as a target volume value of the target application.
When the first mark moves to a certain position, the volume value corresponding to the position can be played, so that the first mark can be controlled to move and the volume value corresponding to the position can be listened, whether the volume value needs to be determined as a target volume value or not is judged according to the volume value, and the accuracy of the finally determined target volume value is higher, and the target volume value meets the requirements of users.
It should be noted that, the following manner may be referred to for outputting the first volume value corresponding to the first position: when the first identifier is displayed at the first position, a target application program can be operated, and target audio is output through the target application program at a first volume value corresponding to the first position. Therefore, the finally determined target volume value can be more matched with the sound effect of the target application program, and the target volume value can be more in accordance with the user requirement.
The outputting the first volume value may refer to playing audio at the first volume value, and the content of the played audio is not limited herein, and the audio may be preset test audio, or the audio may also be audio in the target application.
Of course, as an alternative, the second application may also be directly controlled to play the recently played target audio at the first volume value, where the second application may be a default application on the electronic device or an application frequently used by the user.
As an optional implementation manner, after the electronic device determines the target volume value of the target application program corresponding to the target volume control in response to the second input, the method further includes:
the electronic equipment stores a target mapping relation between the target application program and the target volume value;
the electronic equipment runs the target application program under the condition of receiving the fourth input, and acquires the target mapping relation;
the electronic equipment determines the volume value of the target application program as the target volume value based on the target mapping relation.
The target mapping relationship may be stored in a configuration file, and the name of the configuration file may be named according to feature information of the target application program, where the feature information may include at least one of package name and information such as functional use.
In the embodiment of the application, when the target application program needs to be operated, the volume value of the target application program can be determined as the target volume value directly based on the target mapping relation, and the file can be played with the target volume value, so that the volume value of the target application program does not need to be manually adjusted, and the accuracy and the determination rate of the determination result of the volume value of the target application program are improved.
It should be noted that, when the target mapping relationship is stored in the form of a configuration file, the configuration file may be shared among a plurality of electronic devices, and the electronic devices may also upload the configuration file to the server, and other electronic devices may download the configuration file.
As an optional implementation manner, after the electronic device determines the target volume value of the target application program corresponding to the target volume control in response to the second input, the method further includes:
the electronic equipment displays a second volume control under the condition that the target application program plays at the target volume value, wherein the second volume control is used for controlling the whole volume value of the electronic equipment, and a second mark is displayed at a third position of the second volume control;
the electronic device controls the second identifier to move on the second volume control under the condition that a fifth input to the second volume control is received;
the electronic equipment controls the target application program to play at a third volume value corresponding to a fourth position under the condition that the second identifier is moved from the third position to the fourth position of the second volume control, and determines the volume value of the first application program according to a target proportional relationship and the fourth volume value;
the target proportional relationship is a proportional relationship between the target volume value and a third volume value, and the fourth volume value is a volume value corresponding to the first application program when the second identifier is at the third position.
The application scenario of the embodiment of the present application may be referred to as the following expression: when the target application program plays data at the target volume value, the second volume control is controlled to display, the volume value of the target application program is adjusted to be a third volume value through the second volume control, the volume values of the first application program except the target application program can be correspondingly adjusted, the volume value after the first application program is adjusted can be calculated according to the ratio of the target volume value to the third volume value, and when the target application program is the target volume value, the fourth volume value of the first application program is calculated.
For example: the target application is an application a, the first application is an application B, the target volume value of the application a is Va, the fourth volume value of the application B is Vb, the third volume value after the application a is adjusted is Va2, and then the volume value after the application B is adjusted is Vb 2=vb×va2/Va.
Therefore, when the volume value of the target application program is adjusted through the second volume control, the volume value of the first application program can be correspondingly adjusted, so that the diversity and the intelligent degree of the volume adjustment mode of the application program are increased.
It should be noted that, when the volume value of the target application program is adjusted by the corresponding first volume value, the volume value of the first application program is not correspondingly adjusted, so that the diversity and the intelligentization degree of the volume adjustment mode of the application program are further increased.
In this embodiment of the present application, the electronic Device may be a mobile phone, a tablet (Tablet Personal Computer), a Laptop (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA for short), a mobile internet Device (Mobile Internet Device, MID), or a Wearable Device (Wearable Device), etc.
In the embodiment of the present application, through steps 101 to 104, since the volume value of each application program can be controlled according to the first volume control corresponding to the application program, the volume adjustment effect of the application program is enhanced.
It should be noted that, in the volume control method provided in the embodiment of the present application, the execution body may be a volume control device, or a control module in the volume control device for executing the volume control method. In the embodiment of the present application, a method for executing a volume control by a volume control device is taken as an example, and the volume control device provided in the embodiment of the present application is described.
Referring to fig. 2, the embodiment of the present application further provides a volume control device, as shown in fig. 2, the volume control device 200 includes:
a first receiving module 201 for receiving a first input;
a first display module 202, configured to display at least two first volume controls in response to the first input, where the first volume controls are in one-to-one correspondence with an application program;
a second receiving module 203, configured to receive a second input to a target volume control of the at least two first volume controls;
the first determining module 204 is configured to determine, in response to the second input, a target volume value of a target application corresponding to the target volume control.
Optionally, the volume control device 200 further includes:
the second display module is used for displaying a first identifier at a first position of the target volume control and outputting a first volume value corresponding to the first position;
the first determining module 204 includes:
a first control sub-module, configured to control the first identifier to move from the first position to a second position on the target volume control in response to the second input, and output a second volume value corresponding to the second position;
and the determining submodule is used for determining the second volume value as a target volume value of the target application program.
Optionally, the first display module 202 includes:
a first display sub-module for displaying a second volume control in response to the first input, the second volume control for controlling an overall volume value of the electronic device;
a receiving sub-module for receiving a third input to the second volume control;
a second control sub-module for controlling movement of the second volume control in response to the third input;
and the second display sub-module is used for displaying the at least two first volume controls under the condition that the second volume controls are moved to the target positions.
Optionally, the volume control device 200 further includes:
the storage module is used for storing the target mapping relation between the target application program and the target volume value;
the operation module is used for operating the target application program and acquiring the target mapping relation under the condition of receiving a fourth input;
and the second determining module is used for determining the volume value of the target application program as the target volume value based on the target mapping relation.
Optionally, the volume control device 200 further includes:
the third display module is used for displaying a second volume control when the target application program plays at the target volume value, wherein the second volume control is used for controlling the whole volume value of the electronic equipment, and a second mark is displayed at a third position of the second volume control;
a first control module for controlling the second mark to move on the second volume control if a fifth input to the second volume control is received;
the second control module is used for controlling the target application program to play at a third volume value corresponding to a fourth position under the condition that the second identifier is moved from the third position to the fourth position of the second volume control, and determining the volume value of the first application program according to a target proportion relation and the fourth volume value;
the target proportional relationship is a proportional relationship between the target volume value and a third volume value, and the fourth volume value is a volume value corresponding to the first application program when the second identifier is at the third position.
In this embodiment of the present application, the volume control device 200 may control the volume value of each application according to the first volume control corresponding to the application, so as to enhance the volume adjustment effect of the application.
The volume control device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The volume control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The volume control device provided in this embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 3, the embodiment of the present application further provides an electronic device 300, including a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of running on the processor 301, where the program or the instruction implements each process of the embodiment of the volume control method when executed by the processor 301, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 410 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 407 is configured to receive a first input;
a display unit 406, configured to display at least two first volume controls in response to the first input, where the first volume controls are in one-to-one correspondence with an application program;
the user input unit 407 is further configured to receive a second input to a target volume control of the at least two first volume controls;
and the processor 410 is configured to determine, in response to the second input, a target volume value of a target application corresponding to the target volume control.
Optionally, the display unit 406 is further configured to display a first identifier at a first position of the target volume control, and the audio output unit 403 is configured to output a first volume value corresponding to the first position;
the processor 410 is further configured to control the first identifier to move from the first position to a second position on the target volume control in response to the second input, and the audio output unit 403 is further configured to output a second volume value corresponding to the second position;
the processor 410 is further configured to determine the second volume value as a target volume value of the target application.
Optionally, the display unit 406 is further configured to display, in response to the first input, a second volume control, where the second volume control is used to control an overall volume value of the electronic device;
a user input unit 407, further configured to receive a third input to the second volume control;
a processor 410 further configured to control the second volume control to move in response to the third input;
the display unit 406 is further configured to display the at least two first volume controls when the second volume control moves to the target position.
Optionally, the processor 410 is further configured to save a target mapping relationship between the target application program and the target volume value; under the condition of receiving a fourth input, running the target application program and acquiring the target mapping relation; and determining the volume value of the target application program as the target volume value based on the target mapping relation.
Optionally, the display unit 406 is further configured to display a second volume control, where the second volume control is used to control an overall volume value of the electronic device, and a second identifier is displayed at a third position of the second volume control, where the second volume control is played by the target application program with the target volume value;
the processor 410 is further configured to control a second identifier to move on the second volume control if a fifth input to the second volume control is received;
the processor 410 is further configured to, when the second identifier moves from the third position to a fourth position of the second volume control, control the target application program to play at a third volume value corresponding to the fourth position, and determine a volume value of the first application program according to a target proportional relationship and the fourth volume value;
the target proportional relationship is a proportional relationship between the target volume value and a third volume value, and the fourth volume value is a volume value corresponding to the first application program when the second identifier is at the third position.
In the embodiment of the application program, the volume value of each application program can be controlled according to the first volume control corresponding to the application program, so that the volume adjusting effect of the application program is enhanced.
It should be appreciated that in embodiments of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, with the graphics processor 4041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071 is also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction realizes each process of the embodiment of the volume control method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or an instruction, implementing each process of the above embodiment of the volume control method, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (8)

1. A volume control method, comprising:
receiving a first input;
in response to the first input, displaying at least two first volume controls, wherein the first volume controls are in one-to-one correspondence with the application program;
receiving a second input to a target volume control of the at least two first volume controls;
determining a target volume value of a target application program corresponding to the target volume control in response to the second input;
the displaying at least two first volume controls in response to the first input, including:
responsive to the first input, displaying a second volume control for controlling an overall volume value of the electronic device;
receiving a third input to the second volume control;
controlling the second volume control to move in response to the third input;
displaying the at least two first volume controls under the condition that the second volume controls move to the target positions;
wherein, when the target position is a display position of an application program set, and the application program set includes icons of at least two application programs, the displaying the at least two first volume controls includes:
displaying the first volume control of each application in the set of applications.
2. The method of claim 1, wherein, in response to the second input, prior to determining the target volume value for the target application to which the target volume control corresponds, the method further comprises:
displaying a first identifier at a first position of the target volume control, and outputting a first volume value corresponding to the first position;
the determining, in response to the second input, a target volume value of a target application corresponding to the target volume control includes:
responsive to the second input, controlling the first identifier to move from the first position to a second position on the target volume control, and outputting a second volume value corresponding to the second position;
and determining the second volume value as a target volume value of the target application program.
3. The method of claim 1, wherein after determining the target volume value of the target application corresponding to the target volume control in response to the second input, the method further comprises:
storing a target mapping relation between the target application program and the target volume value;
under the condition of receiving a fourth input, running the target application program and acquiring the target mapping relation;
and determining the volume value of the target application program as the target volume value based on the target mapping relation.
4. The method of claim 1, wherein after determining the target volume value of the target application corresponding to the target volume control in response to the second input, the method further comprises:
displaying a second volume control under the condition that the target application program plays at the target volume value, wherein the second volume control is used for controlling the whole volume value of the electronic equipment, and a second mark is displayed at a third position of the second volume control;
controlling the second identifier to move on the second volume control under the condition that a fifth input to the second volume control is received;
controlling the target application program to play at a third volume value corresponding to a fourth position under the condition that the second identifier is moved from the third position to the fourth position of the second volume control, and determining the volume value of the first application program according to a target proportional relation and the fourth volume value;
the target proportional relationship is a proportional relationship between the target volume value and a third volume value, and the fourth volume value is a volume value corresponding to the first application program when the second identifier is at the third position.
5. A volume control device, comprising:
a first receiving module for receiving a first input;
the first display module is used for responding to the first input and displaying at least two first volume controls, and the first volume controls are in one-to-one correspondence with the application programs;
the second receiving module is used for receiving second input of a target volume control in the at least two first volume controls;
the first determining module is used for responding to the second input and determining a target volume value of a target application program corresponding to the target volume control;
the first display module includes:
a first display sub-module for displaying a second volume control in response to the first input, the second volume control for controlling an overall volume value of the electronic device;
a receiving sub-module for receiving a third input to the second volume control;
a second control sub-module for controlling movement of the second volume control in response to the third input;
the second display sub-module is used for displaying the at least two first volume controls under the condition that the second volume controls move to the target positions;
wherein, when the target position is a display position of an application program set, and the application program set includes icons of at least two application programs, the displaying the at least two first volume controls includes:
displaying the first volume control of each application in the set of applications.
6. The volume control device of claim 5, wherein the volume control device further comprises:
the second display module is used for displaying a first identifier at a first position of the target volume control and outputting a first volume value corresponding to the first position;
the first determining module includes:
a first control sub-module, configured to control the first identifier to move from the first position to a second position on the target volume control in response to the second input, and output a second volume value corresponding to the second position;
and the determining submodule is used for determining the second volume value as a target volume value of the target application program.
7. The volume control device of claim 5, wherein the volume control device further comprises:
the storage module is used for storing the target mapping relation between the target application program and the target volume value;
the operation module is used for operating the target application program and acquiring the target mapping relation under the condition of receiving a fourth input;
and the second determining module is used for determining the volume value of the target application program as the target volume value based on the target mapping relation.
8. The volume control device of claim 5, wherein the volume control device further comprises:
the third display module is used for displaying a second volume control when the target application program plays at the target volume value, wherein the second volume control is used for controlling the whole volume value of the electronic equipment, and a second mark is displayed at a third position of the second volume control;
a first control module for controlling the second mark to move on the second volume control if a fifth input to the second volume control is received;
the second control module is used for controlling the target application program to play at a third volume value corresponding to a fourth position under the condition that the second identifier is moved from the third position to the fourth position of the second volume control, and determining the volume value of the first application program according to a target proportion relation and the fourth volume value; the target proportional relationship is a proportional relationship between the target volume value and a third volume value, and the fourth volume value is a volume value corresponding to the first application program when the second identifier is at the third position.
CN202110138254.XA 2021-02-01 2021-02-01 Volume control method and volume control device Active CN112817555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110138254.XA CN112817555B (en) 2021-02-01 2021-02-01 Volume control method and volume control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110138254.XA CN112817555B (en) 2021-02-01 2021-02-01 Volume control method and volume control device

Publications (2)

Publication Number Publication Date
CN112817555A CN112817555A (en) 2021-05-18
CN112817555B true CN112817555B (en) 2023-06-23

Family

ID=75861217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110138254.XA Active CN112817555B (en) 2021-02-01 2021-02-01 Volume control method and volume control device

Country Status (1)

Country Link
CN (1) CN112817555B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325980B (en) * 2021-05-28 2023-02-24 维沃移动通信(杭州)有限公司 Control method, control device, electronic equipment and readable storage medium
CN115729511A (en) * 2021-08-31 2023-03-03 华为技术有限公司 Audio playing method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6891955B1 (en) * 1999-07-29 2005-05-10 Micron Technology, Inc. Audio volume control for computer systems
EP2071443A2 (en) * 2007-12-12 2009-06-17 Advanced Digital Broadcast S.A. Method for controlling value of parameter
CN101971133A (en) * 2008-03-11 2011-02-09 微软公司 Customizable controls provided by a messaging application for performing selected actions
CN104883148A (en) * 2015-05-19 2015-09-02 广东欧珀移动通信有限公司 Volume control method, playing equipment and system
CN106227497A (en) * 2016-07-21 2016-12-14 东莞酷派软件技术有限公司 A kind of method for controlling volume and system
CN108021301A (en) * 2017-11-20 2018-05-11 深圳市金立通信设备有限公司 A kind of volume adjusting method, terminal device and computer-readable recording medium
CN109739463A (en) * 2018-12-05 2019-05-10 上海博泰悦臻电子设备制造有限公司 Multimedia volume adjusting method and terminal
WO2019154182A1 (en) * 2018-02-09 2019-08-15 维沃移动通信有限公司 Method for setting volume of application program, and mobile terminal
CN110502878A (en) * 2019-07-08 2019-11-26 维沃移动通信有限公司 A kind of application permission setting method and terminal device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7831054B2 (en) * 2005-06-28 2010-11-09 Microsoft Corporation Volume control
US8595624B2 (en) * 2010-10-29 2013-11-26 Nokia Corporation Software application output volume control
KR101830653B1 (en) * 2011-07-18 2018-02-21 엘지전자 주식회사 Mobile device and control method for the same
US20130346858A1 (en) * 2012-06-25 2013-12-26 Neyrinck Llc Remote Control of Audio Application and Associated Sub-Windows
US9654073B2 (en) * 2013-06-07 2017-05-16 Sonos, Inc. Group volume control
US9787273B2 (en) * 2013-06-13 2017-10-10 Google Technology Holdings LLC Smart volume control of device audio output based on received audio input
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application
CN107239254A (en) * 2017-05-18 2017-10-10 宇龙计算机通信科技(深圳)有限公司 A kind of method for controlling volume and device
CN109683847A (en) * 2018-12-20 2019-04-26 维沃移动通信有限公司 A kind of volume adjusting method and terminal
CN111796746A (en) * 2020-06-30 2020-10-20 维沃移动通信有限公司 Volume adjusting method, volume adjusting device and electronic equipment
CN112162685B (en) * 2020-09-27 2022-03-11 维沃移动通信有限公司 Attribute adjusting method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6891955B1 (en) * 1999-07-29 2005-05-10 Micron Technology, Inc. Audio volume control for computer systems
EP2071443A2 (en) * 2007-12-12 2009-06-17 Advanced Digital Broadcast S.A. Method for controlling value of parameter
CN101971133A (en) * 2008-03-11 2011-02-09 微软公司 Customizable controls provided by a messaging application for performing selected actions
CN104883148A (en) * 2015-05-19 2015-09-02 广东欧珀移动通信有限公司 Volume control method, playing equipment and system
CN106227497A (en) * 2016-07-21 2016-12-14 东莞酷派软件技术有限公司 A kind of method for controlling volume and system
CN108021301A (en) * 2017-11-20 2018-05-11 深圳市金立通信设备有限公司 A kind of volume adjusting method, terminal device and computer-readable recording medium
WO2019154182A1 (en) * 2018-02-09 2019-08-15 维沃移动通信有限公司 Method for setting volume of application program, and mobile terminal
CN109739463A (en) * 2018-12-05 2019-05-10 上海博泰悦臻电子设备制造有限公司 Multimedia volume adjusting method and terminal
CN110502878A (en) * 2019-07-08 2019-11-26 维沃移动通信有限公司 A kind of application permission setting method and terminal device

Also Published As

Publication number Publication date
CN112817555A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US20200169596A1 (en) File transfer display control method and apparatus, and corresponding terminal
CN111857509A (en) Split screen display method and device and electronic equipment
CN112162665B (en) Operation method and device
WO2022121790A1 (en) Split-screen display method and apparatus, electronic device, and readable storage medium
US11886894B2 (en) Display control method and terminal device for determining a display layout manner of an application
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
CN112817555B (en) Volume control method and volume control device
CN112148167A (en) Control setting method and device and electronic equipment
US20170315703A1 (en) Projector playing control method, device, and computer storage medium
CN113268182B (en) Application icon management method and electronic device
CN112929734B (en) Screen projection method and device and electronic equipment
CN112416199A (en) Control method and device and electronic equipment
CN112416172A (en) Electronic equipment control method and device and electronic equipment
WO2023030307A1 (en) Screenshot method and apparatus, and electronic device
CN111796746A (en) Volume adjusting method, volume adjusting device and electronic equipment
CN116107531A (en) Interface display method and device
CN113596238B (en) Information display method, device, electronic equipment and medium
JP7419569B2 (en) Application control methods, devices and electronic equipment
CN114416269A (en) Interface display method and display device
CN114327173A (en) Information processing method and device and electronic equipment
CN113311982A (en) Information selection method and device
CN113253884A (en) Touch method, touch device and electronic equipment
CN114222355B (en) Terminal power-saving display method and device and electronic equipment
CN113726946B (en) Application program control method and device
CN114756165A (en) Equipment control method and device

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