WO2023193479A1 - 单手操作模式的控制方法、装置、电子设备以及存储介质 - Google Patents

单手操作模式的控制方法、装置、电子设备以及存储介质 Download PDF

Info

Publication number
WO2023193479A1
WO2023193479A1 PCT/CN2022/141626 CN2022141626W WO2023193479A1 WO 2023193479 A1 WO2023193479 A1 WO 2023193479A1 CN 2022141626 W CN2022141626 W CN 2022141626W WO 2023193479 A1 WO2023193479 A1 WO 2023193479A1
Authority
WO
WIPO (PCT)
Prior art keywords
sliding
touch screen
electronic device
control
operation mode
Prior art date
Application number
PCT/CN2022/141626
Other languages
English (en)
French (fr)
Inventor
高翔
陈启
黎瀚
谷穗子
池卓哲
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023193479A1 publication Critical patent/WO2023193479A1/zh

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04102Flexible digitiser, i.e. constructional details for allowing the whole digitising part of a device to be flexed or rolled like a sheet of paper

Definitions

  • the present application relates to the technical field of electronic equipment, and more specifically, to a control method, device, electronic equipment and storage medium for one-hand operation mode.
  • this application proposes a control method, device, electronic device and storage medium for one-hand operation mode to solve the above problems.
  • embodiments of the present application provide a method for controlling a one-handed operation mode, which is applied to an electronic device.
  • the electronic device includes a touch screen.
  • the method includes: when the touch screen displays an interface, detecting an action on the touch screen. Sliding operation on the touch screen; if a sliding operation is detected with the corner area of the touch screen as the sliding starting point and the sliding direction toward the center area of the touch screen, the one-handed operation mode of the electronic device is activated.
  • embodiments of the present application provide a control device in a one-handed operation mode, which is applied to electronic equipment.
  • the electronic equipment includes a touch screen.
  • the device includes: a sliding operation detection module for displaying an interface on the touch screen.
  • the one-hand operation mode startup module is used to detect that the corner area of the touch screen is the starting point of the sliding and the center area towards the touch screen is the sliding direction.
  • the sliding operation starts the one-handed operation mode of the electronic device.
  • embodiments of the present application provide an electronic device, including a touch screen, a memory, and a processor.
  • the touch screen and the memory are coupled to the processor.
  • the memory stores instructions. When the instructions are generated by the When the processor is executed, the processor executes the above method.
  • embodiments of the present application provide a computer-readable storage medium, the computer-readable storage medium stores program code, and the program code can be called by a processor to execute the above method.
  • Figure 1 shows a schematic structural diagram of the folded state of an electronic device that can be used for the control method of the one-handed operation mode provided by the embodiment of the present application;
  • Figure 2 shows a schematic structural diagram of an electronic device in an unfolded state that can be used for the control method of the one-handed operation mode provided by the embodiment of the present application;
  • Figure 3 shows a schematic flowchart of a control method for a one-handed operation mode provided by an embodiment of the present application
  • Figure 4 shows a schematic flowchart of a control method for a one-handed operation mode provided by an embodiment of the present application
  • Figure 5 shows a schematic flowchart of a control method for a one-handed operation mode provided by an embodiment of the present application
  • Figure 6 shows a schematic flow chart of the control method of the one-handed operation mode shown in Figure 5 of the present application
  • Figure 7 shows a schematic diagram of a first display change of an electronic device provided by an embodiment of the present application.
  • Figure 8 shows a first display schematic diagram of an electronic device provided by an embodiment of the present application.
  • Figure 9 shows a second display schematic diagram of the electronic device provided by the embodiment of the present application.
  • Figure 10 shows a schematic diagram of the second display change of the electronic device provided by the embodiment of the present application.
  • Figure 11 shows a schematic flowchart of a control method for a one-handed operation mode provided by an embodiment of the present application
  • Figure 12 shows a schematic flow chart of the control method of the one-handed operation mode shown in Figure 11 of the present application
  • Figure 13 shows a schematic diagram of the third display change of the electronic device provided by the embodiment of the present application.
  • Figure 14 shows a schematic diagram of the fourth display change of the electronic device provided by the embodiment of the present application.
  • Figure 15 shows a schematic diagram of the fifth display change of the electronic device provided by the embodiment of the present application.
  • Figure 16 shows a schematic diagram of the sixth display change of the electronic device provided by the embodiment of the present application.
  • Figure 17 shows a schematic diagram of the seventh display change of the electronic device provided by the embodiment of the present application.
  • Figure 18 shows a schematic diagram of an eighth display change of the electronic device provided by the embodiment of the present application.
  • Figure 19 shows a schematic flow chart of the control method of the one-handed operation mode shown in Figure 12 of the present application
  • Figure 20 shows a module block diagram of a control device in a one-handed operation mode provided by an embodiment of the present application
  • Figure 21 shows a block diagram of an electronic device used to perform a control method for a one-handed operation mode according to an embodiment of the present application
  • FIG. 22 shows a storage unit used to save or carry the program code for implementing the control method of the one-hand operation mode according to the embodiment of the present application.
  • the touch screen is the part of the electronic device used to display the user interface and allow users to perform touch operations.
  • the flexible display screen can be turned into a folding screen.
  • the folding screen refers to the use of flexible screen materials and hardware structures such as hinges to realize the unfolding of the touch screen form. Switch to fold.
  • an electronic device with a foldable screen can be in a folded state or an unfolded state. When in the unfolded state, the folding screen can have multiple display areas and display content through the multiple display areas. At this time, the size of the entire touch screen is larger.
  • the touch screen of the electronic device includes a main screen and a secondary screen.
  • the activation of the one-handed operation mode of the electronic device needs to be triggered on the secondary screen of the electronic device and cannot be triggered on the main screen.
  • for the triggering of the one-handed operation mode of the secondary screen if gesture navigation is used and the bottom edge of the electronic device slides horizontally to switch applications when the switch is turned on, slide horizontally along the bottom of the touch screen and pause; if gesture navigation is used and the bottom edge slides horizontally to switch When the application switch is turned off, slide in an arc along the bottom edge of the touch screen and pause; if using the three-key navigation within the touch screen, slide horizontally along the bottom of the touch screen.
  • the touch screen of the electronic device includes a main screen and a secondary screen.
  • the one-handed operation mode of the main screen is entered, which facilitates the user's one-handed operation (gesture navigation bar mode).
  • gesture navigation bar mode By double-clicking the home screen button, you enter the one-handed operation mode of the home screen, which facilitates users to operate with one hand (button navigation bar mode).
  • the step to enter the one-handed operation mode is to enter the main screen one-handed operation mode by sliding downward from the center of the bottom edge of the touch screen.
  • the inventor discovered after long-term research and proposed a control method, device, electronic device and storage medium for the one-handed operation mode provided by the embodiments of the present application.
  • the electronic device is triggered to start through the sliding operation on the touch screen.
  • the one-handed operation mode is used to improve the efficiency of starting the one-handed operation mode and improve the convenience of the user's one-handed operation, thereby improving the user's experience.
  • the specific control method of the one-hand operation mode will be described in detail in subsequent embodiments.
  • the electronic device 100 may be, but is not limited to, a mobile phone, a tablet computer, a game console, a smart wearable device, a vehicle-mounted device and other electronic devices.
  • the electronic device 100 in this embodiment will be described taking a mobile phone as an example.
  • the electronic device 100 includes a foldable case assembly 110, a flexible display screen 120 and electronic components (not shown in the figure).
  • the electronic components are arranged in the foldable case assembly 110.
  • the flexible display screen 120 is laid on the foldable case assembly 110.
  • the foldable case assembly 110 is used to carry the flexible display screen 120 and protect electronic components at the same time.
  • Electronic components may include, but are not limited to, a central processing unit, a memory, a camera, a receiver, a fingerprint module, etc. Specific electronic components may not be limited in the embodiments of this application.
  • the foldable housing assembly 110 includes a first housing 111 , a second housing 112 and a rotating shaft mechanism 113 .
  • the first housing 111 and the second housing 112 are respectively connected to both sides of the rotating shaft mechanism 113 .
  • the second housing 112 can be folded or unfolded relative to the first housing 111 through the rotating shaft mechanism 113, so that the foldable housing assembly 110 drives the flexible display screen 120 to fold or unfold, and the foldable housing assembly 110 and the flexible display screen 120 are overlapped.
  • the electronic device 100 has a relatively large volume, which is convenient for displaying information.
  • the flexible display screen 120 includes a first display part 121 connected to the first housing 111 , a second display part 122 connected to the second housing 112 , and a first display part 121 connected to the second housing 112 . and the bent display portion 123 of the second display portion 122 .
  • the first display part 121, the second display part 122 pair and the bent display part 123 can form multiple display areas (for example, form two display areas, form three display areas, form four display areas... form N display areas).
  • the first display part 121 and the second display part 122 are folded or unfolded relative to the first housing 111 and the second housing 112 respectively.
  • the bending display part 123 is bent or flattened as the first display part 121 and the second display part 122 are folded or unfolded.
  • the first display part 121 , the second display part 122 and the bending display part 123 may be an integrated structure, so that the flexible display screen 120 is a one-piece flexible display screen; or, in some other embodiments, , the bending display part 123 is a bendable flexible part, and the first display part 121 and the second display part 122 may be non-flexible parts.
  • the first display part 121 and the second display part 122 are connected through the bending display part 123 Fold or unfold relative to each other.
  • the first display part 121 and the second display part 122 are separated from each other, so that the electronic device 100 presents an outward-folding screen structure.
  • the user can also observe the display content of the flexible display screen 120 when it is folded, which improves the convenience of using the electronic device 100 .
  • the first housing 111 and the second housing 112 are overlapped, the first display part 121 and the second display part 122 are close to each other, so that the electronic device 100 presents an inward-folding screen structure. , so that the flexible display screen 120 is protected from scratch damage.
  • the above-mentioned naming of the first display part 121 , the second display part 122 and the bending display part 123 is only provided for the convenience of description and does not serve as a structural limitation of the flexible display screen 120 .
  • the first display part 121, the second display part 122 and the bending display part 123 may not have obvious boundaries, or the flexible display screen 120 may appear in other divided structures, for example, the flexible display screen 120 includes the first display part 121 And a second display part 122 connected to the first display part 121.
  • the first display part 121 and the second display part 122 can rotate relatively to fold or unfold.
  • FIG. 3 is a schematic flowchart of a control method for a one-handed operation mode provided by an embodiment of the present application.
  • This method is used to trigger and start the one-handed operation mode of the electronic device through the sliding operation on the touch screen, so as to improve the efficiency of starting the one-handed operation mode and improve the convenience of the user's one-handed operation, so as to improve the user's use experience. Effect.
  • the control method of the one-hand operation mode is applied to the control device 200 in the one-hand operation mode as shown in FIG. 20 and the electronic device 100 configured with the control device 200 in the one-hand operation mode ( FIG. 21 ) .
  • the following will take an electronic device as an example to illustrate the specific process of this embodiment.
  • the electronic devices applied in this embodiment may include smart phones, tablet computers, wearable electronic devices, etc., which are not limited here.
  • the electronic device includes a touch screen.
  • the process shown in Figure 3 will be described in detail below.
  • the control method of the one-handed operation mode may specifically include the following steps:
  • Step S110 When the touch screen displays an interface, detect a sliding operation on the touch screen.
  • the electronic device can display an interface on the touch screen, and the electronic device can detect the sliding operation on the touch screen when the interface is displayed on the touch screen.
  • the interface may include a desktop, an application page, etc., which is not limited here.
  • the device's touch screen is not lit, it can be determined that the touch screen does not display an interface.
  • it can be determined that the touch screen displays an interface.
  • the touch screen of the electronic device is lit and not unlocked, it can be determined that the touch screen does not display an interface.
  • sliding operations on the touch screen may be detected.
  • the electronic device can detect the sliding operation on the touch screen in real time; it can detect the sliding operation on the touch screen at preset time intervals; it can detect the sliding operation on the touch screen at preset time points. ; You can also detect sliding operations on the touch screen according to other preset rules, which are not limited here.
  • the electronic device may include a touch sensor.
  • the electronic device can detect touch operations on the touch screen through the touch sensor. For example, it can detect click operations on the touch screen (single-finger click operation, two-finger click operation, three-finger click operation, etc.); It can detect the pressing operation (single-finger pressing operation, two-finger pressing operation, three-finger pressing operation, long pressing operation, short pressing operation, etc.) on the touch screen; it can detect the sliding operation (single-finger sliding operation) on the touch screen. operation, two-finger sliding operation, multi-finger sliding operation, etc.) for detection, etc., which are not limited here.
  • Step S120 If a sliding operation is detected with the corner area of the touch screen as the sliding starting point and the sliding direction toward the center area of the touch screen, activate the one-handed operation mode of the electronic device.
  • the detected sliding operation is a sliding operation with the corner area of the touch screen as the sliding starting point and the sliding direction toward the center area of the touch screen, it can be considered that the user desires to trigger the one-handed operation mode, and then the user can respond to This sliding operation activates the one-handed operation mode of the electronic device.
  • the electronic device can detect the sliding starting point corresponding to the sliding operation.
  • the electronic device can detect the sliding starting point corresponding to the sliding operation through a touch sensor.
  • the touch position of the first touch of the sliding operation on the touch screen can be obtained, and the position of the sliding starting point determined from the touch position.
  • the touch area corresponding to the first touch position of the sliding operation on the touch screen can be obtained, and the touch area can be determined as the starting point of the sliding operation. Location.
  • the electronic device may have a corner area of the touch screen defined in advance. When the electronic device detects the location of the sliding starting point corresponding to the sliding operation, it may determine whether the sliding starting point is within the predefined corner area of the touch screen. .
  • the corner area may include a target area formed by adjacent boundaries of the touch screen, such as a fan-shaped area formed by adjacent boundaries of the touch screen, a rectangular area formed by adjacent boundaries of the touch screen, or an irregular area formed by adjacent boundaries of the touch screen. Rule areas, etc. are not limited here.
  • the shape of the touch screen of the electronic device is a rectangle, it can be determined that the touch screen includes four corner areas, then when the sliding starting point corresponding to the sliding operation is located in any one of the four corner areas, It can be considered that the sliding starting point corresponding to the sliding operation is located in the corner area.
  • the electronic device when it obtains the position of the sliding starting point corresponding to the sliding operation, it can compare the position of the sliding starting point with the position area corresponding to the corner area to determine whether the position of the sliding starting point falls into the corner. Within the location area corresponding to the area. Among them, when it is determined that the position of the sliding starting point falls within the position area corresponding to the corner area, it can be determined that the sliding starting point is within the corner area; when it is determined that the position of the sliding starting point does not fall within the position area corresponding to the corner area, then It can be determined that the sliding starting point is not within the corner area.
  • a coordinate system can be established with an electronic device.
  • the electronic device can obtain the coordinates corresponding to the sliding starting point in the coordinate system, and compare the coordinates with the corner area in the coordinate system. Compare the corresponding coordinate range under the system to determine whether the coordinate is within the coordinate range. When it is determined that the coordinate is within the coordinate range, it can be determined that the sliding starting point is in the corner area. When it is determined that the coordinate is not within the coordinate range, When , it can be determined that the sliding starting point is not in the corner area.
  • the electronic device can detect the sliding direction corresponding to the sliding operation.
  • the electronic device can detect the sliding direction corresponding to the sliding operation through a touch sensor.
  • the sliding starting point corresponding to the sliding operation and the sliding end point corresponding to the sliding operation can be obtained, and the sliding corresponding to the sliding operation is determined based on the sliding starting point and the sliding end point. direction.
  • the direction of the sliding end point relative to the sliding starting point can be obtained, and the direction of the sliding end point relative to the sliding starting point is determined as the sliding direction corresponding to the sliding operation.
  • the sliding end point may include any position on the touch screen, which is not limited here.
  • the electronic device may have a central area of the touch screen predefined, and when the electronic device detects the sliding direction corresponding to the sliding operation, it may determine whether the sliding direction corresponding to the sliding operation is toward the central area of the touch screen.
  • the central area may include a peripheral area spread out from the center of the touch screen.
  • the sliding direction can be compared with the preset direction of the corner area towards the center area.
  • the sliding direction is If the direction matches the preset direction of the corner area toward the center area, then it can be determined that the sliding direction corresponding to the sliding operation is the direction toward the center area of the touch screen.
  • activating the one-handed operation mode of the electronic device may include: reducing the interface according to a preset ratio, and displaying the reduced interface in an area corresponding to the corner area to facilitate the user's one-handed operation; or, The area corresponding to the corner area displays the operation control, and the control control associated with the operation control is displayed on the display interface to facilitate the user to control the control control by touching the operation control with one hand.
  • the control method of the one-handed operation mode detects a sliding operation acting on the touch screen in the case of a touch screen display interface. If it is detected that the corner area of the touch screen is used as the sliding starting point and the direction is toward the center of the touch screen The sliding operation in the sliding direction activates the one-handed operation mode of the electronic device, thereby triggering the start of the one-handed operation mode of the electronic device through the sliding operation on the touch screen, thereby improving the efficiency of starting the one-handed operation mode, and improving The convenience of one-handed operation improves the user experience.
  • FIG. 4 is a schematic flowchart of a control method for a one-handed operation mode provided by an embodiment of the present application. This method is applied to the above-mentioned electronic device, which includes a touch screen. The process shown in Figure 4 will be described in detail below.
  • the control method of the one-handed operation mode may specifically include the following steps:
  • Step S210 When the touch screen displays an interface, detect a sliding operation on the touch screen.
  • step S210 For the specific description of step S210, please refer to step S110, which will not be described again here.
  • Step S220 If a sliding operation is detected with the corner area of the touch screen as the sliding starting point and the sliding direction toward the center area of the touch screen, obtain the hovering duration of the sliding operation at the sliding end point.
  • the electronic device can be preset and stored with multiple one-hand operation modes, wherein the multiple one-hand operation modes are used to facilitate the user's one-hand operation, and the multiple one-hand operation modes are displayed and stored in the display screen. Operations vary.
  • the detected sliding operation is a sliding operation with the corner area of the touch screen as the sliding starting point and the sliding direction toward the center area of the touch screen, then it can be considered that the user desires to trigger the one-handed operation mode, and the user can obtain the sliding operation.
  • the electronic device may include a timer.
  • the timer can be controlled to start timing, and when a release operation is detected, the timer can be controlled to stop timing, and the duration counted by the timer during this period is obtained, and This duration is determined as the hovering time of the sliding operation at the sliding end point.
  • Step S230 Start the one-handed operation mode corresponding to the hovering duration from the multiple one-handed operation modes of the electronic device.
  • the electronic device may be preset and stored with multiple one-handed operation modes, and each one-handed operation mode is associated with a different hovering duration. Therefore, in this embodiment, when the hovering duration of the sliding operation at the sliding end point is obtained, the single-handed operation mode corresponding to the hovering duration of the sliding operation at the sliding end point can be started from multiple one-handed operation modes of the electronic device. Hand operation mode, thereby improving the diversity of one-hand operation mode activation.
  • the electronic device may have a mapping relationship table pre-established.
  • the mapping relationship table may include multiple one-handed operation modes, multiple hovering durations, and the combination of multiple one-handed operation modes and multiple hovering durations. correspondence between.
  • the corresponding relationship may include one one-hand operation mode corresponding to one hovering duration, one one-handed operation mode corresponding to multiple hovering durations, etc., which are not limited here.
  • the plurality of one-hand operation modes include a first one-hand operation mode and a second one-hand operation mode
  • the plurality of hovering durations include a first hovering duration and a second hovering duration
  • the first one-handed operation mode Corresponding to the first hovering duration
  • the second one-hand operation mode corresponds to the second hovering duration.
  • the hovering duration of the sliding operation at the sliding end point can be The duration is compared with the first hover duration and the second hover duration to determine whether the hover duration of the sliding operation at the sliding endpoint matches the first hovering duration, and whether the hovering duration of the sliding operation at the sliding endpoint matches the second hovering duration. Whether the hover duration matches.
  • the first one-handed operation mode can be started on the electronic device; when the hovering duration of the sliding operation at the sliding end point matches the second hovering duration When matched, the second one-hand operation mode can be activated on the electronic device.
  • this embodiment Compared with the control method of the one-handed operation mode shown in Figure 3, this embodiment also detects that the corner area of the touch screen is used as the sliding starting point, and the direction is If the central area of the touch screen is a sliding operation in the sliding direction, the hovering duration of the sliding operation at the sliding end point is obtained, and the one-handed operation mode corresponding to the hovering duration is started from the multiple one-handed operation modes of the electronic device, thereby passing Activate different one-handed operation modes at different hovering durations at the sliding end point to improve the diversity of one-handed operation mode activation.
  • FIG. 5 is a schematic flowchart of a control method for a one-handed operation mode provided by an embodiment of the present application. This method is applied to the above-mentioned electronic device.
  • the electronic device includes a touch screen.
  • the multiple one-hand operation modes of the electronic device include a first one-hand operation mode. The process shown in Figure 5 will be described in detail below.
  • the one-hand operation mode The mode control method may specifically include the following steps:
  • Step S310 When the touch screen displays an interface, detect a sliding operation on the touch screen.
  • step S310 For the specific description of step S310, please refer to step S110, which will not be described again here.
  • Step S320 If a sliding operation is detected with the corner area of the touch screen as the sliding starting point and the sliding direction toward the center area of the touch screen, obtain the hovering duration of the sliding operation at the sliding end point.
  • step S320 For the specific description of step S320, please refer to step S220, which will not be described again here.
  • Step S330 If the hovering duration does not reach the preset duration, activate the first one-handed operation mode from the plurality of one-handed operation modes of the electronic device.
  • the one-hand operation mode set by the electronic device may include the first one-hand operation mode.
  • the first one-hand operation mode is used when the preset conditions are met through the sliding operation on the interface of the electronic device based on the existing tasks (taking the corner area of the touch screen as the starting point of the sliding and facing the center area of the touch screen) For the sliding direction, as well as the sliding operation where the hovering time at the sliding end point does not reach the preset time), the operation control is called up. At this time, the display ratio of the interface will not be changed.
  • the user uses one-hand operation Manipulate the operation control area with your hand, use your finger to slide to move the virtual control control, control the control control to the target application or function button position, confirm the selection by clicking on the operation area, and complete the one-handed operation in this first one-hand operation mode. . Since users can select the operating area for one-handed operation according to their own needs, and the display mode of the electronic device will not be interrupted, this greatly improves the convenience of controlling the electronic device with one hand and improves the user experience.
  • the electronic device may be preset and stored with a preset duration, which is used as a basis for determining the hovering duration of the sliding operation at the sliding end point. Therefore, in this embodiment, when the hovering duration of the sliding operation at the sliding end point is obtained, the hovering duration of the sliding operation at the sliding end point can be compared with the preset duration to determine the hovering duration of the sliding operation at the sliding end point. Whether the hover duration does not reach the preset duration.
  • the preset time period may include, for example, 2 seconds.
  • the hovering duration does not reach the preset duration, it means that the sliding operation meets the requirements for activating the first one-handed operation mode, and the first single-handed operation mode can be activated from multiple one-handed operation modes of the electronic device. Hand operation mode.
  • FIG. 6 is a schematic flowchart of the control method of the one-handed operation mode shown in FIG. 5 of the present application.
  • the process shown in Figure 6 will be described in detail below.
  • the method may specifically include the following steps:
  • Step S331 Based on the corner area, determine a first one-hand operation area on the touch screen.
  • the first one-hand operation area can be determined on the touch screen based on the corner area where the sliding starting point is located.
  • the position of the first one-hand operation area corresponds to the position of the corner area. For example, if the corner area is located in the lower left corner of the touch screen, then the first one-hand operation area is located on the left side or the lower left corner of the touch screen; If the corner area is located in the lower right corner of the touch screen, the first one-hand operation area is located on the right side or the lower right corner of the touch screen; if the corner area is located in the upper left corner of the touch screen, the first one-hand operation area is located on the left side of the touch screen Or the upper left corner; if the corner area is located in the upper right corner of the touch screen, the first one-hand operation area is located on the right side or the upper right corner of the touch screen.
  • the corner area where the sliding starting point is located can be determined as the first one-hand operation area; the surrounding area of the corner area where the sliding starting point is located can be determined as the first one-handed operation area; the sliding starting point can also be determined as the first one-handed operation area.
  • the corner area and the surrounding area of the corner area are determined as the first one-hand operation area.
  • Step S332 Display an operation control in the first one-hand operation area, and display a control control associated with the operation control on the interface.
  • the operation control when the first one-hand operation area is determined from the touch screen, the operation control may be displayed in the first one-hand operation area, and the control control associated with the operation control may be displayed on the interface.
  • the operation control may include a "control panel”, and the control control may include, for example, a "simulation ball", a "cursor”, etc., which are not limited here.
  • FIG. 7 shows a schematic diagram of a first display change of an electronic device provided by an embodiment of the present application.
  • the electronic device when the electronic device does not activate the first one-handed operation mode, the electronic device can display interface A.
  • the electronic device can respond by using the corner area of the touch screen as the sliding starting point. , with the sliding operation toward the center area of the touch screen as the sliding direction, the first one-handed operation mode of the electronic device is started.
  • the electronic device is in interface A. Display control control B, and display operation control C in the first one-hand operation area.
  • the operation control can be displayed in a floating manner in the first one-hand operation area, and the control control can be displayed in a floating manner in the interface.
  • the operation control may be displayed in the first one-hand operation area in a manner covering part of the interface, and the control control may be displayed in the first one-hand operation area in a manner covering part of the interface.
  • the display position of the operation control can be always fixed or can be changed according to the position change instruction.
  • the display position of the control control can be Changes based on actions performed on the action control.
  • the electronic device can detect a touch operation acting on the operation controls. Wherein, if a touch operation on the operation control is detected, the operation control and the control control are displayed with the first transparency; or, if no touch operation on the operation control is detected, the operation control and the control control are displayed with the second transparency The operation control and the control control, wherein the second transparency is greater than the first transparency.
  • the electronic device can detect touch operations acting on the operating controls.
  • the electronic device can detect click operations, pressing operations, sliding operations, etc. acting on the operating controls.
  • the control control such as movement control, click control
  • the operation controls and control controls can be displayed according to the first transparency, where the transparency corresponding to the first transparency Can be lowered to more clearly display operating controls and controls.
  • the operation controls and control controls can be displayed according to the second transparency, wherein the transparency corresponding to the second transparency can be higher, so that the operation controls and control controls can be displayed more implicitly, that is, the content of the interface can be displayed more clearly.
  • FIG. 8 shows a first schematic display diagram of an electronic device provided by an embodiment of the present application
  • FIG. 9 shows a second schematic display diagram of an electronic device provided by an embodiment of the present application.
  • the operation control C and control control B are displayed with the first transparency.
  • the operation control C and the control control B are displayed with a second transparency, where the second transparency is greater than the first transparency.
  • Step S333 In response to the touch operation on the operation control, control the control control to perform corresponding operations on the content in the interface.
  • the electronic device can detect the touch operation acting on the operation controls.
  • the control control can be controlled to perform corresponding operations on the content in the interface.
  • the control control can be controlled to move in the interface in response to the sliding operation; when a click operation on the operation control is detected, the control control can be controlled in response to the sliding operation.
  • the control control is controlled to trigger the content displayed at the location of the control control in the interface.
  • Step S334 In response to the drag operation of dragging the operation control to move in the first preset direction, turn off the first one-handed operation mode of the electronic device.
  • the electronic device can detect the touch operation acting on the operation controls.
  • the first one-handed operation mode of the electronic device can be turned off in response to the drag operation.
  • turning off the first one-hand operation mode of the electronic device may include: deleting the operation controls and control controls in the interface; or hiding the operation controls and control controls in the interface.
  • the first preset direction may include a direction toward the lower edge of the touch screen.
  • the electronic device can detect a touch operation acting on the upper edge of the operation control. Wherein, when a long press operation acting on the upper edge of the operation control is detected, the operation control can be determined to be in the selected state in response to the long press operation. While the operation control is in the selected state, after the operation control is detected, In the case of a drag operation of the operation control, the first one-handed operation mode of the electronic device can be turned off in response to the drag operation.
  • a touch operation acting on the operation controls can be detected.
  • a drag operation of dragging the operation control to move in the first preset direction at a target speed that is, a speed greater than the preset speed
  • the first side of the electronic device can be turned off in response to the drag operation.
  • One-handed operation when a drag operation of dragging the operation control to move in the first preset direction at a target speed (that is, a speed greater than the preset speed) is detected, the first side of the electronic device can be turned off in response to the drag operation.
  • a target speed that is, a speed greater than the preset speed
  • a touch operation acting on the upper edge of the operation controls may be detected.
  • the operation control can be determined to be in the selected state in response to the long press operation.
  • the electronic device can The first prompt information is displayed on the touch screen, where the first prompt information is used to prompt the user to quickly swing the operation control in the first preset direction (speed greater than the preset speed) to turn off the first one-handed operation mode, accordingly , the user can drag the operation control to move along the first preset direction at a target speed based on the prompt information, and the electronic device turns off the electronic device in response to the first one-handed operation.
  • FIG. 10 shows a schematic diagram of the second display change of the electronic device provided by the embodiment of the present application.
  • the electronic device displays operation control C and control control B on interface A
  • the first preset direction such as the lower edge of the touch screen
  • the first one-handed operation mode of the electronic device is turned off, that is, the operation control C and the control control B are deleted in the interface A, as shown in (b) of Figure 10 .
  • this embodiment also detects that the corner area of the touch screen is used as the sliding starting point, and the direction is If the central area of the touch screen is a sliding operation in the sliding direction, the hovering duration of the sliding operation at the sliding end point is obtained, and when the hovering duration does not reach the preset duration, the first one of the multiple one-handed operation modes of the electronic device is started.
  • One-hand operation mode thereby activating the first one-hand operation mode when the hovering time of the sliding end point does not reach the preset time, so as to improve the convenience of starting the corresponding one-hand operation mode.
  • FIG. 11 is a schematic flowchart of a control method for a one-handed operation mode provided by an embodiment of the present application. This method is applied to the above-mentioned electronic device.
  • the electronic device includes a touch screen.
  • the multiple one-hand operation modes of the electronic device include a second one-hand operation mode.
  • the process shown in Figure 11 will be described in detail below.
  • the one-hand operation mode The mode control method may specifically include the following steps:
  • Step S410 When the touch screen displays an interface, detect a sliding operation on the touch screen.
  • step S410 For the specific description of step S410, please refer to step S110, which will not be described again here.
  • Step S420 If a sliding operation is detected with the corner area of the touch screen as the sliding starting point and the sliding direction toward the center area of the touch screen, obtain the hovering duration of the sliding operation at the sliding end point.
  • step S420 please refer to step S220, which will not be described again here.
  • Step S430 If the hovering duration reaches the preset duration, activate the second one-handed operation mode from among the multiple one-handed operation modes of the electronic device.
  • the one-hand operation mode set by the electronic device may include a second one-hand operation mode.
  • the second one-hand operation mode is used to display thumbnails of the interface on the touch screen of the electronic device by reducing the interface according to a preset ratio based on existing tasks. During this period of time, the user can use a function similar to "icon sinking" on the electronic device to operate tasks in the thumbnails of the interface with one hand.
  • this second one-handed operation mode it is more convenient to click on the application.
  • This function of the second one-handed operation mode allows users to use this function to slide their fingers freely among application icons when the other hand is not busy, which is very convenient for users of electronic devices with small hands. , and also improves the efficiency of opening applications with one hand.
  • the electronic device may be preset and stored with a preset duration, which is used as a basis for determining the hovering duration of the sliding operation at the sliding end point. Therefore, in this embodiment, when the hovering duration of the sliding operation at the sliding end point is obtained, the hovering duration of the sliding operation at the sliding end point can be compared with the preset duration to determine the hovering duration of the sliding operation at the sliding end point. Whether the hover duration reaches the preset duration.
  • the hovering duration reaches the preset duration, it means that the sliding operation meets the requirements for activating the second one-handed operation mode, and the second one-handed operation mode can be activated from multiple one-handed operation modes of the electronic device. operating mode.
  • FIG. 12 is a schematic flowchart of the control method of the one-handed operation mode shown in FIG. 11 of the present application.
  • the process shown in Figure 12 will be described in detail below.
  • the method may specifically include the following steps:
  • Step S431 Based on the corner area, determine a second one-hand operation area on the touch screen.
  • the second one-hand operation area can be determined on the touch screen based on the corner area where the sliding starting point is located.
  • the position of the second one-hand operation area corresponds to the position of the corner area. For example, if the corner area is located in the lower left corner of the touch screen, then the second one-hand operation area is located on the left side or the lower left corner of the touch screen (approximately Occupying a quarter of the area of the touch screen); if the corner area is located in the lower right corner of the touch screen, then the second one-hand operation area is located on the right side or lower right corner of the touch screen (accounting for approximately a quarter of the area of the touch screen); if the corner area If the corner area is located in the upper left corner of the touch screen, then the second one-hand operation area is located on the left or upper left corner of the touch screen (accounting for about a quarter of the touch screen); if the corner area is located in the upper right corner of the touch screen, then the second one-
  • the hand operation area is located on the right side or upper right corner of the touch screen (accounting for about a quarter of the touch screen area). Wherein, the size of the second one-hand operation area may be greater than or equal to the size of the first one-hand operation area.
  • Step S432 Reduce the interface according to a preset ratio to obtain a target interface, and display the target interface in the second one-hand operation area.
  • the electronic device may be preset and stored with a preset ratio.
  • the interface when the second one-hand operation area is determined from the touch screen, the interface can be reduced according to a preset and stored preset ratio to obtain the target interface, and the target interface can be displayed in the second one-hand operation area.
  • the display size of the interface is larger than the display size of the target interface, the display content of the interface is consistent with the display content of the target interface, and the functions supported by the interface are also consistent with the functions supported by the target interface.
  • FIG. 13 shows a third display change schematic diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device when the electronic device starts the second one-handed operation mode, the electronic device can display the interface A.
  • the electronic device can respond by using the corner area of the touch screen as the sliding starting point. , with the sliding operation toward the center area of the touch screen as the sliding direction, the second one-handed operation mode of the electronic device is started.
  • the electronic device in the second one-handed operation mode, the electronic device follows the preset Scale down the interface A to obtain the target interface D, and display the target interface D in the second one-hand operation area.
  • the second prompt information can be displayed on the touch screen, where the second prompt information is used to prompt the user to release the touch control to enter.
  • the user can release the touch control based on the prompt information.
  • the electronic device shrinks the interface according to a preset ratio to obtain the target interface, and displays the target interface in the second one-handed operation area.
  • FIG. 14 shows a fourth display change schematic diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device when the electronic device starts the second one-handed operation mode, the electronic device can display interface A.
  • the electronic device can respond by using the corner area of the touch screen as the sliding starting point. , with the sliding operation toward the center area of the touch screen as the sliding direction, reduce the interface A according to the preset ratio to obtain the target interface D and the second prompt information E, as shown in (b) in Figure 14, when the release touch is detected , then the target interface D is displayed in the second one-hand operation area, as shown in (c) in Figure 14 .
  • the electronic device can detect a touch operation acting on the target interface.
  • the target interface when a drag operation is detected in which the drag target interface moves along the third preset direction, the target interface can be controlled to move along the third preset direction; when it is detected that the drag target interface moves along the fourth preset direction.
  • the target interface In the case of a moving drag operation, the target interface can be controlled to move along the fourth preset direction.
  • the third preset direction may be "left" and the fourth preset direction may be "right”; or, the third preset direction may be "right” and the fourth preset direction may be "right” Left".
  • a navigation bar may be displayed at the upper edge of the target interface.
  • the electronic device can detect the touch operation on the navigation bar.
  • the target interface can be controlled to move along the third preset direction;
  • the drag operation of dragging the navigation bar along the fourth preset direction is detected In the case of a moving drag operation, the target interface can be controlled to move along the fourth preset direction.
  • FIG. 15 shows a schematic diagram of a fifth display change of an electronic device provided by an embodiment of the present application.
  • the electronic device when the electronic device is displaying the target interface D and the navigation bar F, the electronic device can respond to dragging the navigation bar F to move along the third preset direction (right in the illustration). Through the manual operation, the target interface D is controlled to move along the third preset direction, as shown in (b) in Figure 15.
  • the electronic device can detect a touch operation acting on the target interface.
  • a drag operation of dragging the target interface along the diagonal direction of the target interface is detected, the display size of the target interface can be changed. For example, the display size of the target interface can be increased, or the display size can be reduced.
  • the display size of the target interface, etc. are not limited here.
  • FIG. 16 shows a schematic diagram of a sixth display change of an electronic device provided by an embodiment of the present application.
  • the electronic device when the electronic device is displaying the target interface D and the navigation bar F, it can respond to the drag operation of dragging the target interface D along the diagonal direction of the target interface D, The display size of the target interface D is changed, and the display size of the target interface D is increased as shown in (b) of FIG. 16 .
  • Step S433 In response to the drag operation of dragging the target interface to move in the second preset direction, turn off the second one-handed operation mode of the electronic device.
  • the electronic device can detect the touch operation used on the target interface yesterday.
  • the second one-handed operation mode of the electronic device may be turned off in response to the drag operation.
  • turning off the second one-hand operation mode of the electronic device may include: restoring the display target interface to the display interface.
  • the second preset direction may include a direction toward the upper edge of the touch screen.
  • FIG. 17 is a schematic diagram of a seventh display change of the electronic device provided by the embodiment of the present application.
  • the electronic device when it is in the process of displaying the target interface D, it can respond to the drag operation of dragging the target interface D to move along the second preset direction (shown as upward), then The second one-handed operation mode can be turned off, that is, the display target interface D can be switched to the display interface A, as shown in (b) of Figure 17 .
  • a navigation bar may be displayed at the upper edge of the target interface.
  • the electronic device can detect the touch operation on the navigation bar.
  • the second one-handed operation mode of the electronic device can be turned off.
  • third prompt information may be displayed. The third prompt information is used to prompt the user to drag the navigation bar to move quickly in the second preset direction.
  • the second one-handed operation mode of the electronic device can be turned off.
  • FIG. 18 is a schematic diagram of an eighth display change of an electronic device provided by an embodiment of the present application.
  • the electronic device detects a pressing operation on the navigation bar F during the process of displaying the target interface D and the navigation bar F
  • the third prompt information G can be displayed.
  • the second one-handed operation mode can be turned off, that is, the display target interface D can be switched to the display interface A, as shown in (b in Figure 18 ) shown.
  • FIG. 19 is a schematic flowchart of the control method of the one-handed operation mode shown in FIG. 12 of the present application.
  • the process shown in Figure 19 will be described in detail below.
  • the method may specifically include the following steps:
  • Step S4331 If the pressing duration on the navigation bar reaches a preset duration, determine the target interface to be in a selected state.
  • the electronic device may be preset and stored with a preset duration, and the preset duration is used as a basis for judging the duration of the press on the navigation bar. Therefore, in this embodiment, during the process of displaying the target interface and the navigation bar, the electronic device can detect the pressing duration corresponding to the pressing operation on the navigation bar. When the pressing duration corresponding to the pressing operation on the navigation bar is detected, the pressing duration corresponding to the pressing operation on the navigation bar can be compared with the preset duration to determine whether the pressing duration reaches the preset duration. .
  • the target interface when it is determined that the pressing duration reaches the preset duration, the target interface may be determined to be in the selected state; when it is determined that the pressing duration does not reach the preset duration, the target interface may not be determined to be in the selected state.
  • the third prompt information can be displayed in the interface.
  • Step S4332 In response to the drag operation of dragging the target interface in the selected state to move along the second preset direction, turn off the second one-handed operation mode of the electronic device.
  • the system may respond to dragging the target interface in the selected state.
  • the drag operation moving along the second preset direction turns off the second one-handed operation mode of the electronic device.
  • this embodiment also detects that the corner area of the touch screen is used as the sliding starting point, and the direction is If the central area of the touch screen is a sliding operation in the sliding direction, the hovering duration of the sliding operation at the sliding end point is obtained, and when the hovering duration does not reach the preset duration, the second one-hand operation mode of the electronic device is started.
  • One-handed operation mode thereby activating the second one-handed operation mode when the hovering time of the sliding end point does not reach the preset time, so as to improve the convenience of starting the corresponding one-handed operation mode.
  • FIG. 20 shows a module block diagram of a control device in a one-handed operation mode provided by an embodiment of the present application.
  • the control device 200 for the one-hand operation mode is applied to the above-mentioned electronic equipment.
  • the electronic equipment includes a touch screen. The following will be described with reference to the block diagram shown in FIG. 20 .
  • the control device 200 for the one-hand operation mode includes: a sliding operation detection module 210 and one-handed operation mode activation module 220, wherein:
  • the sliding operation detection module 210 is configured to detect a sliding operation acting on the touch screen when the touch screen displays an interface.
  • the one-hand operation mode activation module 220 is configured to activate the one-hand operation of the electronic device if a sliding operation is detected with the corner area of the touch screen as the sliding starting point and the sliding direction toward the center area of the touch screen. model.
  • the one-hand operation mode startup module 220 includes: a hover duration acquisition sub-module and a one-hand operation mode startup sub-module, wherein:
  • the hover duration acquisition submodule is used to obtain the hover duration of the sliding operation at the sliding end point if a sliding operation is detected with the corner area of the touch screen as the sliding starting point and the sliding direction toward the center area of the touch screen. Stop length.
  • a one-handed operation mode activating submodule is configured to activate a one-handed operation mode corresponding to the hovering duration from a plurality of one-handed operation modes of the electronic device.
  • the plurality of one-hand operation modes include a first one-hand operation mode and a second one-hand operation mode
  • the one-hand operation mode activating sub-module includes: a first one-hand operation mode activating unit and a second one-hand operation mode. Mode starts the unit, where:
  • a first one-hand operation mode activating unit is configured to activate the first one-hand operation mode from a plurality of one-hand operation modes of the electronic device if the hovering time reaches a preset time length.
  • the first one-hand operation mode starting unit includes: a first one-hand operation area determination sub-unit, a control display sub-unit and an operation control sub-unit, wherein:
  • a first one-hand operation area determination subunit is configured to determine a first one-hand operation area on the touch screen based on the corner area.
  • a control display subunit is configured to display operation controls in the first one-hand operation area, and display control controls associated with the operation controls on the interface.
  • An operation control subunit is used to control the control control to perform corresponding operations on the content in the interface in response to a touch operation acting on the operation control.
  • the first one-hand operation mode starting unit also includes: a first control display sub-unit and a second control display sub-unit, wherein:
  • the first control display subunit is used to display the operation control and the control control with a first transparency if a touch operation on the operation control is detected.
  • the second control display subunit is used to display the operation control and the control control with a second transparency if no touch operation on the operation control is detected, wherein the second transparency is greater than the third transparency.
  • first one-hand operation mode activation unit also includes: a first one-hand operation mode shutdown subunit, wherein:
  • the first one-hand operation mode closing subunit is configured to close the first one-hand operation mode of the electronic device in response to a drag operation of dragging the operation control to move in a first preset direction.
  • the second one-hand operation mode activating unit is configured to activate the second one-hand operation mode from a plurality of one-hand operation modes of the electronic device if the hovering duration does not reach the preset duration.
  • the second one-hand operation startup unit includes: a second unit operation area determination subunit and a target interface display subunit, wherein:
  • a second one-hand operation area determination subunit is configured to determine a second one-hand operation area on the touch screen based on the corner area.
  • the target interface display subunit is used to reduce the interface according to a preset ratio to obtain the target interface, and display the target interface in the second one-hand operation area.
  • the second one-hand operation activation unit also includes: a second one-hand operation mode shutdown subunit, wherein:
  • the second one-hand operation mode closing subunit is configured to close the second one-hand operation mode of the electronic device in response to a drag operation of dragging the target interface to move in a second preset direction.
  • the target interface includes a navigation bar
  • the second one-handed operation mode closing sub-unit includes: a selected state determination sub-unit and a second one-handed operation mode closing sub-unit, wherein:
  • the selected state determination sub-subunit is used to determine the target interface to be in the selected state if the duration of pressing on the navigation bar reaches a preset duration.
  • the second one-hand operation mode closing sub-subunit is configured to close the second one-hand operation mode of the electronic device in response to a drag operation of dragging the target interface in the selected state to move along the second preset direction.
  • the coupling between modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules.
  • FIG. 21 shows a structural block diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may be a smart phone, a tablet computer, an e-book, or other electronic device capable of running applications.
  • the electronic device 100 in the present application may include one or more of the following components: a processor 130, a memory 140, and one or more application programs, wherein one or more application programs may be stored in the memory 140 and configured to be configured by a Or multiple processors 130 execute, and one or more programs are configured to execute the method as described in the foregoing method embodiments.
  • the processor 130 may include one or more processing cores.
  • the processor 130 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 140, and calling data stored in the memory 140.
  • Various functions and processing data of the electronic device 100 may use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA field-programmable gate array
  • PLA programmable logic array
  • the processor 130 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • modem etc.
  • the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 130 and may be implemented solely through a communication chip.
  • the memory 140 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 140 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 140 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc.
  • the storage data area can also store data created during use of the electronic device 100 (such as phone book, audio and video data, chat record data), etc.
  • Figure 22 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program code is stored in the computer-readable medium 300, and the program code can be called by the processor to execute the method described in the above method embodiment.
  • Computer-readable storage medium 300 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 300 includes non-transitory computer-readable storage medium.
  • the computer-readable storage medium 300 has storage space for the program code 310 that performs any method steps in the above-mentioned methods. These program codes can be read from or written into one or more computer program products.
  • Program code 310 may, for example, be compressed in a suitable form.
  • the sliding operation on the touch screen is detected. If it is detected that the corner area of the touch screen is the starting point of the sliding, and the sliding operation is towards the center area of the touch screen.
  • the sliding operation in the direction activates the one-handed operation mode of the electronic device, thereby triggering the start of the one-handed operation mode of the electronic device through the sliding operation on the touch screen, so as to improve the efficiency of starting the one-handed operation mode and improve the user's one-handed operation mode.
  • the convenience of operation improves the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种单手操作模式的控制方法、装置、电子设备以及存储介质,涉及电子设备技术领域。该方法应用于电子设备,该电子设备包括触摸屏,该方法包括:在触摸屏显示界面的情况下,检测作用于触摸屏上的滑动操作,若检测到以触摸屏的角落区域为滑动起点,且以朝向触摸屏的中心区域为滑动方向的滑动操作,则启动电子设备的单手操作模式。本申请实施例通过作用于触摸屏上的滑动操作,触发启动电子设备的单手操作模式,以提升单手操作模式启动的效率,以及提升用户单手操作的便利性,从而提升用户的使用体验。

Description

单手操作模式的控制方法、装置、电子设备以及存储介质
相关申请的交叉引用
本申请要求于2022年04月08日提交的申请号为CN202210369562.8的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及电子设备技术领域,更具体地,涉及一种单手操作模式的控制方法、装置、电子设备以及存储介质。
背景技术
随着科学技术的发展,电子设备的使用越来越广泛,功能越来越多,已经成为人们日常生活中的必备之一。其中,大部分的电子设备厂商逐渐在电子设备上提供了单手操作模式,以方便用户的单手操作。
发明内容
鉴于上述问题,本申请提出了一种单手操作模式的控制方法、装置、电子设备以及存储介质,以解决上述问题。
第一方面,本申请实施例提供了一种单手操作模式的控制方法,应用于电子设备,所述电子设备包括触摸屏,所述方法包括:在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作;若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则启动所述电子设备的单手操作模式。
第二方面,本申请实施例提供了一种单手操作模式的控制装置,应用于电子设备,所述电子设备包括触摸屏,所述装置包括:滑动操作检测模块,用于在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作;单手操作模式启动模块,用于若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则启动所述电子设备的单手操作模式。
第三方面,本申请实施例提供了一种电子设备,包括触摸屏、存储器和处理器,所述触摸屏和所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1示出了可用于本申请实施例提供的单手操作模式的控制方法的电子设备的折叠状态的结构示意图;
图2示出了可用于本申请实施例提供的单手操作模式的控制方法的电子设备的展开状态的结构示意图;
图3示出了本申请一实施例提供的单手操作模式的控制方法的流程示意图;
图4示出了本申请一实施例提供的单手操作模式的控制方法的流程示意图;
图5示出了本申请一实施例提供的单手操作模式的控制方法的流程示意图;
图6示出了本申请的图5所示的单手操作模式的控制方法的流程示意图;
图7示出了本申请实施例提供的电子设备的第一种显示变化示意图;
图8示出了本申请实施例提供的电子设备的第一种显示示意图;
图9示出了本申请实施例提供的电子设备的第二种显示示意图;
图10示出了本申请实施例提供的电子设备的第二种显示变化示意图;
图11示出了本申请一实施例提供的单手操作模式的控制方法的流程示意图;
图12示出了本申请的图11所示的单手操作模式的控制方法的流程示意图;
图13示出了本申请实施例提供的电子设备的第三种显示变化示意图;
图14示出了本申请实施例提供的电子设备的第四种显示变化示意图;
图15示出了本申请实施例提供的电子设备的第五种显示变化示意图;
图16示出了本申请实施例提供的电子设备的第六种显示变化示意图;
图17示出了本申请实施例提供的电子设备的第七种显示变化示意图;
图18示出了本申请实施例提供的电子设备的第八种显示变化示意图;
图19示出了本申请的图12所示的单手操作模式的控制方法的流程示意图;
图20示出了本申请一实施例提供的单手操作模式的控制装置的模块框图;
图21示出了本申请实施例用于执行根据本申请实施例的单手操作模式的控制方法的电子设备的框图;
图22示出了本申请实施例的用于保存或者携带实现根据本申请实施例的单手操作模式的控制方法的程序代码的存储单元。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
其中,触摸屏是电子设备上用于显示用户界面以及供用户进行触控操作的部分,柔性显示屏可以实现成为折叠屏,折叠屏是指使用柔性屏材质,通过铰链等硬件结构实现触摸屏形态从展开到折起的切换。在相关技术中,具有折叠屏的电子设备可以处于折叠状态或展开状态。当处于展开状态时,折叠屏可以具有多个显示区域,并通过多个显示区域进行内容显示,此时,整个触摸屏的尺寸较大。
其中,作为一种方式,电子设备的触摸屏包括主屏和副屏,电子设备的单手操作模式的启动,需要在电子设备的副屏上触发,而不能在主屏上触发。其中,针对副屏的单手操作模式的触发,若使用手势导航且电子设备的底部边缘横滑切换应用开关开启时,沿触摸屏的底部横滑并停顿;若使用手势导航且底部边缘横滑切换应用开关关闭时,沿触摸屏底部边缘弧线滑动并停顿;若使用触摸屏内三键导航时,沿触摸屏底部横滑。随着大屏与折叠屏电子设备的发展及普及,用户在多场景下的大屏需求与体验得到满足,但是由于折叠屏电子设备内外屏的尺寸限制,使得用户在特殊场景下不便使用双手握持与操作电子设备,单手操作模式的引入与优化便是为了解决这一特殊场景需求,但是在这种方式下,主屏对于单手操作模式的不支持无疑是没有办法满足用户在折叠屏展开态的单手使用需求的。
作为又一种方式,电子设备的触摸屏包括主屏和副屏,通过从触摸屏底部边缘的中心向下滑动,进入主屏的单手操作模式,方便用户进行单手操作(手势导航栏模式)。通过双击主屏按钮,进入主屏幕单手操作模式,方便用户进行单手操作(按钮导航栏模式)。在这种方式下,进入单手操作模式的步骤就是通过从触摸屏底部边缘的中心向下滑动,从而进入主屏单手操作模式,而在折叠屏电子设备展开时,要想使用单手(握持手)触碰到触摸屏底部边缘的中心导航栏是很困难的,并且由于交互热区的大小限制,交互的成功率低,单手操作模式不易被启动,出现了破坏大屏应用内原有的体验沉浸的状态亦或是使操作更复杂等体验下降情况。并且在触摸屏底部边缘的中心向下滑动时,比较容易造成误触以调出应用程序后台,体验不佳。
针对上述问题,发明人经过长期的研究发现,并提出了本申请实施例提供的单手操作模式的控制方法、装置、电子设备以及存储介质,通过作用于触摸屏上的滑动操作,触发启动电子设备的单手操作模式,以提升单手操作模式启动的效率,以及提升用户单手操作的便利性,达到提升用户的使用体验的效果。其中,具体的单手操作模式的控制方法在后续的实施例中进行详细的说明。
下面将针对可用于本申请实施例提供的单手操作模式的控制方法的应用环境进行说明。
请参阅图1,电子设备100可以但不限于为手机、平板电脑、游戏机、智能穿戴设备、车载设备等电子装置。本实施方式的电子设备100以手机为例进行说明。
电子设备100包括可折叠壳体组件110、柔性显示屏120以及电子组件(图中未示出),电子组件设置于可折叠壳体组件110内,柔性显示屏120铺设于可折叠壳体组件110上。可折叠壳体组件110用于对柔性显示屏120进行承载,同时对电子组件进行防护。电子组件可以,但不限于包括中央处理器、存储器、摄像头、受话器、指纹模组等,具体的电子组件在本申请实施例中可以不作为限定。
可折叠壳体组件110包括第一壳体111、第二壳体112以及转轴机构113,第一壳体111和第二壳体112分别连接于转轴机构113的两侧。第二壳体112能够通过转轴机构113相对第一壳体111折叠或展开,使可折叠壳体组件110带动柔性显示屏120折叠或展开,可折叠壳体组件110及柔性显示屏120呈叠合状时,电子设备100的体积相对较小,便于收纳及携带,可折叠壳体组件110及柔性显示屏120呈展开状时,电子设备100的体积相对较大,便于进行信息的展示。
请参阅图2,本实施方式中,柔性显示屏120包括连接于第一壳体111的第一显示部121、连接于第二壳体112的第二显示部122和连接于第一显示部121和第二显示部122的弯折显示部123。其中,第一显示部121、第二显示部122对以及弯折显示部123可对应形成多个显示区域(例如,形式两个显示区域、形成三个显示区域、形成四个显示区域……形成N个显示区域)。第一显示部121 和第二显示部122分别随第一壳体111和第二壳体112相对地折叠或展开。弯折显示部123随第一显示部121与第二显示部122的折叠或展开而弯折或展平。在一些实施方式中,第一显示部121、第二显示部122以及弯折显示部123可以为一体结构,使柔性显示屏120为整片式的柔性显示屏;或者,在其他的一些实施方式中,弯折显示部123为可弯折的柔性部分,而第一显示部121、第二显示部122可以为非柔性部分,第一显示部121、第二显示部122通过弯折显示部123相对地折叠或展开。在本实施方式中,第一壳体111与第二壳体112呈叠合状时,第一显示部121与第二显示部122相背离,使电子设备100呈现为外折屏幕的结构,使用户在折叠的情况下同样能够观察柔性显示屏120的显示内容,提高了电子设备100使用的便利性。在其他的一些实施方式中,第一壳体111与第二壳体112呈叠合状时,第一显示部121与第二显示部122相靠近,使电子设备100呈现为内折屏幕的结构,以使柔性显示屏120免于刮花损坏。
应当理解的是,上述的第一显示部121、第二显示部122以及弯折显示部123的命名仅为便于描述而设置,并不作为柔性显示屏120的结构限制,在实际的应用场景中,第一显示部121、第二显示部122以及弯折显示部123可以没有明显的界限,或者,柔性显示屏120可以以其他的划分结构出现,例如,柔性显示屏120包括第一显示部121以及连接于该第一显示部121的第二显示部122,该第一显示部121及该第二显示部122能够相对转动以折叠或展开。
请参阅图3,图3示出了本申请一实施例提供的单手操作模式的控制方法的流程示意图。该方法用于通过作用于触摸屏上的滑动操作,触发启动电子设备的单手操作模式,以提升单手操作模式启动的效率,以及提升用户单手操作的便利性,达到提升用户的使用体验的效果。在具体的实施例中,该单手操作模式的控制方法应用于如图20所示的单手操作模式的控制装置200以及配置有单手操作模式的控制装置200的电子设备100(图21)。下面将以电子设备为例,说明本实施例的具体流程,当然,可以理解的,本实施例所应用的电子设备可以包括智能手机、平板电脑、穿戴式电子设备等,在此不做限定。在本实施例中,该电子设备包括触摸屏,下面将针对图3所示的流程进行详细的阐述,所述单手操作模式的控制方法具体可以包括以下步骤:
步骤S110:在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作。
在本实施例中,电子设备可以在触摸屏上显示有界面,则电子设备可以在触摸屏显示界面的情况下,对作用于触摸屏上的滑动操作进行检测。其中,该界面可以包括桌面、应用页面等,在此不做限定。
在一些实施方式中,可以对电子设备的触摸屏是否显示有界面进行检测。其中,在检测到触摸屏显示有界面的情况下,则可以对作用于触摸屏上的滑动操作进行检测,在未检测到触摸屏显示有界面的情况下,则可以不对作用于触摸屏上的滑动操作进行检测。
作为一种可实施的方式,可以对电子设备的触摸屏是否处于点亮状态进行检测,其中,在检测到电子设备的触摸屏处于点亮状态的情况下,可以确定触摸屏显示有界面,在检测到电子设备的触摸屏未处于点亮状态的情况下,可以确定触摸屏未显示有界面。作为一种方式,可以对电子设备的触摸屏是否处于点亮且解锁状态进行检测,其中,在检测到电子设备的触摸屏处于点亮且解锁状态的情况下,可以确定触摸屏显示有界面,在检测到电子设备的触摸屏处于点亮且未解锁状态的情况下,可以确定触摸屏未显示有界面。
在一些实施方式中,可以对作用于触摸屏上的滑动操作进行检测。其中,电子设备可以实时对作用于触摸屏上的滑动操作进行检测;可以按预设时间间隔对作用于触摸屏上的滑动操作进行检测;可以按预设时间点对作用于触摸屏上的滑动操作进行检测;也可以按其他预设规则对作用于触摸屏上的滑动操作进行检测等,在此不做限定。
作为一种可实施的方式,电子设备可以包括触摸传感器。则电子设备可以通过触摸传感器对作用于触摸屏上的触控操作进行检测,例如,可以对作用于触摸屏上的点击操作(单指点击操作、双指点击操作、三指点击操作等)进行检测;可以对作用于触摸屏上的按压操作(单指按压操作、双指按压操作、三指按压操作、长按操作、短按操作等)进行检测;可以对作用于触摸屏上的滑动操作(单指滑动操作、双指滑动操作、多指滑动操作等)进行检测等,在此不做限定。
步骤S120:若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则启动所述电子设备的单手操作模式。
在本实施例中,若检测到的滑动操作为以触摸屏的角落区域为滑动起点,以朝向触摸屏的中心区域为滑动方向的滑动操作,则可以认为用户期望触发单手操作模式,则可以响应于该滑动操作,启动电子设备的单手操作模式。
在一些实施方式中,电子设备可以对滑动操作对应的滑动起点进行检测,例如,电子设备可以通过触摸传感器对滑动操作对应的滑动起点进行检测。作为一种可实施的方式,在检测到作用于触摸屏上的滑动操作时,可以获取该滑动操作在触摸屏上首次触摸的触摸位置,并将该触摸位置确定的滑动起点所在的位置。作为又一种可实施的方式,在检测到作用于触摸屏上的滑动操作时,可以获取该滑动操作在触摸屏上首次触摸的触摸位置对应的触摸区域,并将该触摸区域确定为滑动起点所在的位置。
在一些实施方式中,电子设备可以预先定义有触摸屏的角落区域,则电子设备在检测到滑动操作对应的滑动起点所在的位置时,可以判断该滑动起点是否在该预先定义的触摸屏的角落区域内。其中,该角落区域可以包括触摸屏的相邻边界所形成的目标区域,如触摸屏的相邻边界所形成的扇形区域、触摸屏的相邻边界所形成的矩形区域、触摸屏的相邻边界所形成的不规则区域等,在此不做限定。作为一种可实施的方式,当电子设备的触摸屏的形状为矩形时,则可以确定该触摸屏包括四个角落区域,则当滑动操作对应的滑动起点位于四个角落区域中的任一个内时,均可以认为滑动操作对应的滑动起点位于角落区域内。
作为一种方式,电子设备在获得滑动操作对应的滑动起点所在的位置时,可以将该滑动起点所在的位置与角落区域对应的位置区域进行比较,以判断该滑动起点所在的位置是否落入角落区域对应的位置区域内。其中,当确定滑动起点所在的位置落入角落区域对应的位置区域内时,则可以确定滑动起点在角落区域内,当确定滑动起点所在的位置未落入角落区域对应的位置区域内时,则可以确定滑动起点不在角落区域内。
作为又一种方式,可以以电子设备建立坐标系,电子设备在获得滑动操作对应的滑动起点时,可以获取该滑动起点在该坐标系下对应的坐标,并将该坐标与角落区域在该坐标系下对应的坐标范围进行比较,以判断该坐标是否在该坐标范围内,其中,当确定坐标在该坐标范围内时,则可以确定滑动起点在角落区域内,当确定坐标不在该坐标范围内时,则可以确定滑动起点不在角落区域内。
在一些实施方式中,电子设备可以对滑动操作对应的滑动方向进行检测,例如,电子设备可以通过触摸传感器对滑动操作对应的滑动方向进行检测。作为一种可实施的方式,在检测到作用于触摸屏上的滑动操作时,可以获取该滑动操作对应的滑动起点和滑动操作对应的滑动终点,基于滑动起点和滑动终点确定该滑动操作对应的滑动方向。其中,在获取到滑动操作对应的滑动起点和滑动操作对应的滑动终点时,可以获取滑动终点相对于滑动起点的方向,并将滑动终点相对于滑动起点的方向确定为滑动操作对应的滑动方向。作为一种方式,该滑动终点可以包括触摸屏上的任意位置,在此不做限定。
在一些实施方式中,电子设备可以预先定义有触摸屏的中心区域,则电子设备在检测到滑动操作对应的滑动方向时,可以判断该滑动操作对应的滑动方向是否朝向该触摸屏的中心区域。其中,该中心区域可以包括以触摸屏的中心扩散的周边区域。作为一种可实施的方式,当电子设备的触摸屏的形状为矩形时,则可以确定该触摸屏包括四个角落区域,以及确定该触摸屏的中心点的周边区域为中心区域,电子设备可以预先设置并存储有四个角落区域各自到中心中区的方向。那么,在检测到滑动操作以四个角落区域中的某个角落区域为滑动起点的滑动方向时,则可以将该滑动方向与预先设置的该角落区域朝向中心区域的方向进行对比,当该滑动方向与预先设置的该角落区域朝向中心区域的方向匹配的情况下,则可以确定该滑动操作对应的滑动方向为朝向触摸屏的中心区域的方向。在一些实施方式中,启动电子设备的单手操作模式可以包括:按照预设比例缩小界面,并将缩小后的界面显示于与角落区域对应的区域,以方便用户进行单手操作;或者,在角落区域对应的区域显示操作控件,并在显示界面显示与操作控件关联的控制控件,以方便用户通过单手触控操作控件的方式,对控制控件进行控制。
本申请一实施例提供的单手操作模式的控制方法,在触摸屏显示界面的情况下,检测作用于触摸屏上的滑动操作,若检测到以触摸屏的角落区域为滑动起点,且以朝向触摸屏的中心区域为滑动方向的滑动操作,则启动电子设备的单手操作模式,从而通过作用于触摸屏上的滑动操作,触发启动电子设备的单手操作模式,以提升单手操作模式启动的效率,以及提升用户单手操作的便利性,达到提升用户的使用体验的效果。
请参阅图4,图4示出了本申请一实施例提供的单手操作模式的控制方法的流程示意图。该方法应用于上述电子设备,该电子设备包括触摸屏,下面将针对图4所示的流程进行详细的阐述,所述单手操作模式的控制方法具体可以包括以下步骤:
步骤S210:在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作。
其中,步骤S210的具体描述请参阅步骤S110,在此不再赘述。
步骤S220:若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则获取所述滑动操作在滑动终点的悬停时长。
在本实施例中,电子设备可以预先设置并存储有多个单手操作模式,其中,多个单手操作模式均用于方便用户进行单手操作,且,多个单手操作模式在显示和操作上各不相同。
在本实施例中,若检测到的滑动操作为以触摸屏的角落区域为滑动起点,以朝向触摸屏的中心区域为滑动方向的滑动操作,则可以认为用户期望触发单手操作模式,则可以获取该滑动操作在滑动终点的悬停时长。
在一些实施方式中,电子设备可以包括计时器。在检测到停止滑动的操作的情况下,可以控制计时器开始进行计时,并在检测到释放操作的情况下,可以控制计时器停止进行计时,并获取计时器在此期间所计的时长,将该时长确定为滑动操作在滑动终点的悬停时长。
步骤S230:从所述电子设备的多个单手操作模式中,启动与所述悬停时长对应的单手操作模式。
在一些实施方式中,电子设备可以预先设置并存储有多个单手操作模式,且每个单手操作模式与不同的悬停时长相关联。因此,在本实施例中,在获得滑动操作在滑动终点的悬停时长时,则可以从电子设备的多个单手操作模式中,启动与该滑动操作在滑动终点的悬停时长对应的单手操作模式,从而提升单手操作模式启动的多样性。
作为一种可实施的方式,电子设备可以预先建立有映射关系表,该映射关系表可以包括多个单手操作模式、多个悬停时长以及多个单手操作模式和多个悬停时长之间的对应关系。其中,该对应关系可以包括一个单手操作模式对应一个悬停时长,一个单手操作模式对应多个悬停时长等,在此不做限定。
例如,假设多个单手操作模式包括第一单手操作模式和第二单手操作模式,该多个悬停时长包括第一悬停时长和第二悬停时长,该第一单手操作模式和第一悬停时长对应,该第二单手操作模式和第二悬停时长对应,那么,在获得滑动操作在滑动终点的悬停时长时,则可以将在滑动操作在滑动终点的悬停时长与第一悬停时长和第二悬停时长进行比较,以判断该滑动操作在滑动终点的悬停时长与第一悬停时长是否匹配,以及滑动操作在滑动终点的悬停时长与第二悬停时长是否匹配。其中,在滑动操作在滑动终点的悬停时长与第一悬停时长匹配时,则可以在电子设备启动第一单手操作模式;在滑动操作在滑动终点的悬停时长与第二悬停时长匹配时,则可以在电子设备启动第二单手操作模式。
本申请一实施例提供的单手操作模式的控制方法,相较于图3所示的单手操作模式的控制方法,本实施例还在检测到以触摸屏的角落区域为滑动起点,且以朝向触摸屏的中心区域为滑动方向的滑动操作,则获取滑动操作在滑动终点的悬停时长,并从电子设备的多个单手操作模式中,启动与悬停时长对应的单手操作模式,从而通过在滑动终点的不同悬停时长启动不同的单手操作模式,以提升单手操作模式启动的多样性。
请参阅图5,图5示出了本申请一实施例提供的单手操作模式的控制方法的流程示意图。该方法应用于上述电子设备,该电子设备包括触摸屏,电子设备的多个单手操作模式包括第一单手操作模式,下面将针对图5所示的流程进行详细的阐述,所述单手操作模式的控制方法具体可以包括以下步骤:
步骤S310:在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作。
其中,步骤S310的具体描述请参阅步骤S110,在此不再赘述。
步骤S320:若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则获取所述滑动操作在滑动终点的悬停时长。
其中,步骤S320的具体描述请参阅步骤S220,在此不再赘述。
步骤S330:若所述悬停时长未达到预设时长,则从所述电子设备的多个单手操作模式中,启动所述第一单手操作模式。
在本实施例中,电子设备所设置的单手操作模式可以包括第一单手操作模式。其中,第一单手操作模式用于在已有的任务基础上,通过作用于电子设备的界面的滑动操作满足预设条件时(以触摸屏的角落区域为滑动起点,且以朝向触摸屏的中心区域为滑动方向,以及在滑动终点的悬停时长未达到预设时长的滑动操作),调出操作控件,此时并不会改变界面的显示比例,在第一单手操作模式下,用户利用单手操控操作控件区域,利用手指滑动对虚拟控制控件进行移动,操控控制控件至目标应用程序或功能按钮位置,通过单击操作区域进行确认选择,完成此第一单手操作模式下的单手操作。由于用户能够根据自身的需要选择单手操作的操作区域,并且不会中止电子设备的显示形式,这很大程度上提高了单手操控电子设备的便捷程度,提高了用户体验。
在一些实施方式中,电子设备可以预先设置并存储有预设时长,该预设时长用于作为该滑动操作在滑动终点的悬停时长的判断依据。因此,在本实施例中,在获得滑动操作在滑动终点的悬停时长时,则可以将该滑动操作在滑动终点的悬停时长与预设时长进行比较,以判断该滑动操作在滑动终点的悬停时长是否未达到预设时长。其中,该预设时长例如可以包括2秒。
其中,当确定该悬停时长未达到预设时长时,则表征该滑动操作满足启动第一单手操作模式的要求,则可以从电子设备的多个单手操作模式中,启动该第一单手操作模式。
请参阅图6,图6示出了本申请的图5所示的单手操作模式的控制方法的流程示意图。下面将针对图6所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:
步骤S331:基于所述角落区域,在所述触摸屏上确定第一单手操作区域。
在本实施例中,可以基于滑动起点所在的角落区域,在触摸屏上确定第一单手操作区域。其中,该第一单手操作区域所在的位置与该角落区域所在的位置对应,例如,若角落区域位于触摸屏的左下角,则该第一单手操作区域位于该触摸屏的左侧或者左下角;若角落区域位于触摸屏的右下角,则该第一单手操作区域位于该触摸屏的右侧或者右下角;若角落区域位于触摸屏的左上角,则该第一单手操作区域位于该触 摸屏的左侧或者左上角;若角落区域位于触摸屏的右上角,则该第一单手操作区域位于该触摸屏的右侧或者右上角。
作为一种方式,可以将滑动起点所在的角落区域,确定为第一单手操作区域;可以将滑动起点所在的角落区域的周边区域,确定为第一单手操作区域;也可以将滑动起点所在的角落区域以及该角落区域的周边区域,确定为第一单手操作区域。
步骤S332:在所述第一单手操作区域显示操作控件,并在所述界面显示与所述操作控件关联的控制控件。
在本实施例中,在从触摸屏上确定第一单手操作区域时,则可以在该第一单手操作区域显示操作控件,以及在界面显示与该操作控件关联的控制控件。其中,该操作控件例如可以包括“操控板”,该控制控件例如可以包括“仿真球”、“光标”等,在此不做限定。
请参阅图7,图7示出了本申请实施例提供的电子设备的第一种显示变化示意图。如图7中的(a)所示,当电子设备未启动第一单手操作模式时,电子设备可以显示界面A,在显示界面A的过程中,可以响应于以触摸屏的角落区域为滑动起点,以朝向触摸屏的中心区域为滑动方向的滑动操作,启动电子设备的第一单手操作模式,如图8中的(b)所示,在第一单手模式下,电子设备在界面A中显示控制控件B,以及在第一单手操作区域显示操作控件C。
作为一种方式,该操作控件可以悬浮显示于该第一单手操作区域,该控制控件可以悬浮显示于该界面。作为又一种方式,该操作控件可以以覆盖部分界面的方式显示于该第一单手操作区域,该控制控件可以以覆盖部分界面的方式显示于该第一单手操作区域。其中,在操作控件显示于第一单手操作区域,且控制控件显示于界面的过程中,该操作控件的显示位于可以始终固定,也可以根据位置更改指令进行更改,该控制控件的显示位置可以根据作用于操作控件上的操作更改。
在一些实施方式中,电子设备在显示操作控件和控制控件的过程中,可以对作用于操作控件上的触控操作进行检测。其中,若检测到作用于操作控件上的触控操作,则以第一透明度显示该操作控件和控制控件;或者,若未检测到作用于操作控件上的触控操作,则以第二透明度显示该操作控件和控制控件,其中,该第二透明度大于第一透明度。
作为一种可实施的方式,电子设备可以对作用于操作控件的触控操作进行检测,例如,电子设备可以对作用于操作控件的点击操作、按压操作、滑动操作等进行检测。其中,在检测到作用于操作控件上的触控操作的情况下,可以认为用户期望通过对操作控件进行操作的方式,以对控制控件进行控制(如移动控制、点击控制),从而实现对界面中的内容进行控制,因此,可以确定用户期望对界面中的内容进行控制,而非查看界面中显示的内容,则可以按第一透明度显示操作控件和控制控件,其中,第一透明度对应的透明度可以较低,以更明显的显示操作控件和控制控件。其中,在未检测到作用于操作控件上的触控操作的情况下,可以认为用户不期望通过对操作控件进行操作的方式对控制控件进行控制,而是期望对界面中所显示的内容进行查看,则可以按第二透明度显示操作控件和控制控件,其中,该第二透明度对应的透明度可以较高,以更隐性的显示操作控件和控制控件,即更明显的显示界面的内容。
请参阅图8和图9,图8示出了本申请实施例提供的电子设备的第一种显示示意图,图9示出了本申请实施例提供的电子设备的第二种显示示意图。如图8所示,若检测到作用于操作控件C上的触控操作,则以第一透明度显示该操作控件C和控制控件B,如图9所示,若未检测到作用于操作控件C上的触控操作,则以第二透明度显示该操作控件C和控制控件B,其中,第二透明度大于第一透明度。
步骤S333:响应作用于所述操作控件的触控操作,控制所述控制控件对所述界面中的内容进行相应的操作。
在本实施例中,电子设备在显示操作控件和控制控件的过程中,可以对作用于该操作控件的触控操作进行检测。其中,当检测到作用于该操作控件的触控操作时,则可以控制该控制控件对界面中的内容进行相应的操作。在一些实施方式中,当检测到作用于该操作控件的滑动操作时,则可以响应于该滑动操作控制该控制控件在界面中移动;当检测到作用于该操作控件的点击操作时,则可以响应于该点击操作,控制该控制控件触发界面中显示于该控制控件所在位置的内容。
步骤S334:响应于拖动所述操作控件沿第一预设方向移动的拖动操作,关闭所述电子设备的第一单手操作模式。
在本实施例中,电子设备在显示操作控件和控制控件的过程中,可以对作用于该操作控件的触控操作进行检测。其中,当检测到拖动该操作控件沿第一预设方向移动的拖动操作的情况下,则可以响应于该拖动操作,关闭电子设备的第一单手操作模式。其中,关闭电子设备的第一单手操作模式可以包括:在界面中删除操作控件和控制控件;或者,在界面中隐藏操作控件和控制控件。其中,第一预设方向可以包括朝向触摸屏下侧边缘的方向。
在一些实施方式中,电子设备在显示操作控件和控制控件的过程中,可以对作用于该操作控件的上侧边缘的触控操作进行检测。其中,当检测到作用于该操作控件的上侧边缘的长按操作时,则可以响应于该 长按操作将操作控件确定为选中状态,在操作控件处于选中状态的过程中,在检测到作用于该操作控件的拖动操作的情况下,则可以响应于该拖动操作,关闭电子设备的第一单手操作模式。
在一些实施方式中,电子设备显示操作控件和控制控件的过程中,可以对作用于该操作控件的触控操作进行检测。其中,当检测到以目标速度(即大于预设速度的速度)拖动该操作控件沿第一预设方向移动的拖动操作时,则可以响应于该拖动操作,关闭电子设备的第一单手操作。
在一些实施方式中,电子设备显示操作控件和控制控件的过程中,可以对作用于该操作控件的上侧边缘的触控操作进行检测。其中,当检测到作用于该操作控件的上侧边缘的长按操作时,则可以响应于该长按操作将操作控件确定为选中状态,在操作控件被确定为选中状态时,电子设备可以在触摸屏中显示第一提示信息,其中,该第一提示信息用于提示用户将操作控件沿第一预设方向快速甩动(大于预设速度的速度)以关闭第一单手操作模式,相应地,用户可以基于该提示信息以目标速度拖动该操作控件沿第一预设方向移动,电子设备作为响应关闭电子设备的第一单手操作。
请参阅图10,图10示出了本申请实施例提供的电子设备的第二种显示变化示意图。如图10中的(a)所示,电子设备在界面A上显示操作控件C和控制控件B的过程中,如果检测到拖动操作控件C沿第一预设方向(如触摸屏的下侧边缘)移动的拖动操作,则关闭电子设备的第一单手操作模式,即在界面A中删除操作控件C和控制控件B,如图10中的(b)所示。
本申请一实施例提供的单手操作模式的控制方法,相较于图3所示的单手操作模式的控制方法,本实施例还在检测到以触摸屏的角落区域为滑动起点,且以朝向触摸屏的中心区域为滑动方向的滑动操作,则获取滑动操作在滑动终点的悬停时长,并在悬停时长未达到预设时长时,从电子设备的多个单手操作模式中,启动第一单手操作模式,从而通过在滑动终点的悬停时长未达到预设时长时,启动第一单手操作模式,以提升对应单手操作模式的启动便利性。
请参阅图11,图11示出了本申请一实施例提供的单手操作模式的控制方法的流程示意图。该方法应用于上述电子设备,该电子设备包括触摸屏,电子设备的多个单手操作模式包括第二单手操作模式,下面将针对图11所示的流程进行详细的阐述,所述单手操作模式的控制方法具体可以包括以下步骤:
步骤S410:在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作。
其中,步骤S410的具体描述请参阅步骤S110,在此不再赘述。
步骤S420:若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则获取所述滑动操作在滑动终点的悬停时长。
其中,步骤S420的具体描述请参阅步骤S220,在此不再赘述。
步骤S430:若所述悬停时长达到所述预设时长,则从所述电子设备的多个单手操作模式中,启动所述第二单手操作模式。
在本实施例中,电子设备所设置的单手操作模式可以包括第二单手操作模式。其中,第二单手操作模式用于在已有的任务基础上,通过按照预设比例缩小界面以在电子设备的触摸屏中显示界面的缩略图。在该段时间内,用户可以在电子设备上,通过类似于「图标下沉」的功能单手操作界面的缩略图中的任务,在此第二单手操作模式下,点开应用更加方便。第二单手操作模式的这一功能就是能让用户在另一只手无暇顾及的时候,单手操作使用这个功能手指在应用图标中自由滑动,很大程度上方便了手小的电子设备用户,也更提高了单手打开应用的效率。
在一些实施方式中,电子设备可以预先设置并存储有预设时长,该预设时长用于作为该滑动操作在滑动终点的悬停时长的判断依据。因此,在本实施例中,在获得滑动操作在滑动终点的悬停时长时,则可以将该滑动操作在滑动终点的悬停时长与预设时长进行比较,以判断该滑动操作在滑动终点的悬停时长是否达到预设时长。
其中,当确定该悬停时长达到预设时长时,则表征该滑动操作满足启动第二单手操作模式的要求,则可以从电子设备的多个单手操作模式中,启动该第二单手操作模式。
请参阅图12,图12示出了本申请的图11所示的单手操作模式的控制方法的流程示意图。下面将针对图12所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:
步骤S431:基于所述角落区域,在所述触摸屏上确定第二单手操作区域。
在本实施例中,可以基于滑动起点所在的角落区域,在触摸屏上确定第二单手操作区域。其中,第二单手操作区域所在的位置与该角落区域所在的位置对应,例如,若角落区域位于触摸屏的左下角,则该第二单手操作区域位于该触摸屏的左侧或者左下角(约占触摸屏的四分之一面积);若角落区域位于触摸屏的右下角,则该第二单手操作区域位于该触摸屏的右侧或者右下角(约占触摸屏的四分之一面积);若角落区域位于触摸屏的左上角,则该第二单手操作区域位于该触摸屏的左侧或者左上角(约占触摸屏的四分之一面积);若角落区域位于触摸屏的右上角,则该第二单手操作区域位于该触摸屏的右侧或者右上角(约占触摸屏的四分之一面积)。其中,该第二单手操作区域的尺寸可以大于或等于第一单手操作区域的尺寸。
步骤S432:按照预设比例缩小所述界面获得目标界面,并在所述第二单手操作区域显示所述目标界面。
在一些实施方式中,电子设备可以预先设置并存储有预设比例。在本实施例中,在从触摸屏上确定第二单手操作区域时,则可以按预先设置并存储的预设比例缩小该界面获得目标界面,并在该第二单手操作区域显示该目标界面。可以理解的,该界面的显示尺寸大于目标界面的显示尺寸,且该界面的显示内容与目标界面的显示内容一致,界面所支持的功能与目标界面所支持的功能也一致。
请参阅图13,图13示出了本申请实施例提供的电子设备的第三种显示变化示意图。如图13中的(a)所示,当电子设备为启动第二单手操作模式时,电子设备可以显示界面A,在显示界面A的过程中,可以响应于以触摸屏的角落区域为滑动起点,以朝向触摸屏的中心区域为滑动方向的滑动操作,启动电子设备的第二单手操作模式,如图13中的(b)所示,在第二单手操作模式下,电子设备按照预设比例缩小界面A获得目标界面D,并在所述第二单手操作区域显示目标界面D。
作为一种可实施的方式,若滑动操作在滑动终点的滑动时长达预设时长时,则可以在触摸屏中显示第二提示信息,其中,该第二提示信息用于提示用户释放触控以进入第二单手操作模式,相应地,用户可以基于该提示信息释放触控,电子设备作为响应按照预设比例缩小界面获得目标界面,并在第二单手操作区域显示目标界面。
请参阅图14,图14示出了本申请实施例提供的电子设备的第四种显示变化示意图。如图14中的(a)所示,当电子设备为启动第二单手操作模式时,电子设备可以显示界面A,在显示界面A的过程中,可以响应于以触摸屏的角落区域为滑动起点,以朝向触摸屏的中心区域为滑动方向的滑动操作,按照预设比例缩小界面A获得目标界面D以及第二提示信息E,如图14中的(b)所示,在检测到释放触控时,则在所述第二单手操作区域显示目标界面D,如图14中的(c)所示。
在一些实施方式中,电子设备在显示目标界面的过程中,可以对作用于目标界面上的触控操作进行检测。其中,当检测到拖动目标界面沿第三预设方向移动的拖动操作的情况下,则可以控制目标界面沿第三预设方向移动;当检测到拖动目标界面沿第四预设方向移动的拖动操作的情况下,则可以控制目标界面沿第四预设方向移动。作为一种方式,该第三预设方向可以为“左”且第四预设方向可以为“右”;或者,该第三预设方向可以为“右”且第四预设方向可以为“左”。
作为一种可实施的方式,目标界面的上侧边缘处可以显示有导航栏。电子设备在显示目标界面和导航栏的过程中,可以对作用于导航栏上的触控操作进行检测。其中,当检测到拖动导航栏沿第三预设方向移动的拖动操作的情况下,则可以控制目标界面沿第三预设方向移动;当检测到拖动导航栏沿第四预设方向移动的拖动操作的情况下,则可以控制目标界面沿第四预设方向移动。
请参阅图15,图15示出了本申请实施例提供的电子设备的第五种显示变化示意图。如图15中的(a)所示,当电子设备在显示目标界面D和导航栏F的过程中,可以响应于拖动导航栏F沿第三预设方向(图示为右)移动的拖动操作,控制目标界面D沿第三预设方向移动,如图15中的(b)所示。
在一些实施方式中,电子设备在显示目标界面的过程中,可以对作用于目标界面上的触控操作进行检测。其中,当检测到拖动目标界面沿目标界面的对角线方向移动的拖动操作时,则可以改变该目标界面的显示尺寸,例如,可以增大目标界面的显示尺寸,或者,可以减小目标界面的显示尺寸等,在此不做限定。
请参阅图16,图16示出了本申请实施例提供的电子设备的第六种显示变化示意图。如图16中的(a)所示,当电子设备在显示目标界面D和导航栏F的过程中,可以响应于拖动目标界面D沿目标界面D的对角线方向移动的拖动操作,改变目标界面D的显示尺寸,如图16中的(b)所示的增大目标界面D的显示尺寸。
步骤S433:响应于拖动所述目标界面沿第二预设方向移动的拖动操作,关闭所述电子设备的第二单手操作模式。
在本实施例中,电子设备在显示目标界面的过程中,可以对昨天用于该目标界面的触控操作进行检测。其中,当检测到拖动目标界面沿第二预设方向移动的拖动操作的情况下,则可以响应于该拖动操作,关闭电子设备的第二单手操作模式。其中,关闭电子设备的第二单手操作模式可以包括:将显示目标界面恢复为显示界面。其中,该第二预设方向可以包括朝向触摸屏上侧边缘的方向。
请参阅图17,图17示出了本申请实施例提供的电子设备的第七种显示变化示意图。如图17中的(a)所示,当电子设备在显示目标界面D的过程中,可以响应于拖动目标界面D沿第二预设方向(图示为上)移动的拖动操作,则可以关闭第二单手操作模式,即可以将显示目标界面D切换为显示界面A,如图17中的(b)所示。
在一些实施方式中,目标界面的上侧边缘处可以显示有导航栏。电子设备在显示目标界面和导航栏的过程中,可以对作用于导航栏的触控操作进行检测。其中,当检测到拖动导航栏沿第二预设方向移动的拖动操作的情况下,则可以关闭电子设备的第二单手操作模式。作为一种可实施的方式,当检测到作用于导航栏上的按压操作时,则可以显示第三提示信息,该第三提示信息用于提示用户拖动导航栏沿第二预设方向快速移动以关闭第二单手操作模式,当检测到用户基于该第三提示信息拖动导航栏沿第二预设方向移动 的拖动操作的情况下,则可以关闭电子设备的第二单手操作模式。
请参阅图18,图18示出了本申请实施例提供的电子设备的第八种显示变化示意图。如图18中的(a)所示,当电子设备在显示目标界面D和导航栏F的过程中,当检测到作用于导航栏F上的按压操作时,则可以显示第三提示信息G,可以响应于拖动导航栏F沿第二预设方向移动的拖动操作,则可以关闭第二单手操作模式,即可以将显示目标界面D切换为显示界面A,如图18中的(b)所示。
请参阅图19,图19示出了本申请的图12所示的单手操作模式的控制方法的流程示意图。下面将针对图19所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:
步骤S4331:若作用于所述导航栏的按压时长达到预设时长,则将所述目标界面确定为选中状态。
在一些实施方式中,电子设备可以预先设置并存储有预设时长,该预设时长用于作为作用于导航栏上的按压时长的判断依据。因此,在本实施例中,电子设备在显示目标界面和导航栏的过程中,可以对作用于导航栏上的按压操作对应的按压时长进行检测。其中,在检测到作用于导航栏的按压操作对应的按压时长时,则可以将该作用于导航栏的按压操作对应的按压时长与预设时长进行比较,以判断该按压时长是否达到预设时长。
其中,当确定该按压时长达到预设时长时,则可以将目标界面确定为选中状态;当确定该按压时长未达到预设时长时,则可以不将目标界面确定为选中状态。作为一种方式,在目标界面确定为选中状态的情况下,则可以在界面中显示第三提示信息。
步骤S4332:响应于拖动处于选中状态的目标界面沿所述第二预设方向移动的拖动操作,关闭所述电子设备的第二单手操作模式。
在一些实施方式中,在目标界面处于选中状态时,若检测到拖动处于选中状态的目标界面沿第二预设方向移动的拖动操作时,则可以响应于拖动处于选中状态的目标界面沿第二预设方向移动的拖动操作,关闭该电子设备的第二单手操作模式。
本申请一实施例提供的单手操作模式的控制方法,相较于图3所示的单手操作模式的控制方法,本实施例还在检测到以触摸屏的角落区域为滑动起点,且以朝向触摸屏的中心区域为滑动方向的滑动操作,则获取滑动操作在滑动终点的悬停时长,并在悬停时长未达到预设时长时,从电子设备的多个单手操作模式中,启动第二单手操作模式,从而通过在滑动终点的悬停时长未达到预设时长时,启动第二单手操作模式,以提升对应单手操作模式的启动便利性。
请参阅图20,图20示出了本申请一实施例提供的单手操作模式的控制装置的模块框图。该单手操作模式的控制装置200应用于上述电子设备,该电子设备包括触摸屏,下面将针对图20所示的框图进行阐述,所述单手操作模式的控制装置200包括:滑动操作检测模块210和单手操作模式启动模块220,其中:
滑动操作检测模块210,用于在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作。
单手操作模式启动模块220,用于若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则启动所述电子设备的单手操作模式。
进一步地,所述单手操作模式启动模块220包括:悬停时长获取子模块和单手操作模式启动子模块,其中:
悬停时长获取子模块,用于若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则获取所述滑动操作在滑动终点的悬停时长。
单手操作模式启动子模块,用于从所述电子设备的多个单手操作模式中,启动与所述悬停时长对应的单手操作模式。
进一步地,所述多个单手操作模式包括第一单手操作模式和第二单手操作模式,该单手操作模式启动子模块包括:第一单手操作模式启动单元和第二单手操作模式启动单元,其中:
第一单手操作模式启动单元,用于若所述悬停时长达到预设时长,则从所述电子设备的多个单手操作模式中,启动所述第一单手操作模式。
进一步地,所述第一单手操作模式启动单元包括:第一单手操作区域确定子单元、控件显示子单元以及操作控制子单元,其中:
第一单手操作区域确定子单元,用于基于所述角落区域,在所述触摸屏上确定第一单手操作区域。
控件显示子单元,用于在所述第一单手操作区域显示操作控件,并在所述界面显示与所述操作控件关联的控制控件。
操作控制子单元,用于响应作用于所述操作控件的触控操作,控制所述控制控件对所述界面中的内容进行相应的操作。
进一步地,所述第一单手操作模式启动单元还包括:第一控件显示子单元和第二控件显示子单元,其中:
第一控件显示子单元,用于若检测到作用于所述操作控件的触控操作,以第一透明度显示所述操作控 件和所述控制控件。
第二控件显示子单元,用于若未检测到作用于所述操作控件的触控操作,以第二透明度显示所述操作控件和所述控制控件,其中,所述第二透明度大于所述第一透明度。
进一步地,所述第一单手操作模式启动单元还包括:第一单手操作模式关闭子单元,其中:
第一单手操作模式关闭子单元,用于响应于拖动所述操作控件沿第一预设方向移动的拖动操作,关闭所述电子设备的第一单手操作模式。
第二单手操作模式启动单元,用于若所述悬停时长未达到所述预设时长,则从所述电子设备的多个单手操作模式中,启动所述第二单手操作模式。
进一步地,所述第二单手操作启动单元包括:第二单元操作区域确定子单元和目标界面显示子单元,其中:
第二单手操作区域确定子单元,用于基于所述角落区域,在所述触摸屏上确定第二单手操作区域。
目标界面显示子单元,用于按照预设比例缩小所述界面获得目标界面,并在所述第二单手操作区域显示所述目标界面。
进一步地,所述第二单手操作启动单元还包括:第二单手操作模式关闭子单元,其中:
第二单手操作模式关闭子单元,用于响应于拖动所述目标界面沿第二预设方向移动的拖动操作,关闭所述电子设备的第二单手操作模式。
进一步地,所述目标界面包括导航栏,所述第二单手操作模式关闭子单元包括:选中状态确定子子单元和第二单手操作模式关闭子子单元,其中:
选中状态确定子子单元,用于若作用于所述导航栏的按压时长达到预设时长,则将所述目标界面确定为选中状态。
第二单手操作模式关闭子子单元,用于响应于拖动处于选中状态的目标界面沿所述第二预设方向移动的拖动操作,关闭所述电子设备的第二单手操作模式。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
请参阅图21,其示出了本申请实施例提供的一种电子设备100的结构框图。该电子设备100可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器130、存储器140以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器140中并被配置为由一个或多个处理器130执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。
其中,处理器130可以包括一个或者多个处理核。处理器130利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器140内的指令、程序、代码集或指令集,以及调用存储在存储器140内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器130可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器130可集成中央处理器(Central Processing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责待显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器130中,单独通过一块通信芯片进行实现。
存储器140可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器140可用于存储指令、程序、代码、代码集或指令集。存储器140可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
请参阅图22,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质300中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质300可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质300包括非易失性计算机可读介质 (non-transitory computer-readable storage medium)。计算机可读存储介质300具有执行上述方法中的任何方法步骤的程序代码310的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码310可以例如以适当形式进行压缩。
综上所述,在本申请实施例中,在触摸屏显示界面的情况下,检测作用于触摸屏上的滑动操作,若检测到以触摸屏的角落区域为滑动起点,且以朝向触摸屏的中心区域为滑动方向的滑动操作,则启动电子设备的单手操作模式,从而通过作用于触摸屏上的滑动操作,触发启动电子设备的单手操作模式,以提升单手操作模式启动的效率,以及提升用户单手操作的便利性,达到提升用户的使用体验的效果。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种单手操作模式的控制方法,其特征在于,应用于电子设备,所述电子设备包括触摸屏,所述方法包括:
    在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作;
    若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则启动所述电子设备的单手操作模式。
  2. 根据权利要求1所述的方法,其特征在于,所述若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则启动所述电子设备的单手操作模式,包括:
    若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则获取所述滑动操作在滑动终点的悬停时长;
    从所述电子设备的多个单手操作模式中,启动与所述悬停时长对应的单手操作模式。
  3. 根据权利要求2所述的方法,其特征在于,所述多个单手操作模式包括第一单手操作模式和第二单手操作模式,所述从所述电子设备的多个单手操作模式中,启动与所述悬停时长对应的单手操作模式,包括:
    若所述悬停时长未达到预设时长,则从所述电子设备的多个单手操作模式中,启动所述第一单手操作模式;或者
    若所述悬停时长达到所述预设时长,则从所述电子设备的多个单手操作模式中,启动所述第二单手操作模式。
  4. 根据权利要求3所述的方法,其特征在于,所述从所述电子设备的多个单手操作模式中,启动所述第一单手操作模式,包括:
    基于所述角落区域,在所述触摸屏上确定第一单手操作区域;
    在所述第一单手操作区域显示操作控件,并在所述界面显示与所述操作控件关联的控制控件;
    响应作用于所述操作控件的触控操作,控制所述控制控件对所述界面中的内容进行相应的操作。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    若检测到作用于所述操作控件的触控操作,以第一透明度显示所述操作控件和所述控制控件;或者
    若未检测到作用于所述操作控件的触控操作,以第二透明度显示所述操作控件和所述控制控件,其中,所述第二透明度大于所述第一透明度。
  6. 根据权利要求4所述的方法,其特征在于,在所述单手操作区域显示操作控件,并在所述显示界面显示与所述操作控件关联的控制控件之后,还包括:
    响应于拖动所述操作控件沿第一预设方向移动的拖动操作,关闭所述电子设备的第一单手操作模式。
  7. 根据权利要求6所述的方法,其特征在于,所述关闭所述电子设备的第一单手操作模式,包括:
    在所述界面中删除所述操作控件和所述控制控件;或者
    在所述界面中隐藏所述操作控件和所述控制控件。
  8. 根据权利要求4所述的方法,其特征在于,所述响应作用于所述操作控件的触控操作,控制所述控制控件对所述界面中的内容进行相应的操作,包括:
    当检测到作用于所述操作控件的滑动操作时,控制所述控制控件在所述界面中移动;
    当检测到作用于所述操作控件的点击操作时,控制所述控制控件触发所述界面中显示于所述控制控件所在位置的内容。
  9. 根据权利要求3所述的方法,其特征在于,所述从所述电子设备的多个单手操作模式中,启动所述第二单手操作模式,包括:
    基于所述角落区域,在所述触摸屏上确定第二单手操作区域;
    按照预设比例缩小所述界面获得目标界面,并在所述第二单手操作区域显示所述目标界面。
  10. 根据权利要求9所述的方法,其特征在于,在所述按照预设比例缩小所述界面获得目标界面,并在所述第二单手操作区域显示所述目标界面之后,还包括:
    响应于拖动所述目标界面沿第二预设方向移动的拖动操作,关闭所述电子设备的第二单手操作模式。
  11. 根据权利要求10所述的方法,其特征在于,所述目标界面包括导航栏,所述响应于拖动所述目标界面沿第二预设方向移动的拖动操作,关闭所述电子设备的第二单手操作模式,包括:
    若作用于所述导航栏的按压时长达到预设时长,则将所述目标界面确定为选中状态;
    响应于拖动处于选中状态的目标界面沿所述第二预设方向移动的拖动操作,关闭所述电子设备的第二单手操作模式。
  12. 根据权利要求9所述的方法,其特征在于,在所述按照预设比例缩小所述界面获得目标界面,并在所述第二单手操作区域显示所述目标界面之后,还包括:
    当检测到拖动所述目标界面沿所述目标界面的对角线方向移动的拖动操作时,改变所述目标界面的显示尺寸。
  13. 根据权利要求2所述的方法,其特征在于,所述从所述电子设备的多个单手操作模式中,启动与所述悬停时长对应的单手操作模式,包括:
    基于映射关系表,从所述电子设备的多个单手操作模式中,启动与所述悬停时长对应的单手操作模式,其中,所述映射关系表包括多个悬停时长以及多个单手操作模式之间的对应关系。
  14. 根据权利要求1-13任一项所述的方法,其特征在于,所述在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作,包括:
    在所述触摸屏处于点亮且解锁状态的情况下,确定所述触摸屏显示有界面,并检测作用于所述触摸屏上的滑动操作。
  15. 根据权利要求1-13任一项所述的方法,其特征在于,所述方法还包括:
    在检测到作用于所述触摸屏上的滑动操作时,获取所述滑动操作在所述触摸屏上首次触摸的触摸位置;
    将所述触摸位置确定为所述滑动操作的滑动起点所在的位置。
  16. 根据权利要求1-13任一项所述的方法,其特征在于,所述方法还包括:
    在检测到作用于所述触摸屏上的滑动操作时,获取所述滑动操作在所述触摸屏上首次触摸的触摸位置对应的触摸区域;
    将所述触摸区域确定为所述滑动操作的滑动起点所在的位置。
  17. 根据权利要求1-13任一项所述的方法,其特征在于,所述方法还包括:
    在检测到作用于所述触摸屏上的滑动操作时,获取所述滑动操作对应的滑动起点和所述滑动操作对应的滑动终点;
    基于所述滑动起点和所述滑动终点,确定所述滑动操作对应的滑动方向。
  18. 一种单手操作模式的控制装置,其特征在于,应用于电子设备,所述电子设备包括触摸屏,所述装置包括:
    滑动操作检测模块,用于在所述触摸屏显示界面的情况下,检测作用于所述触摸屏上的滑动操作;
    单手操作模式启动模块,用于若检测到以所述触摸屏的角落区域为滑动起点,且以朝向所述触摸屏的中心区域为滑动方向的滑动操作,则启动所述电子设备的单手操作模式。
  19. 一种电子设备,其特征在于,包括触摸屏、存储器和处理器,所述触摸屏和所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行如权利要求1-17任一项所述的方法。
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-17任一项所述的方法。
PCT/CN2022/141626 2022-04-08 2022-12-23 单手操作模式的控制方法、装置、电子设备以及存储介质 WO2023193479A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210369562.8 2022-04-08
CN202210369562.8A CN114721574A (zh) 2022-04-08 2022-04-08 单手操作模式的控制方法、装置、电子设备以及存储介质

Publications (1)

Publication Number Publication Date
WO2023193479A1 true WO2023193479A1 (zh) 2023-10-12

Family

ID=82241737

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/141626 WO2023193479A1 (zh) 2022-04-08 2022-12-23 单手操作模式的控制方法、装置、电子设备以及存储介质

Country Status (2)

Country Link
CN (1) CN114721574A (zh)
WO (1) WO2023193479A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114721574A (zh) * 2022-04-08 2022-07-08 Oppo广东移动通信有限公司 单手操作模式的控制方法、装置、电子设备以及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677173A (zh) * 2015-12-25 2016-06-15 珠海格力电器股份有限公司 终端的单手操作模式控制方法和装置
CN106293332A (zh) * 2016-07-29 2017-01-04 维沃移动通信有限公司 一种单手定位应用的处理方法及移动终端
US20190064990A1 (en) * 2017-08-22 2019-02-28 Blackberry Limited Electronic device and method for one-handed operation
CN113448479A (zh) * 2020-03-25 2021-09-28 Oppo广东移动通信有限公司 单手操作模式开启方法、终端及计算机存储介质
CN114721574A (zh) * 2022-04-08 2022-07-08 Oppo广东移动通信有限公司 单手操作模式的控制方法、装置、电子设备以及存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461366A (zh) * 2014-12-16 2015-03-25 小米科技有限责任公司 激活移动终端的操作状态的方法及装置
CN106293351A (zh) * 2015-05-20 2017-01-04 中兴通讯股份有限公司 菜单布局方法及装置
CN111443860B (zh) * 2020-03-25 2021-06-22 维沃移动通信有限公司 触控方法和电子设备
CN113746961A (zh) * 2020-05-29 2021-12-03 华为技术有限公司 显示控制方法、电子设备和计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677173A (zh) * 2015-12-25 2016-06-15 珠海格力电器股份有限公司 终端的单手操作模式控制方法和装置
CN106293332A (zh) * 2016-07-29 2017-01-04 维沃移动通信有限公司 一种单手定位应用的处理方法及移动终端
US20190064990A1 (en) * 2017-08-22 2019-02-28 Blackberry Limited Electronic device and method for one-handed operation
CN113448479A (zh) * 2020-03-25 2021-09-28 Oppo广东移动通信有限公司 单手操作模式开启方法、终端及计算机存储介质
CN114721574A (zh) * 2022-04-08 2022-07-08 Oppo广东移动通信有限公司 单手操作模式的控制方法、装置、电子设备以及存储介质

Also Published As

Publication number Publication date
CN114721574A (zh) 2022-07-08

Similar Documents

Publication Publication Date Title
US9671880B2 (en) Display control device, display control method, and computer program
KR102097496B1 (ko) 폴더블 이동 단말기 및 그 제어 방법
TWI511027B (zh) 分屏顯示方法、裝置及其電子設備
TWI552021B (zh) 使用三維操控命令手勢的運算系統
JP5684291B2 (ja) オンおよびオフスクリーン・ジェスチャーの組み合わせ
JP5659586B2 (ja) 表示制御装置および表示制御方法、表示制御プログラム、記録媒体
JP5883400B2 (ja) オンスクリーン入力を作るためのオフスクリーン・ジェスチャー
WO2018157662A1 (zh) 一种移动终端的显示控制方法及移动终端
KR101720849B1 (ko) 터치 스크린 호버 입력 핸들링
US20170262149A1 (en) Touch screen device, method, and graphical user interface for moving on-screen objects without using a cursor
KR101384857B1 (ko) 연속 줌 기능을 제공하는 사용자 인터페이스 방법들
US20140372914A1 (en) Two-factor rotation input on a touchscreen device
JP6157885B2 (ja) 携帯端末装置の表示制御方法
US20140380209A1 (en) Method for operating portable devices having a touch screen
JP5927872B2 (ja) 情報処理装置、情報処理方法およびプログラム
WO2014197745A1 (en) One handed gestures for navigating ui using touchscreen hover events
WO2019119799A1 (zh) 一种显示应用图标的方法及终端设备
WO2023193479A1 (zh) 单手操作模式的控制方法、装置、电子设备以及存储介质
WO2016183912A1 (zh) 菜单布局方法及装置
WO2018141173A1 (zh) 控制方法、装置、计算机存储介质及终端
WO2014161297A1 (zh) 屏幕区域缩放处理方法、装置及终端
WO2024046203A1 (zh) 内容显示方法及装置
WO2024012136A1 (zh) 虚拟键盘的显示方法、装置、电子设备及存储介质
CN113330407A (zh) 交互方法、柔性电子装置及可读存储介质
CA2806608A1 (en) Two-factor rotation input on a touchscreen device

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: 22936404

Country of ref document: EP

Kind code of ref document: A1