WO2021169846A1 - Display method and electronic device - Google Patents

Display method and electronic device Download PDF

Info

Publication number
WO2021169846A1
WO2021169846A1 PCT/CN2021/076780 CN2021076780W WO2021169846A1 WO 2021169846 A1 WO2021169846 A1 WO 2021169846A1 CN 2021076780 W CN2021076780 W CN 2021076780W WO 2021169846 A1 WO2021169846 A1 WO 2021169846A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume
electronic device
input
user
screen
Prior art date
Application number
PCT/CN2021/076780
Other languages
French (fr)
Chinese (zh)
Inventor
韩磊
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021169846A1 publication Critical patent/WO2021169846A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to a display method and electronic equipment.
  • volume adjustment the user can adjust the volume by pressing the volume button.
  • the media volume is adjusted by default when the sound used by the currently running application is the media volume.
  • the size of the ringtone, otherwise the volume of the ringtone is adjusted.
  • the electronic device can display a floating frame on the right side of the screen when the user presses the volume button, and the user can click the floating frame to the left
  • the arrow triggers the electronic device to expand the volume adjustment buttons in different modes, or triggers the electronic device to enter the system setting interface, and the user can adjust the volume of other modes.
  • the volume adjustment of the electronic device is not convenient enough.
  • the embodiments of the present invention provide a display method and an electronic device to solve the problem that the volume adjustment of the electronic device is not convenient enough.
  • an embodiment of the present invention provides a display method, the method includes: receiving a first input from a user; in response to the first input, sequentially displaying M volume controls and M volume controls along the target side of the screen of the electronic device The distance between the first side of each volume control and the target side is less than or equal to the preset threshold; wherein, the above M volume controls correspond to the M volume modes one-to-one, and the first side of each volume control is close to the target For the side of the side, M is an integer greater than 1.
  • an embodiment of the present invention also provides an electronic device, the electronic device includes: a receiving module and a display module; a receiving module for receiving a user's first input; a display module for responding to the receiving module
  • the first input is to display M volume controls in sequence along the target side of the screen of the electronic device, and the distance between the first side of each volume control in the M volume controls and the target side is less than or equal to the preset threshold;
  • the M volume controls have a one-to-one correspondence with the M volume modes.
  • the first side of each volume control is a side parallel to the target side, and M is an integer greater than 1.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor.
  • the computer program is executed by the processor to achieve the following On the one hand, the steps of the display method.
  • an embodiment of the present invention provides a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the display method as described in the first aspect are implemented.
  • the electronic device may respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device, each of the M volume controls The distance between the first side of the volume control and the target side is less than or equal to the preset threshold.
  • the electronic device can display the M volume controls corresponding to the M volume modes according to an input of the user. Therefore, when performing volume control, the user does not need to perform extra The operation can trigger the electronic device to display multiple volume controls.
  • the volume controls of multiple volume modes can be displayed, which simplifies the operation steps for the user to adjust the volume and makes the volume adjustment more convenient.
  • the M volume controls are displayed along the side of the target, which is convenient for the user to easily operate each volume control with one-handed operation along the side of the target, and the volume controls are displayed along the side of the screen, occupying the area of the screen Smaller, in the scene where users use electronic devices to watch videos, read, and play games, it has less impact on the display of other content on the screen.
  • FIG. 1 is a schematic structural diagram of a possible operating system provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a display method provided by an embodiment of the present invention.
  • FIG. 3 is one of the schematic diagrams of the display interface of the display method provided by the embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an indication track provided by an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an input provided by an embodiment of the present invention.
  • FIG. 7 is one of possible structural schematic diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 8 is a second schematic diagram of a possible structure of an electronic device provided by an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • A/B can mean A or B
  • the "and/or” in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean that: A alone exists, A and B exist at the same time, and B exists alone.
  • Multiple means two or more than two.
  • first and second in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects.
  • first volume control and the second volume control are used to distinguish different volume controls, rather than to describe the specific order of the volume controls.
  • the electronic device in the embodiment of the present invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • the following takes the operating system shown in FIG. 1 as an example to introduce the software environment to which the display method provided in the embodiment of the present invention is applied.
  • FIG. 1 it is a schematic structural diagram of a possible operating system provided by an embodiment of the present invention.
  • the architecture of the operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications in the operating system (including system applications and third-party applications).
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an operating system runtime environment.
  • the library mainly provides various resources required by the operating system.
  • the operating system operating environment is used to provide a software environment for the operating system.
  • the kernel layer is the operating system layer of the operating system and belongs to the lowest level of the operating system software.
  • the kernel layer provides core system services and hardware-related drivers for the operating system based on the Linux kernel.
  • developers can develop software programs that implement the display method provided by the embodiment of the present invention based on the system architecture of the operating system shown in FIG.
  • the display method can be run based on the operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the display method provided by the embodiment of the present invention by running the software program in the operating system.
  • FIG. 2 is a schematic flowchart of a display method provided by an embodiment of the present invention. As shown in FIG. 2, the display method may include the following S201 and S202:
  • the electronic device receives a user's first input.
  • the user can input the first input on the electronic device.
  • the first input may be an input by the user on the screen.
  • the first input may be an input of sliding according to a preset track.
  • the first input may also be an input of the user pressing a volume key (physical key).
  • the volume key of the electronic device includes two physical keys, that is, the electronic device includes a volume up button and a volume down button, the first input may be an input of the user pressing any one of the volume keys. If the volume key of the electronic device is a physical key, the first input may be an input of any position where the user presses the volume key.
  • the volume mode of the electronic device may include: ringtone volume, media volume, notification volume, alarm volume, call volume, smart voice volume, etc.
  • the electronic device In response to the first input, the electronic device sequentially displays M volume controls along the target side of the screen of the electronic device, and the distance between the first side of each volume control in the M volume controls and the target side is less than or equal to the preset value. Set the threshold.
  • the M volume controls correspond to the M volume modes one-to-one, the first side of each volume control is the side close to the target side, and M is an integer greater than 1.
  • the first side is the side displayed along the target side of the electronic device among the sides of the volume control.
  • the first side of each volume control is one of the two sides parallel to the target side.
  • the first side of each volume control is one of the two sides parallel to the target side. The side with the smaller distance.
  • the second side of one volume control and the first side of the one volume control are two adjacent sides, and the second side of the volume control may be a side displayed perpendicular to the target side.
  • the lengths of the second sides of the foregoing M volume controls may be the same or different, which is not specifically limited in the embodiment of the present invention.
  • the shape of the volume control can be a rectangle formed by a straight line, or a rectangle-like figure formed by a curve.
  • the side of the volume control can be a straight line segment or a wave.
  • the line segment of the line type may also be a curved line segment with arcs at both ends of a straight line in the middle, or an arc line segment, which is not specifically limited in the embodiment of the present invention.
  • the aforementioned "display M volume controls in sequence along the target side of the screen of the electronic device" can be used to indicate that each of the M volume controls is along the target side of the screen of the electronic device. show.
  • the target side may be one or more of the left frame of the screen, the right frame of the screen, the upper frame of the screen, and the lower frame of the screen of the electronic device.
  • the target side may be a fixed screen side, or may be a screen side determined according to the user's usage habits, which is not specifically limited in the embodiment of the present invention.
  • the distance between the first side of each volume control and the target side can be less than or equal to a preset threshold.
  • the distance between the first side of each volume control and the target side can be 0, that is, the volume control is displayed on the side of the screen.
  • the distance between the first side of the volume control and the target side can also be It is 1 mm, 2 mm, etc.
  • the embodiment of the present invention does not specifically limit the specific value of the distance between the first side of the volume control and the target side.
  • the distance between the first side of each of the M volume controls and the target side may be the same or different, which is not specifically limited in the embodiment of the present invention.
  • the length of the first side may be fixed, or may be changed according to the volume.
  • the length of the first side of a volume control can be proportional to the volume of the volume control.
  • the length of the first side of each volume control can be adjusted, the first side of the volume control can be the height of the volume control, and the second side of the volume control can be the width of the volume control.
  • the height of the volume control can be used to characterize the volume of the volume mode corresponding to the volume control.
  • the width of the aforementioned M volume controls (that is, the length of the second side) can be selected to be narrower, so as to avoid occupying more screen area.
  • the M volume controls may be M touch areas with different marks on the screen.
  • the M touch areas may be continuous screen areas or spaced screen areas, which are not specifically limited in the embodiment of the present invention.
  • the M volume controls may be rectangular touch areas with different marked edges of the screen, and the electronic device may use different display positions to distinguish the volume mode corresponding to each volume control in the M volume controls, or use touch areas. Fill different colors or fill different patterns to distinguish the volume mode corresponding to each volume control.
  • FIG. 3 is a schematic diagram of a display interface of a display method provided by an embodiment of the present invention.
  • each touch area is filled with different patterns to distinguish different volume controls, and the electronic device is attached to the left side of the screen Side 3a displays volume control 31, volume control 32, volume control 33, and volume control 34.
  • the height of each volume control can be used to represent the current volume level of each volume mode. Among them, the height of the volume control 31 is H31 (that is, the length of the first side), and the width is L0 (that is, the length of the second side).
  • the user can adjust the volume of the ringtone through the volume control 31; the height of the volume control 32 is H32, The width is L0, the user can adjust the volume of the media through the volume control 32; the height of the volume control 33 is H33, the width is L0, the user can adjust the volume of the alarm clock through the volume control 33; the height of the volume control 34 is H44, the width is L0, the user can adjust the volume of the notification through the volume control 34.
  • the first input may be a user's pressing input on the physical volume button 30 shown in FIG. 3.
  • the above example only takes one of the four borders of the screen as the target side for illustration.
  • the above four volume controls can be displayed on the screen positions corresponding to multiple borders.
  • the target side may be one or more of the left frame 3a of the screen of the electronic device, the right frame 3b of the screen, the upper frame 3c of the screen, and the lower frame 3d of the screen.
  • the electronic device can display the volume control 31 and the volume control 32 on the left border 3a of the screen, and can display the volume control 33 and the volume control 34 on the right border 3b of the screen.
  • the user can adjust (turn up or down) the volume in the corresponding volume mode through the volume control displayed on the electronic device.
  • the electronic device can be triggered to increase the volume of the alarm clock, and if the user slides to the bottom of the screen at the position of the volume control 33, the electronic device can be triggered to adjust The volume of the small alarm clock.
  • the user can also press and hold on point A of the volume control 33, and the electronic device can decrease the volume of the alarm clock according to the long press time.
  • the user can press and hold on point B of the volume control 33 and the electronic device can increase according to the long press time.
  • the volume of the alarm clock is if the user slides to the top of the screen at the position of the volume control 33, the electronic device can be triggered to increase the volume of the alarm clock, and if the user slides to the bottom of the screen at the position of the volume control 33, the electronic device can be triggered to adjust The volume of the small alarm clock.
  • the user can also press and hold on point A of the volume control 33, and the electronic
  • the electronic device after receiving the first input of the user, the electronic device can respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device.
  • M volume controls The distance between the first side of each volume control and the target side is less than or equal to the preset threshold.
  • the electronic device can display the M volume controls corresponding to the M volume modes according to an input of the user. Therefore, when performing volume control, the user does not need to perform extra The operation can trigger the electronic device to display multiple volume controls.
  • the volume controls of multiple volume modes can be displayed, which simplifies the operation steps for the user to adjust the volume and makes the volume adjustment more convenient.
  • the M volume controls are displayed along the side of the target, which is convenient for the user to easily operate each volume control with one-handed operation along the side of the target, and the volume controls are displayed along the side of the screen, occupying the area of the screen Smaller, in the scene where users use electronic devices to watch videos, read, and play games, it has less impact on the display of other content on the screen.
  • the target side is the edge of the screen corresponding to the side frame held by the holding hand when the user holds the electronic device with one hand; or, the target side is the screen edge that is the most frequently operated by the user The screen area corresponding to the screen edge; or, the target side is the screen edge corresponding to one of the left and right frames of the electronic device when the electronic device is in a landscape display state.
  • the electronic device may determine whether the electronic device is in a preset state.
  • the preset state may include any one of the following: the user holds the electronic device with one hand with the left hand, the user holds the electronic device with one hand with the right hand, and the electronic device is in a horizontal screen state.
  • the left screen frame may be determined as the target side according to the position where the user holds with the left hand with one hand. If the electronic device determines that the user is holding the electronic device with one hand with the right hand, the screen border on the right may be determined as the target side according to the position where the user holds with the one hand with the right hand.
  • the electronic device can recognize whether the user is currently holding it with the left hand or the right hand according to the temperature sensor, the pressure sensor, and the like.
  • the target side can be the left border 3a of the screen, and if the user holds the electronic device with the right hand, the target side can be the right border 3b of the screen.
  • the electronic device determines that the user often operates in the left screen area of the electronic device according to the user's historical behavior data, it may be determined that the left screen frame is the target side. If the electronic device determines that the user often operates in the right screen area of the electronic device according to the user's historical behavior data, it can determine that the right screen frame is the target side.
  • the target side can be determined according to the user's operation parameters (number of clicks, number of swipes, operation duration, etc.) on different screen areas. For example, if the number of operations of the user on the left screen (for example, 99 times) is far more than the number of operations on the right screen (for example, 2 times) within the preset time period, it can be determined that the left screen frame is the target side. If the number of operations on the right screen by the user in the preset time period is much greater than the number of operations on the left screen, the screen border on the right can be determined to be the target side.
  • the user's operation parameters number of clicks, number of swipes, operation duration, etc.
  • the electronic device determines that the electronic device is in the horizontal screen state, it can be determined that at least one of the left frame and the right frame of the screen of the electronic device in the horizontal screen state is the target side.
  • the screen side 3c may be the left border of the screen in the landscape state, and the screen side 3d may be the right border of the screen in the landscape state.
  • the screen side 3c may be the right border of the screen in the landscape state, and the screen side 3d may be the left border of the screen in the landscape state.
  • the electronic device when the electronic device is in the landscape state, the electronic device can display M volume controls on at least one of the left side and the right side of the screen in the landscape state, displayed on the left side of the screen or On the right side, the screen area occupied by the volume control can be reduced.
  • the user holds the left and right sides with both hands, it can avoid the situation that the display on the upper and lower sides can not be operated, such as the user is in the horizontal position of the electronic device.
  • Watching film and television works or playing games in the screen state can facilitate the user to operate the volume control, making it more convenient to adjust the volume.
  • the electronic device can select the target side according to the position held by the user with one hand, that is, the display position of the M volume controls can be flexibly adjusted according to the holding state of the user. In the case of the user holding it with one hand, There is no need for the user to adjust the holding gesture, and the volume in each volume mode of the electronic device can be quickly adjusted, making it more convenient to adjust the volume.
  • the electronic device can also select the screen side corresponding to the screen area frequently operated by the user as the target side according to the user's historical behavior data, so that when the user adjusts the volume, the position of the displayed volume control is better in line with the user's habit.
  • the electronic device can also adjust the display position of the display volume control according to whether the electronic device is in the horizontal screen state, which is convenient for the user to operate, and therefore it is more convenient to adjust the volume.
  • the electronic device may or may not display a specific volume value on the volume control, which is not specifically limited in the embodiment of the present invention.
  • the display size of the volume control may indicate the volume value of the current volume.
  • the maximum display sizes of M volume controls are the same, and the ratio of the actual display size of the volume control to the maximum display size may indicate the actual volume value in the current volume mode.
  • the electronic device may not display a specific volume value on the volume control. If the user chooses to adjust the volume of a volume mode, the electronic device may select the volume mode and display it on the volume control of the volume mode. Display the current volume value.
  • the display method provided in the embodiment of the present invention may further include the following S203 and S204 after the foregoing S202:
  • the electronic device receives a second input of the user selecting the first volume control from the M volume controls.
  • the second input is an input of the user's contact on the display position where the first volume control is located on the screen, such as clicking, pressing, sliding, and so on.
  • the second input can be an input for the user to adjust the volume.
  • the second input can be an input for the user to slide up on the first volume control, or the second input can be an input for the user to slide down on the first volume control. .
  • the electronic device displays the volume value currently indicated by the first volume control and the volume adjustable range of the first volume control in the display area where the first volume control is located.
  • the electronic device may use different fills (colors or patterns) to indicate the current volume and volume adjustable range. For example, using color to fill the current volume, using gray to fill the range that can be increased.
  • FIG. 4 is a schematic diagram of a display interface of a display method provided by an embodiment of the present invention. Assuming that the user clicks on the volume control 32 in FIG. 3 (that is, the second input), the electronic device can display the white filled area shown in 32a , And the value 0 is displayed at the bottom of 32, the value 6 is displayed at the top of 32, and the value 10 is displayed at the top of 32a. Among them, the total height of 32a and 32 is the adjustable range of the media volume, that is, the maximum value of the media volume is 10, and the minimum value of the media volume is 0.
  • the height of the first volume control can change with the input parameter of the second input, and the actual volume value displayed can also follow the input parameter of the second input. Change and change. For example, if the user increases the volume of the media, the height of the area 32 increases, and the value displayed on the area 32 increases.
  • the electronic device can display the volume value currently indicated by the first volume control and the adjustable volume range of the first volume control on the first volume control after the user selects the first volume control, which can prompt the user of the current volume
  • the adjustable range of the value and volume is convenient for users to refer to during the adjustment process.
  • the display method provided in the embodiment of the present invention may further include the following S205 to S208 after the foregoing S202:
  • the electronic device receives a third input of the user selecting the second volume control from the M volume controls.
  • the third input may be an input of the user clicking the second volume control.
  • the electronic device displays the first indication track and the second indication track.
  • the first indication trajectory prompts the user to increase the volume
  • the second indication trajectory prompts the user to decrease the volume
  • the first trajectory and the second trajectory may be trajectories parallel to the side of the target, or trajectories that are not parallel to the side of the target.
  • FIG. 5 is a schematic diagram of an indication track provided by an embodiment of the present invention.
  • the electronic device may display parallel to the left frame 3a.
  • the indicator track 31a and the indicator track 31b of the indicator track 31a can instruct to turn up the volume, and the indicator track 31b can instruct to turn down the volume.
  • the electronic device may also display an indication track 31c and an indication track 31d that are not parallel to the left border 3a, and the indication track 31c may indicate to increase the volume , Indicating track 31d can indicate turning down the volume.
  • the user can perform fine-tuning according to the first indication track and the second indication track (for example, the orientation hint track shown in (a) in FIG. 5).
  • the volume control selected by the user is an inconvenient volume control
  • the area to slide up is small, or the area to slide down is small.
  • the second volume control is the volume control near the top of the target side or the bottom of the screen.
  • the electronic device can display the track of the orientation shown in (b) in Figure 5, which can prompt the user to increase the volume according to the orientation of 31c.
  • the direction of the camera can be turned down.
  • S207 The electronic device receives a fourth input input by the user according to the target indication track.
  • the target indication trajectory is one of the first indication trajectory and the second indication trajectory.
  • the fourth input may be a long press input or a sliding input, which is not specifically limited in the embodiment of the present invention.
  • the fourth input may be an input of a long press by the user at the position of the first prompt track or the second prompt track, or an input of sliding along the direction of the first prompt track or the direction of the second prompt track.
  • the electronic device In response to the fourth input, the electronic device adjusts the volume corresponding to the second volume control according to the input parameter of the fourth input.
  • the fourth input input parameter may include: the length of time input along the target indication trajectory, and the trajectory length input along the target indication trajectory.
  • the electronic device upon receiving the input of the user selecting the second volume control from the M volume controls, the electronic device can display the indication track on the screen.
  • the first indication track can prompt the user to turn up the volume
  • the second indication track can prompt the user Turn down the volume to expand the range of the adjustment area when the user needs fine adjustment or it is inconvenient to adjust on the volume control. This allows the user to conveniently adjust the volume according to the prompt trajectory.
  • the user can slide on the volume control to gradually adjust to mute, or use the following method to quickly adjust to mute.
  • the display method provided in the embodiment of the present invention may further include the following S209 and S210 after the foregoing S202:
  • the electronic device receives a fifth input from the user, where the fifth input is an input of the user sliding on the screen toward the third volume control of the M volume controls in a preset direction.
  • the fifth input is an input that is vertical to the side of the target and slides toward the third volume control among the M volume controls.
  • the fifth input may be the input of the user sliding to the third volume control on the left side of the screen, and the target side is the right side of the screen.
  • the fifth input may be an input of the user sliding to the third volume control on the right side of the screen.
  • the electronic device In response to the fifth input, the electronic device adjusts the volume of the volume mode corresponding to the third volume control to zero.
  • Figure 6 is a schematic diagram of an input provided by an embodiment of the present invention. If the user needs to quickly adjust the volume of the media to zero, the user can slide the volume control 32 on the screen, and the direction of the slide can be as shown in 32b in Figure 6. Pointing to the direction of the arrow, the electronic device can quickly adjust the media volume to zero.
  • the user can trigger the electronic device to quickly adjust the volume of the volume mode corresponding to the third volume control by sliding input along the preset direction toward the third volume control of the M volume controls on the screen of the electronic device If it is zero, it is more convenient to adjust the volume.
  • the arrangement sequence of the M volume controls may be fixed or customized by the user, or may be flexibly adjusted according to the volume mode corresponding to the application running in the foreground.
  • the fourth volume control of the M volume controls is displayed in the target touch area.
  • the fourth volume control corresponds to the target volume mode
  • the target volume mode is the volume mode corresponding to the application running in the foreground
  • the target touch area is the screen area corresponding to the user's holding position in the case of one-handed operation.
  • the holding position is the position where the user's hand contacts the frame of the electronic device, where the target touch area and the holding position overlap partially or completely.
  • the electronic device After the electronic device receives the first input, if it is determined that the user is operating with one hand, it can determine the holding position of the one-handed grip, and determine the volume mode corresponding to the application running in the foreground of the electronic device, that is, the target volume mode , And then display the volume control corresponding to the target volume mode on the screen area adjacent to the user's holding position.
  • the volume mode corresponding to the application running in the foreground is a ringtone
  • the volume control 32 can be displayed in the middle near the right frame 3b. area.
  • the electronic device can display the fourth volume control of the M volume controls in the target touch area, because the fourth volume control corresponds to the volume mode corresponding to the application running in the foreground , Because the target touch area corresponds to the user’s holding position, in the case of the user’s one-handed operation, the fourth control is closer to the user’s holding position, which can facilitate the user to quickly adjust the volume mode corresponding to the application running in the foreground volume.
  • FIG. 7 is a schematic diagram of a possible structure of an electronic device provided by an embodiment of the present invention.
  • the electronic device 700 includes: a receiving module 701 and a display module 702; the receiving module 701 is configured to receive a user's first input;
  • the display module 702 is configured to, in response to the first input received by the receiving module 701, sequentially display M volume controls along the target side of the screen of the electronic device, and the first side of each volume control in the M volume controls is the target The distance between the sides is less than or equal to a preset threshold; wherein, the M volume controls correspond to M volume modes one-to-one, the first side of each volume control is the side close to the target side, and M is an integer greater than 1.
  • the receiving module 701 is further configured to: after the display module 702 sequentially displays M volume controls along the target side of the screen of the electronic device 700, receive a second input of the user selecting the first volume control from the M volume controls
  • the display module 702 is also configured to display the volume value currently indicated by the first volume control and the adjustable range of the first volume control in the display area of the first volume control in response to the second input received by the receiving module 701.
  • the electronic device 700 further includes: an adjustment module 703; a receiving module 701, which is further configured to sequentially display M volume controls on the display module 702 along the target side of the screen of the electronic device 700 Afterwards, receiving the third input of the user selecting the second volume control from the above M volume controls; the display module 702 is further configured to display the first indication track and the second indication track in response to the third input received by the receiving module 701; The receiving module 701 is further configured to receive a fourth input input by the user according to the target indication track; the adjusting module 703 is configured to respond to the fourth input received by the receiving module 701 and adjust the second volume control corresponding to the input parameters of the fourth input.
  • the electronic device 700 further includes: an adjustment module 703; a receiving module 701, which is further configured to receive the user after the display module 702 sequentially displays M volume controls along the target side of the screen of the electronic device 700
  • the fifth input is the input of the user sliding toward the third volume control of the M volume controls on the screen in a preset direction;
  • the adjustment module 703 is configured to respond to the fifth input received by the receiving module 701, Adjust the volume of the volume mode corresponding to the third volume control to zero.
  • the target side is the screen edge corresponding to the side held by the holding hand when the user is holding the electronic device with one hand; or, the target side is the screen edge corresponding to the screen area where the user operates the most frequently .
  • the fourth volume control of the M volume controls is displayed in the target touch area; wherein, the fourth volume control corresponds to the target volume mode, the target volume mode is the volume mode corresponding to the application running in the foreground, and the target touch area
  • the screen area corresponding to the user's holding position is the position where the frame of the electronic device is in contact with the user's hand.
  • the electronic device 700 provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • An embodiment of the present invention provides an electronic device. After receiving a user's first input, the electronic device can respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device.
  • the M volume controls The distance between the first side of each volume control in and the target side is less than or equal to the preset threshold.
  • the electronic device can display the M volume controls corresponding to the M volume modes according to an input of the user. Therefore, when performing volume control, the user does not need to perform extra The operation can trigger the electronic device to display multiple volume controls.
  • the volume controls of multiple volume modes can be displayed, which simplifies the operation steps for the user to adjust the volume and makes the volume adjustment more convenient.
  • the M volume controls are displayed along the side of the target, which is convenient for the user to easily operate each volume control with one-handed operation along the side of the target, and the volume controls are displayed along the side of the screen, occupying the area of the screen. Smaller, in the scene where users use electronic devices to watch videos, read, and play games, it has less impact on the display of other content on the screen.
  • 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, User input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components.
  • a radio frequency unit 101 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, User input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the user input unit 107 is used to receive the user's first input; the display unit 106 is used to respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device.
  • the distance between the first side of each volume control and the target side is less than or equal to the preset threshold; wherein, the above M volume controls correspond to M volume modes one-to-one, and the first side of each volume control is the side close to the target M is an integer greater than 1.
  • An embodiment of the present invention provides an electronic device. After receiving a user's first input, the electronic device can respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device. Among the M volume controls The distance between the first side of each volume control and the target side is less than or equal to the preset threshold. On the one hand, since the M volume controls correspond to the M volume modes one-to-one, the electronic device can display the M volume controls corresponding to the M volume modes according to an input of the user. Therefore, when performing volume control, the user does not need to perform extra The operation can trigger the electronic device to display multiple volume controls.
  • the volume controls of multiple volume modes can be displayed, which simplifies the operation steps for the user to adjust the volume and makes the volume adjustment more convenient.
  • the M volume controls are displayed along the side of the target, which is convenient for the user to easily operate each volume control with one-handed operation along the side of the target, and the volume controls are displayed along the side of the screen, occupying the area of the screen. Smaller, in the scene where users use electronic devices to watch videos, read, and play games, it has less impact on the display of other content on the screen.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can turn off the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention further provides an electronic device.
  • it includes a processor 110, a memory 109, a computer program stored in the memory 109 and running on the processor 110, and the computer program is
  • the computer program is When 110 is executed, each process of the foregoing display method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned display method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.

Abstract

Provided are a display method and an electronic device. The method comprises: receiving a first input of a user; and sequentially displaying, in response to the first input, M volume controls along a target side edge of a screen of an electronic device, wherein the distance between a first edge of each volume control of the M volume controls and the target side edge is less than or equal to a preset threshold value, the M volume controls are in one-to-one correspondence with M volume modes, the first edge of each volume control is an edge close to the target side edge, and M is an integer greater than one.

Description

显示方法及电子设备Display method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年02月24日在中国提交的中国专利申请号202010113687.5的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010113687.5 filed in China on February 24, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种显示方法及电子设备。The embodiments of the present invention relate to the field of communication technologies, and in particular, to a display method and electronic equipment.
背景技术Background technique
随着通信技术的发展,电子设备中可以调整的参数越来越多,例如音量、亮度等。With the development of communication technology, more and more parameters can be adjusted in electronic devices, such as volume and brightness.
以音量调整为例,用户可以通过按压音量按键调整音量的大小,在电子设备检测到用户按压音量按键的情况下,在当前运行的应用程序使用的声音为媒体音量的情况下,默认调整媒体音量的大小,否则调整的是铃声的音量的大小。Taking volume adjustment as an example, the user can adjust the volume by pressing the volume button. When the electronic device detects that the user presses the volume button, the media volume is adjusted by default when the sound used by the currently running application is the media volume. The size of the ringtone, otherwise the volume of the ringtone is adjusted.
然而,若用户需要调整其他模式的音量,例如闹钟、通知、通话等的音量,电子设备可以在用户按压音量按键的情况下,在屏幕右侧显示一个悬浮框,用户可以点击悬浮框向左的箭头,触发电子设备展开不同模式的音量调节按钮,或者触发电子设备进入系统设置界面,用户才能调整其他模式的音量。如此,导致电子设备的音量调整不够便捷。However, if the user needs to adjust the volume of other modes, such as the volume of alarms, notifications, calls, etc., the electronic device can display a floating frame on the right side of the screen when the user presses the volume button, and the user can click the floating frame to the left The arrow triggers the electronic device to expand the volume adjustment buttons in different modes, or triggers the electronic device to enter the system setting interface, and the user can adjust the volume of other modes. As a result, the volume adjustment of the electronic device is not convenient enough.
发明内容Summary of the invention
本发明实施例提供一种显示方法及电子设备,以解决电子设备的音量调整不够便捷的问题。The embodiments of the present invention provide a display method and an electronic device to solve the problem that the volume adjustment of the electronic device is not convenient enough.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
第一方面,本发明实施例提供一种显示方法,该方法包括:接收用户的第一输入;响应于第一输入,沿电子设备屏幕的目标侧边依次显示M个音量控件,M个音量控件中的每个音量控件的第一边与目标侧边的距离小于或等于预设阈值;其中,上述M个 音量控件与M个音量模式一一对应,每个音量控件的第一边为靠近目标侧边的边,M为大于1的整数。In a first aspect, an embodiment of the present invention provides a display method, the method includes: receiving a first input from a user; in response to the first input, sequentially displaying M volume controls and M volume controls along the target side of the screen of the electronic device The distance between the first side of each volume control and the target side is less than or equal to the preset threshold; wherein, the above M volume controls correspond to the M volume modes one-to-one, and the first side of each volume control is close to the target For the side of the side, M is an integer greater than 1.
第二方面,本发明实施例还提供了一种电子设备,该电子设备包括:接收模块和显示模块;接收模块,用于接收用户的第一输入;显示模块,用于响应于接收模块接收的第一输入,沿电子设备屏幕的目标侧边依次显示M个音量控件,M个音量控件中的每个音量控件的第一边与是目标侧边的距离小于或等于预设阈值;其中,上述M个音量控件与M个音量模式一一对应,每个音量控件的第一边为靠近目标侧边平行的边,M为大于1的整数。In the second aspect, an embodiment of the present invention also provides an electronic device, the electronic device includes: a receiving module and a display module; a receiving module for receiving a user's first input; a display module for responding to the receiving module The first input is to display M volume controls in sequence along the target side of the screen of the electronic device, and the distance between the first side of each volume control in the M volume controls and the target side is less than or equal to the preset threshold; The M volume controls have a one-to-one correspondence with the M volume modes. The first side of each volume control is a side parallel to the target side, and M is an integer greater than 1.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的显示方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor. The computer program is executed by the processor to achieve the following On the one hand, the steps of the display method.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的显示方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the display method as described in the first aspect are implemented.
在本发明实施例中,电子设备在接收到用户的第一输入之后,可以响应于第一输入,沿电子设备屏幕的目标侧边依次显示M个音量控件,该M个音量控件中的每个音量控件的第一边与目标侧边的距离小于或等于预设阈值。一方面,由于该M个音量控件与M个音量模式一一对应,电子设备可以根据用户的一个输入显示M个音量模式对应的M音量控件,因此,在进行音量控制时,无需用户进行多余的操作即可触发电子设备显示多个音量控件,比如用户按压物理音量按键,可以显示多个音量模式的音量控件,简化了用户调整音量的操作步骤,音量调整更加便捷。另一方面,该M个音量控件均沿目标侧边显示,便于用户在沿目标侧边单手操作的情况下容易操作到各个音量控件,并且音量控件均沿屏幕侧边显示,占用屏幕的区域较小,在用户使用电子设备观看视频、阅读、玩游戏的场景下,对屏幕中其他内容的显示影响较小。In the embodiment of the present invention, after receiving the first input of the user, the electronic device may respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device, each of the M volume controls The distance between the first side of the volume control and the target side is less than or equal to the preset threshold. On the one hand, since the M volume controls correspond to the M volume modes one-to-one, the electronic device can display the M volume controls corresponding to the M volume modes according to an input of the user. Therefore, when performing volume control, the user does not need to perform extra The operation can trigger the electronic device to display multiple volume controls. For example, when the user presses a physical volume button, the volume controls of multiple volume modes can be displayed, which simplifies the operation steps for the user to adjust the volume and makes the volume adjustment more convenient. On the other hand, the M volume controls are displayed along the side of the target, which is convenient for the user to easily operate each volume control with one-handed operation along the side of the target, and the volume controls are displayed along the side of the screen, occupying the area of the screen Smaller, in the scene where users use electronic devices to watch videos, read, and play games, it has less impact on the display of other content on the screen.
附图说明Description of the drawings
图1为本发明实施例提供的一种可能的操作系统的架构示意图;FIG. 1 is a schematic structural diagram of a possible operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种显示方法的流程示意图;2 is a schematic flowchart of a display method provided by an embodiment of the present invention;
图3为本发明实施例提供的显示方法的显示界面示意图之一;FIG. 3 is one of the schematic diagrams of the display interface of the display method provided by the embodiment of the present invention;
图4为本发明实施例提供的显示方法的显示界面示意图之二;4 is the second schematic diagram of the display interface of the display method provided by the embodiment of the present invention;
图5为本发明实施例提供的一种指示轨迹示意图;FIG. 5 is a schematic diagram of an indication track provided by an embodiment of the present invention;
图6为本发明实施例提供的一种输入的示意图;FIG. 6 is a schematic diagram of an input provided by an embodiment of the present invention;
图7为本发明实施例提供的电子设备可能的结构示意图之一;FIG. 7 is one of possible structural schematic diagrams of an electronic device provided by an embodiment of the present invention;
图8为本发明实施例提供的电子设备可能的结构示意图之二;FIG. 8 is a second schematic diagram of a possible structure of an electronic device provided by an embodiment of the present invention;
图9为本发明实施例提供的一种电子设备的硬件示意图。FIG. 9 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。It should be noted that the "/" in this article means or, for example, A/B can mean A or B; the "and/or" in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean that: A alone exists, A and B exist at the same time, and B exists alone. "Multiple" means two or more than two.
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一音量控件和第二音量控件等是用于区别不同的音量控件,而不是用于描述音量控件的特定顺序。The terms "first" and "second" in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first volume control and the second volume control are used to distinguish different volume controls, rather than to describe the specific order of the volume controls.
需要说明的是,本发明实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be an electronic device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
下面以图1中所示的操作系统为例,介绍一下本发明实施例提供的显示方法所应用的 软件环境。The following takes the operating system shown in FIG. 1 as an example to introduce the software environment to which the display method provided in the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的操作系统的架构示意图。在图1中,操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible operating system provided by an embodiment of the present invention. In Figure 1, the architecture of the operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Among them, the application layer includes various applications in the operating system (including system applications and third-party applications).
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和操作系统运行环境。库主要为操作系统提供其所需的各类资源。操作系统运行环境用于为操作系统提供软件环境。The system runtime layer includes a library (also called a system library) and an operating system runtime environment. The library mainly provides various resources required by the operating system. The operating system operating environment is used to provide a software environment for the operating system.
内核层是操作系统的操作系统层,属于操作系统软件层次的最底层。内核层基于Linux内核为操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the operating system and belongs to the lowest level of the operating system software. The kernel layer provides core system services and hardware-related drivers for the operating system based on the Linux kernel.
以图1所示操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的操作系统的系统架构,开发实现本发明实施例提供的显示方法的软件程序,从而使得该显示方法可以基于如图1所示的操作系统运行。即处理器或者电子设备可以通过在操作系统中运行该软件程序实现本发明实施例提供的显示方法。Taking the operating system shown in FIG. 1 as an example, in the embodiment of the present invention, developers can develop software programs that implement the display method provided by the embodiment of the present invention based on the system architecture of the operating system shown in FIG. The display method can be run based on the operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the display method provided by the embodiment of the present invention by running the software program in the operating system.
下面结合图2中对本发明实施例的显示方法进行说明。图2为本发明实施例提供的一种显示方法的流程示意图,如图2所示,该显示方法可以包括下述的S201和S202:The display method of the embodiment of the present invention will be described below with reference to FIG. 2. FIG. 2 is a schematic flowchart of a display method provided by an embodiment of the present invention. As shown in FIG. 2, the display method may include the following S201 and S202:
S201、电子设备接收用户的第一输入。S201. The electronic device receives a user's first input.
可以理解,若用户需要调整音量的大小,用户可以在电子设备上输入第一输入。It can be understood that if the user needs to adjust the volume, the user can input the first input on the electronic device.
示例性地,第一输入可以为用户在屏幕上的输入,例如,第一输入可以为按照预设轨迹滑动的输入。第一输入也可以为用户按压音量键(物理按键)的输入。例如,在电子设备的音量键包括两个物理按键的情况下,即电子设备包括音量加按键和音量减按键,第一输入可以为用户按压其中任意一个音量键的输入。若电子设备的音量键为一个物理按键,第一输入可以为用户按压音量键的任意一个位置的输入。Exemplarily, the first input may be an input by the user on the screen. For example, the first input may be an input of sliding according to a preset track. The first input may also be an input of the user pressing a volume key (physical key). For example, in the case where the volume key of the electronic device includes two physical keys, that is, the electronic device includes a volume up button and a volume down button, the first input may be an input of the user pressing any one of the volume keys. If the volume key of the electronic device is a physical key, the first input may be an input of any position where the user presses the volume key.
可选地,在本发明实施例中,电子设备的音量模式可以包括:铃声的音量、媒体的音量、通知的音量、闹钟的音量、通话的音量、智慧语音的音量等。Optionally, in this embodiment of the present invention, the volume mode of the electronic device may include: ringtone volume, media volume, notification volume, alarm volume, call volume, smart voice volume, etc.
S202、电子设备响应于第一输入,沿电子设备屏幕的目标侧边依次显示M个音量控件,该M个音量控件中的每个音量控件的第一边与目标侧边的距离小于或等于预设阈值。S202. In response to the first input, the electronic device sequentially displays M volume controls along the target side of the screen of the electronic device, and the distance between the first side of each volume control in the M volume controls and the target side is less than or equal to the preset value. Set the threshold.
其中,M个音量控件与M个音量模式一一对应,每个音量控件的第一边为靠近目标侧边的边,M为大于1的整数。Among them, the M volume controls correspond to the M volume modes one-to-one, the first side of each volume control is the side close to the target side, and M is an integer greater than 1.
需要说明的是,第一边为音量控件的边中沿电子设备的目标侧边显示的边。It should be noted that the first side is the side displayed along the target side of the electronic device among the sides of the volume control.
示例性地,每个音量控件的第一边为与目标侧边平行的两个边中的一个边,比如每个音量控件第一边为与目标侧边平行的两个边中距离目标侧边的距离较小的边。Exemplarily, the first side of each volume control is one of the two sides parallel to the target side. For example, the first side of each volume control is one of the two sides parallel to the target side. The side with the smaller distance.
可以理解,一个音量控件的第二边与该一个音量控件的第一边为相邻的两个边,音量控件的第二边可以为垂直于目标侧边显示的边。It can be understood that the second side of one volume control and the first side of the one volume control are two adjacent sides, and the second side of the volume control may be a side displayed perpendicular to the target side.
在本发明实施例中,上述M个音量控件的第二边的长度可以相同,也可以不同,本发明实施例对此不作具体限定。In the embodiment of the present invention, the lengths of the second sides of the foregoing M volume controls may be the same or different, which is not specifically limited in the embodiment of the present invention.
需要说明的是,本发明实施例中,音量控件的形状可以为直线构成的矩形,也可以为曲线构成的类似矩形的图形,例如音量控件的侧边可以为直线类型的线段,也可以为波浪线类型的线段,也可以为中间为直线两端点带圆弧的曲线段,也可以为弧线段,本发明实施例对此不作具体限定。It should be noted that in the embodiment of the present invention, the shape of the volume control can be a rectangle formed by a straight line, or a rectangle-like figure formed by a curve. For example, the side of the volume control can be a straight line segment or a wave. The line segment of the line type may also be a curved line segment with arcs at both ends of a straight line in the middle, or an arc line segment, which is not specifically limited in the embodiment of the present invention.
可以理解,本发明实施例中,上述的“沿电子设备屏幕的目标侧边依次显示M个音量控件”可以用于指示M个音量控件中的每个音量控件均沿电子设备屏幕的目标侧边显示。It can be understood that, in the embodiment of the present invention, the aforementioned "display M volume controls in sequence along the target side of the screen of the electronic device" can be used to indicate that each of the M volume controls is along the target side of the screen of the electronic device. show.
在本发明实施例中,目标侧边可以为电子设备的屏幕左边框,屏幕右边框,屏幕上边框、屏幕下边框中的其中一个或多个。In the embodiment of the present invention, the target side may be one or more of the left frame of the screen, the right frame of the screen, the upper frame of the screen, and the lower frame of the screen of the electronic device.
可选地,目标侧边可以为固定的屏幕侧边,也可以为根据用户的使用习惯确定的屏幕侧边,本发明实施例对此不作具体限定。Optionally, the target side may be a fixed screen side, or may be a screen side determined according to the user's usage habits, which is not specifically limited in the embodiment of the present invention.
在本发明实施例中,每个音量控件的第一边与目标侧边的距离均可以小于或等于预设阈值。In this embodiment of the present invention, the distance between the first side of each volume control and the target side can be less than or equal to a preset threshold.
示例性地,每个音量控件的第一边与目标侧边的距离可以均为0,即音量控件贴合屏幕的侧边显示,当然,音量控件的第一边与目标侧边的距离也可以为1毫米、2毫米等。本发明实施例对于音量控件的第一边与目标侧边的距离的具体值不作具体限定。Exemplarily, the distance between the first side of each volume control and the target side can be 0, that is, the volume control is displayed on the side of the screen. Of course, the distance between the first side of the volume control and the target side can also be It is 1 mm, 2 mm, etc. The embodiment of the present invention does not specifically limit the specific value of the distance between the first side of the volume control and the target side.
可选地,该M个音量控件中的每个音量控件的第一边与目标侧边的距离可以相同,也 可以不同,本发明实施例对此不作具体限定。Optionally, the distance between the first side of each of the M volume controls and the target side may be the same or different, which is not specifically limited in the embodiment of the present invention.
需要说明的是,在本发明实施例中,第一边的长度可以为固定的,也可以根据音量的大小变化。例如,一个音量控件的第一边的长度可以与该音量控件对应的音量大小成正比例关系。It should be noted that, in the embodiment of the present invention, the length of the first side may be fixed, or may be changed according to the volume. For example, the length of the first side of a volume control can be proportional to the volume of the volume control.
示例性地,在每个音量控件的第一边的长度可以调整,音量控件的第一边可以为音量控件的高度,音量控件的第二边可以为音量控件的宽度。音量控件的高度可以用于表征该音量控件对应的音量模式的音量的大小。Exemplarily, the length of the first side of each volume control can be adjusted, the first side of the volume control can be the height of the volume control, and the second side of the volume control can be the width of the volume control. The height of the volume control can be used to characterize the volume of the volume mode corresponding to the volume control.
可以理解,在本发明实施例中,上述的M个音量控件的宽度(即第二边的长度)可以选择较窄的宽度,从而可以避免占用较多的屏幕区域。It can be understood that, in the embodiment of the present invention, the width of the aforementioned M volume controls (that is, the length of the second side) can be selected to be narrower, so as to avoid occupying more screen area.
具体的,M个音量控件可以为屏幕上的具有不同标记的M个触控区域。该M个触控区域可以为连续的屏幕区域,也可以为具有间隔的屏幕区域,本发明实施例对此不作具体限定。例如,M个音量控件可以为具有不同标记的屏幕边缘的矩形的触控区域,电子设备可以采用不同显示位置区分M个音量控件中的每个音量控件对应的音量模式,也可以采用触控区域填充不同的颜色或填充不同的图案区分每个音量控件对应的音量模式。Specifically, the M volume controls may be M touch areas with different marks on the screen. The M touch areas may be continuous screen areas or spaced screen areas, which are not specifically limited in the embodiment of the present invention. For example, the M volume controls may be rectangular touch areas with different marked edges of the screen, and the electronic device may use different display positions to distinguish the volume mode corresponding to each volume control in the M volume controls, or use touch areas. Fill different colors or fill different patterns to distinguish the volume mode corresponding to each volume control.
图3为本发明实施例提供的一种显示方法的显示界面示意图,如图3中所示,以每个触控区域填充不同的图案,区分不同的音量控件,电子设备贴合屏幕的左侧边3a显示音量控件31、音量控件32、音量控件33和音量控件34。每个音量控件的高度可以用于表征每个音量模式当前的音量大小。其中,音量控件31的高度为H31(即第一边的长度)、宽度为L0(即第二边的长度),用户可以通过音量控件31调整铃声的音量大小;音量控件32的高度为H32、宽度为L0,用户可以通过音量控件32调整媒体的音量大小;音量控件33的高度为H33、宽度为L0,用户可以通过音量控件33调整闹钟的音量大小;音量控件34的高度为H44、宽度为L0,用户可以通过音量控件34调整通知的音量大小。FIG. 3 is a schematic diagram of a display interface of a display method provided by an embodiment of the present invention. As shown in FIG. 3, each touch area is filled with different patterns to distinguish different volume controls, and the electronic device is attached to the left side of the screen Side 3a displays volume control 31, volume control 32, volume control 33, and volume control 34. The height of each volume control can be used to represent the current volume level of each volume mode. Among them, the height of the volume control 31 is H31 (that is, the length of the first side), and the width is L0 (that is, the length of the second side). The user can adjust the volume of the ringtone through the volume control 31; the height of the volume control 32 is H32, The width is L0, the user can adjust the volume of the media through the volume control 32; the height of the volume control 33 is H33, the width is L0, the user can adjust the volume of the alarm clock through the volume control 33; the height of the volume control 34 is H44, the width is L0, the user can adjust the volume of the notification through the volume control 34.
示例性地,第一输入可以为用户在图3中所示的物理音量按键30上的按压输入。Exemplarily, the first input may be a user's pressing input on the physical volume button 30 shown in FIG. 3.
需要说明的是,上述示例仅以目标侧边为屏幕的四个边框中的一个边框为例进行说明,实际应用中,上述的四个音量控件可以显示在多个边框对应的屏幕位置。结合图3,目标侧边可以为电子设备的屏幕的左边框3a,屏幕的右边框3b,屏幕的上边框3c、屏幕的下边框3d中的其中一个或者多个。例如,电子设备可以在贴合屏幕的左边框3a显示音 量控件31和音量控件32,可以在贴合屏幕的右边框3b显示音量控件33和音量控件34。It should be noted that the above example only takes one of the four borders of the screen as the target side for illustration. In practical applications, the above four volume controls can be displayed on the screen positions corresponding to multiple borders. With reference to Fig. 3, the target side may be one or more of the left frame 3a of the screen of the electronic device, the right frame 3b of the screen, the upper frame 3c of the screen, and the lower frame 3d of the screen. For example, the electronic device can display the volume control 31 and the volume control 32 on the left border 3a of the screen, and can display the volume control 33 and the volume control 34 on the right border 3b of the screen.
可以理解,用户可以通过电子设备显示的音量控件调整(调大或者调小)对应的音量模式下的音量。例如,结合图3,若用户在音量控件33的位置向屏幕顶端滑动,则可以触发电子设备调大闹钟的音量,若用户在音量控件33的位置向屏幕底端滑动,则可以触发电子设备调小闹钟的音量。当然,用户也可以在音量控件33的A点长按,电子设备可以根据长按的时间调小闹钟的音量,用户在音量控件33的B点长按,电子设备可以根据长按的时间调大闹钟的音量。It can be understood that the user can adjust (turn up or down) the volume in the corresponding volume mode through the volume control displayed on the electronic device. For example, in conjunction with Figure 3, if the user slides to the top of the screen at the position of the volume control 33, the electronic device can be triggered to increase the volume of the alarm clock, and if the user slides to the bottom of the screen at the position of the volume control 33, the electronic device can be triggered to adjust The volume of the small alarm clock. Of course, the user can also press and hold on point A of the volume control 33, and the electronic device can decrease the volume of the alarm clock according to the long press time. The user can press and hold on point B of the volume control 33 and the electronic device can increase according to the long press time. The volume of the alarm clock.
本发明实施例提供的显示方法,电子设备在接收到用户的第一输入之后,可以响应于第一输入,沿电子设备屏幕的目标侧边依次显示M个音量控件,该M个音量控件中的每个音量控件的第一边与目标侧边的距离小于或等于预设阈值。一方面,由于该M个音量控件与M个音量模式一一对应,电子设备可以根据用户的一个输入显示M个音量模式对应的M音量控件,因此,在进行音量控制时,无需用户进行多余的操作即可触发电子设备显示多个音量控件,比如用户按压物理音量按键,可以显示多个音量模式的音量控件,简化了用户调整音量的操作步骤,音量调整更加便捷。另一方面,该M个音量控件均沿目标侧边显示,便于用户在沿目标侧边单手操作的情况下容易操作到各个音量控件,并且音量控件均沿屏幕侧边显示,占用屏幕的区域较小,在用户使用电子设备观看视频、阅读、玩游戏的场景下,对屏幕中其他内容的显示影响较小。According to the display method provided by the embodiment of the present invention, after receiving the first input of the user, the electronic device can respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device. Among the M volume controls The distance between the first side of each volume control and the target side is less than or equal to the preset threshold. On the one hand, since the M volume controls correspond to the M volume modes one-to-one, the electronic device can display the M volume controls corresponding to the M volume modes according to an input of the user. Therefore, when performing volume control, the user does not need to perform extra The operation can trigger the electronic device to display multiple volume controls. For example, when the user presses a physical volume button, the volume controls of multiple volume modes can be displayed, which simplifies the operation steps for the user to adjust the volume and makes the volume adjustment more convenient. On the other hand, the M volume controls are displayed along the side of the target, which is convenient for the user to easily operate each volume control with one-handed operation along the side of the target, and the volume controls are displayed along the side of the screen, occupying the area of the screen Smaller, in the scene where users use electronic devices to watch videos, read, and play games, it has less impact on the display of other content on the screen.
可选地,在本发明实施例中,目标侧边为在用户单手握持电子设备的情况下,握持手握持的侧边框对应的屏幕边缘;或者,目标侧边为用户操作频率最高的屏幕区域对应的屏幕边缘;或者,目标侧边为电子设备处于横屏显示状态下,电子设备的左侧边框和右侧边框中其中一个侧边框对应的屏幕边缘。Optionally, in this embodiment of the present invention, the target side is the edge of the screen corresponding to the side frame held by the holding hand when the user holds the electronic device with one hand; or, the target side is the screen edge that is the most frequently operated by the user The screen area corresponding to the screen edge; or, the target side is the screen edge corresponding to one of the left and right frames of the electronic device when the electronic device is in a landscape display state.
具体的,在接收到用户的第一输入之后(即在上述的S201之后),电子设备可以确定电子设备是否处于预设状态。Specifically, after receiving the user's first input (that is, after the above-mentioned S201), the electronic device may determine whether the electronic device is in a preset state.
其中,预设状态可以包括以下任意一项:用户左手单手握持电子设备、用户右手单手握持电子设备、电子设备处于横屏状态。The preset state may include any one of the following: the user holds the electronic device with one hand with the left hand, the user holds the electronic device with one hand with the right hand, and the electronic device is in a horizontal screen state.
可选地,若电子设备确定用户左手单手握持电子设备,则可以根据用户左手单手握持的位置确定左边的屏幕边框为目标侧边。若电子设备确定用户右手单手握持电子设备,则 可以根据用户右手单手握持的位置确定右边的屏幕边框为目标侧边。Optionally, if the electronic device determines that the user holds the electronic device with one hand with the left hand, the left screen frame may be determined as the target side according to the position where the user holds with the left hand with one hand. If the electronic device determines that the user is holding the electronic device with one hand with the right hand, the screen border on the right may be determined as the target side according to the position where the user holds with the one hand with the right hand.
具体的,电子设备可以根据温度传感器、压力传感器等识别用户当前是左手单手握持还是右手单手握持。Specifically, the electronic device can recognize whether the user is currently holding it with the left hand or the right hand according to the temperature sensor, the pressure sensor, and the like.
结合图3,若用户左手单手握持电子设备,则目标侧边可以为屏幕左边框3a,若用户右手握持电子设备,则目标侧边可以为屏幕的右边框3b。With reference to Fig. 3, if the user holds the electronic device with one hand with the left hand, the target side can be the left border 3a of the screen, and if the user holds the electronic device with the right hand, the target side can be the right border 3b of the screen.
可选地,若电子设备根据用户的历史行为数据确定用户常在电子设备的左侧屏幕区域操作,则可以确定左边的屏幕边框为目标侧边。若电子设备根据用户的历史行为数据确定用户常在电子设备的右侧屏幕区域操作,则可以确定右边的屏幕边框为目标侧边。Optionally, if the electronic device determines that the user often operates in the left screen area of the electronic device according to the user's historical behavior data, it may be determined that the left screen frame is the target side. If the electronic device determines that the user often operates in the right screen area of the electronic device according to the user's historical behavior data, it can determine that the right screen frame is the target side.
具体的,可以根据用户在不同屏幕区域上的操作参数(点击次数、滑动次数、操作时长等)确定目标侧边。例如,若用户在预设时长内在左侧屏幕上的操作次数(例如99次)远多于右侧屏幕上的操作次数(例如2次),则可以确定左边的屏幕边框为目标侧边。若用户在预设时长内在右侧屏幕上的操作次数远多于左侧屏幕上的操作次数,则可以确定右边的屏幕边框为目标侧边。Specifically, the target side can be determined according to the user's operation parameters (number of clicks, number of swipes, operation duration, etc.) on different screen areas. For example, if the number of operations of the user on the left screen (for example, 99 times) is far more than the number of operations on the right screen (for example, 2 times) within the preset time period, it can be determined that the left screen frame is the target side. If the number of operations on the right screen by the user in the preset time period is much greater than the number of operations on the left screen, the screen border on the right can be determined to be the target side.
若电子设备确定电子设备处于横屏状态,则可以确定横屏状态下的电子设备的屏幕的左边框和右边框中的至少一个为目标侧边。If the electronic device determines that the electronic device is in the horizontal screen state, it can be determined that at least one of the left frame and the right frame of the screen of the electronic device in the horizontal screen state is the target side.
结合图3,屏幕侧边3c可以为横屏状态下的屏幕左边框,屏幕侧边3d可以为横屏状态下的屏幕右边框。或者,屏幕侧边3c可以为横屏状态下的屏幕右边框,屏幕侧边3d可以为横屏状态下的屏幕左边框。With reference to Fig. 3, the screen side 3c may be the left border of the screen in the landscape state, and the screen side 3d may be the right border of the screen in the landscape state. Alternatively, the screen side 3c may be the right border of the screen in the landscape state, and the screen side 3d may be the left border of the screen in the landscape state.
可以理解,在电子设备处于横屏状态的情况下,电子设备可以将M个音量控件显示在横屏状态下屏幕的左侧边和右侧边中的至少一个,显示在屏幕的左侧边或者右两侧边,可以减少音量控件占用的屏幕区域,在用户双手握持左右两侧的情况下,可以避免显示在上下两个侧边导致的操作不到的情况,例如用户正在电子设备处于横屏状态下观看影视作品或者玩游戏,可以便于用户操作到音量控件,调整音量更加便捷。It can be understood that when the electronic device is in the landscape state, the electronic device can display M volume controls on at least one of the left side and the right side of the screen in the landscape state, displayed on the left side of the screen or On the right side, the screen area occupied by the volume control can be reduced. When the user holds the left and right sides with both hands, it can avoid the situation that the display on the upper and lower sides can not be operated, such as the user is in the horizontal position of the electronic device. Watching film and television works or playing games in the screen state can facilitate the user to operate the volume control, making it more convenient to adjust the volume.
基于该方案,电子设备可以根据用户单手握持的位置选择目标侧边,即可以灵活地根据用户的握持状态调整显示M个音量控件的显示位置,在用户单手握持的情况下,无需用户调整握持手势,可以快速调整电子设备的各个音量模式下的音量,调整音量更加便捷。电子设备也可以根据用户的历史行为数据,选择用户经常操作的屏幕区域对应的屏幕侧边 作为目标侧边,使得用户在调整音量时,显示的音量控件的位置更佳符合用户的习惯。电子设备还可以在根据电子设备是否处于横屏状态,调整显示音量控件的显示位置,便于用户操作,因此调整音量更加便捷。Based on this solution, the electronic device can select the target side according to the position held by the user with one hand, that is, the display position of the M volume controls can be flexibly adjusted according to the holding state of the user. In the case of the user holding it with one hand, There is no need for the user to adjust the holding gesture, and the volume in each volume mode of the electronic device can be quickly adjusted, making it more convenient to adjust the volume. The electronic device can also select the screen side corresponding to the screen area frequently operated by the user as the target side according to the user's historical behavior data, so that when the user adjusts the volume, the position of the displayed volume control is better in line with the user's habit. The electronic device can also adjust the display position of the display volume control according to whether the electronic device is in the horizontal screen state, which is convenient for the user to operate, and therefore it is more convenient to adjust the volume.
在本发明实施例中,电子设备可以在音量控件上显示具体的音量值,也可以不显示具体的音量值,本发明实施例对此不作具体限定。In the embodiment of the present invention, the electronic device may or may not display a specific volume value on the volume control, which is not specifically limited in the embodiment of the present invention.
示例性地,音量控件的显示尺寸可以指示当前音量的音量数值,例如,M个音量控件的最大显示尺寸均相同,音量控件的实际显示尺寸与最大显示尺寸的比例可以指示当前音量模式下的实际音量值。结合图3,每个音量控件最大的显示高度为H0,铃声的当前音量值可以为(H31/H0)*音量的最大值,媒体的当前音量值可以为(H32/H0)*(音量的最大值),闹钟的当前音量值可以为(H33/H0)*(音量的最大值),通知的当前音量值可以为(H34/H0)*(音量的最大值)。Exemplarily, the display size of the volume control may indicate the volume value of the current volume. For example, the maximum display sizes of M volume controls are the same, and the ratio of the actual display size of the volume control to the maximum display size may indicate the actual volume value in the current volume mode. The volume value. Combined with Figure 3, the maximum display height of each volume control is H0, the current volume value of the ringtone can be (H31/H0)*the maximum volume, and the current volume value of the media can be (H32/H0)*(the maximum volume Value), the current volume value of the alarm clock can be (H33/H0)*(maximum volume), and the current volume value notified can be (H34/H0)*(maximum volume).
在接收用户的第一输入之后,电子设备可以不在音量控件上显示具体的音量值,若用户选择调整一个音量模式的音量,电子设备可以在选择该音量模式后,在该音量模式的音量控件上显示当前的音量值。After receiving the user’s first input, the electronic device may not display a specific volume value on the volume control. If the user chooses to adjust the volume of a volume mode, the electronic device may select the volume mode and display it on the volume control of the volume mode. Display the current volume value.
可选地,本发明实施例提供的显示方法,在上述的S202之后,还可以包括下述的S203和S204:Optionally, the display method provided in the embodiment of the present invention may further include the following S203 and S204 after the foregoing S202:
S203、电子设备接收用户从M个音量控件中选择第一音量控件的第二输入。S203. The electronic device receives a second input of the user selecting the first volume control from the M volume controls.
示例性地,第二输入为用户在屏幕上第一音量控件所在的显示位置上的接触的输入,例如点击、按压、滑动等。Exemplarily, the second input is an input of the user's contact on the display position where the first volume control is located on the screen, such as clicking, pressing, sliding, and so on.
可以理解,第二输入可以为用户调整音量的输入,比如,第二输入可以为用户在第一音量控件上向上滑动的输入,或者第二输入为用户在第一音量控件上向下滑动的输入。It is understandable that the second input can be an input for the user to adjust the volume. For example, the second input can be an input for the user to slide up on the first volume control, or the second input can be an input for the user to slide down on the first volume control. .
S204、电子设备响应于第二输入,在第一音量控件所在的显示区域显示第一音量控件当前指示的音量数值,以及第一音量控件的音量可调范围。S204. In response to the second input, the electronic device displays the volume value currently indicated by the first volume control and the volume adjustable range of the first volume control in the display area where the first volume control is located.
示例性地,电子设备可以采用不同的填充(颜色或者图案)表示当前的音量和音量可调范围。例如采用彩色填充当前音量,采用灰色填充表示还可以调大的范围。Exemplarily, the electronic device may use different fills (colors or patterns) to indicate the current volume and volume adjustable range. For example, using color to fill the current volume, using gray to fill the range that can be increased.
图4为本发明实施例提供的一种显示方法的显示界面示意图,假设用户在图3中的音量控件32上点击(即第二输入),则电子设备可以显示出32a所示的白色填充区域,并在 32的底端显示数值0,在32的顶端显示数值6,在32a的顶端显示数值10。其中,32a和32的总高度为媒体的音量可调范围,即媒体音量的最大值为10,媒体音量的最小值为0。FIG. 4 is a schematic diagram of a display interface of a display method provided by an embodiment of the present invention. Assuming that the user clicks on the volume control 32 in FIG. 3 (that is, the second input), the electronic device can display the white filled area shown in 32a , And the value 0 is displayed at the bottom of 32, the value 6 is displayed at the top of 32, and the value 10 is displayed at the top of 32a. Among them, the total height of 32a and 32 is the adjustable range of the media volume, that is, the maximum value of the media volume is 10, and the minimum value of the media volume is 0.
具体的,若第二输入为用户调整音量的输入,第一音量控件的高度可以随着第二输入的输入参数的变化而变化,显示的实际音量数值也可以随着第二输入的输入参数的变化而变化。例如用户调大媒体音量,则区域32的高度增加,区域32上显示的数值增加。Specifically, if the second input is an input for the user to adjust the volume, the height of the first volume control can change with the input parameter of the second input, and the actual volume value displayed can also follow the input parameter of the second input. Change and change. For example, if the user increases the volume of the media, the height of the area 32 increases, and the value displayed on the area 32 increases.
基于该方案,电子设备可以在用户选中第一音量控件之后,在第一音量控件上显示第一音量控件当前指示的音量数值,以及第一音量控件的音量可调范围,可以提示用户当前的音量值和音量的可调范围,便于用户在调整过程中进行参考。Based on this solution, the electronic device can display the volume value currently indicated by the first volume control and the adjustable volume range of the first volume control on the first volume control after the user selects the first volume control, which can prompt the user of the current volume The adjustable range of the value and volume is convenient for users to refer to during the adjustment process.
可选地,本发明实施例提供的显示方法,在上述的S202之后,还可以包括下述的S205至S208:Optionally, the display method provided in the embodiment of the present invention may further include the following S205 to S208 after the foregoing S202:
S205、电子设备接收用户从M个音量控件中选择第二音量控件的第三输入。S205. The electronic device receives a third input of the user selecting the second volume control from the M volume controls.
示例性地,第三输入可以为用户点第二音量控件的输入。Exemplarily, the third input may be an input of the user clicking the second volume control.
S206、电子设备响应于第三输入,显示第一指示轨迹和第二指示轨迹。S206. In response to the third input, the electronic device displays the first indication track and the second indication track.
其中,第一指示轨迹提示用户调大音量,第二指示轨迹提示用户调小音量。Among them, the first indication trajectory prompts the user to increase the volume, and the second indication trajectory prompts the user to decrease the volume.
在本发明实施例中,第一轨迹和第二轨迹可以为与目标侧边平行的轨迹,也可以为与目标侧边不平行的轨迹。In the embodiment of the present invention, the first trajectory and the second trajectory may be trajectories parallel to the side of the target, or trajectories that are not parallel to the side of the target.
示例性地,图5为本发明实施例提供的一种指示轨迹示意图,若用户在图3中选中音量控件31,如图5中的(a)所示,电子设备可以显示与左边框3a平行的指示轨迹31a和指示轨迹31b,指示轨迹31a可以指示调大音量,指示轨迹31b可以指示调小音量。若用户在图3中选中音量控件31,如图5中的(b)所示,电子设备也可以显示与左边框3a不平行的指示轨迹31c和指示轨迹31d,指示轨迹31c可以指示调大音量,指示轨迹31d可以指示调小音量。Exemplarily, FIG. 5 is a schematic diagram of an indication track provided by an embodiment of the present invention. If the user selects the volume control 31 in FIG. 3, as shown in (a) in FIG. 5, the electronic device may display parallel to the left frame 3a. The indicator track 31a and the indicator track 31b of the indicator track 31a can instruct to turn up the volume, and the indicator track 31b can instruct to turn down the volume. If the user selects the volume control 31 in FIG. 3, as shown in (b) in FIG. 5, the electronic device may also display an indication track 31c and an indication track 31d that are not parallel to the left border 3a, and the indication track 31c may indicate to increase the volume , Indicating track 31d can indicate turning down the volume.
可以理解,在用户需要精细调整音量的情况下,用户可以按照第一指示轨迹和第二指示轨迹(例如,图5中的(a)所示的朝向的提示轨迹)进行精细调整。在用户选择的音量控件为不方便操作的音量控件的情况下,上滑的区域较小,或者下滑的区域较小,例如第二音量控件为靠近在目标侧边的顶端或者幕底端的音量控件,或者可以滑动的区域与相邻的音量控件距离较大时,电子设备可以显示的图5中的(b)所示的朝向的轨迹,可以提 示用户按照31c的朝向可以调大音量,按照31d的朝向可以调小音量。It can be understood that when the user needs to fine-tune the volume, the user can perform fine-tuning according to the first indication track and the second indication track (for example, the orientation hint track shown in (a) in FIG. 5). When the volume control selected by the user is an inconvenient volume control, the area to slide up is small, or the area to slide down is small. For example, the second volume control is the volume control near the top of the target side or the bottom of the screen. , Or when the distance between the sliding area and the adjacent volume control is large, the electronic device can display the track of the orientation shown in (b) in Figure 5, which can prompt the user to increase the volume according to the orientation of 31c. The direction of the camera can be turned down.
S207、电子设备接收用户按照目标指示轨迹输入的第四输入。S207: The electronic device receives a fourth input input by the user according to the target indication track.
其中,目标指示轨迹为第一指示轨迹和第二指示轨迹中的其中一个。Wherein, the target indication trajectory is one of the first indication trajectory and the second indication trajectory.
可选地,第四输入可以为长按输入,也可以为滑动输入,本发明实施例对此不作具体限定。Optionally, the fourth input may be a long press input or a sliding input, which is not specifically limited in the embodiment of the present invention.
示例性地,第四输入可以为用户在第一提示轨迹或第二提示轨迹的位置长按的输入,也可以为沿着第一提示轨迹的方向或者沿第二提示轨迹的方向滑动的输入。Exemplarily, the fourth input may be an input of a long press by the user at the position of the first prompt track or the second prompt track, or an input of sliding along the direction of the first prompt track or the direction of the second prompt track.
S208、电子设备响应于第四输入,根据第四输入的输入参数,调整第二音量控件对应的音量的大小。S208. In response to the fourth input, the electronic device adjusts the volume corresponding to the second volume control according to the input parameter of the fourth input.
其中,第四输入的输入参数可以包括:沿目标指示轨迹输入的时间长度、沿目标指示轨迹输入的轨迹长度。Wherein, the fourth input input parameter may include: the length of time input along the target indication trajectory, and the trajectory length input along the target indication trajectory.
基于该方案,在接收到用户从M个音量控件中选择第二音量控件的输入,电子设备可以在屏幕上显示指示轨迹,第一指示轨迹可以提示用户调大音量,第二指示轨迹可以提示用户调小音量,在用户需要精细调整,或者不方便在音量控件上调整的情况下,可以扩大调整区域的范围。使得用户可以根据提示轨迹方便地调整音量。Based on this solution, upon receiving the input of the user selecting the second volume control from the M volume controls, the electronic device can display the indication track on the screen. The first indication track can prompt the user to turn up the volume, and the second indication track can prompt the user Turn down the volume to expand the range of the adjustment area when the user needs fine adjustment or it is inconvenient to adjust on the volume control. This allows the user to conveniently adjust the volume according to the prompt trajectory.
在用户需要将一个模式的音量调整为静音的情况下,用户可以在音量控件上滑动逐渐调整为静音,也可以采用下述的方式快速调整为静音。In the case that the user needs to adjust the volume of a mode to mute, the user can slide on the volume control to gradually adjust to mute, or use the following method to quickly adjust to mute.
可选地,本发明实施例提供的显示方法,在上述的S202之后,还可以包括下述的S209和S210:Optionally, the display method provided in the embodiment of the present invention may further include the following S209 and S210 after the foregoing S202:
S209、电子设备接收用户的第五输入,第五输入为用户在屏幕上沿预设方向朝向M个音量控件中的第三音量控件滑动的输入。S209. The electronic device receives a fifth input from the user, where the fifth input is an input of the user sliding on the screen toward the third volume control of the M volume controls in a preset direction.
例如,第五输入为垂直目标侧边,且朝向M个音量控件中的第三音量控件滑动的输入。For example, the fifth input is an input that is vertical to the side of the target and slides toward the third volume control among the M volume controls.
示例性地,在目标侧边为屏幕的左侧边的情况下,第五输入可以为用户在屏幕上向左侧边的第三音量控件滑动的输入,在目标侧边为屏幕的右侧边的情况下,第五输入可以为用户在屏幕上向右侧边的第三音量控件滑动的输入。Exemplarily, when the target side is the left side of the screen, the fifth input may be the input of the user sliding to the third volume control on the left side of the screen, and the target side is the right side of the screen. In the case of, the fifth input may be an input of the user sliding to the third volume control on the right side of the screen.
S210、电子设备响应于第五输入,调整第三音量控件对应的音量模式的音量为零。S210. In response to the fifth input, the electronic device adjusts the volume of the volume mode corresponding to the third volume control to zero.
图6为本发明实施例提供的一种输入的示意图,若用户需要快速调整媒体的音量为零, 用户可以在屏幕上向音量控件32滑动,滑动的方向可以为图6中所示的32b所指的箭头的方向,电子设备可以快速将媒体音量调整为零。Figure 6 is a schematic diagram of an input provided by an embodiment of the present invention. If the user needs to quickly adjust the volume of the media to zero, the user can slide the volume control 32 on the screen, and the direction of the slide can be as shown in 32b in Figure 6. Pointing to the direction of the arrow, the electronic device can quickly adjust the media volume to zero.
基于该方案,用户可以通过在电子设备的屏幕上沿预设方向朝向M个音量控件中的第三音量控件的滑动的输入,可以触发电子设备快速将第三音量控件对应的音量模式的音量调整为零,调整音量更加便捷。Based on this solution, the user can trigger the electronic device to quickly adjust the volume of the volume mode corresponding to the third volume control by sliding input along the preset direction toward the third volume control of the M volume controls on the screen of the electronic device If it is zero, it is more convenient to adjust the volume.
在本发明实施例中,M个音量控件的排列顺序可以为固定的,也可以为用户自定义的,也可以根据前台运行的应用程序对应的音量模式灵活调整。In the embodiment of the present invention, the arrangement sequence of the M volume controls may be fixed or customized by the user, or may be flexibly adjusted according to the volume mode corresponding to the application running in the foreground.
可选地,在本发明实施例中,M个音量控件中的第四音量控件显示在目标触控区域。其中,第四音量控件对应目标音量模式,目标音量模式为前台运行的应用程序对应的音量模式,目标触控区域为在单手操作的情况下,与用户的握持位置对应的屏幕区域,握持位置为用户的手部与电子设备的边框接触的位置,其中,目标触控区域与握持位置部分重叠或全部重叠。Optionally, in this embodiment of the present invention, the fourth volume control of the M volume controls is displayed in the target touch area. Among them, the fourth volume control corresponds to the target volume mode, the target volume mode is the volume mode corresponding to the application running in the foreground, and the target touch area is the screen area corresponding to the user's holding position in the case of one-handed operation. The holding position is the position where the user's hand contacts the frame of the electronic device, where the target touch area and the holding position overlap partially or completely.
具体的,电子设备可以在接收到第一输入之后,若确定用户单手操作,则可以确定单手握持的握持位置,确定电子设备前台运行的应用程序对应的音量模式,即目标音量模式,然后将目标音量模式对应的音量控件显示在与用户的握持位置相邻的屏幕区域。Specifically, after the electronic device receives the first input, if it is determined that the user is operating with one hand, it can determine the holding position of the one-handed grip, and determine the volume mode corresponding to the application running in the foreground of the electronic device, that is, the target volume mode , And then display the volume control corresponding to the target volume mode on the screen area adjacent to the user's holding position.
示例性地,结合图3,在用户右手握持电子设备的右边框3b的中间区域的情况下,若前台运行的应用程序对应的音量模式为铃声,在电子设备接收到第一输入之后,可以将音量控件31显示在靠近右边框3b的中间区域,若前台运行的应用程序对应的音量模式为媒体,在电子设备接收到第一输入之后,可以将音量控件32显示在靠近右边框3b的中间区域。Exemplarily, in conjunction with FIG. 3, in the case where the user holds the middle area of the right frame 3b of the electronic device with the right hand, if the volume mode corresponding to the application running in the foreground is a ringtone, after the electronic device receives the first input, you can Display the volume control 31 in the middle area near the right frame 3b. If the volume mode corresponding to the application running in the foreground is media, after the electronic device receives the first input, the volume control 32 can be displayed in the middle near the right frame 3b. area.
基于该方案,在电子设备接收到第一输入之后,电子设备可以将M个音量控件中的第四音量控件显示在目标触控区域,由于第四音量控件对应前台运行的应用程序对应的音量模式,由于目标触控区域对应用户的握持位置,在用户单手操作的情况下,第四控件与用户的握持位置距离较近,可以方便用户快速调整前台运行的应用程序对应的音量模式的音量。Based on this solution, after the electronic device receives the first input, the electronic device can display the fourth volume control of the M volume controls in the target touch area, because the fourth volume control corresponds to the volume mode corresponding to the application running in the foreground , Because the target touch area corresponds to the user’s holding position, in the case of the user’s one-handed operation, the fourth control is closer to the user’s holding position, which can facilitate the user to quickly adjust the volume mode corresponding to the application running in the foreground volume.
图7为本发明实施例提供的一种电子设备可能的结构示意图,如图7所示,电子设备700包括:接收模块701和显示模块702;接收模块701,用于接收用户的第一输入;显示 模块702,用于响应于接收模块701接收的第一输入,沿电子设备屏幕的目标侧边依次显示M个音量控件,该M个音量控件中的每个音量控件的第一边与是目标侧边的距离小于或等于预设阈值;其中,该M个音量控件与M个音量模式一一对应,每个音量控件的第一边为靠近目标侧边的边,M为大于1的整数。FIG. 7 is a schematic diagram of a possible structure of an electronic device provided by an embodiment of the present invention. As shown in FIG. 7, the electronic device 700 includes: a receiving module 701 and a display module 702; the receiving module 701 is configured to receive a user's first input; The display module 702 is configured to, in response to the first input received by the receiving module 701, sequentially display M volume controls along the target side of the screen of the electronic device, and the first side of each volume control in the M volume controls is the target The distance between the sides is less than or equal to a preset threshold; wherein, the M volume controls correspond to M volume modes one-to-one, the first side of each volume control is the side close to the target side, and M is an integer greater than 1.
可选地,接收模块701,还用于在显示模块702沿电子设备700屏幕的目标侧边依次显示M个音量控件之后,接收用户从该M个音量控件中选择第一音量控件的第二输入;显示模块702,还用于响应于接收模块701接收的第二输入,在第一音量控件的显示区域显示第一音量控件当前指示的音量数值,以及第一音量控件的音量可调范围。Optionally, the receiving module 701 is further configured to: after the display module 702 sequentially displays M volume controls along the target side of the screen of the electronic device 700, receive a second input of the user selecting the first volume control from the M volume controls The display module 702 is also configured to display the volume value currently indicated by the first volume control and the adjustable range of the first volume control in the display area of the first volume control in response to the second input received by the receiving module 701.
可选地,结合图7,如图8所示,电子设备700还包括:调整模块703;接收模块701,还用于在显示模块702沿电子设备700屏幕的目标侧边依次显示M个音量控件之后,接收用户从上述M个音量控件中选择第二音量控件的第三输入;显示模块702,还用于响应于接收模块701接收的第三输入,显示第一指示轨迹和第二指示轨迹;接收模块701,还用于接收用户按照目标指示轨迹输入的第四输入;调整模块703,用于响应于接收模块701接收的第四输入,根据第四输入的输入参数,调整第二音量控件对应的音量的大小;其中,第一指示轨迹提示用于调大音量,第二指示轨迹提示用户调小音量,目标指示轨迹为第一指示轨迹和第二指示轨迹中的其中一个。Optionally, in conjunction with FIG. 7, as shown in FIG. 8, the electronic device 700 further includes: an adjustment module 703; a receiving module 701, which is further configured to sequentially display M volume controls on the display module 702 along the target side of the screen of the electronic device 700 Afterwards, receiving the third input of the user selecting the second volume control from the above M volume controls; the display module 702 is further configured to display the first indication track and the second indication track in response to the third input received by the receiving module 701; The receiving module 701 is further configured to receive a fourth input input by the user according to the target indication track; the adjusting module 703 is configured to respond to the fourth input received by the receiving module 701 and adjust the second volume control corresponding to the input parameters of the fourth input. The size of the volume; where the first indication track is used to increase the volume, the second indication track prompts the user to turn down the volume, and the target indication track is one of the first indication track and the second indication track.
可选地,如图8所示,电子设备700还包括:调整模块703;接收模块701,还用于在显示模块702沿电子设备700屏幕的目标侧边依次显示M个音量控件之后,接收用户的第五输入,第五输入为用户在屏幕上沿预设方向朝向上述M个音量控件中的第三音量控件滑动的输入;调整模块703,用于响应于接收模块701接收的第五输入,调整第三音量控件对应的音量模式的音量为零。Optionally, as shown in FIG. 8, the electronic device 700 further includes: an adjustment module 703; a receiving module 701, which is further configured to receive the user after the display module 702 sequentially displays M volume controls along the target side of the screen of the electronic device 700 The fifth input is the input of the user sliding toward the third volume control of the M volume controls on the screen in a preset direction; the adjustment module 703 is configured to respond to the fifth input received by the receiving module 701, Adjust the volume of the volume mode corresponding to the third volume control to zero.
可选地,目标侧边为在用户单手握持电子设备的情况下,握持手握持的侧边对应的屏幕边缘;或者,目标侧边为用户操作频率最高的屏幕区域对应的屏幕边缘。Optionally, the target side is the screen edge corresponding to the side held by the holding hand when the user is holding the electronic device with one hand; or, the target side is the screen edge corresponding to the screen area where the user operates the most frequently .
可选地,M个音量控件中的第四音量控件显示在目标触控区域;其中,第四音量控件对应目标音量模式,目标音量模式为前台运行的应用程序对应的音量模式,目标触控区域为在单手操作的情况下,与用户的握持位置对应的屏幕区域,握持位置为电子设备的边框与用户的手部接触的位置。Optionally, the fourth volume control of the M volume controls is displayed in the target touch area; wherein, the fourth volume control corresponds to the target volume mode, the target volume mode is the volume mode corresponding to the application running in the foreground, and the target touch area In the case of one-handed operation, the screen area corresponding to the user's holding position is the position where the frame of the electronic device is in contact with the user's hand.
本发明实施例提供的电子设备700能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 700 provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
本发明实施例提供的一种电子设备,电子设备在接收到用户的第一输入之后,可以响应于第一输入,沿电子设备屏幕的目标侧边依次显示M个音量控件,该M个音量控件中的每个音量控件的第一边与目标侧边的距离小于或等于预设阈值。一方面,由于该M个音量控件与M个音量模式一一对应,电子设备可以根据用户的一个输入显示M个音量模式对应的M音量控件,因此,在进行音量控制时,无需用户进行多余的操作即可触发电子设备显示多个音量控件,比如用户按压物理音量按键,可以显示多个音量模式的音量控件,简化了用户调整音量的操作步骤,音量调整更加便捷。另一方面,该M个音量控件均沿目标侧边显示,便于用户在沿目标侧边单手操作的情况下容易操作到各个音量控件,并且音量控件均沿屏幕侧边显示,占用屏幕的区域较小,在用户使用电子设备观看视频、阅读、玩游戏的场景下,对屏幕中其他内容的显示影响较小。An embodiment of the present invention provides an electronic device. After receiving a user's first input, the electronic device can respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device. The M volume controls The distance between the first side of each volume control in and the target side is less than or equal to the preset threshold. On the one hand, since the M volume controls correspond to the M volume modes one-to-one, the electronic device can display the M volume controls corresponding to the M volume modes according to an input of the user. Therefore, when performing volume control, the user does not need to perform extra The operation can trigger the electronic device to display multiple volume controls. For example, when the user presses the physical volume button, the volume controls of multiple volume modes can be displayed, which simplifies the operation steps for the user to adjust the volume and makes the volume adjustment more convenient. On the other hand, the M volume controls are displayed along the side of the target, which is convenient for the user to easily operate each volume control with one-handed operation along the side of the target, and the volume controls are displayed along the side of the screen, occupying the area of the screen. Smaller, in the scene where users use electronic devices to watch videos, read, and play games, it has less impact on the display of other content on the screen.
图9为本发明实施例提供的一种电子设备的硬件示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。9 is a schematic diagram of the hardware of an electronic device provided by an embodiment of the present invention. 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, User input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
其中,用户输入单元107,用于接收用户的第一输入;显示单元106,用于响应于第一输入,沿电子设备屏幕的目标侧边依次显示M个音量控件,该M个音量控件中的每个音量控件的第一边与目标侧边的距离小于或等于预设阈值;其中,上述M个音量控件与M个音量模式一一对应,每个音量控件的第一边为靠近目标侧边的边,M为大于1的整数。Among them, the user input unit 107 is used to receive the user's first input; the display unit 106 is used to respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device. The distance between the first side of each volume control and the target side is less than or equal to the preset threshold; wherein, the above M volume controls correspond to M volume modes one-to-one, and the first side of each volume control is the side close to the target M is an integer greater than 1.
本发明实施例提供一种电子设备,电子设备在接收到用户的第一输入之后,可以响应于第一输入,沿电子设备屏幕的目标侧边依次显示M个音量控件,该M个音量控件中的每个音量控件的第一边与目标侧边的距离小于或等于预设阈值。一方面,由于该M个音量控件与M个音量模式一一对应,电子设备可以根据用户的一个输入显示M个音量模式对 应的M音量控件,因此,在进行音量控制时,无需用户进行多余的操作即可触发电子设备显示多个音量控件,比如用户按压物理音量按键,可以显示多个音量模式的音量控件,简化了用户调整音量的操作步骤,音量调整更加便捷。另一方面,该M个音量控件均沿目标侧边显示,便于用户在沿目标侧边单手操作的情况下容易操作到各个音量控件,并且音量控件均沿屏幕侧边显示,占用屏幕的区域较小,在用户使用电子设备观看视频、阅读、玩游戏的场景下,对屏幕中其他内容的显示影响较小。An embodiment of the present invention provides an electronic device. After receiving a user's first input, the electronic device can respond to the first input and sequentially display M volume controls along the target side of the screen of the electronic device. Among the M volume controls The distance between the first side of each volume control and the target side is less than or equal to the preset threshold. On the one hand, since the M volume controls correspond to the M volume modes one-to-one, the electronic device can display the M volume controls corresponding to the M volume modes according to an input of the user. Therefore, when performing volume control, the user does not need to perform extra The operation can trigger the electronic device to display multiple volume controls. For example, when the user presses a physical volume button, the volume controls of multiple volume modes can be displayed, which simplifies the operation steps for the user to adjust the volume and makes the volume adjustment more convenient. On the other hand, the M volume controls are displayed along the side of the target, which is convenient for the user to easily operate each volume control with one-handed operation along the side of the target, and the volume controls are displayed along the side of the screen, occupying the area of the screen. Smaller, in the scene where users use electronic devices to watch videos, read, and play games, it has less impact on the display of other content on the screen.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时, 关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图9中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 9, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡 端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
电子设备100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
可选地,本发明实施例还提供一种电子设备,结合图9,包括处理器110,存储器109,存储在存储器109上并可在处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides an electronic device. With reference to FIG. 9, it includes a processor 110, a memory 109, a computer program stored in the memory 109 and running on the processor 110, and the computer program is When 110 is executed, each process of the foregoing display method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、 磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned display method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (15)

  1. 一种显示方法,应用于电子设备,所述方法包括:A display method applied to an electronic device, the method including:
    接收用户的第一输入;Receive the user's first input;
    响应于所述第一输入,沿所述电子设备屏幕的目标侧边依次显示M个音量控件,所述M个音量控件中的每个音量控件的第一边与所述目标侧边的距离小于或等于预设阈值;In response to the first input, M volume controls are sequentially displayed along the target side of the screen of the electronic device, and the distance between the first side of each of the M volume controls and the target side is less than Or equal to the preset threshold;
    其中,所述M个音量控件与M个音量模式一一对应,每个音量控件的第一边为靠近所述目标侧边的边,M为大于1的整数。Wherein, the M volume controls correspond to the M volume modes one-to-one, the first side of each volume control is the side close to the target side, and M is an integer greater than 1.
  2. 根据权利要求1所述的方法,其中,所述沿所述电子设备屏幕的目标侧边依次显示M个音量控件之后,所述方法还包括:The method according to claim 1, wherein after the M volume controls are sequentially displayed along the target side of the electronic device screen, the method further comprises:
    接收用户从所述M个音量控件中选择第一音量控件的第二输入;Receiving a second input of a user selecting a first volume control from the M volume controls;
    响应于所述第二输入,在所述第一音量控件的显示区域显示所述第一音量控件当前指示的音量数值,以及所述第一音量控件的音量可调范围。In response to the second input, the volume value currently indicated by the first volume control and the volume adjustable range of the first volume control are displayed in the display area of the first volume control.
  3. 根据权利要求1所述的方法,其中,所述沿所述电子设备屏幕的目标侧边依次显示M个音量控件之后,所述方法还包括:The method according to claim 1, wherein after the M volume controls are sequentially displayed along the target side of the electronic device screen, the method further comprises:
    接收用户从所述M个音量控件中选择第二音量控件的第三输入;Receiving a third input of a user selecting a second volume control from the M volume controls;
    响应于所述第三输入,显示第一指示轨迹和第二指示轨迹;In response to the third input, displaying a first indication trajectory and a second indication trajectory;
    接收用户按照目标指示轨迹输入的第四输入;Receiving the fourth input input by the user according to the target indication track;
    响应于所述第四输入,根据所述第四输入的输入参数,调整所述第二音量控件对应的音量的大小;In response to the fourth input, adjusting the volume level corresponding to the second volume control according to the input parameter of the fourth input;
    其中,所述第一指示轨迹提示用户调大音量,所述第二指示轨迹提示用户调小音量,所述目标指示轨迹为所述第一指示轨迹和所述第二指示轨迹中的其中一个。Wherein, the first indication trajectory prompts the user to increase the volume, the second indication trajectory prompts the user to decrease the volume, and the target indication trajectory is one of the first indication trajectory and the second indication trajectory.
  4. 根据权利要求1所述的方法,其中,所述沿所述电子设备屏幕的目标侧边依次显示M个音量控件之后,所述方法还包括:The method according to claim 1, wherein after the M volume controls are sequentially displayed along the target side of the electronic device screen, the method further comprises:
    接收用户的第五输入,所述第五输入为用户在屏幕上沿预设方向朝向所述M个音量控件中的第三音量控件滑动的输入;Receiving a fifth input from the user, where the fifth input is an input of the user sliding toward the third volume control of the M volume controls on the screen in a preset direction;
    响应于所述第五输入,调整所述第三音量控件对应的音量模式的音量为零。In response to the fifth input, the volume of the volume mode corresponding to the third volume control is adjusted to zero.
  5. 根据权利要求1至4中任一项所述的方法,其中,所述目标侧边为在用户单手握持所述电子设备的情况下,握持手握持的侧边对应的屏幕边缘;The method according to any one of claims 1 to 4, wherein the target side is a screen edge corresponding to the side held by the holding hand when the user holds the electronic device with one hand;
    或者,or,
    所述目标侧边为用户操作频率最高的屏幕区域对应的屏幕边缘。The target side is the edge of the screen corresponding to the screen area with the highest user operation frequency.
  6. 根据权利要求1至4中任一项所述的方法,其中,所述M个音量控件中的第四音量控件显示在目标触控区域;The method according to any one of claims 1 to 4, wherein the fourth volume control in the M volume controls is displayed in the target touch area;
    其中,所述第四音量控件对应目标音量模式,所述目标音量模式为前台运行的应用程序对应的音量模式,所述目标触控区域为在单手操作的情况下,与用户的握持位置对应的屏幕区域,所述握持位置为所述电子设备的边框与用户的手部接触的位置。Wherein, the fourth volume control corresponds to a target volume mode, the target volume mode is the volume mode corresponding to the application running in the foreground, and the target touch area is the same as the holding position of the user in the case of one-handed operation. Corresponding to the screen area, the holding position is a position where the frame of the electronic device contacts the user's hand.
  7. 一种电子设备,所述电子设备包括:接收模块和显示模块;An electronic device, the electronic device comprising: a receiving module and a display module;
    所述接收模块,用于接收用户的第一输入;The receiving module is used to receive a user's first input;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,沿所述电子设备屏幕的目标侧边依次显示M个音量控件,所述M个音量控件中的每个音量控件的第一边与所述目标侧边的距离小于或等于预设阈值;The display module is configured to, in response to the first input received by the receiving module, sequentially display M volume controls along the target side of the screen of the electronic device, each of the M volume controls The distance between the first side of and the side of the target is less than or equal to a preset threshold;
    其中,所述M个音量控件与M个音量模式一一对应,每个音量控件的第一边为靠近所述目标侧边的边,M为大于1的整数。Wherein, the M volume controls correspond to the M volume modes one-to-one, the first side of each volume control is the side close to the target side, and M is an integer greater than 1.
  8. 根据权利要求7所述的电子设备,其中,The electronic device according to claim 7, wherein:
    所述接收模块,还用于在所述显示模块沿所述电子设备屏幕的目标侧边依次显示M个音量控件之后,接收用户从所述M个音量控件中选择第一音量控件的第二输入;The receiving module is further configured to receive a second input of the user selecting the first volume control from the M volume controls after the display module sequentially displays M volume controls along the target side of the electronic device screen ;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,在所述第一音量控件的显示区域显示所述第一音量控件当前指示的音量数值,以及所述第一音量控件的音量可调范围。The display module is further configured to display the volume value currently indicated by the first volume control in the display area of the first volume control in response to the second input received by the receiving module, and the first volume control The volume adjustable range of the volume control.
  9. 根据权利要求7所述的电子设备,其中,所述电子设备还包括:调整模块;The electronic device according to claim 7, wherein the electronic device further comprises: an adjustment module;
    所述接收模块,还用于在所述显示模块沿所述电子设备屏幕的目标侧边依次显示M个音量控件之后,接收用户从所述M个音量控件中选择第二音量控件的第三输入;The receiving module is further configured to receive a third input of a user selecting a second volume control from the M volume controls after the display module sequentially displays M volume controls along the target side of the electronic device screen ;
    所述显示模块,还用于响应于所述接收模块接收的所述第三输入,显示第一指示轨迹和第二指示轨迹;The display module is further configured to display a first indication trajectory and a second indication trajectory in response to the third input received by the receiving module;
    所述接收模块,还用于接收用户按照目标指示轨迹输入的第四输入;The receiving module is further configured to receive a fourth input input by the user according to the target instruction track;
    所述调整模块,用于响应于所述接收模块接收的所述第四输入,根据所述第四输入的输入参数,调整所述第二音量控件对应的音量的大小;The adjustment module is configured to adjust the volume corresponding to the second volume control according to the input parameter of the fourth input in response to the fourth input received by the receiving module;
    其中,所述第一指示轨迹提示用于调大音量,所述第二指示轨迹提示用户调小音量,所述目标指示轨迹为所述第一指示轨迹和所述第二指示轨迹中的其中一个。Wherein, the first indication trajectory prompt is used to increase the volume, the second indication trajectory prompts the user to decrease the volume, and the target indication trajectory is one of the first indication trajectory and the second indication trajectory .
  10. 根据权利要求7所述的电子设备,其中,所述电子设备还包括:调整模块;The electronic device according to claim 7, wherein the electronic device further comprises: an adjustment module;
    所述接收模块,还用于在所述显示模块沿所述电子设备屏幕的目标侧边依次显示M个音量控件之后,接收用户的第五输入,所述第五输入为用户在屏幕上沿预设方向朝向所述M个音量控件中的第三音量控件滑动的输入;The receiving module is further configured to receive a fifth input from the user after the display module sequentially displays the M volume controls along the target side of the screen of the electronic device. Set the input direction to slide toward the third volume control of the M volume controls;
    所述调整模块,用于响应于所述接收模块接收的所述第五输入,调整所述第三音量控件对应的音量模式的音量为零。The adjustment module is configured to adjust the volume of the volume mode corresponding to the third volume control to zero in response to the fifth input received by the receiving module.
  11. 根据权利要求7至10中任一项所述的电子设备,其中,所述目标侧边为在用户单手握持所述电子设备的情况下,握持手握持的侧边对应的屏幕边缘;The electronic device according to any one of claims 7 to 10, wherein the target side is a screen edge corresponding to the side held by the holding hand when the user holds the electronic device with one hand ;
    或者,所述目标侧边为用户操作频率最高的屏幕区域对应的屏幕边缘。Alternatively, the target side is the edge of the screen corresponding to the screen area where the user operates the most frequently.
  12. 根据权利要求7至10中任一项所述的电子设备,其中,所述M个音量控件中的第四音量控件显示在目标触控区域;The electronic device according to any one of claims 7 to 10, wherein the fourth volume control of the M volume controls is displayed in the target touch area;
    其中,所述第四音量控件对应目标音量模式,所述目标音量模式为前台运行的应用程序对应的音量模式,所述目标触控区域为在单手操作的情况下,与用户的握持位置对应的屏幕区域,所述握持位置为用户的手部与所述电子设备的边框接触的位置。Wherein, the fourth volume control corresponds to a target volume mode, the target volume mode is the volume mode corresponding to the application running in the foreground, and the target touch area is the same as the holding position of the user in the case of one-handed operation. Corresponding to the screen area, the holding position is the position where the user's hand is in contact with the frame of the electronic device.
  13. 一种电子设备,所述电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的显示方法的步骤。An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to achieve as claimed in claim 1. To the steps of the display method described in any one of 6.
  14. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至6任一项所述的显示方法。An electronic device, comprising the electronic device configured to execute the display method according to any one of claims 1 to 6.
  15. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的显示方法的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the display method according to any one of claims 1 to 6 are realized.
PCT/CN2021/076780 2020-02-24 2021-02-19 Display method and electronic device WO2021169846A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010113687.5 2020-02-24
CN202010113687.5A CN111338597A (en) 2020-02-24 2020-02-24 Display method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021169846A1 true WO2021169846A1 (en) 2021-09-02

Family

ID=71183762

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/076780 WO2021169846A1 (en) 2020-02-24 2021-02-19 Display method and electronic device

Country Status (2)

Country Link
CN (1) CN111338597A (en)
WO (1) WO2021169846A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338597A (en) * 2020-02-24 2020-06-26 维沃移动通信有限公司 Display method and electronic equipment
CN112148167A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Control setting method and device and electronic equipment
CN115469787A (en) * 2021-11-05 2022-12-13 荣耀终端有限公司 Processing method and device for clicking operation and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150130737A1 (en) * 2013-11-13 2015-05-14 Samsung Electronics Co., Ltd. Method and apparatus for controlling electronic device using palm touch
CN105224181A (en) * 2015-10-20 2016-01-06 魅族科技(中国)有限公司 A kind of sidebar display packing and device
US20180364901A1 (en) * 2017-06-19 2018-12-20 Abishkking Ltd. User interface of media player application for controlling media content display
CN109683847A (en) * 2018-12-20 2019-04-26 维沃移动通信有限公司 A kind of volume adjusting method and terminal
CN110798552A (en) * 2019-09-19 2020-02-14 华为技术有限公司 Volume adjusting method and electronic equipment
CN111338597A (en) * 2020-02-24 2020-06-26 维沃移动通信有限公司 Display method and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9047047B2 (en) * 2010-10-01 2015-06-02 Z124 Allowing multiple orientations in dual screen view
US7996792B2 (en) * 2006-09-06 2011-08-09 Apple Inc. Voicemail manager for portable multifunction device
CN103558970A (en) * 2013-10-29 2014-02-05 广东欧珀移动通信有限公司 Volume adjustment method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150130737A1 (en) * 2013-11-13 2015-05-14 Samsung Electronics Co., Ltd. Method and apparatus for controlling electronic device using palm touch
CN105224181A (en) * 2015-10-20 2016-01-06 魅族科技(中国)有限公司 A kind of sidebar display packing and device
US20180364901A1 (en) * 2017-06-19 2018-12-20 Abishkking Ltd. User interface of media player application for controlling media content display
CN109683847A (en) * 2018-12-20 2019-04-26 维沃移动通信有限公司 A kind of volume adjusting method and terminal
CN110798552A (en) * 2019-09-19 2020-02-14 华为技术有限公司 Volume adjusting method and electronic equipment
CN111338597A (en) * 2020-02-24 2020-06-26 维沃移动通信有限公司 Display method and electronic equipment

Also Published As

Publication number Publication date
CN111338597A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN110460907B (en) Video playing control method and terminal
WO2021169846A1 (en) Display method and electronic device
JP7203859B2 (en) Image processing method and flexible screen terminal
KR102554191B1 (en) Information processing method and terminal
CN108920059B (en) Message processing method and mobile terminal
CN110874147B (en) Display method and electronic equipment
CN108920226B (en) Screen recording method and device
WO2021083256A1 (en) Touch-control response method and electronic device
CA3092598C (en) Display method and mobile terminal
JP2023500149A (en) SCREEN DISPLAY CONTROL METHOD AND ELECTRONIC DEVICE
CN109710150B (en) Key control method and terminal
WO2021077908A1 (en) Parameter adjusting method and electronic device
WO2021068885A1 (en) Control method and electronic device
WO2021004306A1 (en) Operation control method and terminal
CN111562896B (en) Screen projection method and electronic equipment
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
WO2019184947A1 (en) Image viewing method and mobile terminal
WO2020078234A1 (en) Display control method and terminal
CN110661949A (en) Control method of display panel and electronic equipment
WO2020156119A1 (en) Application program interface adjustment method and mobile terminal
CN108762613B (en) State icon display method and mobile terminal
CN110597478A (en) Audio output method and electronic equipment
WO2021057222A1 (en) Display method and terminal
CN110941378B (en) Video content display method and electronic equipment
CN109859718B (en) Screen brightness adjusting method and terminal equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21759764

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21759764

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21759764

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01.03.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21759764

Country of ref document: EP

Kind code of ref document: A1