CN117055834A - Volume adjustment method, volume adjustment device and computer readable storage medium - Google Patents
Volume adjustment method, volume adjustment device and computer readable storage medium Download PDFInfo
- Publication number
- CN117055834A CN117055834A CN202210488428.XA CN202210488428A CN117055834A CN 117055834 A CN117055834 A CN 117055834A CN 202210488428 A CN202210488428 A CN 202210488428A CN 117055834 A CN117055834 A CN 117055834A
- Authority
- CN
- China
- Prior art keywords
- volume
- volume adjustment
- adjusting
- gesture
- adjustment
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000004044 response Effects 0.000 abstract description 14
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
Abstract
The embodiment of the application discloses a volume adjusting method, a volume adjusting device and a computer readable storage medium; when triggering operation for a display area of a terminal is detected, after a gesture event corresponding to the triggering operation is generated, a volume adjustment page is displayed according to the gesture event, and the current volume of the terminal is adjusted in response to adjustment operation for a volume adjustment control in the volume adjustment page; the volume adjusting device can improve the adjusting efficiency of volume adjustment.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a volume adjustment method, a volume adjustment device, and a computer readable storage medium.
Background
In recent years, with the rapid development of internet technology, the screen size of the intelligent terminal also tends to be full-screen increasingly, in order to improve the screen ratio, the number of entity keys on the intelligent terminal is also smaller and smaller, and the thickness of the terminal frame is extruded due to the appearance of the full-screen and curved-surface screens, so that the original entity volume keys are not placed in a structural space, and after the entity volume keys are cancelled by the mobile phone with high screen ratio, the volume cannot be adjusted rapidly, so that the adjustment efficiency of volume adjustment is lower.
Disclosure of Invention
Embodiments of the present application provide a volume adjustment method, apparatus, and computer-readable storage medium, which can improve the adjustment efficiency of volume adjustment.
A method of volume adjustment, comprising:
when a triggering operation for a display area of a terminal is detected, generating a gesture event corresponding to the triggering operation;
according to the gesture event, displaying a volume adjustment page, wherein the volume adjustment page comprises a volume adjustment control;
and responding to the adjusting operation for the volume adjusting control, and adjusting the current volume of the terminal.
Correspondingly, an embodiment of the present application provides a volume adjusting device, including:
the generating unit is used for generating a gesture event corresponding to a triggering operation when the triggering operation aiming at the display area of the terminal is detected;
the display unit is used for displaying a volume adjustment page according to the gesture event, wherein the volume adjustment page comprises a volume adjustment control;
and the adjusting unit is used for responding to the adjusting operation of the volume adjusting control and adjusting the current volume of the terminal.
Optionally, in some embodiments, the generating unit may be specifically configured to obtain a current display state of a display area of the terminal; when the current display state is bright screen display, acquiring trigger position information of the trigger operation in a preset time in the display area; and generating a gesture event corresponding to the triggering operation based on the triggering position information.
Optionally, in some embodiments, the generating unit may be specifically configured to identify, in the display area, an operation area corresponding to the trigger operation based on the trigger position information; and when the operation area is a target area, generating a gesture event corresponding to the triggering operation.
Optionally, in some embodiments, the display unit may be specifically configured to obtain event attribute information of the gesture event; identifying gesture tracks corresponding to the triggering operation in the event attribute information; and displaying a volume adjustment page based on the gesture track.
Optionally, in some embodiments, the display unit may be specifically configured to determine, according to the gesture track, a gesture type corresponding to the triggering operation; when the gesture type is a target gesture type, calling a volume adjusting component; and displaying a volume adjustment page based on the volume adjustment component.
Optionally, in some embodiments, the display unit may be specifically configured to display a volume selection page based on the volume adjustment component, where the volume selection page includes at least one volume type selection control capable of adjusting a volume; responding to triggering operation for the selection control, and acquiring current volume information of a target volume type corresponding to the selection control; and displaying a volume adjustment page based on the current volume information.
Optionally, in some embodiments, the adjusting unit may be specifically configured to obtain sliding information corresponding to the adjusting operation, and determine an adjustment parameter for the current volume based on the sliding information; and adjusting the current volume of the terminal based on the adjustment parameter.
In addition, the embodiment of the application also provides electronic equipment, which comprises a processor and a memory, wherein the memory stores an application program, and the processor is used for running the application program in the memory to realize the volume adjusting method provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer readable storage medium, which stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in any of the volume adjustment methods provided by the embodiment of the application.
When triggering operation for a display area of a terminal is detected, after a gesture event corresponding to the triggering operation is generated, a volume adjustment page is displayed according to the gesture event, and the current volume of the terminal is adjusted in response to adjustment operation for a volume adjustment control in the volume adjustment page; according to the scheme, the volume adjustment page can be displayed by detecting the triggering operation aiming at the display area of the terminal, and the volume is quickly adjusted through the volume adjustment control of the volume adjustment page, so that the adjustment efficiency of the volume adjustment can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of a volume adjustment method according to an embodiment of the present application;
fig. 2 is a flow chart of a volume adjustment method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of adjusting volume when a touch gesture is a V gesture according to an embodiment of the present application;
fig. 4 is a page schematic diagram of a volume adjustment page according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a volume adjusting device according to an embodiment of the present application;
fig. 6 is a 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 completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a volume adjustment method, a volume adjustment device and a computer readable storage medium. The volume adjusting device can be integrated in electronic equipment, and the electronic equipment can be a server, a terminal and other equipment.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
For example, referring to fig. 1, taking an example that a volume adjustment processing device is integrated in an electronic device, after the electronic device generates a gesture event corresponding to a trigger operation when the trigger operation is detected for a display area of a terminal, a volume adjustment page is displayed according to the gesture event, and the current volume of the terminal is adjusted in response to an adjustment operation for a volume adjustment control in the volume adjustment page, so that the adjustment efficiency of volume adjustment is improved.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The present embodiment will be described in terms of a volume adjustment device, which may be integrated in an electronic apparatus, and the electronic apparatus may be a server or a terminal, etc.; the terminal may include a tablet computer, a notebook computer, a personal computer (PC, personal Computer), a wearable device, a virtual reality device, or other devices capable of performing volume adjustment.
A method of volume adjustment, comprising:
when the triggering operation for the display area of the terminal is detected, a gesture event corresponding to the triggering operation is generated, and according to the gesture event, a volume adjustment page is displayed, wherein the volume adjustment page comprises a volume adjustment control, and the current volume of the terminal is adjusted in response to the adjustment operation for the volume adjustment control.
As shown in fig. 2, the specific flow of the volume adjustment method is as follows:
101. and when the triggering operation for the display area of the terminal is detected, generating a gesture event corresponding to the triggering operation.
The display area is an area where the terminal displays, and may be understood as an area where a screen of the terminal is located.
The gesture event may be event information generated after the user performs gesture triggering on a screen of the terminal.
When a triggering operation for a display area of a terminal is detected, a plurality of modes for generating a gesture event corresponding to the triggering operation may be provided, which may be specifically as follows:
for example, when a trigger operation for a display area of a terminal is detected, a current display state of the display area of the terminal is acquired, when the current display state is a bright screen display, trigger position information of the trigger operation within a preset time is acquired in the display area, and a gesture event corresponding to the trigger operation is generated based on the trigger position information.
The bright screen display is understood to be a display state of a display area when a display screen of the terminal is in a screen bright screen state. The trigger position information may be position information where the user is located when the user triggers in the display area of the terminal. The manner of generating the gesture event corresponding to the trigger operation may be various based on the trigger position information, for example, an operation area corresponding to the trigger operation is identified in the display area based on the trigger position information, and when the operation area is a target area, the gesture event corresponding to the trigger operation is generated.
The target area may be a preset volume identification area in the display area, where the volume identification area may be any one or more areas in the display area, so that, for convenience in adjusting the volume by a user, the target area may be set according to the size of the display area, or may also be set according to the position of a physical key on the side of the terminal, for example, one or more areas may be set above a power fingerprint key (left and right of the screen), and the area is taken as the volume identification area. The size of the volume recognition area may be set according to the actual application.
102. And displaying a volume adjustment page according to the gesture event.
The volume adjustment page may be a page for adjusting the volume of the terminal.
The manner of displaying the volume adjustment page according to the gesture event may be various, and specifically may be as follows:
for example, event attribute information of a gesture event may be acquired, a gesture track corresponding to a trigger operation is identified in the event attribute information, and a volume adjustment page is displayed based on the gesture track.
A gesture track may be understood as a track formed by a trigger point or line corresponding to a trigger operation in a period of time. The manner of identifying the gesture track corresponding to the trigger operation in the event attribute information may be various, for example, the position information of the contact corresponding to the trigger operation at each moment may be extracted from the event attribute information, the contact with a larger front-back error is cleaned based on the position information, the cleaned contact is obtained, and the cleaned contact is connected, so that the gesture track corresponding to the trigger operation is obtained.
After the gesture track corresponding to the triggering operation is identified, the volume adjustment page can be displayed based on the gesture track, and various modes of displaying the volume adjustment page can be adopted, for example, the gesture type corresponding to the triggering operation is determined according to the gesture track, and when the gesture type is the target gesture type, the volume adjustment assembly is called, and the volume adjustment page is displayed based on the volume adjustment assembly.
The target gesture may be a preset gesture for volume adjustment, the gesture may be set according to an actual application, one or more gestures, taking the target gesture as V as an example, and when the gesture type corresponding to the triggering operation is the V gesture, the volume adjustment component may be invoked, so that a volume adjustment page may be displayed, as shown in fig. 3.
After the volume adjustment component is invoked, a volume adjustment page can be displayed, and various manners of displaying the volume adjustment page can be adopted, for example, a volume selection page is displayed based on the volume adjustment page, the volume selection page comprises at least one volume type selection control capable of adjusting volume, current volume information of a target volume type corresponding to the selection control is obtained in response to triggering operation of the selection control, and the volume adjustment page is displayed based on the current volume information.
The volume type may be a type in which volume can be adjusted in the terminal, for example, may be media volume, ring volume, or call volume. The current volume information may be information of a volume set in the terminal at this time for the selected target volume type, for example, may be a bell type, a volume size of a bell, a volume size of vibration, or the like. There are various ways to display the volume adjustment page based on the current volume information, for example, a volume adjustment bar of the target volume type is generated based on the current volume information, and the volume adjustment bar is displayed as a volume adjustment control on the volume adjustment page, which may be specifically shown in fig. 4.
103. And adjusting the current volume of the terminal in response to the adjustment operation for the volume adjustment control.
For example, in response to an adjustment operation for a volume adjustment control, sliding information corresponding to the adjustment operation may be acquired, an adjustment parameter for a current volume may be determined based on the sliding information, and the current volume of the terminal may be adjusted based on the adjustment parameter.
The sliding information may be information of sliding operation performed on the volume adjustment bar when the volume adjustment control is the volume adjustment bar, for example, may include information of a sliding distance, a sliding position, a sliding speed, a sliding direction, and the like. The adjustment parameter may be understood as parameter information for adjusting the current volume, for example, may be a volume adjustment amplitude or magnitude, etc. The manner of determining the adjustment parameter for the current volume may be various based on the sliding information, for example, the sliding distance may be extracted from the sliding information, the sliding distance may be compared with the real area, and the adjustment parameter may be determined based on the comparison result, or the sliding start/stop point may be identified in the sliding information, and the adjustment range or the adjustment amplitude for the volume adjustment bar may be mapped based on the start/stop point, so as to obtain the adjustment parameter.
After the adjustment parameter is obtained, the current volume of the terminal can be adjusted based on the adjustment parameter, and various adjustment modes can be adopted, for example, the current volume can be directly adjusted to the target volume corresponding to the adjustment parameter, or the volume adjustment value of the current volume can be determined based on the adjustment parameter, and the current volume is adjusted based on the volume adjustment value, so that the adjusted target volume is obtained.
The method and the device have the advantages that when a system recognizes a specific touch gesture in a screen volume recognition area, a mobile phone system calls out a volume key adjustment icon, a user can adjust the volume by sliding fingers, in addition, in the implementation process, a simpler touch gesture can be used, so that the adjustment speed of volume adjustment is improved.
Taking a terminal as an example of a mobile phone, the key of the scheme is to introduce a physical-free virtual volume key adjustment design at a system end of the mobile phone. A screen area is arranged on the upper half part of the mobile phone screen (the lower half part of the screen is used for comprehensively returning gestures above the power fingerprint key) for detecting special touch gestures, when the system end recognizes the special touch gestures in the area, the mobile phone system calls out and displays volume key adjusting icons, and a user can adjust the volume through finger sliding. In addition, the scheme can also be applied to televisions or other intelligent terminals.
As can be seen from the above, in the embodiment of the present application, when a triggering operation for a display area of a terminal is detected, after a gesture event corresponding to the triggering operation is generated, a volume adjustment page is displayed according to the gesture event, and the current volume of the terminal is adjusted in response to an adjustment operation for a volume adjustment control in the volume adjustment page; according to the scheme, the volume adjustment page can be displayed by detecting the triggering operation aiming at the display area of the terminal, and the volume is quickly adjusted through the volume adjustment control of the volume adjustment page, so that the adjustment efficiency of the volume adjustment can be improved.
In order to better implement the above method, the embodiment of the present application further provides a volume adjusting device, where the volume adjusting device may be integrated into an electronic device, such as a server or a terminal, where the terminal may include a tablet computer, a notebook computer, and/or a personal computer.
For example, as shown in fig. 5, the volume adjusting apparatus may include a generating unit 201, a display unit 202, and an adjusting unit 203, as follows:
(1) A generating unit 201;
the generating unit 201 is configured to generate a gesture event corresponding to a trigger operation when the trigger operation for the display area of the terminal is detected.
For example, the generating unit 201 may be specifically configured to, when a trigger operation for a display area of the terminal is detected, obtain a current display state of the display area of the terminal, and when the current display state is a bright screen display, collect trigger position information of the trigger operation in a preset time in the display area, and generate a gesture event corresponding to the trigger operation based on the trigger position information.
(2) A display unit 202;
the display unit 202 is configured to display a volume adjustment page according to the gesture event, where the volume adjustment page includes a volume adjustment control.
For example, the display unit 202 may be specifically configured to obtain event attribute information of a gesture event, identify a gesture track corresponding to a trigger operation in the event attribute information, determine a gesture type corresponding to the trigger operation according to the gesture track, call a volume adjustment component when the gesture type is a target gesture type, and display a volume adjustment page based on the volume adjustment component.
(3) An adjusting unit 203;
and the adjusting unit 203 is used for adjusting the current volume of the terminal in response to the adjusting operation of the volume adjusting control.
For example, the adjusting unit 203 may specifically be configured to, in response to an adjustment operation for a volume adjustment control, obtain sliding information corresponding to the adjustment operation, determine an adjustment parameter for a current volume based on the sliding information, and adjust the current volume of the terminal based on the adjustment parameter.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the foregoing, in this embodiment, after the generating unit 201 detects a triggering operation for a display area of a terminal, and generates a gesture event corresponding to the triggering operation, the display unit 202 displays a volume adjustment page according to the gesture event, and the adjusting unit 203 adjusts the current volume of the terminal in response to an adjustment operation for a volume adjustment control in the volume adjustment page; according to the scheme, the volume adjustment page can be displayed by detecting the triggering operation aiming at the display area of the terminal, and the volume is quickly adjusted through the volume adjustment control of the volume adjustment page, so that the adjustment efficiency of the volume adjustment can be improved.
The embodiment of the application also provides an electronic device, as shown in fig. 6, which shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 301, one or more computer-readable storage media's memory 302, power supply 303, and input unit 304, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 301 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 302, and calling data stored in the memory 302, thereby performing overall monitoring of the electronic device. Optionally, processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 301.
The memory 302 may be used to store software programs and modules, and the processor 301 executes various functional applications and data processing by executing the software programs and modules stored in the memory 302. The memory 302 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
The electronic device further comprises a power supply 303 for powering the various components, preferably the power supply 303 is logically connected to the processor 301 by a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 303 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 304, which input unit 304 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 301 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 executes the application programs stored in the memory 302, so as to implement various functions as follows:
when the triggering operation for the display area of the terminal is detected, a gesture event corresponding to the triggering operation is generated, and according to the gesture event, a volume adjustment page is displayed, wherein the volume adjustment page comprises a volume adjustment control, and the current volume of the terminal is adjusted in response to the adjustment operation for the volume adjustment control.
For example, when the electronic device detects a trigger operation for a display area of the terminal, the electronic device obtains a current display state of the display area of the terminal, and when the current display state is a bright screen display, acquires trigger position information of the trigger operation within a preset time in the display area, and generates a gesture event corresponding to the trigger operation based on the trigger position information. Acquiring event attribute information of a gesture event, identifying a gesture track corresponding to a triggering operation in the event attribute information, determining a gesture type corresponding to the triggering operation according to the gesture track, calling a volume adjusting component when the gesture type is a target gesture type, and displaying a volume adjusting page based on the volume adjusting component. And responding to the adjustment operation for the volume adjustment control, acquiring sliding information corresponding to the adjustment operation, determining an adjustment parameter for the current volume based on the sliding information, and adjusting the current volume of the terminal based on the adjustment parameter.
The specific implementation of each operation may be referred to the previous embodiments, and will not be described herein.
As can be seen from the above, in the embodiment of the present application, when a triggering operation for a display area of a terminal is detected, after a gesture event corresponding to the triggering operation is generated, a volume adjustment page is displayed according to the gesture event, and the current volume of the terminal is adjusted in response to an adjustment operation for a volume adjustment control in the volume adjustment page; according to the scheme, the volume adjustment page can be displayed by detecting the triggering operation aiming at the display area of the terminal, and the volume is quickly adjusted through the volume adjustment control of the volume adjustment page, so that the adjustment efficiency of the volume adjustment can be improved.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any of the volume adjustment methods provided by the embodiments of the present application. For example, the instructions may perform the steps of:
when the triggering operation for the display area of the terminal is detected, a gesture event corresponding to the triggering operation is generated, and according to the gesture event, a volume adjustment page is displayed, wherein the volume adjustment page comprises a volume adjustment control, and the current volume of the terminal is adjusted in response to the adjustment operation for the volume adjustment control.
For example, when the electronic device detects a trigger operation for a display area of the terminal, the electronic device obtains a current display state of the display area of the terminal, and when the current display state is a bright screen display, acquires trigger position information of the trigger operation within a preset time in the display area, and generates a gesture event corresponding to the trigger operation based on the trigger position information. Acquiring event attribute information of a gesture event, identifying a gesture track corresponding to a triggering operation in the event attribute information, determining a gesture type corresponding to the triggering operation according to the gesture track, calling a volume adjusting component when the gesture type is a target gesture type, and displaying a volume adjusting page based on the volume adjusting component. And responding to the adjustment operation for the volume adjustment control, acquiring sliding information corresponding to the adjustment operation, determining an adjustment parameter for the current volume based on the sliding information, and adjusting the current volume of the terminal based on the adjustment parameter.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Because the instructions stored in the computer readable storage medium can execute the steps in any volume adjustment method provided by the embodiments of the present application, the beneficial effects that any volume adjustment method provided by the embodiments of the present application can achieve can be achieved, which are detailed in the previous embodiments and are not described herein.
Wherein according to an aspect of the application, a computer program product or a computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from a computer-readable storage medium by a processor of an electronic device, which executes the computer instructions, causing the electronic device to perform the methods provided in various alternative implementations of the volume adjustment aspects or volume adjustment aspects described above.
The foregoing has described in detail the methods, apparatuses and computer readable storage medium for volume adjustment provided by embodiments of the present application, and specific examples have been provided herein to illustrate the principles and implementations of the present application, the above description of the embodiments being only for aiding in the understanding of the methods and core ideas of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.
Claims (10)
1. A method of volume adjustment, comprising:
when a triggering operation for a display area of a terminal is detected, generating a gesture event corresponding to the triggering operation;
according to the gesture event, displaying a volume adjustment page, wherein the volume adjustment page comprises a volume adjustment control;
and responding to the adjusting operation for the volume adjusting control, and adjusting the current volume of the terminal.
2. The method for adjusting volume according to claim 1, wherein the generating the gesture event corresponding to the triggering operation includes:
acquiring the current display state of the display area of the terminal;
when the current display state is bright screen display, acquiring trigger position information of the trigger operation in a preset time in the display area;
and generating a gesture event corresponding to the triggering operation based on the triggering position information.
3. The method for adjusting volume according to claim 2, wherein generating the gesture event corresponding to the trigger operation based on the trigger position information includes:
identifying an operation area corresponding to the triggering operation in the display area based on the triggering position information;
and when the operation area is a target area, generating a gesture event corresponding to the triggering operation.
4. A method of volume adjustment according to any one of claims 1 to 3, wherein the displaying a volume adjustment page in accordance with the gesture event comprises:
acquiring event attribute information of the gesture event;
identifying gesture tracks corresponding to the triggering operation in the event attribute information;
and displaying a volume adjustment page based on the gesture track.
5. The method for adjusting volume according to claim 4, wherein displaying a volume adjustment page based on the gesture track comprises:
determining a gesture type corresponding to the triggering operation according to the gesture track;
when the gesture type is a target gesture type, calling a volume adjusting component;
and displaying a volume adjustment page based on the volume adjustment component.
6. The method of volume adjustment according to claim 5, wherein displaying a volume adjustment page based on the volume adjustment component comprises:
displaying a volume selection page based on the volume adjustment component, wherein the volume selection page comprises at least one volume type selection control capable of adjusting volume;
responding to triggering operation for the selection control, and acquiring current volume information of a target volume type corresponding to the selection control;
and displaying a volume adjustment page based on the current volume information.
7. A method of adjusting the volume of a terminal according to any one of claims 1 to 3, wherein the adjusting the current volume of the terminal comprises:
acquiring sliding information corresponding to the adjustment operation, and determining an adjustment parameter for the current volume based on the sliding information;
and adjusting the current volume of the terminal based on the adjustment parameter.
8. A volume adjustment device, comprising:
the generating unit is used for generating a gesture event corresponding to a triggering operation when the triggering operation aiming at the display area of the terminal is detected;
the display unit is used for displaying a volume adjustment page according to the gesture event, wherein the volume adjustment page comprises a volume adjustment control;
and the adjusting unit is used for responding to the adjusting operation of the volume adjusting control and adjusting the current volume of the terminal.
9. An electronic device comprising a processor and a memory, the memory storing an application, the processor being configured to run the application in the memory to perform the steps in the volume adjustment method of any one of claims 1 to 7.
10. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the volume adjustment method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210488428.XA CN117055834A (en) | 2022-05-06 | 2022-05-06 | Volume adjustment method, volume adjustment device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210488428.XA CN117055834A (en) | 2022-05-06 | 2022-05-06 | Volume adjustment method, volume adjustment device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117055834A true CN117055834A (en) | 2023-11-14 |
Family
ID=88655945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210488428.XA Pending CN117055834A (en) | 2022-05-06 | 2022-05-06 | Volume adjustment method, volume adjustment device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117055834A (en) |
-
2022
- 2022-05-06 CN CN202210488428.XA patent/CN117055834A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107390923B (en) | Screen false touch prevention method and device, storage medium and terminal | |
CN109062464B (en) | Touch operation method and device, storage medium and electronic equipment | |
US20170277419A1 (en) | Method and Electronic Device for Replying to a Message | |
CN112235629B (en) | Barrage shielding method and device, computer equipment and storage medium | |
CN113332726A (en) | Virtual character processing method and device, electronic equipment and storage medium | |
US20170277395A1 (en) | Control method for terminal and terminal | |
CN116307394A (en) | Product user experience scoring method, device, medium and equipment | |
CN115828845A (en) | Multimedia data viewing method, device, medium and equipment | |
CN112799754B (en) | Information processing method, information processing device, storage medium and computer equipment | |
CN115589432A (en) | Message push management method, device, medium and equipment | |
CN117055834A (en) | Volume adjustment method, volume adjustment device and computer readable storage medium | |
CN112783386A (en) | Page jump method, device, storage medium and computer equipment | |
CN114816597A (en) | Content display method and device and computer readable storage medium | |
CN114489445B (en) | Screen adjustment method and device, intelligent equipment and storage medium | |
US20140125607A1 (en) | Method for inputting instruction and portable electronic device and computer readable recording medium | |
CN112783860B (en) | Method, device, storage medium and computer equipment for constructing mirror image database | |
CN113419795B (en) | Call relation display method and device, computer equipment and storage medium | |
CN114489858B (en) | Application software information setting method and device, terminal equipment and storage medium | |
CN114100117B (en) | Game loading method, game loading device, computer equipment and storage medium | |
CN112579936B (en) | Page processing method and device and computer readable storage medium | |
CN117406869A (en) | Control triggering method and device, electronic equipment and computer storage medium | |
CN117408776A (en) | Virtual resource display method and device, computer equipment and storage medium | |
CN115757446A (en) | Personnel wage statistical method, device, medium and equipment | |
CN109343712B (en) | Tactile feedback method and tactile feedback device of terminal equipment and terminal equipment | |
CN111475043A (en) | Operation method and device of terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |