CN106484284B - Method and device for switching single-hand mode - Google Patents

Method and device for switching single-hand mode Download PDF

Info

Publication number
CN106484284B
CN106484284B CN201610844684.2A CN201610844684A CN106484284B CN 106484284 B CN106484284 B CN 106484284B CN 201610844684 A CN201610844684 A CN 201610844684A CN 106484284 B CN106484284 B CN 106484284B
Authority
CN
China
Prior art keywords
terminal
hand
mode
edge
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610844684.2A
Other languages
Chinese (zh)
Other versions
CN106484284A (en
Inventor
李英俊
杜佳男
吕小磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610844684.2A priority Critical patent/CN106484284B/en
Publication of CN106484284A publication Critical patent/CN106484284A/en
Application granted granted Critical
Publication of CN106484284B publication Critical patent/CN106484284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a method and a device for switching a single-hand mode, relating to the technical field of mobile terminals, wherein the method comprises the following steps: detecting the operation mode of a user on a terminal; when the operation mode is determined to be one-handed operation, acquiring operation information of the user; determining whether the operation information meets a trigger condition for triggering a terminal to switch a single-hand mode corresponding to the single-hand operation; and when the operation information is determined to meet the trigger condition for triggering the terminal to switch the one-hand mode corresponding to the one-hand operation, switching the current operation mode of the terminal to the one-hand mode corresponding to the one-hand operation.

Description

Method and device for switching single-hand mode
Technical Field
The present disclosure relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for switching a single-handed mode.
Background
Along with intelligent terminal's rapid development, intelligent terminal operation interface's size is also bigger and bigger, and when one-hand operation, some regions on the screen are difficult to touch and are obtained, operate under this condition and hold the shakiness easily to lead to the risk that the terminal dropped. In order to enable one-handed operation of the terminal in such a scenario, some terminals provide a one-handed mode, which is a mode that can narrow an operation area on a screen, thereby enabling a user to operate with one hand.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and apparatus for switching a one-handed mode.
According to a first aspect of the embodiments of the present disclosure, a method for switching a single-handed mode is provided, which is applied to a terminal, and includes: detecting the operation mode of a user on a terminal; when the operation mode is determined to be one-handed operation, acquiring operation information of the user; determining whether the operation information meets a trigger condition for triggering a terminal to switch a single-hand mode corresponding to the single-hand operation; and when the operation information is determined to meet the trigger condition for triggering the terminal to switch the one-hand mode corresponding to the one-hand operation, switching the current operation mode of the terminal to the one-hand mode corresponding to the one-hand operation.
Optionally, when the operation information is a touch operation on the terminal operation interface, the determining whether the operation information satisfies a trigger condition for triggering the terminal to switch a one-handed mode corresponding to the one-handed operation includes: determining a touch position of the touch operation on the terminal operation interface; when the touch position is outside the single-hand operation region corresponding to the single-hand operation, determining that a trigger condition for triggering a terminal to switch the single-hand mode corresponding to the single-hand operation is met; and when the touch position is in the single-hand operation area corresponding to the single-hand operation, determining that the trigger condition for triggering the terminal to switch the single-hand mode corresponding to the single-hand operation is not met.
Optionally, when the operation information is a touch operation on any one of a first edge or a second edge of the terminal, the determining whether the operation information satisfies a trigger condition for triggering the terminal to switch a one-handed mode corresponding to the one-handed operation includes: when it is determined that at least one edge of the first edge and the second edge is detected to be touched, determining whether a trigger condition for triggering a terminal to switch a single-hand mode corresponding to the single-hand operation is met according to the touch operation.
Optionally, when the touch operation is an operation of clicking a target edge of the terminal, the determining, according to the touch operation, whether a trigger condition for triggering the terminal to switch a one-handed mode corresponding to the one-handed operation is satisfied includes: judging whether the number of times of clicking the target edge is a preset number of times or not; the target edge is any one of a first edge and a second edge of the terminal; and when the number of times of clicking the target edge is the preset number of times, determining that the operation information meets the trigger condition of triggering the terminal to switch the single-hand mode corresponding to the single-hand operation.
Optionally, when the touch operation is an operation of pressing a target edge of the terminal, the determining, according to the touch operation, whether a trigger condition for triggering the terminal to switch a one-handed mode corresponding to the one-handed operation is satisfied includes: judging whether the duration of pressing the edge of the target is greater than or equal to a preset duration or not; the target edge is any one of a first edge and a second edge of the terminal; and when the duration of pressing the target edge is greater than or equal to the preset duration, determining that the operation information meets the trigger condition of a trigger terminal for switching a single-hand mode corresponding to the single-hand operation.
Optionally, the detecting an operation mode of the user on the terminal includes: acquiring fingerprint information of a user; determining whether the fingerprint information is matched with a preset fingerprint model; and when the fingerprint information is determined to be matched with the preset fingerprint model, determining that the operation mode of the user on the terminal is the one-hand operation corresponding to the preset fingerprint model.
Optionally, the determining whether the fingerprint information matches a preset fingerprint model includes: acquiring the matching degree of the fingerprint information and the preset fingerprint model; when the matching degree is greater than or equal to a preset threshold value, determining that the fingerprint information is matched with the preset fingerprint model; and when the matching degree is smaller than the preset threshold value, determining that the fingerprint information is not matched with the preset fingerprint model.
Optionally, the switching the current operation mode of the terminal to the one-handed mode corresponding to the one-handed operation includes: when the single-hand operation corresponding to the preset fingerprint model is the left-hand operation, switching the current operation mode into a left-hand mode; and when the single-hand operation corresponding to the preset fingerprint model is the right-hand operation, switching the current operation mode into a right-hand mode.
Optionally, the detecting an operation mode of the user on the terminal includes: determining whether the operation mode is holding operation or not according to touch operation of a first edge and a second edge of the terminal; and when the operation mode is holding operation, determining that the operation mode is one-hand operation.
Optionally, the determining whether the operation mode is a holding operation according to the touch operations of the first edge and the second edge of the terminal includes: detecting continuous touch points in a touched area of one edge of the first edge and the second edge of the terminal, detecting discrete touch points in the touched area of the other edge, and determining that the operation mode is holding operation.
Optionally, the determining that the operation mode is the holding operation includes: when it is determined that continuous touch points are detected in the touched area of the first edge and discrete touch points are detected in the touched area of the second edge, determining that the holding operation is an operation of holding the terminal by the left hand; and after determining that discrete touch points are detected in the touched area of the first edge and continuous touch points are detected in the touched area of the second edge, determining that the holding operation is an operation of holding the terminal by a right hand.
Optionally, the switching the current operation mode of the terminal to the one-handed mode corresponding to the one-handed operation includes: when the holding operation is the operation of holding the terminal by the left hand, switching the current operation mode into the left-hand mode; and when the holding operation is the operation of holding the terminal by a right hand, switching the current operation mode into a right hand mode.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for switching a single-handed mode, which is applied to a terminal, and includes: the detection module is configured to detect the operation mode of the terminal by the user; the acquisition module is configured to acquire the operation information of the user when the operation mode is determined to be one-handed operation; the judging module is configured to determine whether the operation information meets a trigger condition for triggering the terminal to switch a single-hand mode corresponding to the single-hand operation; the mode switching module is configured to switch the current operation mode of the terminal to the one-hand mode corresponding to the one-hand operation when the operation information is determined to meet a trigger condition for triggering the terminal to switch the one-hand mode corresponding to the one-hand operation.
Optionally, when the operation information is a touch operation on the terminal operation interface, the determining module is configured to: determining a touch position of the touch operation on the terminal operation interface; when the touch position is outside the single-hand operation region corresponding to the single-hand operation, determining that a trigger condition for triggering a terminal to switch the single-hand mode corresponding to the single-hand operation is met; and when the touch position is in the single-hand operation area corresponding to the single-hand operation, determining that the trigger condition for triggering the terminal to switch the single-hand mode corresponding to the single-hand operation is not met.
Optionally, when the operation information is a touch operation on any one of a first edge or a second edge of the terminal, the determining module is configured to determine, when it is determined that at least one of the first edge and the second edge is detected to be touched, whether a trigger condition for triggering the terminal to switch a one-hand mode corresponding to the one-hand operation is satisfied according to the touch operation.
Optionally, when the operation information is an operation of clicking a target edge of the terminal, the determining module is configured to determine whether the number of times of clicking the target edge is a preset number of times; the target edge is any one of a first edge and a second edge of the terminal; and when the number of times of clicking the target edge is the preset number of times, determining that the operation information meets the trigger condition of triggering the terminal to switch the single-hand mode corresponding to the single-hand operation.
Optionally, when the operation information is an operation of pressing the target edge, the determining module is configured to determine whether a duration of pressing the target edge of the terminal is greater than or equal to a preset duration; the target edge is any one of a first edge and a second edge of the terminal; and when the duration of pressing the target edge is greater than or equal to the preset duration, determining that the operation information meets the trigger condition of a trigger terminal for switching a single-hand mode corresponding to the single-hand operation.
Optionally, the detection module includes: the acquisition sub-module is configured to acquire fingerprint information of a user; a first judgment sub-module configured to determine whether the fingerprint information matches a preset fingerprint model; and the first determining sub-module is configured to determine that the operation mode of the user on the terminal is a single-hand operation corresponding to the preset fingerprint model when the fingerprint information is determined to be matched with the preset fingerprint model.
Optionally, the first determining sub-module is configured to obtain a matching degree between the fingerprint information and the preset fingerprint model; when the matching degree is greater than or equal to a preset threshold value, determining that the fingerprint information is matched with the preset fingerprint model; and when the matching degree is smaller than the preset threshold value, determining that the fingerprint information is not matched with the preset fingerprint model.
Optionally, the mode switching module includes: the first switching sub-module is configured to switch the current operation mode to a left-handed mode when the single-handed operation corresponding to the preset fingerprint model is a left-handed operation; and the second switching sub-module is configured to switch the current operation mode to a right-hand mode when the single-hand operation corresponding to the preset fingerprint model is the right-hand operation.
Optionally, the detection module includes: the second judgment submodule is configured to determine whether the operation mode is holding operation according to touch operation of a first edge and a second edge of the terminal; a second determining submodule configured to determine that the operation mode is one-handed operation when the operation mode is holding operation.
Optionally, the second determining sub-module is configured to detect a continuous touch point in a touched area of one of the first edge and the second edge of the terminal, and detect a discrete touch point in a touched area of the other edge, and determine that the operation mode is a holding operation.
Optionally, the first edge is a left edge of the terminal, the second edge is a right edge of the terminal,
the second judging submodule is configured to determine that the holding operation is an operation of holding the terminal by the left hand when it is determined that continuous touch points are detected in the touched area of the first edge and discrete touch points are detected in the touched area of the second edge; and after determining that discrete touch points are detected in the touched area of the first edge and continuous touch points are detected in the touched area of the second edge, determining that the holding operation is an operation of holding the terminal by a right hand.
Optionally, the mode switching module includes: a third switching sub-module configured to switch the current operation mode to a left-handed mode when the holding operation is an operation of holding the terminal with a left hand; a fourth switching sub-module configured to switch the current operation mode to a right-hand mode when the holding operation is an operation of holding the terminal by a right hand.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for switching a one-handed mode, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: detecting the operation mode of a user on a terminal; when the operation mode is determined to be one-handed operation, acquiring operation information of the user; determining whether the operation information meets a trigger condition for triggering the terminal to switch the single-hand mode; and when the operation information is determined to meet the trigger condition for triggering the terminal to switch the single-hand mode, switching the current operation mode of the terminal to the single-hand mode corresponding to the single-hand operation.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions thereon, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of switching a one-handed mode, the method comprising: detecting the operation mode of a user on a terminal; when the operation mode is determined to be one-handed operation, acquiring operation information of the user; determining whether the operation information meets a trigger condition for triggering the terminal to switch the single-hand mode; and when the operation information is determined to meet the trigger condition for triggering the terminal to switch the single-hand mode, switching the current operation mode of the terminal to the single-hand mode corresponding to the single-hand operation.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
detecting the operation mode of a user on a terminal; when the operation mode is one-hand operation, acquiring operation information of the user; determining whether the operation information meets a trigger condition for triggering the terminal to switch the single-hand mode; and when the operation information is determined to meet the trigger condition for triggering the terminal to switch the single-hand mode, switching the current operation mode of the terminal to the single-hand mode corresponding to the single-hand operation. This is disclosed can be according to the convenient quick one-hand mode that corresponds with the one-hand operation with current operation mode switching according to user's operation information through above scheme.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of switching one-handed mode according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating another method of switching a single-handed mode in accordance with an exemplary embodiment;
FIG. 3a is a schematic diagram illustrating a front side of a terminal according to an exemplary embodiment;
FIG. 3b is a schematic diagram illustrating a backside of a terminal according to an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating a terminal operator interface in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram illustrating another terminal operation interface in accordance with an illustrative embodiment;
FIG. 6 is a flow chart illustrating a third method of switching one-handed mode in accordance with an exemplary embodiment;
FIG. 7 is a schematic diagram illustrating a holding terminal according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating an apparatus for switching a single-handed mode in accordance with an exemplary embodiment;
FIG. 9 is a block diagram of a detection module shown in the embodiment shown in FIG. 8;
FIG. 10 is a block diagram of a mode switching module shown in the embodiment shown in FIG. 8;
FIG. 11 is a block diagram of another detection module shown in the embodiment shown in FIG. 8;
FIG. 12 is a block diagram of another mode switching module shown in the embodiment shown in FIG. 8;
FIG. 13 is a block diagram illustrating an apparatus for entering a one-handed mode in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before describing the method for switching the single-handed mode provided by the present disclosure, an application scenario related to the present disclosure is first described, and an implementation environment related to each embodiment of the present disclosure may include a terminal, which may be, for example, a mobile terminal such as a smart phone, a PDA (Personal Digital Assistant), a tablet computer, and the like.
The following explains a method of switching the one-handed mode provided by the present disclosure.
Fig. 1 is a flowchart illustrating a method of switching a one-handed mode according to an exemplary embodiment, which is used in a terminal, as shown in fig. 1, and includes the following steps:
in step 101, the operation mode of the terminal by the user is detected.
The operation mode can be a one-hand operation mode or a two-hand operation mode, and the one-hand operation mode comprises a left-hand operation mode and a right-hand operation mode.
In step 102, when the operation mode is determined to be one-handed operation, the operation information of the user is acquired.
The operation information may be a click or press operation performed on two opposite edges (denoted as a first edge and a second edge) of the terminal, for example, touch sensors may be disposed on the two edges of the terminal, for example, a capacitive touch pad or a touch screen, so as to detect the click or press operation through the touch sensors; the operation information may also be a touch operation performed on the terminal operation interface, for example, the screen may be a touch screen, and the user performs an operation such as clicking or sliding on the terminal operation interface with a finger; the operation information may also be a fingerprint identification operation performed on a fingerprint sensor provided in the terminal, where the fingerprint sensor may be provided in front of the terminal (i.e., on the same plane as a screen of the terminal), or may be provided in the back of the terminal, and the fingerprint sensor is used to collect a fingerprint of a user.
In step 103, it is determined whether the operation information satisfies a trigger condition for triggering the terminal to switch the one-handed mode corresponding to the one-handed operation.
For example, the triggering condition may be that whether the number of clicks on any one of the first edge and the second edge is a preset number, and when the number of clicks on any one of the first edge and the second edge reaches the preset number, it is determined that the operation information satisfies a triggering condition for triggering the terminal to switch the one-handed mode corresponding to the one-handed operation; the triggering condition may also be whether the duration of pressing any one of the first edge and the second edge is greater than or equal to a preset duration, and when the duration of pressing any one of the first edge and the second edge is greater than or equal to the preset duration, it is determined that the operation information satisfies a triggering condition for triggering the terminal to switch the one-handed mode corresponding to the one-handed operation; the trigger condition may also be whether a touch position of the touch operation on the terminal operation interface is outside a one-handed operation region corresponding to the one-handed operation, and when the position of the initial position on the terminal operation interface is outside the one-handed operation region corresponding to the one-handed operation, it is determined that the operation information satisfies a trigger condition for triggering the terminal to switch the one-handed mode corresponding to the one-handed operation.
In step 104, when it is determined that the operation information satisfies a trigger condition for triggering the terminal to switch to the one-handed mode corresponding to the one-handed operation, the current operation mode of the terminal is switched to the one-handed mode corresponding to the one-handed operation.
When the determined operation mode is left-handed operation, the current operation mode of the terminal is switched to a left-handed mode according with left-handed operation habits, and when the determined operation mode is right-handed operation, the current operation mode of the terminal is switched to a right-handed mode according with right-handed operation habits.
It should be noted that, in this embodiment, if the current operation mode is a normal operation mode (i.e., an operation mode other than the one-handed mode), the normal operation mode may be switched to the left-handed mode or the right-handed mode, and if the current operation mode is the left-handed mode, the left-handed mode may be switched to the right-handed mode; if the current operation mode is the right-hand mode, the right-hand mode can be switched to the left-hand mode.
By adopting the scheme, whether the operation mode of the terminal is operated by the user with one hand or not is determined, and when the operation mode is operated by one hand, the operation information of the user is acquired; determining whether the operation information meets a trigger condition for triggering the terminal to switch the single-hand mode; when the operation information is determined to meet the trigger condition for triggering the terminal to switch the one-hand mode corresponding to the one-hand operation, the current operation mode of the terminal is switched to the one-hand mode corresponding to the one-hand operation, and therefore the current operation mode can be conveniently and quickly switched to the one-hand mode corresponding to the one-hand operation according to the operation information of the user.
Fig. 2 is a flowchart illustrating a method for switching a one-handed mode according to an exemplary embodiment, where the method is applied to a terminal, as shown in fig. 2, and in this embodiment, the terminal may detect an operation manner of a user on the terminal through fingerprint information, and the method includes:
in step 201, the terminal collects fingerprint information of a user.
The terminal may be provided with a fingerprint sensor, and the fingerprint sensor may be disposed on the front side of the terminal, for example, directly below the terminal operation interface, as shown in fig. 3 a; the fingerprint sensor may also be arranged on the back of the terminal, as shown in fig. 3b, and the terminal collects the fingerprint information of the user through the fingerprint sensor.
In step 202, the terminal determines whether the fingerprint information matches a preset fingerprint model.
In a possible implementation manner, the terminal acquires the matching degree of the fingerprint information and the preset fingerprint model, and when the matching degree is greater than or equal to a preset threshold value, the fingerprint information is determined to be matched with the preset fingerprint model; and when the matching degree is smaller than the preset threshold value, determining that the fingerprint information is not matched with the preset fingerprint model.
Therefore, whether the fingerprint information is matched with the preset fingerprint model or not can be determined according to the matching degree of the fingerprint information and the preset fingerprint model.
When the fingerprint information is determined to match the preset fingerprint model, executing steps 203 to 207;
when the fingerprint information is determined not to match the preset fingerprint model, the step 201 is returned to.
In step 203, the terminal determines whether the operation mode is left-handed operation or right-handed operation.
After the fingerprint information of the user is matched with the corresponding preset fingerprint model, whether the user is a left-hand operated terminal or a right-hand operated terminal can be determined according to the corresponding relation between the preset fingerprint model and the single-hand operation.
In this step, a corresponding relationship between the preset fingerprint model and the one-handed operation may be preset, for example, a corresponding relationship may be established between the fingerprint information of the left thumb (i.e., the preset fingerprint model) and the left-handed operation, and a corresponding relationship may be established between the fingerprint information of the right thumb and the right-handed operation, so that, when subsequently acquiring the fingerprint information of the user, if the acquired fingerprint information is the fingerprint information of the left thumb, it is determined that the operation manner of the user on the terminal is the left-handed operation, and if the acquired fingerprint information is the fingerprint information of the right thumb, it is determined that the operation manner of the user on the terminal is the right-handed operation.
Of course, in the embodiment of the present disclosure, the fingerprint information of the other fingers of the left hand may be associated with the operation of the left hand, and the fingerprint information of the other fingers of the right hand may be associated with the operation of the right hand, which is not limited in the present disclosure.
When the operation mode is determined to be the left-handed operation of the terminal, executing the steps 204 to 205;
when the operation mode is determined to be the right hand operation of the terminal, executing the steps 206 to 207;
in step 204, the terminal obtains operation information of the user, and determines whether the operation information meets a trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation.
In a possible implementation manner, the operation information may be a touch operation at any one of a first edge or a second edge of the terminal.
Illustratively, in one embodiment, the touch operation is an operation of clicking on an edge of a target; if the target edge is any one of the first edge and the second edge, determining whether the operation information satisfies a trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation may include:
firstly, judging whether the number of times of clicking the target edge is a preset number of times.
Secondly, when the number of times of clicking the target edge is the preset number of times, determining that the operation information meets the trigger condition of triggering the terminal to switch the left-hand mode corresponding to the left-hand operation; and when the number of times of clicking the target edge is less than the preset number of times, determining that the operation information does not meet the trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation. The preset number of times corresponding to the target edge being the first edge may be the same as or different from the preset number of times corresponding to the target edge being the second edge.
For example, the first edge may be a left edge of the terminal, the single-handed mode corresponding to the left edge is a left-handed mode, the second edge may be a right edge of the terminal, and the single-handed mode corresponding to the right edge is a right-handed mode, where when the determined operation mode is left-handed operation, if the trigger condition is that the preset number of times corresponding to the left edge is 3, after the user clicks the left edge of the terminal 3 times, it may be determined that the trigger condition for triggering the terminal to switch the left-handed mode corresponding to the left-handed operation is satisfied; if the triggering condition is that the preset times corresponding to the right edge is 2, after the user clicks the right edge of the terminal for 2 times, the triggering condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation can be determined.
In another embodiment, if the touch operation is an operation of pressing the target edge, determining whether the operation information satisfies a trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation may include:
firstly, judging whether the duration of pressing the edge of the target is greater than or equal to a preset duration;
secondly, when the duration of pressing the target edge is greater than or equal to the preset duration, determining that the operation information meets the trigger condition of a trigger terminal for switching a left-hand mode corresponding to the left-hand operation; and when the duration of pressing the target edge is less than the preset duration, determining that the operation information does not meet the trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation. When the target edge is the first edge, the corresponding preset duration may be the same as or different from the corresponding preset duration when the target edge is the second edge.
For example, the first edge may be a left edge of the terminal, the single-handed mode corresponding to the left edge is a left-handed mode, the second edge may be a right edge of the terminal, and the single-handed mode corresponding to the right edge is a right-handed mode, where when the determined operation mode is left-handed operation, if the trigger condition is that the preset duration corresponding to the left edge is 1 second, after the user presses the left edge of the terminal for 1 second, it may be determined that the trigger condition for triggering the terminal to switch the left-handed mode corresponding to the left-handed operation is satisfied; if the triggering condition is that the preset time corresponding to the right edge is 3 seconds, after the user presses the right edge of the terminal for 3 seconds, the triggering condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation can be determined to be met.
It should be noted that besides the above clicking and pressing operations, other possible operation modes, such as sliding, etc., may also be adopted, and the above operation modes are exemplary, including but not limited to these.
In another possible implementation manner, if the operation information is a touch operation on the terminal operation interface, determining whether the operation information satisfies a trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation may include:
firstly, determining the touch position of the touch operation on the terminal operation interface.
Secondly, when the touch position is outside a left hand operation area corresponding to the left hand operation, determining that a trigger condition for triggering the terminal to switch a left hand mode corresponding to the left hand operation is met; and when the touch position is in a left hand operation area corresponding to the left hand operation, determining that a trigger condition for triggering the terminal to switch a left hand mode corresponding to the left hand operation is not met.
Referring to fig. 4 for explanation, as shown in fig. 4, fig. 4 is an exemplary terminal operation interface diagram, where an area included in a dotted line portion is a left-hand operation area, that is, an operation interface corresponding to the terminal in a left-hand mode, when it is determined that an operation mode of the terminal by the user is left-hand operation, the terminal continues to detect touch operation of the user on a current operation interface, and if it is detected that a touch position of the touch operation on the operation interface is outside the left-hand operation area, it indicates that the current touch position belongs to an area where left-hand operation is inconvenient, it is determined that the current touch operation satisfies a trigger condition for triggering the terminal to switch the left-hand mode; if the touch control position of the touch control operation on the operation interface is detected to be in the left hand operation area, the current touch control position is indicated to belong to the area convenient for left hand operation, and the left hand mode does not need to be triggered, it is determined that the current touch control operation does not meet the trigger condition for triggering the terminal to switch the left hand mode.
When determining that the operation information meets the trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand mode, executing step 205;
and when determining that the operation information does not meet the trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand mode, returning to the step 201, or re-acquiring the operation information of the user.
In step 205, the terminal switches the current operation mode to a left-hand mode according to the left-hand operation habit.
In step 206, the terminal obtains the operation information of the user and determines whether the operation information meets a trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation.
In a possible implementation manner, the operation information may be a touch operation at any one of a first edge or a second edge of the terminal.
For example, in an embodiment, the touch operation is an operation of clicking a target edge, where the target edge is any one of a first edge and a second edge of the terminal, and determining whether the operation information satisfies a trigger condition for triggering the terminal to switch a right-hand mode corresponding to the right-hand operation may include:
firstly, judging whether the number of times of clicking the target edge is a preset number of times.
Secondly, when the number of times of clicking the target edge is the preset number of times, determining that the operation information meets the triggering condition of triggering the terminal to switch the right-hand mode corresponding to the right-hand operation; and when the number of times of clicking the target edge is not the preset number of times, determining that the operation information meets the trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation. The preset number of times corresponding to the target edge being the first edge may be the same as or different from the preset number of times corresponding to the target edge being the second edge.
For example, the first edge may be a left edge of the terminal, the one-hand mode corresponding to the left edge is a left-hand mode, the second edge may be a right edge of the terminal, the one-hand mode corresponding to the right edge is a right-hand mode, the determined operation mode is a right-hand operation, and if the trigger condition is that the preset number of times corresponding to the right edge is 3, after the user clicks the left edge of the terminal 3 times, the trigger condition for triggering the terminal to switch the right-hand operation corresponding to the right-hand operation may be determined to be satisfied; if the triggering condition is that the preset times corresponding to the left edge is 2 times, after the user clicks the left edge of the terminal for 2 times, the triggering condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation can be determined.
In another embodiment, if the touch operation is an operation of pressing the target edge, determining whether the operation information satisfies a trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation may include:
firstly, judging whether the duration of pressing the edge of the target is greater than or equal to a preset duration;
secondly, when the duration of pressing the target edge is greater than or equal to the preset duration, determining that the operation information meets the trigger condition of a trigger terminal for switching a right-hand mode corresponding to the right-hand operation; and when the duration of pressing the target edge is less than the preset duration, determining that the operation information meets the trigger condition of triggering the terminal to switch the right-hand mode corresponding to the right-hand operation. When the target edge is the first edge, the corresponding preset duration may be the same as or different from the corresponding preset duration when the target edge is the second edge.
For example, the first edge may be a left edge of the terminal, the one-hand mode corresponding to the left edge is a left-hand mode, the second edge may be a right edge of the terminal, and the one-hand mode corresponding to the right edge is a right-hand mode, where when the determined operation mode is a right-hand operation, if the trigger condition is that the preset duration corresponding to the right edge is 1 second, after the user presses the left edge of the terminal for 1 second, it may be determined that the trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation is satisfied; if the trigger condition is that the preset time corresponding to the left edge is 3 seconds, after the user presses the left edge of the terminal for 3 seconds, the trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation can be determined to be met.
It should be noted that besides the above clicking and pressing operations, other possible operation modes, such as sliding, etc., may also be adopted, and the above operation modes are exemplary, including but not limited to these.
In another possible implementation manner, if the operation information is a touch operation on the terminal operation interface, determining whether the operation information satisfies a trigger condition for triggering the terminal to switch a right-hand mode corresponding to the right-hand operation may include:
firstly, determining the touch position of the touch operation on the terminal operation interface.
Secondly, when the touch position is outside a right hand operation area corresponding to the right hand operation, determining that a trigger condition for triggering the terminal to switch a right hand mode corresponding to the right hand operation is met; and when the touch position is in the right hand operation area corresponding to the right hand operation, determining that the trigger condition for triggering the terminal to switch the right hand mode corresponding to the right hand operation is not met.
As shown in fig. 5, fig. 5 is an exemplary terminal operation interface diagram, wherein the area formed by the dotted line is a right-hand operation area, that is, an operation interface corresponding to the terminal in the right-hand mode, when the operation mode of the user to the terminal is determined to be right-handed operation, the terminal continuously detects the touch operation of the user on the current operation interface, if the touch operation is detected to be outside the right-handed operation area at the touch position of the operation interface, the current touch position belongs to the area which is inconvenient to operate by the right hand, determining that the current touch operation meets the trigger condition for triggering the terminal to switch the right-hand mode, if the touch operation is detected to be in the right-hand operation area at the touch position of the operation interface, and if the current touch position belongs to the area convenient for right-hand operation and the right-hand mode does not need to be triggered, determining that the current touch operation does not meet the trigger condition for triggering the terminal to switch the right-hand mode.
When determining that the operation information meets the trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand mode, executing step 207;
and when determining that the operation information does not meet the trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand mode, returning to the step 201, or re-acquiring the operation information of the user.
In step 207, the terminal switches the current operation mode to a right-hand mode that conforms to the right-hand operation habit.
By adopting the scheme, whether the operation of the user on the terminal is the one-hand operation is determined through the fingerprint information, when the operation is the one-hand operation, the operation information of the user is obtained, whether the operation information meets the condition for triggering the switching of the one-hand mode is determined, and when the condition is met, the current operation mode is switched to the one-hand mode corresponding to the one-hand operation.
Fig. 6 is a flowchart illustrating a method for switching a single-handed mode according to an exemplary embodiment, where as shown in fig. 6, the method is applied to a terminal, and in this embodiment, the terminal may determine whether a user is a single-handed operation by detecting whether an operation manner of the terminal by the user is a holding operation, where the method includes:
in step 601, the terminal detects touch operations of the first edge and the second edge.
In step 602, the terminal determines whether the operation mode of the terminal by the user is a holding operation according to the touch operations of the first edge and the second edge.
And when the operation mode of the terminal by the user is determined to be holding operation, determining that the operation mode is one-hand operation.
The implementation of this step 602 is explained below.
For example, the determination of whether the operation manner of the terminal by the user is a holding operation is described by taking the first edge and the second edge as the left edge and the right edge of the terminal as an example, as shown in fig. 7, fig. 7 is a schematic diagram of a holding terminal (taking a left-hand holding terminal as an example) shown in an exemplary embodiment, since one of the left and right edges of the terminal is pressed or wrapped by 3-4 fingers (corresponding 3-4 discrete touch points are formed on the touch sensor of the edge) and the opposite edge is pressed or wrapped by the palm close to the thumb or the root of the thumb (corresponding continuous touch points are formed on the touch sensor of the edge) when the hand maintains the posture of holding the terminal.
Therefore, based on the above principle, in one implementation, the determining, by the terminal, whether the operation mode of the terminal by the user is the holding operation according to the touch operations of the first edge and the second edge may include:
detecting continuous touch points in a touched area of one edge of the first edge and the second edge of the terminal, detecting discrete touch points in the touched area of the other edge, and determining that the operation mode is holding operation, otherwise, determining that the operation mode is non-holding operation.
In addition, when the user holds the terminal, the thumb of the user may touch the edge of the terminal, and at this time, the terminal may detect that a continuous touch point and a discrete touch point disconnected from the continuous touch point occur on one edge of the first edge and the second edge, and the other edge detects the discrete touch point, and then it is determined that the operation mode is also the operation of holding the terminal.
In another implementation manner, when a plurality of discrete touch points are detected on one edge of the first edge and the second edge, and a touch point is detected on the other edge, it may also be determined that the touch operation is an operation of holding the terminal; taking the first edge and the second edge as the left edge and the right edge of the terminal as an example, one edge of the terminal is touched by a plurality of fingers, and the other edge of the terminal is touched by one finger, so that the terminal can be set up.
When the operation mode is determined to be the holding operation, executing the steps 603 to 609;
when it is determined that the operation mode is the non-holding operation, the process returns to step 601.
In step 603, the terminal determines whether the operation mode is left-handed holding the terminal or right-handed holding the terminal.
For example, based on the determination of whether the operation mode of the terminal by the user is the implementation mode of the holding operation in step 602, if the operation mode is determined to be the holding operation in step 602 by detecting a continuous touch point (possibly a continuous touch point plus a disconnected discrete touch point) in the touched area of one of the first edge and the second edge of the terminal, and detecting a discrete touch point in the touched area of the other edge, in this step, the position of the edge where the continuous touch point is located is determined to be the corresponding one-handed operation.
For example, the first edge is a left edge of the terminal, the second edge is a right edge of the terminal, if a continuous touch point is detected at the left edge of the terminal (the continuous touch point may be added with a broken discrete touch point), and the right edge of the terminal detects the discrete touch point, it is determined that the operation mode is the left-hand holding of the terminal, and similarly, if the continuous touch point is detected at the right edge of the terminal (the continuous touch point may be added with a broken discrete touch point), and the left edge of the terminal detects the discrete touch point, it is determined that the operation mode is the right-hand holding of the terminal.
If the touch operation is determined to be the operation of holding the terminal by detecting a plurality of discrete touch points on one edge of the first edge and the second edge and detecting a touch point on the other edge in the above step 602, the edge of the one touch point is determined to be the corresponding one-handed operation in this step, because the thumb position is the corresponding one-handed operation in the holding operation because the thumb position is the corresponding one-handed operation because the edge of the one touch point corresponds to the thumb of the hand.
For example, the first edge is a left edge of the terminal, the second edge is a right edge of the terminal, if one touch point is detected at the left edge of the terminal and a plurality of discrete touch points are detected at the right edge of the terminal, it is determined that the operation mode is to hold the terminal with a left hand, and similarly, if one touch point is detected at the right edge of the terminal and a plurality of discrete touch points are detected at the left edge of the terminal, it is determined that the operation mode is to hold the terminal with a right hand.
When the terminal determines that the operation mode is left-handed holding the terminal, executing step 604 to step 605;
when the terminal determines that the operation mode is to hold the terminal with the right hand, the terminal executes steps 606 to 607.
In step 604, the terminal obtains operation information of the user, and determines whether the operation information meets a trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation.
The implementation manner of determining whether the operation information meets the trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation may refer to the related description of step 204 in the embodiment shown in fig. 2, and is not described herein again.
When the operation information is determined to meet the trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation, executing step 605;
and when the operation information is determined not to meet the trigger condition for triggering the terminal to switch the left-hand mode corresponding to the left-hand operation, returning to the step 601, or re-acquiring the operation information of the user.
In step 605, the terminal switches the current operation mode to a left-hand mode that conforms to the left-hand operation habit.
In step 606, the terminal obtains the operation information of the user, and determines whether the operation information meets a trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation.
The implementation manner of determining whether the operation information meets the trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation may refer to the related description of step 206 in the embodiment shown in fig. 2, and is not described herein again.
When the operation information is determined to meet the trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation, executing step 607;
and when the operation information is determined not to meet the trigger condition for triggering the terminal to switch the right-hand mode corresponding to the right-hand operation, returning to the step 601, or re-acquiring the operation information of the user.
In step 607, the terminal switches the current operation mode to a right-hand mode according to the right-hand operation habit.
By adopting the scheme, whether the operation mode is the one-hand operation is determined by determining whether the terminal is held by the user, when the one-hand operation is determined, the operation information of the user is obtained, whether the operation information meets the condition for triggering the switching of the one-hand mode is determined, and when the condition is met, the current operation mode is switched to the one-hand mode corresponding to the one-hand operation.
Fig. 8 is a block diagram illustrating an apparatus for switching a one-handed mode according to an example embodiment. Referring to fig. 8, the apparatus includes a detection module 81, an acquisition module 82, a determination module 83, and a mode switching module 84.
The detecting module 81 is configured to detect an operation mode of the terminal by the user.
The obtaining module 82 is configured to obtain the operation information of the user when the operation mode is determined to be a one-handed operation.
The judging module 83 is configured to determine whether the operation information satisfies a trigger condition for triggering the terminal to switch the one-handed mode corresponding to the one-handed operation.
The mode switching module 84 is configured to switch the current operation mode of the terminal to the one-handed mode corresponding to the one-handed operation when it is determined that the operation information satisfies a trigger condition for triggering the terminal to switch the one-handed mode corresponding to the one-handed operation.
Optionally, when the operation information is a touch operation on the terminal operation interface, the determining module 83 is configured to determine a touch position of the touch operation on the terminal operation interface; when the touch position is outside the single-hand operation area corresponding to the single-hand operation, determining that a trigger condition for triggering the terminal to switch the single-hand mode corresponding to the single-hand operation is met; and when the touch position is in the single-hand operation area corresponding to the single-hand operation, determining that the trigger condition for triggering the terminal to switch the single-hand mode corresponding to the single-hand operation is not met.
Optionally, when the operation information is a touch operation on any one of the first edge or the second edge of the terminal, the determining module 83 is configured to determine whether a trigger condition for triggering the terminal to switch the one-handed mode corresponding to the one-handed operation is satisfied according to the touch operation when it is determined that the touch operation on at least one of the first edge and the second edge is detected.
Optionally, when the operation information is an operation of clicking a target edge of the terminal, the determining module 83 is configured to determine whether the number of times of clicking the target edge is a preset number of times; the target edge is any one of a first edge and a second edge of the terminal; and when the number of times of clicking the target edge is the preset number, determining that the operation information meets the trigger condition of triggering the terminal to switch the single-hand mode corresponding to the single-hand operation.
Optionally, when the operation information is an operation of pressing a target edge of the terminal, the determining module 83 is configured to determine whether a duration of pressing the target edge is greater than or equal to a preset duration; the target edge is any one of a first edge and a second edge of the terminal; and when the duration of pressing the target edge is greater than or equal to the preset duration, determining that the operation information meets the trigger condition of triggering the terminal to switch the one-hand mode corresponding to the one-hand operation.
Alternatively, as shown in fig. 9, fig. 9 is a block diagram of a detection module shown in the embodiment shown in fig. 8, where the detection module 81 includes:
an acquisition sub-module 811 configured to acquire fingerprint information of a user;
a first judgment sub-module 812 configured to determine whether the fingerprint information matches a preset fingerprint model;
the first determining sub-module 813 is configured to determine that the terminal is operated by the user in a single-hand operation corresponding to the preset fingerprint model when the fingerprint information is determined to match the preset fingerprint model.
Optionally, the first determining sub-module 812 is configured to obtain a matching degree between the fingerprint information and the preset fingerprint model; when the matching degree is greater than or equal to a preset threshold value, determining that the fingerprint information is matched with the preset fingerprint model; and when the matching degree is smaller than the preset threshold value, determining that the fingerprint information is not matched with the preset fingerprint model.
Alternatively, as shown in fig. 10, fig. 10 is a block diagram of a mode switching module shown in the embodiment shown in fig. 8, where the mode switching module 84 includes:
a first switching sub-module 841 configured to switch the current operation mode to a left-handed mode when the single-handed operation corresponding to the preset fingerprint model is a left-handed operation;
a second switching sub-module 842 configured to switch the current operation mode to the right-hand mode when the one-hand operation corresponding to the preset fingerprint model is the right-hand operation.
Alternatively, as shown in fig. 11, fig. 11 is another block diagram of the detection module shown in the embodiment shown in fig. 8, where the detection module 81 includes:
a second determining sub-module 814, configured to determine whether the operation mode is a holding operation according to the touch operations of the first edge and the second edge of the terminal;
the second determining submodule 815 is configured to determine that the operation mode is a one-handed operation when the operation mode is a holding operation.
Optionally, the second determining sub-module 814 is configured to detect a continuous touch point in the touched area of one of the first edge and the second edge of the terminal, and detect a discrete touch point in the touched area of the other edge, and determine that the operation mode is a holding operation.
Optionally, the first edge is a left edge of the terminal, the second edge is a right edge of the terminal, and the second determining sub-module 814 is configured to determine that the holding operation is a left-hand holding operation when it is determined that a continuous touch point is detected in the touched area of the first edge and a discrete touch point is detected in the touched area of the second edge; and determining that the holding operation is the operation of holding the terminal by the right hand after determining that the touched area at the first edge detects discrete touch points and the touched area at the second edge detects continuous touch points.
Alternatively, as shown in fig. 12, fig. 12 is a block diagram of another mode switching module shown in the embodiment shown in fig. 8, where the mode switching module 84 includes:
a third switching sub-module 843 configured to switch the current operation mode to a left-handed mode when the holding operation is a left-handed holding operation of the terminal;
a fourth switching sub-module 844 configured to switch the current operation mode to the right-hand mode when the holding operation is a right-hand holding operation of the terminal.
By adopting the device, whether the operation mode is one-hand operation is determined by determining whether the terminal is held by the user, when the operation mode is determined to be one-hand operation, the operation information of the user is obtained, whether the operation information meets the condition for triggering switching of the one-hand mode is determined, and when the condition is met, the current operation mode is switched to the one-hand mode corresponding to the one-hand operation.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 13 is a block diagram illustrating an apparatus 1300 for switching a one-handed mode according to an example embodiment. For example, apparatus 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 13, the apparatus 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an interface for input/output (I/O) 1312, a sensor component 1314, and a communications component 1316.
The processing component 1302 generally controls overall operation of the device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the method of switching between single-handed modes described above. Further, processing component 1302 can include one or more modules that facilitate interaction between processing component 1402 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operations at the apparatus 1300. Examples of such data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 1306 provides power to the various components of device 1300. The power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 1300.
The multimedia component 1308 includes a screen that provides an output interface between the device 1300 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1300 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for the device 1300. For example, the sensor assembly 1314 may detect an open/closed state of the device 1300, the relative positioning of the components, such as a display and keypad of the device 1300, the sensor assembly 1314 may also detect a change in the position of the device 1300 or a component of the device 1300, the presence or absence of user contact with the device 1300, orientation or acceleration/deceleration of the device 1300, and a change in the temperature of the device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the apparatus 1300 and other devices in a wired or wireless manner. The apparatus 1300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described method of switching the single-handed mode.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the apparatus 1300 to perform the method of switching single-handed mode described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
There is provided a non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of entering a one-handed mode, the method comprising: detecting the operation mode of a user on a terminal; when the operation mode is determined to be one-handed operation, acquiring operation information of the user; determining whether the operation information meets a trigger condition for triggering the terminal to switch a single-hand mode corresponding to the single-hand operation; and when the operation information is determined to meet the trigger condition for triggering the terminal to switch the one-hand mode corresponding to the one-hand operation, switching the current operation mode of the terminal to the one-hand mode corresponding to the one-hand operation.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (25)

1. A method for switching a single-hand mode is applied to a terminal, touch sensors are arranged on two edges of the terminal, and the method comprises the following steps:
detecting the operation mode of a user on a terminal;
when the operation mode is determined to be one-hand operation, acquiring operation information of the user through the touch sensor;
determining whether the operation information meets a trigger condition for triggering a terminal to switch a single-hand mode corresponding to the single-hand operation;
when the operation information is determined to meet a trigger condition for triggering the terminal to switch the one-hand mode corresponding to the one-hand operation, switching the current operation mode of the terminal to the one-hand mode corresponding to the one-hand operation, wherein if the current operation mode is a left-hand mode, the left-hand mode is switched to a right-hand mode; and if the current operation mode is the right-hand mode, switching the right-hand mode into the left-hand mode.
2. The method according to claim 1, wherein when the operation information is a touch operation on the terminal operation interface, the determining whether the operation information satisfies a trigger condition for triggering the terminal to switch a one-handed mode corresponding to the one-handed operation includes:
determining a touch position of the touch operation on the terminal operation interface;
when the touch position is outside the single-hand operation region corresponding to the single-hand operation, determining that a trigger condition for triggering a terminal to switch the single-hand mode corresponding to the single-hand operation is met;
and when the touch position is in the single-hand operation area corresponding to the single-hand operation, determining that the trigger condition for triggering the terminal to switch the single-hand mode corresponding to the single-hand operation is not met.
3. The method according to claim 1, wherein when the operation information is a touch operation on any one of a first edge or a second edge of the terminal, the determining whether the operation information satisfies a trigger condition for triggering the terminal to switch a one-handed mode corresponding to the one-handed operation includes:
when it is determined that at least one edge of the first edge and the second edge is detected to be touched, determining whether a trigger condition for triggering a terminal to switch a single-hand mode corresponding to the single-hand operation is met according to the touch operation.
4. The method according to claim 3, wherein when the touch operation is an operation of clicking a target edge of the terminal, the determining whether a trigger condition for triggering the terminal to switch a one-handed mode corresponding to the one-handed operation is satisfied according to the touch operation comprises:
judging whether the number of times of clicking the target edge is a preset number of times or not; the target edge is any one of a first edge and a second edge of the terminal;
and when the number of times of clicking the target edge is the preset number of times, determining that the operation information meets the trigger condition of triggering the terminal to switch the single-hand mode corresponding to the single-hand operation.
5. The method according to claim 3, wherein when the touch operation is an operation of pressing a target edge of the terminal, the determining whether a trigger condition for triggering the terminal to switch to a one-handed mode corresponding to the one-handed operation is satisfied according to the touch operation comprises:
judging whether the duration of pressing the edge of the target is greater than or equal to a preset duration or not; the target edge is any one of a first edge and a second edge of the terminal;
and when the duration of pressing the target edge is greater than or equal to the preset duration, determining that the operation information meets the trigger condition of a trigger terminal for switching a single-hand mode corresponding to the single-hand operation.
6. The method according to any one of claims 1 to 5, wherein the detecting the operation mode of the terminal by the user comprises:
acquiring fingerprint information of a user;
determining whether the fingerprint information is matched with a preset fingerprint model;
and when the fingerprint information is determined to be matched with the preset fingerprint model, determining that the operation mode of the user on the terminal is the one-hand operation corresponding to the preset fingerprint model.
7. The method of claim 6, wherein the determining whether the fingerprint information matches a preset fingerprint model comprises:
acquiring the matching degree of the fingerprint information and the preset fingerprint model;
when the matching degree is greater than or equal to a preset threshold value, determining that the fingerprint information is matched with the preset fingerprint model;
and when the matching degree is smaller than the preset threshold value, determining that the fingerprint information is not matched with the preset fingerprint model.
8. The method according to claim 6, wherein switching the current operation mode of the terminal to a one-handed mode corresponding to the one-handed operation comprises:
when the single-hand operation corresponding to the preset fingerprint model is the left-hand operation, switching the current operation mode into a left-hand mode;
and when the single-hand operation corresponding to the preset fingerprint model is the right-hand operation, switching the current operation mode into a right-hand mode.
9. The method according to any one of claims 1 to 5, wherein the detecting the operation mode of the terminal by the user comprises:
determining whether the operation mode is holding operation or not according to touch operation of a first edge and a second edge of the terminal;
and when the operation mode is holding operation, determining that the operation mode is one-hand operation.
10. The method according to claim 9, wherein the determining whether the operation mode is a holding operation according to the touch operations of the first edge and the second edge of the terminal comprises:
detecting continuous touch points in a touched area of one edge of the first edge and the second edge of the terminal, detecting discrete touch points in the touched area of the other edge, and determining that the operation mode is holding operation.
11. The method of claim 10, wherein the first edge is a left edge of the terminal and the second edge is a right edge of the terminal, and wherein determining that the operation mode is a hold operation comprises:
when it is determined that continuous touch points are detected in the touched area of the first edge and discrete touch points are detected in the touched area of the second edge, determining that the holding operation is an operation of holding the terminal by the left hand;
and after determining that discrete touch points are detected in the touched area of the first edge and continuous touch points are detected in the touched area of the second edge, determining that the holding operation is an operation of holding the terminal by a right hand.
12. The method according to claim 11, wherein the switching the current operation mode of the terminal to the one-handed mode corresponding to the one-handed operation comprises:
when the holding operation is the operation of holding the terminal by the left hand, switching the current operation mode into the left-hand mode;
and when the holding operation is the operation of holding the terminal by a right hand, switching the current operation mode into a right hand mode.
13. The utility model provides a switch device of one-hand mode which characterized in that is applied to the terminal, two edges of terminal set up touch sensor, include:
the detection module is configured to detect the operation mode of the terminal by the user;
the acquisition module is configured to acquire the operation information of the user through the touch sensor when the operation mode is determined to be one-handed operation;
the judging module is configured to determine whether the operation information meets a trigger condition for triggering the terminal to switch a single-hand mode corresponding to the single-hand operation;
the mode switching module is configured to switch a current operation mode of the terminal to a one-hand mode corresponding to the one-hand operation when the operation information is determined to meet a trigger condition for triggering the terminal to switch the one-hand mode corresponding to the one-hand operation, wherein if the current operation mode is a left-hand mode, the left-hand mode is switched to a right-hand mode; and if the current operation mode is the right-hand mode, switching the right-hand mode into the left-hand mode.
14. The device according to claim 13, wherein when the operation information is a touch operation on the terminal operation interface, the determining module is configured to determine a touch position of the touch operation on the terminal operation interface; when the touch position is outside the single-hand operation region corresponding to the single-hand operation, determining that a trigger condition for triggering a terminal to switch the single-hand mode corresponding to the single-hand operation is met; and when the touch position is in the single-hand operation area corresponding to the single-hand operation, determining that the trigger condition for triggering the terminal to switch the single-hand mode corresponding to the single-hand operation is not met.
15. The apparatus according to claim 13, wherein when the operation information is a touch operation on any one of a first edge or a second edge of the terminal, the determining module is configured to determine whether a trigger condition for triggering the terminal to switch the one-handed mode corresponding to the one-handed operation is satisfied according to the touch operation when it is determined that the touch operation on at least one of the first edge and the second edge is detected.
16. The apparatus according to claim 15, wherein when the operation information is an operation of clicking a target edge of the terminal, the determining module is configured to determine whether the number of times of clicking the target edge is a preset number of times; the target edge is any one of a first edge and a second edge of the terminal; and when the number of times of clicking the target edge is the preset number of times, determining that the operation information meets the trigger condition of triggering the terminal to switch the single-hand mode corresponding to the single-hand operation.
17. The apparatus according to claim 15, wherein when the operation information is an operation of pressing a target edge of the terminal, the determining module is configured to determine whether a duration of pressing the target edge is greater than or equal to a preset duration; the target edge is any one of a first edge and a second edge of the terminal; and when the duration of pressing the target edge is greater than or equal to the preset duration, determining that the operation information meets the trigger condition of a trigger terminal for switching a single-hand mode corresponding to the single-hand operation.
18. The apparatus of any one of claims 13 to 17, wherein the detection module comprises:
the acquisition sub-module is configured to acquire fingerprint information of a user;
a first judgment sub-module configured to determine whether the fingerprint information matches a preset fingerprint model;
and the first determining sub-module is configured to determine that the operation mode of the user on the terminal is a single-hand operation corresponding to the preset fingerprint model when the fingerprint information is determined to be matched with the preset fingerprint model.
19. The apparatus according to claim 18, wherein the first determining sub-module is configured to obtain a matching degree of the fingerprint information with the preset fingerprint model; when the matching degree is greater than or equal to a preset threshold value, determining that the fingerprint information is matched with the preset fingerprint model; and when the matching degree is smaller than the preset threshold value, determining that the fingerprint information is not matched with the preset fingerprint model.
20. The apparatus of claim 18, wherein the mode switching module comprises:
the first switching sub-module is configured to switch the current operation mode to a left-handed mode when the single-handed operation corresponding to the preset fingerprint model is a left-handed operation;
and the second switching sub-module is configured to switch the current operation mode to a right-hand mode when the single-hand operation corresponding to the preset fingerprint model is the right-hand operation.
21. The apparatus of any one of claims 13 to 17, wherein the detection module comprises:
the second judgment submodule is configured to determine whether the operation mode is holding operation according to touch operation of a first edge and a second edge of the terminal;
a second determining submodule configured to determine that the operation mode is one-handed operation when the operation mode is holding operation.
22. The apparatus according to claim 21, wherein the second determining sub-module is configured to detect a continuous touch point in the touched area of one of the first edge and the second edge of the terminal, and detect a discrete touch point in the touched area of the other edge, and determine that the operation mode is a holding operation.
23. The apparatus of claim 22, wherein the first edge is a left edge of the terminal, the second edge is a right edge of the terminal,
the second judging submodule is configured to determine that the holding operation is an operation of holding the terminal by the left hand when it is determined that continuous touch points are detected in the touched area of the first edge and discrete touch points are detected in the touched area of the second edge; and after determining that discrete touch points are detected in the touched area of the first edge and continuous touch points are detected in the touched area of the second edge, determining that the holding operation is an operation of holding the terminal by a right hand.
24. The apparatus of claim 23, wherein the mode switching module comprises:
a third switching sub-module configured to switch the current operation mode to a left-handed mode when the holding operation is an operation of holding the terminal with a left hand;
a fourth switching sub-module configured to switch the current operation mode to a right-hand mode when the holding operation is an operation of holding the terminal by a right hand.
25. An apparatus for switching one-handed mode, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: detecting an operation mode of a user on a terminal, wherein touch sensors are arranged on two edges of the terminal; when the operation mode is determined to be one-hand operation, acquiring operation information of the user through the touch sensor; determining whether the operation information meets a trigger condition for triggering the terminal to switch the single-hand mode; when the operation information is determined to meet a trigger condition for triggering the terminal to switch into the single-hand mode, switching the current operation mode of the terminal into the single-hand mode corresponding to the single-hand operation, wherein if the current operation mode is the left-hand mode, the left-hand mode is switched into the right-hand mode; and if the current operation mode is the right-hand mode, switching the right-hand mode into the left-hand mode.
CN201610844684.2A 2016-09-22 2016-09-22 Method and device for switching single-hand mode Active CN106484284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610844684.2A CN106484284B (en) 2016-09-22 2016-09-22 Method and device for switching single-hand mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610844684.2A CN106484284B (en) 2016-09-22 2016-09-22 Method and device for switching single-hand mode

Publications (2)

Publication Number Publication Date
CN106484284A CN106484284A (en) 2017-03-08
CN106484284B true CN106484284B (en) 2020-01-10

Family

ID=58267284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610844684.2A Active CN106484284B (en) 2016-09-22 2016-09-22 Method and device for switching single-hand mode

Country Status (1)

Country Link
CN (1) CN106484284B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111033456A (en) * 2017-06-30 2020-04-17 Oppo广东移动通信有限公司 Operation mode determination method and device, storage medium and electronic equipment
CN107562353A (en) * 2017-07-17 2018-01-09 努比亚技术有限公司 A kind of display interface control method, terminal and computer-readable recording medium
CN107831978A (en) * 2017-09-29 2018-03-23 张国政 A kind of operation optimization method and device of the intelligent terminal based on fingerprint recognition
CN108268195A (en) * 2018-02-28 2018-07-10 努比亚技术有限公司 One-handed performance display methods, mobile terminal and computer readable storage medium
CN109683785B (en) * 2018-12-24 2021-03-12 维沃移动通信有限公司 Information processing method and mobile terminal
CN110806833A (en) * 2019-10-25 2020-02-18 深圳传音控股股份有限公司 Single-hand mode starting method, terminal and computer storage medium
CN111078087A (en) * 2019-11-25 2020-04-28 深圳传音控股股份有限公司 Mobile terminal, control mode switching method, and computer-readable storage medium
CN113867594A (en) * 2021-10-21 2021-12-31 元心信息科技集团有限公司 Information input panel switching method and device, electronic equipment and storage medium
CN117501228A (en) * 2022-05-18 2024-02-02 北京小米移动软件有限公司 Control method, device, equipment and storage medium for switching single-hand mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995666A (en) * 2014-04-30 2014-08-20 小米科技有限责任公司 Method and device for setting work mode
CN104216657A (en) * 2014-09-05 2014-12-17 深圳市中兴移动通信有限公司 Mobile terminal and operating method thereof
CN105159446A (en) * 2015-08-20 2015-12-16 广东欧珀移动通信有限公司 One-hand operation method and apparatus for terminal
CN105700882A (en) * 2016-01-12 2016-06-22 北京小米移动软件有限公司 Terminal control method and apparatus
CN105867810A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Menu switching method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995666A (en) * 2014-04-30 2014-08-20 小米科技有限责任公司 Method and device for setting work mode
CN104216657A (en) * 2014-09-05 2014-12-17 深圳市中兴移动通信有限公司 Mobile terminal and operating method thereof
CN105159446A (en) * 2015-08-20 2015-12-16 广东欧珀移动通信有限公司 One-hand operation method and apparatus for terminal
CN105700882A (en) * 2016-01-12 2016-06-22 北京小米移动软件有限公司 Terminal control method and apparatus
CN105867810A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Menu switching method and terminal

Also Published As

Publication number Publication date
CN106484284A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106484284B (en) Method and device for switching single-hand mode
CN106951884B (en) Fingerprint acquisition method and device and electronic equipment
RU2633187C1 (en) Management method, device and equipment for adjustment of shooting function
RU2636135C2 (en) Method and device for switching applications
RU2628165C2 (en) Method and device for switching chambers
CN106570442B (en) Fingerprint identification method and device
CN107102772B (en) Touch control method and device
CN105488464A (en) Fingerprint identification method and fingerprint identification apparatus
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
JP6431911B2 (en) Method and apparatus for setting a threshold
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
KR101843447B1 (en) Mobile terminal, method for processing virtual button
KR20160092518A (en) Method and device for controlling application
CN105511777B (en) Session display method and device on touch display screen
WO2017140109A1 (en) Pressure detection method and apparatus
CN106168877A (en) Enter the method and device of singlehanded pattern
CN104461366A (en) Method and device for activating operation state of mobile terminal
CN106990893B (en) Touch screen operation processing method and device
CN111506246A (en) Fingerprint identification determination method and fingerprint identification determination device
CN114063876A (en) Virtual keyboard setting method, device and storage medium
US20160195992A1 (en) Mobile terminal and method for processing signals generated from touching virtual keys
CN106843691B (en) Operation control method and device of mobile terminal
CN108470160B (en) Mobile terminal and method for controlling processing based on fingerprint identification component
CN108334762B (en) Terminal unlocking method and device
CN107329604B (en) Mobile terminal control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant