CN114721574A - Control method and device for one-hand operation mode, electronic equipment and storage medium - Google Patents
Control method and device for one-hand operation mode, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114721574A CN114721574A CN202210369562.8A CN202210369562A CN114721574A CN 114721574 A CN114721574 A CN 114721574A CN 202210369562 A CN202210369562 A CN 202210369562A CN 114721574 A CN114721574 A CN 114721574A
- Authority
- CN
- China
- Prior art keywords
- touch screen
- sliding
- electronic device
- operation mode
- handed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 98
- 230000004044 response Effects 0.000 claims description 24
- 238000003825 pressing Methods 0.000 claims description 21
- 230000000977 initiatory effect Effects 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 25
- 230000008569 process Effects 0.000 description 24
- 230000006870 function Effects 0.000 description 10
- 238000005452 bending Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 4
- 230000004913 activation Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006748 scratching Methods 0.000 description 1
- 230000002393 scratching effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010977 unit operation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/041—Indexing scheme relating to G06F3/041 - G06F3/045
- G06F2203/04102—Flexible digitiser, i.e. constructional details for allowing the whole digitising part of a device to be flexed or rolled like a sheet of paper
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
The application discloses a control method and device of a one-hand operation mode, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to an electronic device, the electronic device comprises a touch screen, and the method comprises the following steps: in the case of a touch screen display interface, a sliding operation acting on the touch screen is detected, and if a sliding operation is detected with a corner area of the touch screen as a sliding start point and with a center area of the touch screen as a sliding direction, a one-handed operation mode of the electronic device is started. The embodiment of the application triggers the single-hand operation mode for starting the electronic equipment through the sliding operation acting on the touch screen, so that the starting efficiency of the single-hand operation mode is improved, the convenience of the single-hand operation of a user is improved, and the use experience of the user is improved.
Description
Technical Field
The present disclosure relates to the field of electronic device technologies, and in particular, to a method and an apparatus for controlling a one-handed operation mode, an electronic device, and a storage medium.
Background
With the development of science and technology, electronic equipment is more and more widely used and has more and more functions, and the electronic equipment becomes one of the necessary things in daily life of people. Most electronic equipment manufacturers gradually provide a one-handed operation mode on the electronic equipment to facilitate one-handed operation of a user, but the process of starting the one-handed operation mode by the electronic equipment is complex, the operation is complex, and the use experience of the user is poor.
Disclosure of Invention
In view of the above problems, the present application provides a method and an apparatus for controlling a one-handed operation mode, an electronic device, and a storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides a method for controlling a single-handed operation mode, which is applied to an electronic device, where the electronic device includes a touch screen, and the method includes: detecting a sliding operation acting on the touch screen under the condition that the touch screen displays an interface; and if the sliding operation taking the corner area of the touch screen as a sliding starting point and taking the central area of the touch screen as a sliding direction is detected, starting the one-hand operation mode of the electronic equipment.
In a second aspect, an embodiment of the present application provides a control apparatus for a single-handed operation mode, which is applied to an electronic device, where the electronic device includes a touch screen, and the apparatus includes: the sliding operation detection module is used for detecting the sliding operation acted on the touch screen under the condition that the touch screen displays an interface; the single-hand operation mode starting module is used for starting the single-hand operation mode of the electronic equipment if the sliding operation taking the corner area of the touch screen as a sliding starting point and taking the central area facing the touch screen as a sliding direction is detected.
In a third aspect, an embodiment of the present application provides an electronic device, including a touch screen, a memory and a processor, where the touch screen and the memory are coupled to the processor, and the memory stores instructions, and when the instructions are executed by the processor, the processor performs the above method.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
In the embodiment of the application, in the case of displaying an interface on a touch screen, a sliding operation acting on the touch screen is detected, and if a sliding operation taking a corner area of the touch screen as a sliding starting point and taking a center area facing the touch screen as a sliding direction is detected, a one-handed operation mode of an electronic device is started, so that the one-handed operation mode of the electronic device is triggered and started through the sliding operation acting on the touch screen, the starting efficiency of the one-handed operation mode is improved, the convenience of the one-handed operation of a user is improved, and the effect of improving the use experience of the user is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram illustrating a folded state of an electronic device that can be used in a method for controlling a single-handed operation mode according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram illustrating an expanded state of an electronic device that can be used in a control method of a single-handed operation mode provided in an embodiment of the present application;
FIG. 3 is a flow chart illustrating a method for controlling a single-handed operation mode according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating a control method for a single-handed operation mode according to an embodiment of the present application;
FIG. 5 is a flow chart illustrating a method for controlling a single-handed operation mode according to an embodiment of the present application;
FIG. 6 illustrates a flow chart diagram of a control method of the one-handed operation mode illustrated in FIG. 5 of the present application;
fig. 7 is a schematic diagram illustrating a first display variation of an electronic device according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a first display of an electronic device provided by an embodiment of the present application;
FIG. 9 is a second display diagram of an electronic device provided by an embodiment of the present application;
fig. 10 is a schematic diagram illustrating a second display variation of an electronic device according to an embodiment of the present application;
FIG. 11 is a flow chart illustrating a method for controlling a single-handed operation mode according to an embodiment of the present application;
FIG. 12 is a flow chart diagram illustrating a method of controlling the single-handed mode of operation illustrated in FIG. 11 of the present application;
fig. 13 is a schematic diagram illustrating a third display variation of an electronic device according to an embodiment of the present application;
fig. 14 is a diagram illustrating a fourth display variation of an electronic device according to an embodiment of the present application;
fig. 15 is a schematic diagram illustrating a fifth display variation of an electronic device according to an embodiment of the present application;
fig. 16 is a schematic diagram illustrating a sixth display variation of an electronic device according to an embodiment of the present application;
fig. 17 is a schematic diagram illustrating a seventh display variation of an electronic device according to an embodiment of the present application;
fig. 18 is a schematic diagram illustrating an eighth display variation of an electronic device according to an embodiment of the present application;
FIG. 19 is a flow chart diagram illustrating a method of controlling the single-handed mode of operation illustrated in FIG. 12 of the present application;
FIG. 20 is a block diagram illustrating a control device for a single-handed operation mode according to an embodiment of the present application;
fig. 21 is a block diagram of an electronic device according to an embodiment of the present application, the electronic device being configured to execute a control method for a one-handed operation mode according to an embodiment of the present application;
fig. 22 illustrates a storage unit for storing or carrying a program code implementing the control method of the one-handed operation mode according to the embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The flexible display screen can be a folding screen, and the folding screen is formed by using a flexible screen material and realizing the switching of the form of the touch screen from unfolding to folding through hardware structures such as hinges and the like. In the related art, an electronic apparatus having a folding screen may be in a folded state or an unfolded state. When in the unfolded state, the foldable screen may have a plurality of display areas, and display content through the plurality of display areas, and at this time, the size of the entire touch screen is large.
As one mode, the touch screen of the electronic device includes a main screen and a sub-screen, and the starting of the one-handed operation mode of the electronic device needs to be triggered on the sub-screen of the electronic device but cannot be triggered on the main screen. Aiming at the triggering of the single-hand operation mode of the auxiliary screen, if gesture navigation is used and the bottom edge of the electronic equipment slides transversely to switch the application switch to be turned on, the electronic equipment slides transversely along the bottom of the touch screen and stops; if the gesture navigation is used and the bottom edge sideslip switching application switch is turned off, the touch screen slides along the bottom edge arc line and pauses; and if the three keys in the touch screen are used for navigation, the user can slide along the bottom of the touch screen. With the development and popularization of large-screen and folding-screen electronic equipment, the large-screen requirements and experiences of users in multiple scenes are met, but due to the size limitation of the inner screen and the outer screen of the folding-screen electronic equipment, the users are inconvenient to use two hands to hold and operate the electronic equipment in a special scene, the introduction and optimization of a one-hand operation mode are to solve the special scene requirements, but in the mode, the support of a main screen on the one-hand operation mode is undoubtedly that no method is available for meeting the one-hand use requirements of the users in a folding-screen unfolding state.
As another mode, the touch screen of the electronic device includes a main screen and a sub-screen, and the touch screen enters a single-hand operation mode of the main screen by sliding down from the center of the bottom edge of the touch screen, so that a user can conveniently perform single-hand operation (gesture navigation bar mode). By double-clicking the main screen button, the main screen single-hand operation mode is entered, and the user can conveniently perform single-hand operation (button navigation bar mode). In this way, the step of entering the one-handed operation mode is to slide down from the center of the bottom edge of the touch screen, so as to enter the main-screen one-handed operation mode, and when the folding-screen electronic device is unfolded, it is difficult to touch the central navigation bar at the bottom edge of the touch screen with one hand (holding hand), and due to the size limitation of the interaction hot zone, the interaction success rate is low, the one-handed operation mode is not easy to start, and experience degradation conditions such as damage to the original experience immersion state in the large-screen application or more complicated operation occur. And when the center of the bottom edge of the touch screen slides downwards, the touch is easy to cause error touch to call the background of the application program, and the experience is poor.
In view of the above problems, the inventor finds and provides a control method and device for a single-handed operation mode, an electronic device, and a storage medium, which are provided by the embodiments of the present application, to trigger the single-handed operation mode for starting the electronic device by a sliding operation acting on a touch screen, so as to improve the starting efficiency of the single-handed operation mode, improve the convenience of the single-handed operation of the user, and achieve the effect of improving the user experience. The specific control method of the one-handed operation mode is described in detail in the following embodiments.
The following description will be made with respect to an application environment applicable to the control method of the one-handed operation mode provided in the embodiment of the present application.
Referring to fig. 1, the electronic device 100 may be, but is not limited to, an electronic device such as a mobile phone, a tablet computer, a game machine, a smart wearable device, and a vehicle-mounted device. The electronic device 100 of the present embodiment is described by taking a mobile phone as an example.
The electronic device 100 includes a foldable housing assembly 110, a flexible display 120, and an electronic assembly (not shown), wherein the electronic assembly is disposed in the foldable housing assembly 110, and the flexible display 120 is disposed on the foldable housing assembly 110. The foldable housing assembly 110 is used to carry the flexible display screen 120 while shielding the electronic components. The electronic component may, but is not limited to, include a central processing unit, a memory, a camera, a receiver, a fingerprint module, and the like, and the specific electronic component may not be limited in this embodiment.
The foldable housing assembly 110 includes a first housing 111, a second housing 112, and a rotation shaft mechanism 113, and the first housing 111 and the second housing 112 are respectively connected to both sides of the rotation 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, when the foldable housing assembly 110 and the flexible display screen 120 are folded, the size of the electronic device 100 is relatively small, and the electronic device 100 is convenient to store and carry, and when the foldable housing assembly 110 and the flexible display screen 120 are unfolded, the size of the electronic device 100 is relatively large, so that information can be displayed conveniently.
Referring to fig. 2, in the present embodiment, the flexible display 120 includes a first display portion 121 connected to the first casing 111, a second display portion 122 connected to the second casing 112, and a bending display portion 123 connected to the first display portion 121 and the second display portion 122. The first display portion 121, the second display portion 122, and the bending display portion 123 may form a plurality of corresponding display areas (for example, two display areas, three display areas, and four display areas … … to form N display areas). The first display part 121 and the second display part 122 are folded or unfolded relatively with the first case 111 and the second case 112, respectively. The bending display portion 123 bends or flattens along with the folding or unfolding of the first display portion 121 and the second display portion 122. In some embodiments, 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 120 is a one-piece flexible display; alternatively, in some other embodiments, the bending display part 123 is a flexible portion that can be bent, and the first display part 121 and the second display part 122 can be non-flexible portions, and the first display part 121 and the second display part 122 are relatively folded or unfolded by the bending display part 123. In this embodiment, when the first casing 111 and the second casing 112 are overlapped, the first display portion 121 and the second display portion 122 are separated from each other, so that the electronic device 100 has a folded-out screen structure, and a user can observe the display content of the flexible display screen 120 even when the electronic device 100 is folded, thereby improving the convenience of use of the electronic device 100. In some other embodiments, when the first casing 111 and the second casing 112 are stacked, the first display portion 121 and the second display portion 122 are close to each other, so that the electronic device 100 is configured as a folded-in screen, and the flexible display screen 120 is prevented from being damaged by scratching.
It should be understood that the names of the first display portion 121, the second display portion 122, and the bending display portion 123 are only set for convenience of description, and are not limited to the structure of the flexible display 120, in an actual application scenario, the first display portion 121, the second display portion 122, and the bending display portion 123 may not have obvious boundaries, or the flexible display 120 may appear in other dividing structures, for example, the flexible display 120 includes the first display portion 121 and the second display portion 122 connected to the first display portion 121, and the first display portion 121 and the second display portion 122 can rotate relatively to fold or unfold.
Referring to fig. 3, fig. 3 is a flowchart illustrating a control method for a single-handed operation mode according to an embodiment of the present application. The method is used for triggering the single-hand operation mode of the electronic equipment to be started through the sliding operation acting on the touch screen, so that the starting efficiency of the single-hand operation mode is improved, the convenience of the single-hand operation of a user is improved, and the effect of improving the use experience of the user is achieved. In a specific embodiment, the control method of the one-handed operation mode is applied to the control device 200 of the one-handed operation mode shown in fig. 20 and the electronic apparatus 100 (fig. 21) provided with the control device 200 of the one-handed operation mode. The specific process of the present embodiment will be described below by taking an electronic device as an example, and it is understood that the electronic device applied in the present embodiment may include a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. In this embodiment, the electronic device includes a touch screen, and as will be described in detail with reference to the flow shown in fig. 3, the method for controlling the single-handed operation mode may specifically include the following steps:
step S110: in the case of the touch screen display interface, a slide operation acting on the touch screen is detected.
In this embodiment, the electronic device may have an interface displayed on the touch screen, and the electronic device may detect the sliding operation acting on the touch screen when the interface is displayed on the touch screen. The interface may include a desktop, an application page, and the like, which is not limited herein.
In some embodiments, it may be detected whether a touch screen of the electronic device displays an interface. The method includes the steps of detecting a sliding operation acting on the touch screen when it is detected that the interface is displayed on the touch screen, and not detecting the sliding operation acting on the touch screen when it is not detected that the interface is displayed on the touch screen.
As an implementation manner, whether the touch screen of the electronic device is in a lighting state may be detected, where in a case where it is detected that the touch screen of the electronic device is in the lighting state, it may be determined that the interface is displayed on the touch screen, and in a case where it is detected that the touch screen of the electronic device is not in the lighting state, it may be determined that the interface is not displayed on the touch screen. As one mode, whether a touch screen of the electronic device is in a lit and unlocked state may be detected, where it may be determined that the touch screen displays an interface when it is detected that the touch screen of the electronic device is in the lit and unlocked state, and it may be determined that the touch screen does not display an interface when it is detected that the touch screen of the electronic device is in the lit and unlocked state.
In some embodiments, a sliding operation acting on the touch screen may be detected. The electronic equipment can detect the sliding operation acted on the touch screen in real time; the sliding operation acting on the touch screen can be detected according to a preset time interval; the sliding operation acting on the touch screen can be detected according to a preset time point; the sliding operation acting on the touch screen may also be detected according to other preset rules, and the like, which is not limited herein.
As an implementable manner, the electronic device may include a touch sensor. The electronic device may detect a touch operation acting on the touch screen through the touch sensor, for example, may detect a click operation (a single-finger click operation, a double-finger click operation, a three-finger click operation, etc.) acting on the touch screen; the pressing operation (single-finger pressing operation, double-finger pressing operation, three-finger pressing operation, long pressing operation, short pressing operation and the like) acting on the touch screen can be detected; the present invention is not limited to this, and may detect a slide operation (a single-finger slide operation, a two-finger slide operation, a multi-finger slide operation, or the like) applied to the touch panel.
Step S120: and if the sliding operation taking the corner area of the touch screen as a sliding starting point and taking the central area of the touch screen as a sliding direction is detected, starting the one-hand operation mode of the electronic equipment.
In this embodiment, if the detected sliding operation is a sliding operation in which the corner area of the touch screen is taken as a sliding starting point and the center area of the touch screen is taken as a sliding direction, it can be considered that the user desires to trigger the one-handed operation mode, and the one-handed operation mode of the electronic device can be started in response to the sliding operation.
In some embodiments, the electronic device may detect a sliding start point corresponding to the sliding operation, for example, the electronic device may detect the sliding start point corresponding to the sliding operation through the touch sensor. As an implementable manner, when a sliding operation acting on the touch screen is detected, a touch position where the sliding operation is firstly touched on the touch screen can be acquired, and the position where the sliding start point is located can be determined by the touch position. As another practical manner, when a sliding operation acting on the touch screen is detected, a touch area corresponding to a touch position where the sliding operation is firstly touched on the touch screen may be acquired, and the touch area may be determined as a position where the sliding start point is located.
In some embodiments, the electronic device may pre-define a corner area of the touch screen, and when detecting a position of a sliding start point corresponding to the sliding operation, the electronic device may determine whether the sliding start point is within the pre-defined 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 sector area formed by the adjacent boundaries of the touch screen, a rectangular area formed by the adjacent boundaries of the touch screen, an irregular area formed by the adjacent boundaries of the touch screen, and the like, which are not limited herein. As an implementable manner, when the shape of the touch screen of the electronic device is a rectangle, it may be determined that the touch screen includes four corner regions, and when the slide start point corresponding to the slide operation is located in any one of the four corner regions, it may be considered that the slide start point corresponding to the slide operation is located in the corner region.
As one mode, when obtaining the position of the sliding start point corresponding to the sliding operation, the electronic device may compare the position of the sliding start point with the position area corresponding to the corner area to determine whether the position of the sliding start point falls within the position area corresponding to the corner area. When the position of the sliding starting point is determined to fall into the position area corresponding to the corner area, the sliding starting point can be determined to be in the corner area, and when the position of the sliding starting point is determined not to fall into the position area corresponding to the corner area, the sliding starting point can be determined not to be in the corner area.
As another way, a coordinate system may be established with the electronic device, and when obtaining a sliding start point corresponding to the sliding operation, the electronic device may acquire a coordinate corresponding to the sliding start point in the coordinate system, and compare the coordinate with a coordinate range corresponding to the corner area in the coordinate system to determine whether the coordinate is within the coordinate range, wherein when determining that the coordinate is within the coordinate range, the sliding start point may be determined to be within the corner area, and when determining that the coordinate is not within the coordinate range, the sliding start point may be determined not to be within the corner area.
In some embodiments, the electronic device may detect a sliding direction corresponding to the sliding operation, for example, the electronic device may detect the sliding direction corresponding to the sliding operation through the touch sensor. As an implementable manner, when the sliding operation acting on the touch screen is detected, a sliding start point corresponding to the sliding operation and a sliding end point corresponding to the sliding operation may be acquired, and the sliding direction corresponding to the sliding operation may be determined based on the sliding start point and the sliding end point. When the sliding start point corresponding to the sliding operation and the sliding end point corresponding to the sliding operation are acquired, the direction of the sliding end point relative to the sliding start point may be acquired, and the direction of the sliding end point relative to the sliding start point may be determined as the sliding direction corresponding to the sliding operation. The sliding end point may include any position on the touch screen, and is not limited herein.
In some embodiments, the electronic device may define a center area of the touch screen in advance, and when detecting a sliding direction corresponding to a sliding operation, the electronic device may determine whether the sliding direction corresponding to the sliding operation faces the center area of the touch screen. Wherein the central region may include a peripheral region that diverges from a center of the touch screen. As an implementable manner, when the touch screen of the electronic device is rectangular, it may be determined that the touch screen includes four corner regions, and a peripheral region of a center point of the touch screen is determined as a center region, and the electronic device may preset and store directions of the four corner regions to the central middle region respectively. Then, when a sliding direction in which a sliding operation starts from a certain corner area of the four corner areas is detected, the sliding direction may be compared with a preset direction of the corner area toward the center area, and when the sliding direction matches the preset direction of the corner area toward the center area, the sliding direction corresponding to the sliding operation may be determined to be a direction toward the center area of the touch screen. In some embodiments, initiating a one-handed mode of operation of the electronic device may include: reducing the interface according to a preset proportion, and displaying the reduced interface in an area corresponding to the corner area so as to facilitate the single-hand operation of a user; or the operation control is displayed in the area corresponding to the corner area, and the control associated with the operation control is displayed on the display interface, so that a user can conveniently control the control in a mode of touching the operation control with one hand.
In the method for controlling a one-handed operation mode provided in an embodiment of the present application, in a case that a touch screen displays an interface, a sliding operation acting on the touch screen is detected, and if a sliding operation is detected that takes a corner area of the touch screen as a sliding start point and takes a center area facing the touch screen as a sliding direction, the one-handed operation mode of the electronic device is started, so that the one-handed operation mode of the electronic device is triggered and started through the sliding operation acting on the touch screen, thereby improving the efficiency of starting the one-handed operation mode, improving the convenience of the one-handed operation of the user, and achieving an effect of improving the user experience.
Referring to fig. 4, fig. 4 is a flowchart illustrating a control method for a single-handed operation mode according to an embodiment of the present application. The method is applied to the electronic device, the electronic device includes a touch screen, and as will be described in detail with reference to the flow shown in fig. 4, the method for controlling the single-handed operation mode may specifically include the following steps:
step S210: in the case of the touch screen display interface, a slide operation acting on the touch screen is detected.
For detailed description of step S210, please refer to step S110, which is not described herein again.
Step S220: and if the sliding operation taking the corner area of the touch screen as a sliding starting point and the central area towards the touch screen as a sliding direction is detected, acquiring the hovering duration of the sliding operation at the sliding ending point.
In this embodiment, the electronic device may be preset and stored with a plurality of single-handed operation modes, where the plurality of single-handed operation modes are all used for facilitating a user to perform single-handed operation, and the plurality of single-handed operation modes are different in display and operation.
In this embodiment, if the detected sliding operation is a sliding operation that takes a corner area of the touch screen as a sliding start point and takes a center area of the touch screen as a sliding direction, it may be considered that the user desires to trigger the one-handed operation mode, and the hover time length of the sliding operation at the sliding end point may be acquired.
In some implementations, the electronic device can include a timer. In the case that the operation of stopping the sliding is detected, the timer can be controlled to start timing, and in the case that the releasing operation is detected, the timer can be controlled to stop timing, the time length counted by the timer in the period is obtained, and the time length is determined as the hovering time length of the sliding operation at the sliding end point.
Step S230: starting a one-hand operation mode corresponding to the hovering duration from a plurality of one-hand operation modes of the electronic device.
In some implementations, the electronic device may be preset and stored with a plurality of single-handed operation modes, and each single-handed operation mode is associated with a different hover time period. Therefore, in this embodiment, when the hover time length of the sliding operation at the sliding end point is obtained, the one-handed operation mode corresponding to the hover time length of the sliding operation at the sliding end point can be started from the multiple one-handed operation modes of the electronic device, so as to improve the variety of starting the one-handed operation mode.
As an implementable manner, the electronic device may be pre-established with a mapping relation table, and the mapping relation table may include a plurality of single-handed operation modes, a plurality of hovering duration times, and a correspondence relation between the plurality of single-handed operation modes and the plurality of hovering duration times. The corresponding relationship may include that one single-handed operation mode corresponds to one hovering duration, one single-handed operation mode corresponds to multiple hovering durations, and the like, which is not limited herein.
For example, assuming that the plurality of single-handed operation modes include a first single-handed operation mode and a second single-handed operation mode, the plurality of hover durations include a first hover duration and a second hover duration, the first single-handed operation mode corresponds to the first hover duration, and the second single-handed operation mode corresponds to the second hover duration, when the hover duration of the slide operation at the slide end is obtained, the hover duration of the slide operation at the slide end may be compared with the first hover duration and the second hover duration to determine whether the hover duration of the slide operation at the slide end matches the first hover duration and whether the hover duration of the slide operation at the slide end matches the second hover duration. When the hovering duration of the sliding operation at the sliding end point is matched with the first hovering duration, starting a first one-hand operation mode at the electronic equipment; when the hovering duration of the sliding operation at the sliding end point is matched with the second hovering duration, a second one-handed operation mode can be started at the electronic device.
Compared with the control method of the single-handed operation mode shown in fig. 3, in the control method of the single-handed operation mode provided in an embodiment of the present application, when a sliding operation is detected that takes a corner area of the touch screen as a sliding start point and takes a center area of the touch screen as a sliding direction, a hover time length of the sliding operation at a sliding end point is obtained, and a single-handed operation mode corresponding to the hover time length is started from a plurality of single-handed operation modes of the electronic device, so that different single-handed operation modes are started at different hover time lengths at the sliding end point, so as to improve the starting diversity of the single-handed operation modes.
Referring to fig. 5, fig. 5 is a flowchart illustrating a control method for a single-handed operation mode according to an embodiment of the present application. The method is applied to the electronic device, the electronic device includes a touch screen, the plurality of single-handed operation modes of the electronic device include a first single-handed operation mode, and as will be described in detail with reference to the flow shown in fig. 5, the method for controlling the single-handed operation mode may specifically include the following steps:
step S310: in the case of the touch screen display interface, a slide operation acting on the touch screen is detected.
For details of step S310, please refer to step S110, which is not repeated herein.
Step S320: and if the sliding operation taking the corner area of the touch screen as a sliding starting point and taking the central area facing the touch screen as a sliding direction is detected, acquiring the hovering duration of the sliding operation at the sliding ending point.
For the detailed description of step S320, please refer to step S220, which is not described herein again.
Step S330: and if the hovering duration does not reach the preset duration, starting the first single-hand operation mode from a plurality of single-hand operation modes of the electronic equipment.
In this embodiment, the one-handed operation mode set by the electronic device may include a first one-handed operation mode. The first single-hand operation mode is used for calling out an operation control when the sliding operation acting on the interface of the electronic equipment meets a preset condition (the sliding operation takes a corner area of the touch screen as a sliding starting point, takes a central area facing the touch screen as a sliding direction, and has a hovering time at a sliding end point not reaching a preset time) on the basis of an existing task, and at the moment, the display proportion of the interface cannot be changed. Because the user can select the operation area operated by one hand according to the self requirement, and the display form of the electronic equipment can not be stopped, the convenience degree of operating the electronic equipment by one hand is improved to a great extent, and the user experience is improved.
In some embodiments, the electronic device may preset and store a preset duration, where the preset duration is used as a basis for determining a hovering duration of the sliding operation at the sliding end point. Therefore, in this embodiment, when the hover time length of the sliding operation at the sliding end point is obtained, the hover time length of the sliding operation at the sliding end point may be compared with the preset time length to determine whether the hover time length of the sliding operation at the sliding end point does not reach the preset time length. The preset time period may include, for example, 2 seconds.
When the hovering duration is determined not to reach the preset duration, the sliding operation is represented to meet the requirement for starting the first single-hand operation mode, and the first single-hand operation mode can be started from a plurality of single-hand operation modes of the electronic equipment.
Referring to fig. 6, fig. 6 is a flow chart illustrating a control method of the one-handed operation mode shown in fig. 5 according to the present application.
As will be explained in detail with respect to the flow shown in fig. 6, the method may specifically include the following steps:
step S331: based on the corner region, a first one-handed operation region is determined on the touch screen.
In this embodiment, the first one-handed operation region may be determined on the touch screen based on the corner region where the sliding start point is located. The position of the first single-hand operation area corresponds to the position of the corner area, for example, if the corner area is located at the lower left corner of the touch screen, the first single-hand operation area is located at the left side or the lower left corner of the touch screen; if the corner area is positioned at the lower right corner of the touch screen, the first single-hand operation area is positioned at the right side or the lower right corner of the touch screen; if the corner area is located at the upper left corner of the touch screen, the first single-hand operation area is located at the left side or the upper left corner of the touch screen; if the corner area is located at the upper right corner of the touch screen, the first one-hand operation area is located at the right side or the upper right corner of the touch screen.
As one way, the corner region where the sliding start point is located may be determined as the first one-handed operation region; the peripheral area of the corner area where the sliding starting point is located can be determined as a first single-hand operation area; the corner region where the sliding start point is located and the peripheral region of the corner region may also be determined as the first one-handed operation region.
Step S332: and displaying an operation control in the first one-hand operation area, and displaying a control associated with the operation control on the interface.
In this embodiment, when the first one-handed operation region is determined from the touch screen, the operation control may be displayed in the first one-handed operation region, and the control associated with the operation control may be displayed on the interface. The operation control may include, for example, a "control panel," and the control may include, for example, an "artificial ball," "a cursor," and the like, which are not limited herein.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating a first display variation of an electronic device according to an embodiment of the present application. As shown in (a) of fig. 7, when the electronic device does not start the first one-handed operation mode, the electronic device may display an interface a, and in the process of displaying the interface a, may start the first one-handed operation mode of the electronic device in response to a sliding operation with a corner region of the touch screen as a sliding start point and in a sliding direction toward a center region of the touch screen, as shown in (B) of fig. 8, in the first one-handed operation mode, the electronic device displays a control B in the interface a, and displays an operation control C in the first one-handed operation region.
As a mode, the operation control can be displayed in a floating manner in the first one-handed operation area, and the control can be displayed in a floating manner in the interface. As another mode, the operation control may be displayed in the first one-handed operation region by covering the interface, and the control may be displayed in the first one-handed operation region by covering the interface. The operation control is displayed in the first single-hand operation area, the control is displayed in the interface, the display position of the operation control can be fixed all the time and can be changed according to the position change instruction, and the display position of the control can be changed according to the operation acting on the operation control.
In some embodiments, the electronic device may detect a touch operation acting on the operation control in the process of displaying the operation control and the control. If the touch operation acting on the operation control is detected, displaying the operation control and the control with a first transparency; or if the touch operation acting on the operation control is not detected, displaying the operation control and the control with a second transparency, wherein the second transparency is greater than the first transparency.
As a practical manner, the electronic device may detect a touch operation acting on the operation control, for example, the electronic device may detect a click operation, a press operation, a slide operation, and the like acting on the operation control. In the case that a touch operation acting on the operation control is detected, it may be considered that the user desires to control the control (for example, movement control or click control) by operating the operation control, so as to control the content in the interface, and therefore it may be determined that the user desires to control the content in the interface, but not to view the content displayed in the interface, and the operation control and the control may be displayed according to a first transparency, where the transparency corresponding to the first transparency may be lower, so as to display the operation control and the control more obviously. When the touch operation acting on the operation control is not detected, it can be considered that the user does not want to control the control by operating the operation control but wants to view the content displayed in the interface, and the operation control and the control can be displayed according to the second transparency, wherein the transparency corresponding to the second transparency can be higher, so that the operation control and the control are displayed more implicitly, that is, the content of the interface is displayed more obviously.
Referring to fig. 8 and 9, fig. 8 shows a first display diagram of an electronic device provided in the embodiment of the present application, and fig. 9 shows a second display diagram of the electronic device provided in the embodiment of the present application. As shown in fig. 8, if a touch operation acting on the operation control C is detected, the operation control C and the control B are displayed with a first transparency, and as shown in fig. 9, if a touch operation acting on the operation control C is not detected, the operation control C and the control B are displayed with a second transparency, where the second transparency is greater than the first transparency.
Step S333: and responding to the touch operation acted on the operation control, and controlling the control to perform corresponding operation on the content in the interface.
In this embodiment, in the process of displaying the operation control and the control by the electronic device, the touch operation applied to the operation control may be detected. When the touch operation acting on the operation control is detected, the control can be controlled to perform corresponding operation on the content in the interface. In some embodiments, when a sliding operation acting on the operation control is detected, the control can be controlled to move in the interface in response to the sliding operation; when the click operation acting on the operation control is detected, the content displayed at the position of the control in the control triggering interface can be controlled in response to the click operation.
Step S334: and closing a first one-hand operation mode of the electronic equipment in response to the dragging operation of dragging the operation control to move along a first preset direction.
In this embodiment, in the process of displaying the operation control and the control by the electronic device, the touch operation applied to the operation control may be detected. When the dragging operation that the operation control is dragged to move along the first preset direction is detected, the first one-hand operation mode of the electronic equipment can be closed in response to the dragging operation. Wherein turning off the first one-handed operation mode of the electronic device may include: deleting the operation control and the control in the interface; alternatively, the operation controls and the control controls are hidden in the interface. Wherein the first preset direction may include a direction toward a lower side edge of the touch screen.
In some embodiments, the electronic device may detect a touch operation applied to an upper edge of an operation control in the process of displaying the operation control and the control. When a long-press operation acting on the upper side edge of the operation control is detected, the operation control can be determined to be in a selected state in response to the long-press operation, and in the process that the operation control is in the selected state, under the condition that a dragging operation acting on the operation control is detected, the first one-hand operation mode of the electronic equipment can be closed in response to the dragging operation.
In some embodiments, in the process of displaying the operation control and the control by the electronic device, the touch operation applied to the operation control may be detected. When a dragging operation of dragging the operation control to move along a first preset direction at a target speed (namely, a speed greater than a preset speed) is detected, the first one-handed operation of the electronic device can be closed in response to the dragging operation.
In some embodiments, in the process of displaying the operation control and the control by the electronic device, the touch operation acting on the upper side edge of the operation control may be detected. When a long-press operation acting on the upper side edge of the operation control is detected, the operation control can be determined to be in a selected state in response to the long-press operation, and when the operation control is determined to be in the selected state, the electronic device can display first prompt information in the touch screen, wherein the first prompt information is used for prompting a user to rapidly swing the operation control along a first preset direction (at a speed greater than a preset speed) so as to close a first single-hand operation mode.
Referring to fig. 10, fig. 10 is a schematic view illustrating a second display variation of an electronic device according to an embodiment of the present application. As shown in fig. 10 (a), in the process that the electronic device displays the operation control C and the control B on the interface a, if a drag operation that the drag operation control C moves along a first preset direction (e.g., a lower side edge of the touch screen) is detected, the first one-handed operation mode of the electronic device is turned off, that is, the operation control C and the control B are deleted in the interface a, as shown in fig. 10 (B).
Compared with the control method of the single-handed operation mode shown in fig. 3, in the control method of the single-handed operation mode provided in an embodiment of the present application, when a sliding operation is detected that uses a corner area of the touch screen as a sliding start point and uses a center area of the touch screen as a sliding direction, a hover time of the sliding operation at a sliding end point is obtained, and when the hover time does not reach a preset time, a first single-handed operation mode is started from a plurality of single-handed operation modes of the electronic device, so that by starting the first single-handed operation mode when the hover time of the sliding end point does not reach the preset time, the starting convenience of the corresponding single-handed operation mode is improved.
Referring to fig. 11, fig. 11 is a flowchart illustrating a control method for a single-handed operation mode according to an embodiment of the present application. The method is applied to the electronic device, the electronic device includes a touch screen, the plurality of single-handed operation modes of the electronic device include a second single-handed operation mode, and as will be described in detail with reference to the flow shown in fig. 11, the method for controlling the single-handed operation mode may specifically include the following steps:
step S410: in the case of the touch screen display interface, a slide operation acting on the touch screen is detected.
For detailed description of step S410, please refer to step S110, which is not described herein again.
Step S420: and if the sliding operation taking the corner area of the touch screen as a sliding starting point and taking the central area facing the touch screen as a sliding direction is detected, acquiring the hovering duration of the sliding operation at the sliding ending point.
For detailed description of step S420, please refer to step S220, which is not described herein.
Step S430: and if the hovering duration reaches the preset duration, starting the second single-hand operation mode from a plurality of single-hand operation modes of the electronic equipment.
In this embodiment, the one-handed operation mode set by the electronic device may include a second one-handed operation mode. And the second one-hand operation mode is used for displaying the thumbnail of the interface in the touch screen of the electronic equipment by reducing the interface according to the preset proportion on the basis of the existing task. During this time, the user can click on the application more conveniently in this second one-handed operation mode by a task in the thumbnail of the function one-handed operation interface similar to "icon sinking". The function of the second single-hand operation mode is that when the user is in a state of having no time with the other hand, the fingers can slide freely in the application icons by using the function in a single-hand operation mode, so that great convenience is brought to the user of the electronic equipment with small hands, and the efficiency of opening the application with one hand is improved.
In some embodiments, the electronic device may preset and store a preset duration, where the preset duration is used as a basis for determining a hovering duration of the sliding operation at the sliding end point. Therefore, in this embodiment, when the hover time length of the sliding operation at the sliding end point is obtained, the hover time length of the sliding operation at the sliding end point may be compared with the preset time length to determine whether the hover time length of the sliding operation at the sliding end point reaches the preset time length.
When the hovering duration is determined to reach the preset duration, the sliding operation is represented to meet the requirement for starting the second single-hand operation mode, and the second single-hand operation mode can be started from a plurality of single-hand operation modes of the electronic equipment.
Referring to fig. 12, fig. 12 is a flow chart illustrating a control method of the one-handed operation mode shown in fig. 11 according to the present application. As will be explained in detail with respect to the flow shown in fig. 12, the method may specifically include the following steps:
step S431: determining a second one-handed operation area on the touch screen based on the corner area.
In this embodiment, the second one-handed operation region may be determined on the touch screen based on the corner region where the sliding start 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 at the lower left corner of the touch screen, the second one-hand operation area is located at the left side or the lower left corner of the touch screen (approximately occupying one quarter of the area of the touch screen); if the corner area is located at the lower right corner of the touch screen, the second single-hand operation area is located at the right side or the lower right corner of the touch screen (approximately occupying a quarter of the area of the touch screen); if the corner area is located at the upper left corner of the touch screen, the second one-hand operation area is located at the left side or the upper left corner of the touch screen (approximately one fourth of the area of the touch screen); if the corner region is located at the upper right corner of the touch screen, the second one-handed operation region is located at the right side or the upper right corner of the touch screen (approximately one fourth of the area of the touch screen). The size of the second one-handed operation area can be larger than or equal to that of the first one-handed operation area.
Step S432: and reducing the interface according to a preset proportion to obtain a target interface, and displaying the target interface in the second one-hand operation area.
In some embodiments, the electronic device may be preset and stored with a preset ratio. In this embodiment, when the second one-handed operation area is determined on the touch screen, the interface may be reduced according to a preset ratio that is preset and stored to obtain a target interface, and the target interface is displayed in the second one-handed operation area. It can be understood that the display size of the interface is larger than that of the target interface, the display content of the interface is consistent with that of the target interface, and the functions supported by the interface are also consistent with those supported by the target interface.
Referring to fig. 13, fig. 13 is a schematic view illustrating a third display variation of an electronic device according to an embodiment of the present application. As shown in (a) of fig. 13, when the electronic device is to start the second one-handed operation mode, the electronic device may display an interface a, and in the process of displaying the interface a, the second one-handed operation mode of the electronic device may be started in response to a sliding operation with a corner region of the touch screen as a sliding start point and with a center region toward the touch screen as a sliding direction, and as shown in (b) of fig. 13, in the second one-handed operation mode, the electronic device reduces the interface a by a preset ratio to obtain a target interface D, and displays the target interface D in the second one-handed operation region.
As an implementable manner, if the sliding duration of the sliding operation at the sliding end point reaches the preset duration, second prompt information may be displayed in the touch screen, where the second prompt information is used to prompt the user to release the touch control to enter the second single-handed operation mode, and accordingly, the user may release the touch control based on the prompt information, and the electronic device, as a response, reduces the interface according to the preset scale to obtain the target interface, and displays the target interface in the second single-handed operation area.
Referring to fig. 14, fig. 14 is a schematic diagram illustrating a fourth display variation of an electronic device according to an embodiment of the present application. As shown in (a) of fig. 14, when the electronic device is to start the second one-handed operation mode, the electronic device may display an interface a, and in the process of displaying the interface a, in response to a sliding operation that takes a corner region of the touch screen as a sliding starting point and takes a center region of the touch screen as a sliding direction, the interface a may be scaled down by a preset scale to obtain a target interface D and second prompt information E, as shown in (b) of fig. 14, and when a release touch is detected, the target interface D is displayed in the second one-handed operation region, as shown in (c) of fig. 14.
In some embodiments, the electronic device may detect a touch operation acting on the target interface during the process of displaying the target interface. When the dragging operation that the target interface is dragged to move along the third preset direction is detected, the target interface can be controlled to move along the third preset direction; and when the dragging operation that the target interface is dragged to move along the fourth preset direction is detected, controlling the target interface to move along the fourth preset direction. As one way, the third predetermined direction may be "left" and the fourth predetermined direction may be "right"; alternatively, the third preset direction may be "right" and the fourth preset direction may be "left".
As an implementable manner, a navigation bar may be displayed at the upper edge of the target interface. The electronic device can detect touch operation acting on the navigation bar in the process of displaying the target interface and the navigation bar. When the dragging operation of dragging the navigation bar to move along the third preset direction is detected, the target interface can be controlled to move along the third preset direction; and when the dragging operation of dragging the navigation bar to move along the fourth preset direction is detected, controlling the target interface to move along the fourth preset direction.
Referring to fig. 15, fig. 15 is a schematic view illustrating a fifth display variation of an electronic device according to an embodiment of the present disclosure. As shown in (a) of fig. 15, when the electronic device is displaying the target interface D and the navigation bar F, the target interface D may be controlled to move in the third preset direction in response to a drag operation of dragging the navigation bar F to move in the third preset direction (shown as right), as shown in (b) of fig. 15.
In some embodiments, the electronic device may detect a touch operation acting on the target interface during the process of displaying the target interface. When a drag operation of dragging the target interface to move along a diagonal direction of the target interface is detected, the display size of the target interface may be changed, for example, the display size of the target interface may be increased, or the display size of the target interface may be decreased, which is not limited herein.
Referring to fig. 16, fig. 16 is a schematic view illustrating a sixth display variation of an electronic device according to an embodiment of the present application. As shown in (a) of fig. 16, when the electronic device is displaying the target interface D and the navigation bar F, the display size of the target interface D may be changed in response to a drag operation in which the target interface D is dragged to move in a diagonal direction of the target interface D, and the display size of the target interface D may be increased as shown in (b) of fig. 16.
Step S433: and closing a second one-hand operation mode of the electronic equipment in response to the dragging operation of dragging the target interface to move along a second preset direction.
In this embodiment, during the process of displaying the target interface, the electronic device may detect the touch operation applied to the target interface yesterday. When the dragging operation that the dragging target interface moves along the second preset direction is detected, the second one-hand operation mode of the electronic equipment can be closed in response to the dragging operation. Wherein the second one-handed operation mode of turning off the electronic device may include: and restoring the display target interface to the display interface. Wherein the second preset direction may include a direction toward an upper side edge of the touch screen.
Referring to fig. 17, fig. 17 is a schematic view illustrating a seventh display variation of an electronic device according to an embodiment of the present application. As shown in (a) of fig. 17, when the electronic device may respond to the drag operation that the drag target interface D moves along the second preset direction (shown as up) during the process of displaying the target interface D, the second one-handed operation mode may be turned off, that is, the display target interface D may be switched to the display interface a, as shown in (b) of fig. 17.
In some implementations, a navigation bar may be displayed at the upper edge of the target interface. The electronic device can detect touch operation acting on the navigation bar in the process of displaying the target interface and the navigation bar. When the dragging operation that the dragging navigation bar moves along the second preset direction is detected, the second one-hand operation mode of the electronic equipment can be closed. As an implementable manner, when a pressing operation acting on the navigation bar is detected, a third prompt message for prompting the user to drag the navigation bar to move quickly along the second preset direction so as to close the second one-handed operation mode may be displayed, and when a dragging operation in which the user drags the navigation bar to move along the second preset direction based on the third prompt message is detected, the second one-handed operation mode of the electronic device may be closed.
Referring to fig. 18, fig. 18 is a schematic view illustrating an eighth display variation of an electronic device according to an embodiment of the present application. As shown in fig. 18 (a), when the electronic device detects a pressing operation acting on the navigation bar F while displaying the target interface D and the navigation bar F, the third prompt information G may be displayed, and in response to a dragging operation of dragging the navigation bar F to move in the second preset direction, the second one-handed operation mode may be turned off, that is, the display target interface D may be switched to the display interface a, as shown in fig. 18 (b).
Referring to fig. 19, fig. 19 is a flowchart illustrating a control method of the single-handed operation mode shown in fig. 12 according to the present application. As will be explained in detail with respect to the flow shown in fig. 19, the method may specifically include the following steps:
step S4331: and if the pressing time acting on the navigation bar reaches the preset time, determining the target interface as the selected state.
In some embodiments, the electronic device may preset and store a preset duration, and the preset duration is used as a judgment basis for the pressing duration acting on the navigation bar. Therefore, in the embodiment, the electronic device may detect a pressing time length corresponding to a pressing operation acting on the navigation bar during the process of displaying the target interface and the navigation bar. When the pressing time length corresponding to the pressing operation on the navigation bar is detected, the pressing time length corresponding to the pressing operation on the navigation bar can be compared with the preset time length to judge whether the pressing time length reaches the preset time length.
When the pressing duration is determined to reach the preset duration, the target interface can be determined to be in a selected state; when it is determined that the pressing duration does not reach the preset duration, the target interface may not be determined as the selected state. In one way, if the target interface is determined to be in the selected state, the third prompt message may be displayed in the interface.
Step S4332: and closing a second one-hand operation mode of the electronic equipment in response to the dragging operation of dragging the target interface in the selected state to move along the second preset direction.
In some embodiments, when the target interface is in the selected state, if a dragging operation of dragging the target interface in the selected state to move along a second preset direction is detected, the second one-handed operation mode of the electronic device may be closed in response to the dragging operation of dragging the target interface in the selected state to move along the second preset direction.
Compared with the control method of the single-handed operation mode shown in fig. 3, in the control method of the single-handed operation mode provided in an embodiment of the present application, when a sliding operation is detected that uses a corner area of the touch screen as a sliding start point and uses a center area of the touch screen as a sliding direction, a hover time of the sliding operation at a sliding end point is obtained, and when the hover time does not reach a preset time, a second single-handed operation mode is started from a plurality of single-handed operation modes of the electronic device, so that the start convenience of the corresponding single-handed operation mode is improved by starting the second single-handed operation mode when the hover time of the sliding end point does not reach the preset time.
Referring to fig. 20, fig. 20 is a block diagram illustrating a control device in a single-hand operation mode according to an embodiment of the present application. The control device 200 for single-hand operation mode is applied to the electronic device including the touch screen, and will be explained with reference to the block diagram shown in fig. 20, the control device 200 for single-hand operation mode includes: a sliding operation detection module 210 and a one-handed operation mode activation module 220, wherein:
a sliding operation detection module 210, configured to detect a sliding operation acting on the touch screen in a case where the touch screen displays an interface.
The one-handed operation mode starting module 220 is configured to start the one-handed operation mode of the electronic device if a sliding operation is detected, where a corner area of the touch screen is a sliding starting point and a center area of the touch screen is a sliding direction.
Further, the single-hand operation mode starting module 220 includes: a hovering duration obtaining submodule and a one-hand operation mode starting submodule, wherein:
and the hovering duration acquisition submodule is used for acquiring the hovering duration of the sliding operation at the sliding end point if the sliding operation taking the corner area of the touch screen as the sliding start point and taking the central area facing the touch screen as the sliding direction is detected.
And the single-hand operation mode starting submodule is used for starting a single-hand operation mode corresponding to the hovering duration from a plurality of single-hand operation modes of the electronic equipment.
Further, the plurality of single-handed operation modes includes a first single-handed operation mode and a second single-handed operation mode, and the single-handed operation mode promoter module includes: a first one-handed operation mode activation unit and a second one-handed operation mode activation unit, wherein:
a first single-handed operation mode starting unit, configured to start the first single-handed operation mode from multiple single-handed operation modes of the electronic device if the hover time period reaches a preset time period.
Further, the first one-handed operation mode starting unit includes: the first single-hand operation area determining subunit, the control displaying subunit and the operation control subunit, wherein:
and the first single-hand operation area determining subunit is used for determining a first single-hand operation area on the touch screen based on the corner area.
And the control display subunit is used for displaying an operation control in the first one-hand operation area and displaying a control associated with the operation control on the interface.
And the operation control subunit is used for responding to the touch operation acted on the operation control and controlling the control to perform corresponding operation on the content in the interface.
Further, the first one-handed operation mode starting unit further includes: a first control display subunit and a second control display subunit, wherein:
and the first control display subunit is used for displaying the operation control and the control with a first transparency if the touch operation acting on the operation control is detected.
And the second control display subunit is used for displaying the operation control and the control with a second transparency if the touch operation acting on the operation control is not detected, wherein the second transparency is greater than the first transparency.
Further, the first one-handed operation mode starting unit further includes: a first one-handed operation mode turns off the subunit, wherein:
and the first one-hand operation mode closing subunit is used for responding to dragging operation of dragging the operation control to move along a first preset direction and closing the first one-hand operation mode of the electronic equipment.
And the second single-hand operation mode starting unit is used for starting the second single-hand operation mode from a plurality of single-hand operation modes of the electronic equipment if the hovering duration does not reach the preset duration.
Further, the second one-handed operation starting unit includes: a second unit operation area determination subunit and a target interface display subunit, wherein:
and the second single-hand operation area determining subunit is used for determining a second single-hand operation area on the touch screen based on the corner area.
And the target interface display subunit is used for reducing the interface according to a preset proportion to obtain a target interface and displaying the target interface in the second one-hand operation area.
Further, the second one-handed operation starting unit further includes: a second one-handed operation mode turns off the subunit, wherein:
and the second one-hand operation mode closing subunit is used for responding to the dragging operation of dragging the target interface to move along a second preset direction and closing the second one-hand operation mode of the electronic equipment.
Further, the target interface includes a navigation bar, and the second one-handed operation mode closing subunit includes: selecting a state determining subunit and a second one-handed operation mode closing subunit, wherein:
and the selected state determining subunit is used for determining the target interface as the selected state if the pressing time acting on the navigation bar reaches the preset time.
And the second one-hand operation mode closing subunit is used for responding to the dragging operation of dragging the target interface in the selected state to move along the second preset direction and closing the second one-hand operation mode of the electronic equipment.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 21, a block diagram of an electronic device 100 according to an embodiment of the present disclosure is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. 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 applications, wherein the one or more applications may be stored in the memory 140 and configured to be executed by the one or more processors 130, the one or more programs configured to perform the methods as described in the aforementioned method embodiments.
The Memory 140 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 140 may be used to store instructions, programs, code sets, or instruction sets. The memory 140 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created by the electronic device 100 during use (e.g., phone book, audio-video data, chat log data), and the like.
Referring to fig. 22, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 300 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 300 includes a non-volatile computer-readable medium. The computer readable storage medium 300 has storage space for program code 310 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 310 may be compressed, for example, in a suitable form.
In summary, in the embodiment of the present application, in the case of displaying an interface on a touch screen, a sliding operation acting on the touch screen is detected, and if a sliding operation is detected that takes a corner area of the touch screen as a sliding starting point and takes a center area facing the touch screen as a sliding direction, a one-handed operation mode of an electronic device is started, so that the one-handed operation mode of the electronic device is triggered and started through the sliding operation acting on the touch screen, thereby improving the starting efficiency of the one-handed operation mode, improving the convenience of the one-handed operation of a user, and achieving the effect of improving the user experience.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (12)
1. A control method of a one-handed operation mode is applied to an electronic device, the electronic device comprises a touch screen, and the method comprises the following steps:
detecting a sliding operation acting on the touch screen under the condition that the touch screen displays an interface;
and if the sliding operation taking the corner area of the touch screen as a sliding starting point and taking the central area of the touch screen as a sliding direction is detected, starting the one-hand operation mode of the electronic equipment.
2. The method according to claim 1, wherein if a sliding operation is detected with a corner area of the touch screen as a sliding starting point and a sliding direction toward a center area of the touch screen, initiating a one-handed operation mode of the electronic device comprises:
if the sliding operation taking the corner area of the touch screen as a sliding starting point and taking the central area facing the touch screen as a sliding direction is detected, acquiring the hovering duration of the sliding operation at the sliding ending point;
starting a one-handed operation mode corresponding to the hover duration from a plurality of one-handed operation modes of the electronic device.
3. The method of claim 2, wherein the plurality of single-handed operation modes includes a first single-handed operation mode and a second single-handed operation mode, and wherein initiating the single-handed operation mode corresponding to the hover time period from the plurality of single-handed operation modes of the electronic device comprises:
if the hovering duration does not reach the preset duration, starting the first single-hand operation mode from a plurality of single-hand operation modes of the electronic equipment; or
And if the hovering duration reaches the preset duration, starting the second single-hand operation mode from a plurality of single-hand operation modes of the electronic equipment.
4. The method of claim 3, wherein the initiating the first one-handed mode of operation from among a plurality of one-handed modes of operation of the electronic device comprises:
determining a first one-handed operation area on the touch screen based on the corner area;
displaying an operation control in the first one-hand operation area, and displaying a control associated with the operation control on the interface;
and responding to the touch operation acted on the operation control, and controlling the control to perform corresponding operation on the content in the interface.
5. The method of claim 4, further comprising:
if the touch operation acting on the operation control is detected, displaying the operation control and the control with a first transparency; or
And if the touch operation acting on the operation control is not detected, displaying the operation control and the control with a second transparency, wherein the second transparency is greater than the first transparency.
6. The method of claim 4, wherein after displaying an operation control in the one-handed operation area and displaying a control associated with the operation control on the display interface, further comprising:
and closing a first one-hand operation mode of the electronic equipment in response to the dragging operation of dragging the operation control to move along a first preset direction.
7. The method of claim 3, wherein the initiating the second one-handed operation mode from among a plurality of one-handed operation modes of the electronic device comprises:
determining a second one-handed operation area on the touch screen based on the corner area;
and reducing the interface according to a preset proportion to obtain a target interface, and displaying the target interface in the second one-hand operation area.
8. The method according to claim 7, wherein after the zooming out the interface according to the preset scale to obtain the target interface and displaying the target interface in the second one-handed operation area, the method further comprises:
and closing a second one-hand operation mode of the electronic equipment in response to the dragging operation of dragging the target interface to move along a second preset direction.
9. The method of claim 8, wherein the target interface comprises a navigation bar, and the closing of the second one-handed operation mode of the electronic device in response to the drag operation of dragging the target interface to move in the second preset direction comprises:
if the pressing time acting on the navigation bar reaches the preset time, determining the target interface as a selected state;
and closing a second one-hand operation mode of the electronic equipment in response to the dragging operation of dragging the target interface in the selected state to move along the second preset direction.
10. A control device for a one-handed operation mode, applied to an electronic device including a touch screen, the device comprising:
the sliding operation detection module is used for detecting the sliding operation acted on the touch screen under the condition that the touch screen displays an interface;
the single-hand operation mode starting module is used for starting the single-hand operation mode of the electronic equipment if the sliding operation taking the corner area of the touch screen as a sliding starting point and taking the central area facing the touch screen as a sliding direction is detected.
11. An electronic device comprising a touch screen, a memory, and a processor, the touch screen and the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-9.
12. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210369562.8A CN114721574A (en) | 2022-04-08 | 2022-04-08 | Control method and device for one-hand operation mode, electronic equipment and storage medium |
PCT/CN2022/141626 WO2023193479A1 (en) | 2022-04-08 | 2022-12-23 | Control method and apparatus for one-handed operation mode, and electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210369562.8A CN114721574A (en) | 2022-04-08 | 2022-04-08 | Control method and device for one-hand operation mode, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114721574A true CN114721574A (en) | 2022-07-08 |
Family
ID=82241737
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210369562.8A Pending CN114721574A (en) | 2022-04-08 | 2022-04-08 | Control method and device for one-hand operation mode, electronic equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114721574A (en) |
WO (1) | WO2023193479A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023193479A1 (en) * | 2022-04-08 | 2023-10-12 | Oppo广东移动通信有限公司 | Control method and apparatus for one-handed operation mode, and electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461366A (en) * | 2014-12-16 | 2015-03-25 | 小米科技有限责任公司 | Method and device for activating operation state of mobile terminal |
WO2016183912A1 (en) * | 2015-05-20 | 2016-11-24 | 中兴通讯股份有限公司 | Menu layout arrangement method and apparatus |
CN111443860A (en) * | 2020-03-25 | 2020-07-24 | 维沃移动通信有限公司 | Touch control method and electronic equipment |
CN113746961A (en) * | 2020-05-29 | 2021-12-03 | 华为技术有限公司 | Display control method, electronic device, and computer-readable storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677173A (en) * | 2015-12-25 | 2016-06-15 | 珠海格力电器股份有限公司 | Single-hand operation mode control method and device of terminal |
CN106293332B (en) * | 2016-07-29 | 2019-05-17 | 维沃移动通信有限公司 | A kind of processing method and mobile terminal of singlehanded positioning application |
US10871851B2 (en) * | 2017-08-22 | 2020-12-22 | Blackberry Limited | Electronic device and method for one-handed operation |
CN113448479B (en) * | 2020-03-25 | 2024-03-12 | Oppo广东移动通信有限公司 | Single-hand operation mode starting method, terminal and computer storage medium |
CN114721574A (en) * | 2022-04-08 | 2022-07-08 | Oppo广东移动通信有限公司 | Control method and device for one-hand operation mode, electronic equipment and storage medium |
-
2022
- 2022-04-08 CN CN202210369562.8A patent/CN114721574A/en active Pending
- 2022-12-23 WO PCT/CN2022/141626 patent/WO2023193479A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461366A (en) * | 2014-12-16 | 2015-03-25 | 小米科技有限责任公司 | Method and device for activating operation state of mobile terminal |
WO2016183912A1 (en) * | 2015-05-20 | 2016-11-24 | 中兴通讯股份有限公司 | Menu layout arrangement method and apparatus |
CN111443860A (en) * | 2020-03-25 | 2020-07-24 | 维沃移动通信有限公司 | Touch control method and electronic equipment |
CN113746961A (en) * | 2020-05-29 | 2021-12-03 | 华为技术有限公司 | Display control method, electronic device, and computer-readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023193479A1 (en) * | 2022-04-08 | 2023-10-12 | Oppo广东移动通信有限公司 | Control method and apparatus for one-handed operation mode, and electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2023193479A1 (en) | 2023-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11128802B2 (en) | Photographing method and mobile terminal | |
CN113748407B (en) | Electronic device and method for displaying object providing split screen | |
KR102097496B1 (en) | Foldable mobile device and method of controlling the same | |
US8823749B2 (en) | User interface methods providing continuous zoom functionality | |
WO2018157662A1 (en) | Display control method for mobile terminal, and mobile terminal | |
CN107179865B (en) | Page switching method and terminal | |
KR101720849B1 (en) | Touch screen hover input handling | |
JP2021508881A (en) | Icon management method and equipment | |
US9678574B2 (en) | Computing system utilizing three-dimensional manipulation command gestures | |
US20140362119A1 (en) | One-handed gestures for navigating ui using touch-screen hover events | |
WO2013094371A1 (en) | Display control device, display control method, and computer program | |
EP2455858A1 (en) | Grouping and browsing open windows | |
KR20170093658A (en) | Electronic device comprising multiple displays and method for controlling thereof | |
CN109947383B (en) | Display control method and device, mobile terminal and storage medium | |
CN109947320B (en) | Picture display method and device, electronic equipment and storage medium | |
US20210200391A1 (en) | Interacting Method for Sidebar Menu, Apparatus and Computer-readable Storage Medium | |
CN109976633B (en) | Interface interaction method and device, electronic equipment and storage medium | |
US20150169165A1 (en) | System and Method for Processing Overlapping Input to Digital Map Functions | |
WO2019119799A1 (en) | Method for displaying application icon, and terminal device | |
WO2016183912A1 (en) | Menu layout arrangement method and apparatus | |
WO2023226422A1 (en) | Content editing control method and apparatus, electronic device, and storage medium | |
WO2018141173A1 (en) | Control method, apparatus, computer storage medium and terminal | |
WO2023193479A1 (en) | Control method and apparatus for one-handed operation mode, and electronic device and storage medium | |
WO2014161297A1 (en) | Screen area zooming processing method, device and terminal | |
CN112165550B (en) | Single-hand control method, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |