CN112383817B - Volume adjusting method and device - Google Patents

Volume adjusting method and device Download PDF

Info

Publication number
CN112383817B
CN112383817B CN202011272635.9A CN202011272635A CN112383817B CN 112383817 B CN112383817 B CN 112383817B CN 202011272635 A CN202011272635 A CN 202011272635A CN 112383817 B CN112383817 B CN 112383817B
Authority
CN
China
Prior art keywords
input
volume
user
control
objects
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
CN202011272635.9A
Other languages
Chinese (zh)
Other versions
CN112383817A (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 Co Ltd
Original Assignee
Vivo Mobile Communication 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 Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011272635.9A priority Critical patent/CN112383817B/en
Publication of CN112383817A publication Critical patent/CN112383817A/en
Application granted granted Critical
Publication of CN112383817B publication Critical patent/CN112383817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4852End-user interface for client configuration for modifying audio parameters, e.g. switching between mono and stereo

Abstract

The application discloses a volume adjusting method and device, and belongs to the technical field of communication. The problem that the flexibility of the electronic equipment for adjusting the volume is poor can be solved. The method comprises the following steps: receiving a first input of a user under the condition of playing a target video, wherein the picture of the target video comprises at least one object, the first input is the selection input of the user to N objects in the at least one object, each object corresponds to a sound characteristic, and N is a positive integer; responding to the first input, displaying N volume adjusting controls, wherein each volume adjusting control corresponds to one object in the N objects; receiving a second input of the user, wherein the second input is the selection input of the user to the N volume adjusting controls; and responding to the second input, and respectively adjusting the volume values corresponding to the N objects. The embodiment of the application is applied to the process of adjusting the volume of the electronic equipment.

Description

Volume adjusting method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a volume adjusting method and device.
Background
Generally, when the electronic device plays a video, a video file corresponding to a currently played video segment may include a plurality of sound sources (for example, when a band performs a performance, a plurality of musical instruments emit sounds at the same time), and when a user needs to adjust the volume of the video, the user may adjust the overall volume of the video segment through the volume adjustment control (that is, adjust the volume corresponding to all the sound sources in the video segment at the same time).
However, in the above method, when the user adjusts the volume of the video clip through the volume adjustment control, only the overall volume of the video clip can be adjusted, but the volume of a target sound source in the multiple sound sources corresponding to the video clip cannot be adjusted, so that the flexibility of adjusting the volume of the electronic device is poor.
Disclosure of Invention
The embodiment of the application aims to provide a volume adjusting method and device, and the problem that the flexibility of adjusting the volume of electronic equipment is poor can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a volume adjustment method, where the method includes: receiving a first input of a user under the condition of playing a target video, wherein the picture of the target video comprises at least one object, the first input is the selection input of the user to N objects in the at least one object, each object corresponds to a sound characteristic, and N is a positive integer; responding to the first input, displaying N volume adjusting controls, wherein each volume adjusting control corresponds to one object in the N objects; receiving a second input of the user, wherein the second input is the selection input of the user to the N volume adjusting controls; and responding to the second input, and respectively adjusting the volume values corresponding to the N objects.
In a second aspect, an embodiment of the present application provides a volume adjustment device, including: the device comprises a receiving module, a display module and an adjusting module. The receiving module is used for receiving a first input of a user under the condition of playing a target video, the picture of the target video comprises at least one object, the first input is the selection input of the user to N objects in the at least one object, each object corresponds to a sound characteristic, and N is a positive integer. And the display module is used for responding to the first input received by the receiving module and displaying N volume adjusting controls, and each volume adjusting control corresponds to one object in the N objects. And the receiving module is also used for receiving a second input of the user, wherein the second input is the selection input of the user to the N volume adjusting controls. And the adjusting module is used for responding to the second input received by the receiving module and respectively adjusting the volume values corresponding to the N objects.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the application, when the electronic device plays the target video, a user may perform first input on N objects in at least one object included in a picture of the target video, so that the electronic device may display N volume adjustment controls corresponding to the N objects according to the first input of the user, and thus the user may perform second input on the N volume adjustment controls to trigger the electronic device to respectively adjust volume values corresponding to the N objects. When the electronic device plays the target video, the at least one object is included in the picture of the target video, and the user can input N objects in the at least one object, so that the electronic device displays the volume adjustment control corresponding to each object in the N objects, and therefore, under the condition that one object corresponds to one volume adjustment control, the user can respectively input the N volume adjustment controls to respectively adjust the volume value corresponding to each object in the N objects, and the overall volume corresponding to the target video is adjusted without once input, so that the flexibility of adjusting the volume by the electronic device is high.
Drawings
Fig. 1 is a schematic diagram of a volume adjustment method according to an embodiment of the present disclosure;
fig. 2 is a second schematic diagram of a volume adjustment method according to an embodiment of the present disclosure;
fig. 3 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a third schematic diagram of a volume adjustment method according to an embodiment of the present application;
fig. 6 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a volume adjustment device according to an embodiment of the present disclosure;
fig. 8 is a second schematic structural diagram of a volume adjustment device according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of a hardware structure of an electronic device 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 some, but not all, embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The volume adjusting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In the embodiment of the application, when the electronic device plays a target video, at least one object (for example, multiple characters, each character corresponds to one sound feature, that is, each character can be understood as one sound source) is included in a picture of the target video, and a user can input N characters (for example, character a, character b, and character c) in the multiple characters, so that the electronic device can display N volume adjustment controls corresponding to the N characters (for example, character a corresponds to volume adjustment control 1, character b corresponds to volume adjustment control 2, and character c corresponds to volume adjustment control 3) according to the input of the user to the N characters, so that the user can input the volume adjustment controls 1, 2, and 3 to trigger the electronic device to adjust volume values corresponding to the character a, the character b, and the character c, respectively, and thus can improve flexibility of adjusting the volume of the electronic device.
An embodiment of the present application provides a volume adjustment method, and fig. 1 shows a flowchart of the volume adjustment method provided in the embodiment of the present application, where the method may be applied to an electronic device. As shown in fig. 1, a volume adjustment method provided in an embodiment of the present application may include steps 201 to 204 described below.
Step 201, in the case of playing the target video, the electronic device receives a first input of a user.
In this embodiment of the application, the frame of the target video includes at least one object, the first input is a selection input of a user for N objects of the at least one object, each object corresponds to a sound feature, and N is a positive integer.
In the embodiment of the application, when the electronic device plays the target video, if a user needs to trigger the electronic device to adjust the volume values corresponding to N objects in at least one object included in the picture of the target video, the user can perform first input on the N objects in the at least one object included in the picture of the target video to trigger the electronic device to display N volume adjustment controls corresponding to the N objects, so that the user can perform second input on the N volume adjustment controls, and the electronic device can adjust the volume values corresponding to the N objects respectively.
Optionally, in this embodiment of the present application, each object in the at least one object included in the picture of the target video may be understood as a sound source, that is, the picture of the target video corresponds to the at least one sound source.
It should be noted that the first input is input by a user to N objects of the at least one object, and it is understood that the first input is input by the user to N sound sources of the at least one sound source corresponding to the screen of the target video, so as to adjust the volume values of the N sound sources.
Optionally, in this embodiment of the application, the first input may be any one of: click input, long-press input, circle selection input, voice input, eye movement input and the like; the selection of the circle can be understood as: the method comprises the steps that a user carries out sliding input in a screen to enable an input track to be a closed graph, and therefore an object included in an area surrounded by the closed graph is an input object corresponding to input of the user; the eye movement input may be understood as: the position observed by the user is determined by detecting the movement of the eyeball of the user to determine the input object of the first input.
Optionally, in this embodiment of the present application, the electronic device may select N objects according to a first input of a user, and determine the N objects as objects whose volume is to be adjusted.
Optionally, in this embodiment of the present application, with reference to fig. 1, as shown in fig. 2, before the "electronic device receives the first input of the user" in step 201, the volume adjustment method provided in this embodiment of the present application may further include steps 301 and 302 described below.
Step 301, in the case of playing the target video, the electronic device receives a third input from the user.
Optionally, in this embodiment of the application, before the user triggers the electronic device to display the volume adjustment control through the first input, the user may first perform a preset input (i.e., a third input) to trigger the electronic device to control the playing state of the target video to be in the volume to-be-adjusted state.
Optionally, in this embodiment of the present application, the third input may be an input of a preset control by a user, or the third input may be a gesture input of a preset track performed in a screen by the user.
And step 302, the electronic device responds to the third input, and controls the playing state of the target video to be in a volume to be adjusted state.
In the embodiment of the application, when the playing state of the target video is in the state that the volume is to be adjusted, the electronic device displays at least one volume adjustment control according to the input of the user to the object included in the picture of the target video.
Optionally, in this embodiment of the application, when the playing state of the target video is not controlled by the electronic device to be in the state that the volume is to be adjusted, after the user inputs N objects of the at least one object in the screen, the electronic device does not display the N volume adjustment controls.
Optionally, in this embodiment of the application, when the playing state of the control target video of the electronic device is in the state that the volume is to be adjusted, after the user inputs N objects of at least one object in the screen, the electronic device may display N volume adjustment controls in display areas corresponding to the N objects in the screen.
It should be noted that, in the case of performing the above steps 301 and 302, the specific steps of the above step 201 may be adaptively adjusted to "the electronic device receives the first input of the user".
In the embodiment of the application, before the user performs the first input on the N objects in the at least one object included in the picture of the target video, the user may perform the third input to trigger the electronic device to control the playing state of the target video to be in the volume to be adjusted state, so that when the user performs the input on the object included in the picture of the target video, the electronic device may correspondingly display the at least one volume adjustment control, thereby preventing the user from mistakenly operating to trigger the electronic device to display the volume adjustment control.
Step 202, the electronic device displays N volume adjustment controls in response to the first input.
In this embodiment, each of the N volume adjustment controls corresponds to one of the N objects.
Optionally, in this embodiment of the present application, the electronic device determines, according to a first input of a user, N objects corresponding to the first input, and displays, in a display area corresponding to the N objects, a volume adjustment control corresponding to each object.
Optionally, in this embodiment of the application, each of the N volume adjustment controls includes a selection control and a volume bar control, where the selection control is used to start or close the volume of the audio of the object in the screen of the target video, and the volume bar control is used to adjust the volume value of the audio of the object when the volume of the audio of the object is in a start state.
Optionally, in this embodiment of the application, when the volume of the audio of the object is in the activated state, the user may hear a sound corresponding to the audio of the object; in a case where the volume of the audio of the object is in the off state, the user cannot hear the sound corresponding to the audio of the object (i.e., the audio of the object is in the mute state).
The electronic device is taken as a mobile phone for illustration. As shown in fig. 3 (a), the content currently displayed by the mobile phone is a picture of a band performance, the video picture 10 corresponds to sounds of a plurality of characters (or musical instruments) (i.e., the video picture corresponds to a plurality of sound sources), each character corresponds to a sound characteristic, for example, the character 11 is a sound source, the character 12 is a sound source, the character 13 is a sound source, and the character 14 is a sound source, which sound independently and without influence. With reference to fig. 3 (a), as shown in fig. 3 (B), a user may input characters 11 and 12 to trigger the mobile phone to display a volume adjustment control 21 corresponding to the character 11 and a volume adjustment control 22 corresponding to the character 12, so that the user may adjust a volume value corresponding to the character 11 by inputting to the volume adjustment control 21; alternatively, the user may adjust the volume value corresponding to character 12 by entering an input into volume adjustment control 22.
Step 203, the electronic device receives a second input of the user.
In this embodiment, the second input is a selection input of the user to the N volume adjustment controls.
Optionally, in this embodiment of the application, a user may input a selection control to trigger the electronic device to select the selection control or deselect the selection control, where, when the electronic device selects the selection control, the electronic device starts the volume of the audio of the object corresponding to the selection control in the picture of the target video, and when the electronic device deselects the selection control, the electronic device closes the volume of the audio of the object corresponding to the selection control in the picture of the target video (that is, the audio of the object corresponding to the selection control is in a mute state).
Optionally, in this embodiment of the present application, when the electronic device selects a certain selection control, the user may input the volume bar control corresponding to the certain selection control, so as to adjust the volume value of the audio of the object (i.e., adjust the loudness of the sound of the audio of the object) when the volume of the audio of the object corresponding to the certain selection control is in the activated state.
Optionally, in this embodiment of the application, the second input is input of a user to N selection controls corresponding to N objects or N volume bar controls corresponding to N objects, or the second input is input of a user to M selection controls corresponding to N objects and N-M volume bar controls, where M is a positive integer smaller than N.
Optionally, in this embodiment of the application, a user may input N selection controls corresponding to N objects to trigger the electronic device to turn off the volume of the audio of the N objects in the screen of the target video (that is, the audio of the N objects is in a mute state).
Optionally, in this embodiment of the application, a user may input N volume bar controls corresponding to N objects to trigger the electronic device to respectively adjust volume values of the audio of the N objects in the picture of the target video.
Optionally, in this embodiment of the application, a user may input M selection controls and N-M volume bar controls corresponding to the N objects, so as to trigger the electronic device to close the volume of the audio of the M objects corresponding to the M selection controls in the picture of the target video, and adjust the volume values of the audio of the N-M objects corresponding to the N-M volume bar controls in the picture of the target video.
It should be noted that, after the electronic device displays N volume adjustment controls (that is, N selection controls and N volume bar controls), a user may determine the number of selection controls and the number of volume bar controls corresponding to the second input according to actual use requirements, which is not limited in the embodiment of the present application.
And step 204, the electronic device responds to the second input, and respectively adjusts volume values corresponding to the N objects.
Optionally, in this embodiment of the application, the electronic device correspondingly adjusts volume values corresponding to the N objects according to selection input of the user to the N selection controls and the N volume bar controls.
Optionally, in this embodiment of the application, the electronic device may close, according to the input of the user to the selection control, the volume of the audio of the object corresponding to the selection control in the picture of the target video.
Optionally, in this embodiment of the application, the electronic device may adjust the volume value of the audio of the object corresponding to the volume bar control in the picture of the target video according to the input of the user to the volume bar control, and specifically, the electronic device determines the volume value of the audio of the object corresponding to the volume bar control according to the input parameter of the user to the volume bar control.
Optionally, in this embodiment of the application, the N objects are all objects in at least one object, a target control is displayed on a picture of the target video, the target control is used for displaying volume adjustment controls corresponding to all objects in the picture of the target video, and the first input is input of the target control by a user.
Optionally, in this embodiment of the application, in a case that the first input is an input of the target control by the user, the electronic device may display volume adjustment controls corresponding to all objects in the screen of the target video, so that the user may respectively adjust volume values of audio of all objects in the screen of the target video.
Optionally, in this embodiment of the application, after the volume corresponding to each object is adjusted, the user may input the completion control to trigger the state of the electronic device control target video to exit from the state where the volume is to be adjusted.
For example, as shown in (a) in fig. 3, a target control 15 is displayed on the video screen 10, and a user can input an input to the target control 15, and in combination with (a) in fig. 3, as shown in fig. 4, the mobile phone can display a volume adjustment control at a position corresponding to all tasks in the screen of the target video, specifically, the mobile phone displays a volume adjustment control 21 at a position corresponding to the character 11, displays a volume adjustment control 22 at a position corresponding to the character 12, displays a volume adjustment control 23 at a position corresponding to the character 13, and displays a volume adjustment control 24 at a position corresponding to the character 14, so that the user can input the volume adjustment control 21, the volume adjustment control 22, the volume adjustment control 23, and the volume adjustment control 24 respectively to adjust the volume value corresponding to the character 11, the volume value corresponding to the character 12, the volume value corresponding to the character 13, and the volume value corresponding to the character 14. And after the volume corresponding to each character is adjusted, inputting the completion control to trigger the state of the mobile phone control video to exit from the volume to-be-adjusted state.
The embodiment of the application provides a volume adjusting method, when an electronic device plays a target video, a user can perform first input on N objects in at least one object included in a picture of the target video, so that the electronic device can display N volume adjusting controls corresponding to the N objects according to the first input of the user, and the user can perform second input on the N volume adjusting controls to trigger the electronic device to respectively adjust volume values corresponding to the N objects. When the electronic device plays the target video, the at least one object is included in the picture of the target video, and a user can input N objects in the at least one object, so that the electronic device displays the volume adjustment control corresponding to each object in the N objects, and therefore under the condition that one object corresponds to one volume adjustment control, the user can respectively input the N volume adjustment controls to respectively adjust the volume value corresponding to each object in the N objects, and the overall volume corresponding to the target video is not required to be adjusted through one-time input, so that the flexibility of the electronic device in adjusting the volume is high.
Optionally, in this embodiment of the present application, with reference to fig. 1, as shown in fig. 5, after step 204 described above, the volume adjustment method provided in this embodiment of the present application may further include step 401 and step 402 described below.
Step 401, the electronic device receives a fourth input from the user.
In this embodiment of the application, the fourth input is an input of a target object of the N objects by a user.
Optionally, in this embodiment of the application, the target object is at least one object of N objects, and the fourth input may be any one of: click input, long-press input, circle input, voice input, eye movement input, and the like.
Optionally, in this embodiment of the application, the user may perform a sliding input (i.e., a circle selection input) in the screen of the target video, so that a trajectory of the sliding input of the user is a closed graph, and thus the electronic device may determine an object enclosed in the closed graph as the target object.
And 402, the electronic equipment responds to the fourth input and displays a mode selection control and a duration adjustment control corresponding to the target object.
In this embodiment of the application, the mode selection control is configured to set an output mode of an audio (sound) corresponding to the target object, where the output mode includes: and the first mode or the second mode stops outputting the audio (sound) corresponding to the target object after the first time length when the output mode is the first mode, and starts outputting the audio (sound) corresponding to the target object after the second time length when the output mode is the second mode, wherein the time length adjusting control is used for setting the first time length or the second time length.
Optionally, in this embodiment of the present application, the electronic device displays a mode selection control and a duration adjustment control in a preset region in a picture of the target video, where the mode selection control includes two options, that is, an option corresponding to the first mode and an option corresponding to the second mode, so that a user can trigger the electronic device to select the first mode or the second mode through input to set an output mode of an audio (sound) corresponding to the target object.
Optionally, in this embodiment of the application, a user may input the duration adjustment control, so that the electronic device may determine the first duration or the second duration according to an input parameter of the user to the duration adjustment control.
Illustratively, in conjunction with (a) in fig. 3, as shown in fig. 6, the user may input the character 11 and the character 12 to trigger the mobile phone to display the mode selection control 25 and the duration adjustment control 26 corresponding to the character 11 and the character 12, so that the user may input the mode selection control 25 and the duration adjustment control 26 to enable the mobile phone to set the output mode of the audio corresponding to the character 11 and the character 12 to stop outputting the audio corresponding to the character 11 and the character 12 after 10 minutes.
In the embodiment of the application, a user can input a target object of N objects in a picture of a target video to trigger the electronic device to display a mode selection control and a duration adjustment control corresponding to the target object, so that after the user inputs the mode selection control and the duration adjustment control, the electronic device can set an output mode of audio corresponding to the target object to stop outputting the audio corresponding to the target object after a first duration, or start outputting the audio corresponding to the target object after a second duration, thereby improving flexibility of adjusting volume of the electronic device.
It should be noted that, in the volume adjustment method provided in the embodiment of the present application, the execution subject may be a volume adjustment device, or a control module used for executing the volume adjustment method in the volume adjustment device. In the embodiment of the present application, a method for executing loading volume adjustment by a volume adjustment device is taken as an example, and the volume adjustment device provided in the embodiment of the present application is described.
Fig. 7 shows a schematic diagram of a possible structure of the volume adjusting device according to the embodiment of the present application. As shown in fig. 7, the volume adjusting device 70 may include: a receiving module 71, a display module 72 and an adjusting module 73.
The receiving module 71 is configured to receive a first input of a user when a target video is played, where a picture of the target video includes at least one object, the first input is a selection input of the user on N objects in the at least one object, each object corresponds to a sound feature, and N is a positive integer. A display module 72, configured to display N volume adjustment controls in response to the first input received by the receiving module 71, where each volume adjustment control corresponds to one object in the N objects. The receiving module 71 is further configured to receive a second input from the user, where the second input is a selection input from the user to the N volume adjustment controls. And an adjusting module 73, configured to adjust volume values corresponding to the N objects, respectively, in response to the second input received by the receiving module 71.
In a possible implementation manner, with reference to fig. 7, as shown in fig. 8, the volume adjustment device 70 provided in the embodiment of the present application may further include: and a control module 74. The receiving module 71 is further configured to receive a third input from the user before receiving the first input from the user. And a control module 74, configured to control the playing state of the target video to be in the volume to-be-adjusted state in response to the third input received by the receiving module 71. And displaying at least one volume adjusting control according to the input of the user to the object included in the picture of the target video in the state that the volume is to be adjusted.
In one possible implementation, each volume adjustment control includes a selection control and a volume bar control, the selection control is used for starting or closing the volume of the audio of the object in the picture of the target video, and the volume bar control is used for adjusting the volume value of the audio of the object under the condition that the volume of the audio of the object is in a starting state; the second input is input of a user to the N selection controls corresponding to the N objects or the N volume bar controls corresponding to the N objects, or the second input is input of a user to the M selection controls corresponding to the N objects and the N-M volume bar controls, where M is a positive integer smaller than N.
In a possible implementation manner, the N objects are all objects in at least one object, a target control is displayed on a picture of the target video, the target control is used for displaying volume adjustment controls corresponding to all objects in the picture of the target video, and the first input is input of the target control by a user.
In a possible implementation manner, the receiving module 71 is further configured to receive a fourth input of the user after adjusting the volume values corresponding to the N objects, where the fourth input is an input of the user on a target object in the N objects. The display module 72 is further configured to display, in response to the fourth input received by the receiving module 71, a mode selection control and a duration adjustment control corresponding to the target object. The mode selection control is used for setting an output mode of the audio corresponding to the target object, and the output mode comprises the following steps: and the first mode or the second mode, under the condition that the output mode is the first mode, the audio corresponding to the target object is stopped being output after the first time length, under the condition that the output mode is the second mode, the audio corresponding to the target object is started to be output after the second time length, and the time length adjusting control is used for setting the first time length or the second time length.
The volume adjusting device provided in the embodiment of the present application can implement each process implemented by the volume adjusting device in the above method embodiments, and for avoiding repetition, detailed description is not repeated here.
The embodiment of the application provides a volume adjusting device, when an electronic device plays a target video, at least one object is included in a picture of the target video, and a user can input N objects in the at least one object, so that the electronic device displays a volume adjusting control corresponding to each object in the N objects, and therefore, under the condition that one object corresponds to one volume adjusting control, the user can respectively input the N volume adjusting controls to respectively adjust the volume value corresponding to each object in the N objects, and does not need to adjust the total volume corresponding to the target video through one-time input, so that the flexibility of adjusting the volume of the electronic device is high.
The volume adjusting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The volume adjusting 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 (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 110, a memory 109, and a program or an instruction stored in the memory 109 and executable on the processor 110, where the program or the instruction is executed by the processor 110 to implement each process of the above-mentioned embodiment of the volume adjustment method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 110 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 107 is configured to receive a first input of a user in a case that a target video is played, where a picture of the target video includes at least one object, the first input is a selection input of the user for N objects in the at least one object, each object corresponds to a sound feature, and N is a positive integer.
The display unit 106 is configured to display N volume adjustment controls in response to the first input, where each volume adjustment control corresponds to one object of the N objects.
The user input unit 107 is further configured to receive a second input from the user, where the second input is a selection input from the user to the N volume adjustment controls.
And the processor 110 is used for responding to the second input and respectively adjusting the volume values corresponding to the N objects.
The embodiment of the application provides an electronic device, when the electronic device plays a target video, at least one object is included in a picture of the target video, and a user can input N objects in the at least one object, so that the electronic device displays a volume adjustment control corresponding to each object in the N objects, and therefore, under the condition that one object corresponds to one volume adjustment control, the user can respectively input the N volume adjustment controls to respectively adjust a volume value corresponding to each object in the N objects, and does not need to adjust the total volume corresponding to the target video through one-time input, so that the flexibility of adjusting the volume of the electronic device is high.
Optionally, the user input unit 107 is further configured to receive a third input from the user.
The processor 110 is further configured to control, in response to a third input, the playing state of the target video to be in a state where the volume is to be adjusted; and displaying at least one volume adjusting control according to the input of the user to the object included in the picture of the target video in the state that the volume is to be adjusted.
In the embodiment of the application, before the user performs the first input on the N objects in the at least one object included in the picture of the target video, the user may perform the third input to trigger the electronic device to control the playing state of the target video to be in the volume to be adjusted state, so that when the user performs the input on the object included in the picture of the target video, the electronic device may correspondingly display the at least one volume adjustment control, thereby preventing the user from mistakenly operating to trigger the electronic device to display the volume adjustment control.
The user input unit 107 is further configured to receive a fourth input from the user, where the fourth input is an input from the user to a target object in the N objects.
And the display unit 106 is further configured to display, in response to the fourth input, a mode selection control and a duration adjustment control corresponding to the target object. The mode selection control is used for setting an output mode of the audio corresponding to the target object, and the output mode comprises the following steps: and the first mode or the second mode, under the condition that the output mode is the first mode, the audio corresponding to the target object is stopped being output after the first time length, under the condition that the output mode is the second mode, the audio corresponding to the target object is started to be output after the second time length, and the time length adjusting control is used for setting the first time length or the second time length.
In the embodiment of the application, a user can input a target object of N objects in a picture of a target video to trigger the electronic device to display a mode selection control and a duration adjustment control corresponding to the target object, so that after the user inputs the mode selection control and the duration adjustment control, the electronic device can set an output mode of audio corresponding to the target object to stop outputting the audio corresponding to the target object after a first duration, or start outputting the audio corresponding to the target object after a second duration, thereby improving flexibility of adjusting volume of the electronic device.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 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 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
An 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 implements each process of the embodiment of the volume adjustment method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the 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 (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned volume adjustment method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A method of adjusting volume, the method comprising:
receiving a first input of a user under the condition of playing a target video, wherein the picture of the target video comprises at least one object, the first input is the selection input of the user on N objects in the at least one object, each object corresponds to a sound characteristic, and N is a positive integer;
in response to the first input, displaying N volume adjustment controls, each volume adjustment control corresponding to one of the N objects;
receiving a second input of the user, wherein the second input is the selection input of the N volume adjusting controls by the user;
responding to the second input, and respectively adjusting volume values corresponding to the N objects;
the method further comprises the following steps:
receiving a fourth input of the user, wherein the fourth input is input of the user to a target object in the N objects;
responding to the fourth input, and displaying a mode selection control and a duration adjustment control corresponding to the target object;
wherein the mode selection control is used for setting an output mode of the audio corresponding to the target object, and the output mode includes: the audio processing device comprises a first mode or a second mode, under the condition that the output mode is the first mode, the audio corresponding to the target object is stopped being output after a first duration, under the condition that the output mode is the second mode, the audio corresponding to the target object is started to be output after a second duration, and the duration adjusting control is used for setting the first duration or the second duration.
2. The method of claim 1, wherein prior to receiving the first input from the user, the method further comprises:
receiving a third input of the user;
responding to the third input, and controlling the playing state of the target video to be in a volume to-be-adjusted state;
and displaying at least one volume adjusting control according to the input of the user to the object included in the picture of the target video in the state that the volume is to be adjusted.
3. The method according to claim 1 or 2, wherein each volume adjustment control comprises a selection control and a volume bar control, the selection control is used for starting or closing the volume of the audio of the object in the picture of the target video, and the volume bar control is used for adjusting the volume value of the audio of the object when the volume of the audio of the object is in a starting state;
the second input is input by a user to the N selection controls corresponding to the N objects or the N volume bar controls corresponding to the N objects, or the second input is input by a user to the M selection controls corresponding to the N objects and the N-M volume bar controls, where M is a positive integer smaller than N.
4. The method according to claim 1 or 2, wherein the N objects are all objects in the at least one object, a target control is displayed on a screen of the target video, the target control is used for displaying volume adjustment controls corresponding to all objects in the screen of the target video, and the first input is an input of a user to the target control.
5. A volume adjustment device, characterized by comprising: the device comprises a receiving module, a display module and an adjusting module;
the receiving module is used for receiving a first input of a user under the condition of playing a target video, wherein the picture of the target video comprises at least one object, the first input is the selection input of the user to N objects in the at least one object, each object corresponds to a sound characteristic, and N is a positive integer;
the display module is configured to display N volume adjustment controls in response to the first input received by the receiving module, where each volume adjustment control corresponds to one of the N objects;
the receiving module is further configured to receive a second input of the user, where the second input is a selection input of the user to the N volume adjustment controls;
the adjusting module is used for responding to the second input received by the receiving module and respectively adjusting the volume values corresponding to the N objects;
the receiving module is further configured to receive a fourth input of the user, where the fourth input is an input of the user on a target object in the N objects;
the display module is further configured to display a mode selection control and a duration adjustment control corresponding to the target object in response to the fourth input received by the receiving module;
the mode selection control is used for setting an output mode of the audio corresponding to the target object, and the output mode comprises: the audio processing device comprises a first mode or a second mode, under the condition that the output mode is the first mode, the audio corresponding to the target object is stopped being output after a first duration, under the condition that the output mode is the second mode, the audio corresponding to the target object is started to be output after a second duration, and the duration adjusting control is used for setting the first duration or the second duration.
6. The volume adjustment device according to claim 5, characterized in that the volume adjustment device further comprises: a control module;
the receiving module is further configured to receive a third input of the user before the receiving of the first input of the user;
the control module is used for responding to the third input received by the receiving module and controlling the playing state of the target video to be in a volume to-be-adjusted state;
and displaying at least one volume adjusting control according to the input of the user to the object included in the picture of the target video in the state that the volume is to be adjusted.
7. The volume adjustment device according to claim 5 or 6, wherein each volume adjustment control comprises a selection control and a volume bar control, the selection control is used for starting or closing the volume of the audio of the object in the picture of the target video, and the volume bar control is used for adjusting the volume value of the audio of the object when the volume of the audio of the object is in a starting state;
the second input is input of a user to the N selection controls corresponding to the N objects or the N volume bar controls corresponding to the N objects, or the second input is input of a user to the M selection controls corresponding to the N objects and the N-M volume bar controls, where M is a positive integer smaller than N.
8. The volume adjustment apparatus according to claim 5 or 6, wherein the N objects are all objects in the at least one object, a target control is displayed on the screen of the target video, the target control is configured to display volume adjustment controls corresponding to all objects in the screen of the target video, and the first input is an input of the target control by a user.
CN202011272635.9A 2020-11-13 2020-11-13 Volume adjusting method and device Active CN112383817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011272635.9A CN112383817B (en) 2020-11-13 2020-11-13 Volume adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011272635.9A CN112383817B (en) 2020-11-13 2020-11-13 Volume adjusting method and device

Publications (2)

Publication Number Publication Date
CN112383817A CN112383817A (en) 2021-02-19
CN112383817B true CN112383817B (en) 2023-01-24

Family

ID=74582394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011272635.9A Active CN112383817B (en) 2020-11-13 2020-11-13 Volume adjusting method and device

Country Status (1)

Country Link
CN (1) CN112383817B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014983B (en) * 2021-03-08 2022-12-27 Oppo广东移动通信有限公司 Video playing method and device, storage medium and electronic equipment
CN113676668A (en) * 2021-08-24 2021-11-19 维沃移动通信有限公司 Video shooting method and device, electronic equipment and readable storage medium
CN115866126A (en) * 2021-09-23 2023-03-28 北京荣耀终端有限公司 Volume expansion method and electronic equipment
CN116156041A (en) * 2021-11-22 2023-05-23 北京荣耀终端有限公司 Volume adjusting method and electronic equipment
CN114245156A (en) * 2021-11-30 2022-03-25 广州繁星互娱信息科技有限公司 Live broadcast audio adjusting method and device, storage medium and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010608A (en) * 2019-12-20 2020-04-14 维沃移动通信有限公司 Video playing method and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8948568B2 (en) * 2012-07-31 2015-02-03 Google Inc. Customized video
CN105007522B (en) * 2015-07-09 2018-05-29 广东欧珀移动通信有限公司 A kind of broadcasting scene management method, system, playback terminal and control terminal
CN105025353B (en) * 2015-07-09 2018-09-04 广东欧珀移动通信有限公司 A kind of control method for playing back and user terminal
CN107396177B (en) * 2017-08-28 2020-06-02 北京小米移动软件有限公司 Video playing method, device and storage medium
US10581625B1 (en) * 2018-11-20 2020-03-03 International Business Machines Corporation Automatically altering the audio of an object during video conferences
CN109819314B (en) * 2019-03-05 2022-07-12 广州酷狗计算机科技有限公司 Audio and video processing method and device, terminal and storage medium
CN111246285A (en) * 2020-03-24 2020-06-05 北京奇艺世纪科技有限公司 Method for separating sound in comment video and method and device for adjusting volume

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010608A (en) * 2019-12-20 2020-04-14 维沃移动通信有限公司 Video playing method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Camtasia Studio对微课的后期编辑处理;李艳秋;《中国现代教育装备》;20180125;全文 *

Also Published As

Publication number Publication date
CN112383817A (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN112383817B (en) Volume adjusting method and device
CN111353839B (en) Commodity information processing method, commodity live broadcasting method, commodity information processing device and electronic equipment
CN111913628A (en) Sharing method and device and electronic equipment
US20170168628A1 (en) Method and electronic device for split-screen display
CN111857510B (en) Parameter adjusting method and device and electronic equipment
CN112433693B (en) Split screen display method and device and electronic equipment
CN111694490B (en) Setting method and device and electronic equipment
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
CN112099702A (en) Application running method and device and electronic equipment
CN112269509B (en) Information processing method and device and electronic equipment
CN112399238B (en) Video playing method and device and electronic equipment
WO2022237669A1 (en) Display control method and apparatus
CN114244952B (en) Alarm clock processing method and device, electronic equipment and medium
CN112637409B (en) Content output method and device and electronic equipment
CN115002551A (en) Video playing method and device, electronic equipment and medium
CN115543137A (en) Video playing method and device
CN111901482B (en) Function control method and device, electronic equipment and readable storage medium
CN113849721A (en) Buffer processing method and device
CN112099682A (en) Icon display method and device and electronic equipment
CN112887479B (en) Video playing method and device, electronic equipment and storage medium
CN114038488B (en) Method and device for acquiring and playing multimedia information and electronic equipment
CN114327714A (en) Application program control method, device, equipment and medium
CN113805972A (en) Application running method and device
CN112732392A (en) Operation control method and device for application program
CN116909451A (en) Sharing method and device and electronic 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