Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for controlling a terminal device, which can conveniently and quickly invoke a function of the terminal device.
In a first aspect, a method for controlling a terminal device is provided, including: detecting a touch to a touch screen of a terminal device; and calling a preset function of the terminal equipment when the plurality of touch points are detected and the positions of the plurality of touch points are located in a preset range or the relative distances of the plurality of touch points meet a preset value.
In a first possible implementation manner, the invoking of the preset function of the terminal device includes causing a display screen of the terminal device to display a multi-application user interface.
With reference to the first possible implementation manner, in a second possible implementation manner, the invoking a preset function of the terminal device when it is determined that the multiple touch points are detected and the positions of the multiple touch points are within a preset range or the relative distances of the multiple touch points satisfy a preset value includes: when the plurality of touch points are determined to be detected, determining whether the movement of at least one touch point in the plurality of touch points exceeds a preset distance; when the movement of at least one touch point in the plurality of touch points is determined to exceed the preset distance, determining whether the plurality of touch points stop within the preset range or whether the relative distance of the plurality of touch points after stopping meets the preset value; and calling a preset function of the terminal equipment when the plurality of touch points are determined to stop in the preset range or the relative distances of the plurality of touch points after stopping meet the preset value.
With reference to any one of the foregoing possible implementation manners, in a third possible implementation manner, after determining that the detected touches of the multiple touch points or the relative distances of the multiple touch points after stopping satisfy the preset value, the method further includes: determining whether the dwell time of the initial touch positions of the plurality of touch points on the touch screen exceeds a first preset time, wherein the determining whether the movement of at least one touch point of the plurality of touch points exceeds a preset distance when the plurality of touch points are determined to be detected comprises: when the plurality of touch points are detected and the staying time of the touch points at the initial touch position on the touch screen exceeds a first preset time, determining whether the movement of at least one touch point in the plurality of touch points exceeds the preset distance.
With reference to any one of the foregoing possible implementation manners, in a fourth possible implementation manner, after determining that the multiple touch points stop within the preset range or that relative distances of the multiple touch points after stopping satisfy the preset value, the method further includes: determining whether the dwell time of the stopping positions of the plurality of touch points in the preset range or the dwell time of the plurality of touch points after stopping, the relative distance of which meets the preset value, exceeds a second preset time, wherein the invoking of the preset function of the terminal device includes: and calling a preset function of the terminal equipment when determining that the stopping time of the plurality of touch points at the stopping positions in the preset range or the stopping time of the plurality of touch points after stopping meets the preset value exceeds the second preset time.
With reference to any one of the foregoing possible implementation manners, in a fifth possible implementation manner, the determining whether the movement of at least one of the multiple touch points exceeds the preset distance includes: determining whether the movement of each of the at least one touch point exceeds the preset distance in a case where the plurality of touch points are distant from each other, or determining whether the movement of each of the at least one touch point exceeds the preset distance in a case where the plurality of touch points are close to each other.
With reference to any one of the foregoing possible implementation manners, in a sixth possible implementation manner, the method further includes: the preset range and/or preset value and/or preset distance are/is set according to the preference of the user or the use habit of the user.
With reference to any one of the foregoing possible implementation manners, in a seventh possible implementation manner, the method further includes: after detecting that the plurality of touch points or the movement of at least one touch point of the plurality of touch points exceeds the preset distance, enabling the display screen to display the preset range.
With reference to any one of the foregoing possible implementation manners, in an eighth possible implementation manner, the invoking a preset function of the terminal device when it is determined that the multiple touch points are detected and the positions of the multiple touch points are located in a preset range or the relative distances of the multiple touch points satisfy a preset value includes: when the plurality of touch points are detected, determining whether the positions of the plurality of touch points are within a preset range or whether the relative distances of the plurality of touch points meet the preset value; and calling a preset function of the terminal equipment when the plurality of touch points are determined to be located in the preset range or the relative distances of the plurality of touch points meet the preset value.
With reference to any one of the foregoing possible implementation manners, in a ninth possible implementation manner, the positioning the multiple touch points within a preset range includes: the area of a triangle formed by the touch points is smaller than a third preset value; or the area of the circle where the touch points are located is smaller than a fourth preset value; or the area of a polygon formed by the plurality of touch points is larger than a seventh preset value; or the area of the circle where the touch points are located is larger than an eighth preset value; or the circumference of a polygon formed by the plurality of touch points is smaller than a ninth preset value; or, the above multiple touch points are located in a designated area on the touch screen, where the relative distances of the multiple touch points satisfy a preset value, including: the average value of the relative distances between every two touch points is smaller than a first preset value; or the maximum value of the relative distances between every two touch points is smaller than a second preset value; or the average value of the relative distances between every two touch points is greater than a fifth preset value; or the maximum value of the relative distances between every two touch points is larger than a sixth preset value.
In a second aspect, a method for controlling a terminal device is provided, including: detecting a touch to a touch screen of a terminal device; and calling a preset function of the terminal equipment when determining that a plurality of touch points are detected and the movement of at least one touch point in the plurality of touch points exceeds a preset distance.
In a first possible implementation manner, the invoking of the preset function of the terminal device includes: and enabling the display screen of the terminal equipment to display the multi-application user interface.
In combination with any one of the above possible implementation manners, the method further includes: determining whether the touch points stop within a preset range or whether the relative distances of the touch points after stopping meet a preset value; the preset function for calling the terminal equipment comprises the following steps: and calling a preset function of the terminal equipment when the plurality of touch points are determined to stop in the preset range or the relative distances of the plurality of touch points after stopping meet the preset value.
With reference to any one of the foregoing possible implementation manners of the second aspect, the invoking a preset function of the terminal device when it is determined that multiple touch points are detected and the movement of at least one of the multiple touch points exceeds a preset distance includes: and calling a preset function of the terminal equipment when the movement of at least one of the plurality of touch points exceeds a preset distance in the case that the plurality of touch points are expanded, or calling the preset function of the terminal equipment when the movement of at least one of the plurality of touch points exceeds the preset distance in the case that the plurality of touch points are contracted.
With reference to any one of the foregoing possible implementation manners of the second aspect, the method further includes: the preset distance and/or the preset value and/or the preset range are/is set according to the preference of the user or the use habit of the user.
In a third aspect, an apparatus for controlling a terminal device is provided, including: the detection module is used for detecting the touch of a touch screen of the terminal equipment; and the processing module is used for calling the preset function of the terminal equipment when the detection module detects a plurality of touch points and the positions of the touch points are within a preset range or the relative distances of the touch points meet a preset value.
In a first possible implementation manner, the invoking of the preset function of the terminal device includes: and enabling the display screen of the terminal equipment to display the multi-application user interface.
With reference to the first possible implementation manner of the third aspect, in a first possible implementation manner, the processing module includes: a movement determination unit, configured to determine whether a movement of at least one touch point of the plurality of touch points exceeds a preset distance when it is determined that the touch of the plurality of touch points is detected; a stop determination unit, configured to determine whether the plurality of touch points stop within the preset range or whether a relative distance between the plurality of touch points after the stop meets the preset value when the movement determination unit determines that the movement of at least one of the plurality of touch points exceeds the preset distance; and the calling unit is used for calling the preset function of the terminal equipment when the plurality of touch points are determined to stop in the preset range or the relative distances of the plurality of touch points after stopping meet the preset value.
With reference to the first possible implementation manner or the second possible implementation manner of the third aspect, in a second possible implementation manner, the processing module further includes: the first time determination unit is configured to determine whether the staying time of the initial touch positions of the multiple touch points on the touch screen exceeds a first preset time, where the movement determination unit is specifically configured to determine whether the movement of at least one of the multiple touch points exceeds the preset distance when the touch determination unit determines that the detection module detects the touch of the multiple touch points and the first time determination unit determines that the staying time of the initial touch positions of the multiple touch points on the touch screen exceeds the first preset time.
With reference to any one of the foregoing possible implementation manners of the third aspect, in a fourth possible implementation manner, the processing module further includes: and a second time determination unit, configured to determine whether a dwell time of the stop positions of the multiple touch points in the preset range or a dwell time of the relative distances of the multiple touch points after the stop of the touch points in the preset range exceeds a second preset time after the stop determination unit determines that the multiple touch points stop in the preset range or the relative distances of the multiple touch points after the stop meet the preset value, where the calling unit is specifically configured to call the preset function of the terminal device when the second time determination unit determines that the dwell time of the stop positions of the multiple touch points in the preset range or the dwell time of the relative distances of the multiple touch points after the stop meet the preset value exceeds the second preset time.
With reference to any one of the foregoing possible implementation manners of the third aspect, in a fifth possible implementation manner, the movement determination unit is specifically configured to determine whether the movement of each of the at least one touch point exceeds the preset distance when the plurality of touch points are spread, or determine whether the movement of each of the at least one touch point exceeds the preset distance when the plurality of touch points are close to each other.
With reference to any one of the foregoing possible implementation manners of the third aspect, in a sixth possible implementation manner, the apparatus further includes: and the setting module is used for setting the preset range and/or the preset value and/or the preset distance according to the preference of the user or the use habit of the user.
With reference to any one of the foregoing possible implementation manners of the third aspect, in a seventh possible implementation manner, the processing module further causes the display screen to display the preset range after determining that the detection module detects that the plurality of touch points or the movement of at least one of the plurality of touch points exceeds the preset distance.
With reference to any one of the foregoing possible implementation manners of the third aspect, in an eighth possible implementation manner, when the detection module detects the multiple touch points, the processing module determines whether positions of the multiple touch points are within a preset range or whether a relative distance or positions of the multiple touch points satisfies the preset value; and calling a preset function of the terminal equipment when the plurality of touch points are determined to be located in the preset range or the relative distances of the plurality of touch points meet the preset value.
With reference to any one of the foregoing possible implementation manners of the third aspect, in a ninth possible implementation manner, the positioning of the multiple touch points within a preset range includes: the area of a triangle formed by the plurality of touch points is smaller than a third preset value, or the area of a circle in which the plurality of touch points are located is smaller than a fourth preset value, or the area of a triangle formed by the plurality of touch points is larger than a seventh preset value, or the area of a circle in which the plurality of touch points are located is larger than an eighth preset value, or the circumference of a polygon formed by the plurality of touch points is smaller than a ninth preset value, or the plurality of touch points are located in a designated area on the touch screen, wherein the relative distances between the plurality of touch points satisfy preset values, and the method comprises the following steps: the average value of the relative distances between every two of the plurality of touch points is smaller than a first preset value, or the maximum value of the relative distances between every two of the plurality of touch points is smaller than a second preset value, or the average value of the relative distances between every two of the plurality of touch points is larger than a fifth preset value, or the maximum value of the relative distances between every two of the plurality of touch points is larger than a sixth preset value.
In a fourth aspect, an apparatus for controlling a terminal device is provided, including: the detection module is used for detecting the touch of the touch screen; the processing module is used for calling a preset function of the terminal equipment when a plurality of touch points are detected and the movement of at least one touch point in the plurality of touch points exceeds a preset distance.
In a first possible implementation manner, the processing module is specifically configured to, when it is determined that the detection module detects multiple touch points and the movement of at least one touch point of the multiple touch points exceeds a preset distance, cause the display screen to display the multi-application user interface.
With reference to the first possible implementation manner, in a second possible implementation manner, the processing module is further configured to determine whether the multiple touch points stop within a preset range or whether relative distances of the multiple touch points after stopping satisfy the preset value, and call a preset function of the terminal device when determining that the multiple touch points stop within the preset range or the relative distances of the multiple touch points after stopping satisfy the preset value.
With reference to any one of the foregoing possible implementation manners of the fourth aspect, in a third possible implementation manner, the processing module calls a preset function of the terminal device when the movement of at least one of the multiple touch points exceeds a preset distance in a case where the multiple touch points are expanded, or calls the preset function of the terminal device when the movement of at least one of the multiple touch points exceeds a preset distance in a case where the multiple touch points are contracted.
With reference to any one of the foregoing possible implementation manners of the fourth aspect, in a fourth possible implementation manner, the apparatus further includes: and the setting module is used for setting the preset distance and/or the preset value and/or the preset range according to the preference of the user or the use habit of the user.
In a fifth aspect, a terminal device is provided, which includes: a touch screen for detecting a touch to the touch screen; and the processor is used for calling the preset function of the terminal equipment when determining that a plurality of touch points are detected and the positions of the touch points are within a preset range or the relative distances of the touch points meet a preset value.
In a first possible implementation manner, the processor causes the display screen and the terminal device to display the multi-application user interface when it is determined that a plurality of touch points are detected and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points meet a preset value.
With reference to the first possible implementation manner, in a second possible implementation manner, the processor is specifically configured to determine whether a movement of at least one touch point of the multiple touch points exceeds a preset distance when it is determined that the multiple touch points are detected; when the movement of at least one touch point in the plurality of touch points is determined to exceed the preset distance, determining whether the plurality of touch points stop within the preset range or whether the relative distance of the plurality of touch points after stopping meets the preset value; and calling a preset function of the terminal equipment when the plurality of touch points are determined to stop in the preset range or the relative distances of the plurality of touch points after stopping meet the preset value.
With reference to the first possible implementation manner of the fifth aspect, in a third possible implementation manner, the processor is specifically configured to determine whether dwell time of the initial touch positions of the multiple touch points on the touch screen exceeds a first preset time, where the processor is specifically configured to determine whether movement of at least one of the multiple touch points exceeds the preset distance when it is determined that the touch screen detects the touch of the multiple touch points and the dwell time of the initial touch positions of the multiple touch points on the touch screen exceeds the first preset time.
With reference to any one of the foregoing possible implementation manners of the fifth aspect, in a fourth possible implementation manner, the processor is further configured to determine whether a dwell time of the stop positions of the multiple touch points in the preset range or a dwell time of the relative distances of the multiple touch points after the stop satisfies the preset value exceeds a second preset time after determining that the dwell time of the stop positions of the multiple touch points in the preset range or the dwell time of the relative distances of the multiple touch points after the stop satisfies the preset value exceeds the second preset time, where the processor is specifically configured to invoke a preset function of the terminal device when determining that the dwell time of the stop positions of the multiple touch points in the preset range or the dwell time of the relative distances of the multiple touch points after the stop satisfies the preset value exceeds the second preset time.
With reference to any one of the foregoing possible implementation manners of the fifth aspect, in a fifth possible implementation manner, the processor is specifically configured to determine whether the movement of each of the at least one touch point exceeds the preset distance in a case where the plurality of touch points are spread, or determine whether the movement of each of the at least one touch point exceeds the preset distance in a case where the plurality of touch points are contracted.
With reference to any one of the foregoing possible implementation manners of the fifth aspect, in a sixth possible implementation manner, the processor is further configured to set the preset range and/or the preset value and/or the preset distance according to a preference of a user or a usage habit of the user.
With reference to any one of the foregoing possible implementation manners of the fifth aspect, in a seventh possible implementation manner, the processor further causes the display screen to display the preset range after the touch screen detects that the touch points or the movement of at least one of the touch points exceeds the preset distance.
With reference to any one of the foregoing possible implementation manners of the fifth aspect, in an eighth possible implementation manner, when the multiple touch points are detected, the processor determines whether positions of the multiple touch points are within a preset range or whether relative distances of the multiple touch points or the multiple touch points satisfy the preset value; and calling a preset function of the terminal equipment when the plurality of touch points are determined to be located in the preset range or the relative distances of the plurality of touch points meet the preset value.
With reference to any one of the foregoing possible implementation manners of the fifth aspect, in a ninth possible implementation manner, the positioning of the multiple touch points within a preset range includes: the area of a triangle formed by the touch points is smaller than a third preset value; or the area of the circle where the touch points are located is smaller than a fourth preset value; or the area of a polygon formed by the plurality of touch points is larger than a seventh preset value; or the area of the circle where the touch points are located is larger than an eighth preset value; or the circumference of a polygon formed by the plurality of touch points is smaller than a ninth preset value; or, the above multiple touch points are located in a designated area on the touch screen, where the relative distances of the multiple touch points satisfy a preset value, including: the average value of the relative distances between every two touch points is smaller than a first preset value; or the maximum value of the relative distances between every two touch points is smaller than a second preset value; or the average value of the relative distances between every two touch points is greater than a fifth preset value; or the maximum value of the relative distances between every two touch points is larger than a sixth preset value.
In a sixth aspect, a terminal device is provided, which includes: a touch screen for receiving a touch; and the processor is used for detecting the touch of the touch screen and calling a preset function of the terminal equipment when determining that a plurality of touch points are detected and the movement of at least one touch point in the plurality of touch points exceeds a preset distance.
In a first possible implementation manner, the processor is specifically configured to cause the display screen of the terminal device to display the multi-application user interface when it is determined that the touch screen detects multiple touch points and the movement of at least one touch point of the multiple touch points exceeds a preset distance.
In a first possible implementation manner, the processor is further configured to determine whether the touch points stop within the preset range or whether relative distances of the touch points after the touch points stop satisfy the preset value, and call a preset function of the terminal device when determining that the touch points stop within the preset range or the relative distances of the touch points after the touch points stop satisfy the preset value.
With reference to the second possible implementation manner of the sixth aspect, in a third possible implementation manner, the processor calls a preset function of the terminal device when the movement of at least one of the multiple touch points exceeds a preset distance in a case where the multiple touch points are spread, or calls the preset function of the terminal device when the movement of at least one of the multiple touch points exceeds a preset distance in a case where the multiple touch points are contracted.
With reference to any one of the foregoing possible implementation manners of the sixth aspect, in a fourth possible implementation manner, the processor is further configured to set the preset distance and/or the preset value and/or the preset range according to a preference of a user or a usage habit of the user.
According to the technical scheme, the touch gesture designed by the embodiment of the invention can be recognized through the number and the position or the relative distance of multi-point touch, and the function of the terminal equipment can be quickly called through recognizing the visual touch gesture designed by the embodiment of the invention, so that a user can smoothly complete the operation, and the user experience is optimized.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme of the invention can be applied to various terminal devices which take a touch screen (or a touch display) as input/output equipment and complete various functions based on the touch operation of a user on the touch screen, such as smart phones, tablet computers, computing equipment with the touch screen, information display equipment or communication equipment and the like.
Fig. 1A is a schematic flow chart of a method of controlling a terminal device according to one embodiment of the present invention.
110, a touch to a touch screen of the terminal device is detected.
For example, a touch of a finger to the touch screen may be detected in a state of the non-lock screen, and a touch signal may be generated. The touch screen may be a dedicated touch screen or may be a touch-enabled display device. In multi-touch technology, a touch screen may receive a touch or input of one or more touch points (e.g., a finger or a pen) through a touch event processing function and generate a corresponding touch signal for indicating a touch action. For example, the touch screen generates a series of touch signals according to a series of motions (or referred to as a touch gesture). The touch signal may be different according to the operating principle of the touch technology, and the present invention is not limited thereto. Basic touch gestures of a finger may include actions of pressing (down), moving (move), and lifting (up) of the finger. The gesture may be represented by a gesture event, and coordinates and time of the gesture event may be derived from a touch signal generated by the gesture. The touch gesture according to the embodiment of the present invention may be formed by combining motions of pressing, moving, and lifting of a finger, and the gesture according to the embodiment of the present invention may be recognized by detecting the motions of pressing, moving, and lifting, respectively, and the embodiment of the present invention is not limited thereto, and for example, the gesture according to the embodiment of the present invention may also be represented by a touch event by whether the touch event is triggered to recognize the gesture.
It should be understood that the above-mentioned touch may be a complete contact manner, or may be a floating touch manner, for example, when a floating touch is implemented, a certain gap may exist between the finger and the touch screen.
And 120, calling a preset function of the terminal device when the plurality of touch points are detected and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points meet a preset value.
Preferably, the plurality of touch points are at least three touch points, and the embodiment according to the present invention is not limited thereto, for example, the plurality of touch points may be two touch points. For example, when a series of touch signals transmitted by the touch screen are received, it may be determined whether more than three touch points are detected, and it may be determined whether the touch points are located within a preset range or whether the relative distances of the touch points satisfy a preset value, that is, it is recognized whether the finger of the user makes the touch gesture. The position of the touch points in the preset range may refer to whether the touch points are in the preset range when touching the touch screen, or whether the touch points stop in the preset range after moving. Whether the relative distance between the touch points meets a preset value or not can mean whether the distance between the touch points and the touch screen meets the preset value or not when the touch points touch the touch screen. In other words, the multi-application user interface is displayed on the touch screen whenever the positions of the touch points are within a preset range or the relative distances of the touch points satisfy a preset value, regardless of whether the touch points are moved or not. The position of the touch points in the preset range may refer to that the coverage of the touch points (e.g., the area of the area surrounded by the circle where the touch points are located, etc.) is larger than the preset range or smaller than the preset range, or may refer to that the touch points are located in a designated area on the touch screen. The relative distance of the touch points satisfying the preset value refers to whether the distance between the touch points (e.g., the distance between a certain two points or the average of the distances between two points) is greater than or less than a certain preset value.
The actions of touching, moving and stopping the finger of the user on the touch screen form a visual gesture, the finger of the user completes one touch gesture by making the action, and the determination of whether a plurality of touch points are detected and whether the plurality of touch points are located in a preset range means that the identification of whether the finger of the user completes the touch gesture on the touch screen. In other words, the preset function of the terminal device may be invoked when the touch gesture is recognized.
According to the embodiment of the invention, the touch gesture designed by the embodiment of the invention can be recognized through the number and the position or the relative distance of multi-point touch, and the preset function of the terminal equipment can be quickly called through recognizing the visual touch gesture designed by the embodiment of the invention, so that the user can smoothly complete the operation, and the user experience is optimized.
In addition, when the user uses the more frequent operation, the user does not need to rely on the hard keys, the use times of the hard keys can be reduced, the hardware aging is prevented, and virtual keys do not need to be arranged on each user interface, so that the space of the user interface is saved.
For example, the preset function may include a function of causing a display of the terminal device to display or call a certain user interface, but the embodiment of the present invention is not limited thereto, and may also include a function of shutting down, returning to a main interface, entering a certain special application program, or returning to a previous application program.
According to the embodiment of the invention, when it is determined that the plurality of touch points are detected and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points meet a preset value, the display screen of the terminal device can be made to display the multi-application user interface.
Optionally, as another embodiment, when it is determined that the plurality of touch points are detected and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points satisfy a preset value, a shutdown program of the terminal device may be invoked to implement soft shutdown, so as to avoid that the user frequently uses a hard key to perform shutdown operations.
Optionally, as another embodiment, the main interface may be returned or invoked when it is determined that the plurality of touch points are detected and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points satisfy a preset value.
Optionally, as another embodiment, when it is determined that the plurality of touch points are detected and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points satisfy a preset value, an application icon or all application icons currently in use may be displayed on the display screen. In this way, the user can conveniently select the application program to be run according to the requirement.
Optionally, as another embodiment, when it is determined that the plurality of touch points are detected and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points satisfy a preset value, a certain specific application program on the terminal device may be run, for example, in any user interface, and if the terminal device recognizes the touch gesture, a certain application program (for example, instant messaging software) may be invoked.
Optionally, as another embodiment, the terminal device may further enter a retrieval interface when it is determined that the plurality of touch points are detected and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points satisfy a preset value.
Optionally, as another embodiment, it is also possible to return to the last application executed by the terminal device when the above condition is satisfied.
Embodiments of the present invention are described in detail below with an example of displaying a multi-application user interface.
Fig. 1B is a schematic flow chart of a method of controlling a terminal device according to one embodiment of the present invention.
And 150, detecting the touch on the touch screen of the terminal equipment.
And 160, when the plurality of touch points are detected and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points meet a preset value, enabling the display screen of the terminal device to display the multi-application user interface.
For example, the multi-application user interface may include a list of applications running in the background of the terminal device, that is, a multi-task list or a multi-task icon set for performing multi-task switching, may also include a list of applications frequently used by the user or a set of application icons, and may also include a list of applications recently used by the user or a set of application icons. The multi-application user interface may be configured by the manufacturer or by the user.
The displaying of the multi-application user interface on the touch screen may refer to calling the multi-application user interface from the memory and displaying the multi-application user interface on the display screen, or may refer to removing or removing another user interface that blocks the multi-application user interface to display the multi-application user interface.
The touch screen and the display screen may be separate physical entities or may be the same physical entity, which is not limited according to the embodiment of the present invention. In other words, the touch screen and the display screen may be designed integrally or may be respectively set up on different devices.
In 160, it may be determined whether the movement of at least one of the plurality of touch points exceeds a preset distance when it is determined that the plurality of touch points are detected, and it may be determined whether the at least one of the plurality of touch points stops within the preset range or whether the relative distance of the plurality of touch points after stopping satisfies the preset value when it is determined that the movement of the at least one of the plurality of touch points exceeds the preset distance; and when the touch points are determined to stop in the preset range or the relative distances of the touch points after stopping meet the preset value, enabling the display screen of the terminal equipment to display the multi-application user interface.
For example, it may be detected whether at least one of the touch points moves a distance after touching the touch screen and is within a preset range after moving a distance or a relative distance between the touch points after movement is stopped satisfies the preset value. The preset range may refer to a preset relative range (e.g., an area of a region surrounded by a circle where the touch points are located, etc.), or may refer to an absolute range (e.g., a preset specific region on the touch screen). For example, the display screen may be caused to display the multi-application user interface when the relative distance between the touch points exceeds a preset value or is located in a certain area on the touch screen.
Embodiments according to the present invention may determine a position of each touch point according to the touch signal, track a change in the position of each touch point, and determine whether the touch point stops within a preset range after moving or whether a relative distance between the touch points after the movement stops satisfies the preset value according to the change in the position of each point, i.e., whether the above-described touch gesture is completed. According to the embodiment of the invention, the touch gesture designed by the embodiment of the invention can be recognized by combining the motion (movement), the point number and the relative position of the touch point, so that the gesture action is more vivid and abundant.
Further, it may be determined whether or not each of the operations of the touch gesture, such as the touch, the movement, and the stop, is completed in sequence, and the determination after the operation may be stopped as long as any one of the operations is not completed. For example, if the touch screen is not touched by a plurality of touch points, subsequent determination is not performed, and if the moving distances of the plurality of touch points do not exceed the preset distance, subsequent determination is not performed, so that misoperation and consumption of system resources are avoided.
Optionally, as another embodiment, it may be further determined whether a dwell time of the initial touch position on the touch screen when the plurality of touch points touch the touch screen exceeds a first preset time after the plurality of touch points are determined, wherein in 160, it may be determined whether a movement of at least one of the plurality of touch points exceeds the preset distance when the touch of the plurality of touch points is detected and the dwell time of the initial touch position on the touch screen of the plurality of touch points exceeds the first preset time.
For example, the first preset time may be set according to an ergonomic principle, that is, according to a time that a person may stay when initially touching the touch screen when making the gesture in a normal state, for example, the first preset time may be set to 0.5 second, a timer may be used to time the stay time of the touch points at the stop positions within a preset range, and when the timer reaches 0.5 second, it is determined whether the movement of at least one of the touch points exceeds the preset distance. Due to the fact that the first preset time is set, the touch gesture is richer in performance and is easily distinguished from other gestures, and misoperation is avoided. The initial touch position may refer to a position where a plurality of touch points initially contact the touch screen and are not moved.
Optionally, as another embodiment, after the movement of at least one of the touch points is stopped, it may be determined whether the dwell time of the stop positions of the touch points in the preset range or the dwell time of the touch points whose relative distances after the stop satisfy the preset value exceeds a second preset time, where in 160, the display screen of the terminal device may be caused to display a multi-application user interface when the dwell time of the stop positions of the touch points in the preset range or the dwell time of the touch points whose relative distances after the stop satisfy the preset value is determined to exceed the second preset time.
For example, the second preset time may be set according to an ergonomic principle, that is, according to a time that a person stays on the touch screen when the person normally performs the gesture, and stops moving, for example, the second preset time may be set to 0.5 second, the timer is used to time the stay time of the touch points at the stop positions within the preset range, and when the timer reaches 0.5 second, the multi-application user interface is displayed. Optionally, after the plurality of touch points stop moving, if the relative distance between the plurality of touch points is greater than a certain preset value, and the staying time at the stop position when the relative distance between the plurality of touch points is greater than the preset value reaches 0.5 seconds, displaying the multi-application user interface. Due to the fact that the second preset time is set, the touch gesture is richer in performance and is easily distinguished from other gestures, and misoperation is avoided.
At 160, the positioning of the plurality of touch points within a preset range includes: or the area of a triangle formed by the plurality of touch points is smaller than a third preset value; or the area of the circle where the touch points are located is smaller than a fourth preset value; or the area of a polygon formed by the plurality of touch points is larger than a seventh preset value; or the area of the circle where the touch points are located is larger than an eighth preset value; or the circumference of a polygon formed by the plurality of touch points is smaller than a ninth preset value; alternatively, the plurality of touch points stop at the designated area on the touch screen.
In 160, the step of enabling the relative distances of the touch points to satisfy the preset value includes: the average value of the relative distances between every two touch points is smaller than a first preset value; or the maximum value of the relative distances between every two touch points is smaller than a second preset value; or the average value of the relative distances between every two touch points is greater than a fifth preset value; or the maximum value of the relative distances between every two touch points is larger than a sixth preset value.
For example, the parameters defining the preset range may be set according to ergonomic statistical parameters. Specifically, the parameters of the touch gestures input by a plurality of users may be counted, for example, the relative positional relationship between the touch points after the touch points stop every time the touch gestures are performed by the plurality of users may be counted, and the preset range and the preset distance may be determined according to the relative positional relationship. Taking the preset area as the circle as an example, if most of the user makes the above gesture, the gesture stops at the area of 40mm2The circle of (2) can be set with a certain threshold value smaller than 40 as the preset range, so that more natural touch gestures can be recognized, and the recognition of the touch gestures is more accurate, thereby greatly improving the user experience. Meanwhile, the preset range enables the touch gesture to be easily distinguished from other gestures.
In 160, it may be determined whether the movement of each of the at least one touch point exceeds the preset distance in a case where the plurality of touch points are distant (spread) from each other.
In other words, the touch gesture may be an action in which a plurality of touch points are spread on the touch screen.
Alternatively, as another embodiment, in 160, it may be determined whether the movement of each of the at least one touch point exceeds the preset distance in a case where the plurality of touch points approach (contract) to each other.
In other words, the touch gesture is an action in which a plurality of touch points are contracted on the touch screen.
The expansion and contraction actions of the touch gesture allow the touch gesture to be recognized in conjunction with the movement direction of the touch point.
Optionally, as another embodiment, the method of fig. 1B further includes: and after detecting that the plurality of touch points or the movement of at least one touch point in the plurality of touch points exceeds the preset distance, enabling the display screen to display the preset range.
For example, after a plurality of touch points touch the touch screen or after the plurality of touch points move the preset distance, the preset area may be calculated according to the relative position relationship of the plurality of touch points, and the preset area may be displayed on the touch screen, for example, the preset area may be displayed in a semi-transparent circular or triangular pattern, so as to prompt the user to accurately move to the preset area.
Optionally, as another embodiment, the preset range and/or the preset value and/or the preset distance may be set according to a preference of the user or a usage habit of the user.
For example, the touch gestures made by the user may be trained or learned before the user formally makes the touch gestures, or during the use of the terminal device. Specifically, a plurality of touch gestures input by a user can be received, and parameters of the touch gestures of the user are counted. For example, every time the user makes the touch gesture, the relative positional relationship after the touch points stop is counted, and the preset range and the preset distance are determined according to the relative positional relationship. Taking the preset range as the area of a circle as an example, if the touch gestures performed by the user for a plurality of times are mostly (for example, more than 90%) stopped at the area of 40mm2A threshold value smaller than 40 may be set as the above-mentioned preset range. The preset range and the preset distance are set according to the preference of the user or the use habit of the user, so that the set parameters of the touch gesture can better accord with the preference and the use habit of the user, the more natural touch gesture can be recognized, the recognition of the touch gesture is more accurate, and the user experience is greatly improved.
In 160, when it is determined that the plurality of touch points are detected, it may be determined whether positions of the plurality of touch points are within a preset range or whether relative distances of the plurality of touch points satisfy the preset value; and when the plurality of touch points are determined to be located in the preset range or the relative distances of the plurality of touch points meet the preset value, enabling the display screen of the terminal equipment to display the multi-application user interface.
Fig. 2 is a schematic flow chart of a method of controlling a terminal device according to another embodiment of the present invention. The method comprises the following steps. Descriptions similar to those of fig. 1B are not repeated herein.
210, a touch to a touch screen of the terminal device is detected.
And 220, when the plurality of touch points are determined to be detected and the movement of at least one touch point in the plurality of touch points exceeds a preset distance, enabling the display screen to display the multi-application user interface.
For example, the multi-application user interface may be a list of applications running in the background of the terminal device, that is, a multi-task list or a multi-task icon set, an application list or an application icon set frequently used by the user, or an application list or an application icon set recently used by the user. The multi-application user interface may be configured by the manufacturer or by the user.
Preferably, the plurality of touch points are at least three touch points, and the embodiment according to the present invention is not limited thereto, for example, the plurality of touch points may be two touch points.
According to the embodiment of the invention, the touch gesture designed by the embodiment of the invention can be recognized through the number of points of multi-point touch and the moving distance, and the multi-application user interface can be quickly displayed through recognizing the visual touch gesture designed by the embodiment of the invention, so that the user can smoothly complete the operation, and the user experience is optimized.
In addition, when the user uses the more frequent operation, the user does not need to rely on the hard keys, the use times of the hard keys can be reduced, the hardware aging is prevented, and virtual keys do not need to be arranged on each user interface, so that the space of the user interface is saved.
Optionally, as another embodiment, the method of fig. 2 further includes: and determining whether the plurality of touch points stop within a preset range or whether the relative distances of the plurality of touch points after stopping meet the preset value, wherein at 220, the display screen can be enabled to display the multi-application user interface when determining that the plurality of touch points stop within the preset range or the relative distances of the plurality of touch points after stopping meet the preset value.
In 210, in a case where the plurality of touch points are spread, when a movement of at least one touch point of the plurality of touch points exceeds a preset distance, causing the display screen to display a multi-application user interface.
Optionally, as another embodiment, in 220, when the plurality of touch points are contracted, and the movement of at least one touch point of the plurality of touch points exceeds a preset distance, the display screen may be caused to display the multi-application user interface.
Optionally, as another embodiment, the method of fig. 2 further includes: the preset distance and/or the preset value and/or the preset range are/is set according to the preference of the user or the use habit of the user.
Embodiments of the present invention are described in more detail below with reference to specific examples.
Fig. 3 is a schematic flow chart of a process of controlling a terminal device according to one embodiment of the present invention. The method of fig. 3A is an example of the method of fig. 1A and 1B. Fig. 3B to 3C are schematic diagrams illustrating a touch gesture performed on a touch screen according to an embodiment of the present invention. FIG. 3D is a schematic diagram of a user interface after displaying a multi-application user interface, according to an embodiment of the invention.
And 310, detecting the touch of the touch points on the touch screen.
The touch screen or the touch screen with the touch function can monitor or detect actions of initial touch, movement, stop movement and the like of a touch point on the touch screen, and generate a touch signal according to the actions. In other words, the touch screen may generate a series of touch signals according to a series of actions (operations or physical movements) performed by a User on a gesture-based User Interface (UI), i.e., a touch gesture. Touch screens may employ capacitive touch technology to generate touch signals, and embodiments in accordance with the invention are not limited in this respect, and may also employ optical (e.g., with infrared or laser) or resistive touch technology to generate touch signals, for example.
320, determine if multiple touch points are detected? If so, execution continues with step 330, otherwise, execution 360.
A determination may be made as to whether multiple (e.g., at least three) touch points touch the touch screen based on touch signals generated by the touch screen in relation to the initial touch. Taking capacitive touch technology as an example, in a touch screen based on mutual capacitance, mutual capacitance is generated between a row line and a column line, and if a finger exists on the touch screen, the mutual capacitance is reduced, so that the touch existence on the touch screen can be judged, and the position of each touch point can be accurately judged. In this case, the touch signal may be a signal indicating a change in capacitance of a touch position where each touch point is located.
330, determine if at least one of the at least a plurality of touch points has moved a predetermined distance? If so, execution continues with step 340, otherwise, execution 360 is performed.
For example, whether the plurality of touch points move by a preset distance may be detected according to a touch signal generated by the touch screen and related to the movement of the touch points. For example, the movement of each touch point can be tracked by the touch identifier corresponding to each touch point, and the step 340 is executed only when the distance moved by each touch point exceeds a certain preset distance or threshold (e.g., 1 mm), and otherwise no response is made. In other words, a touch point is considered to have moved only if the distance that each touch point has moved exceeds some preset distance or threshold. In particular, the preset distance or threshold may be set to 0.
340, determine whether each touch point stops within a preset range or whether a relative distance between each touch point satisfies a preset value? If so, execution continues with step 350, otherwise execution 360 is performed.
For example, when the respective touch points stop moving, whether the respective touch points stop within a preset range may be determined according to the touch signal, or whether a relative distance between the respective touch points satisfies a preset value may be determined according to the touch signal. For example, the relative position of the current touch point is determined according to the touch signal, and whether each touch point is within a preset range is determined according to the relative position.
Since the touch gesture may be an expanding or diverging gesture or a contracting gesture. Therefore, the movement of the respective touch points may be in opposite directions or in opposite directions.
For example, when the touch points move toward each other, the touch points stop within the preset range may be determined according to the following principle: the area of a triangle formed by all the touch points is smaller than a third preset value; or the area of the circle where each touch point is located is smaller than the fourth preset value. Whether the relative distance between the touch points meets a preset value is determined according to the following principle: the average value of the relative distances between every two touch points is smaller than a first preset value; or the maximum value of the relative distance between every two touch points is smaller than a second preset value.
For example, when each touch point moves in a reverse direction, each touch point stops within a preset range may be determined according to the following principle: the area of a polygon formed by all the touch points is larger than a seventh preset value; or the area of the circle where each touch point is located is larger than the eighth preset value. Whether the relative distance between the touch points meets a preset value is determined according to the following principle: the average value of the relative distances between every two touch points is greater than a fifth preset value; or the maximum value of the relative distance between every two touch points is larger than a sixth preset value.
Of course, the preset range may also be a designated area on the touch screen, for example, a circular or square area in the center of the touch screen. Referring to fig. 3B, 3C, and 3D, for example, when the three touch points located at the positions A, B and C, respectively, are moved to the positions a ', B ', and C ', i.e., to the circular area D at the center of the touch screen, the respective touch points are located within the above-mentioned preset range.
According to the principle of determining the preset range, abundant and various touch gestures can be provided so as to be better distinguished from other operations, and therefore misoperation is avoided.
And 350, in case that the respective touch points stop within a preset range or the relative distance between the respective touch points satisfies a preset value, causing the display screen to display the multi-application user interface (or menu).
For example, the multi-application user interface may be a list of various tasks that are running on the terminal device. When the user wants to switch tasks, the multi-application user interface can be displayed so as to select the tasks to be switched from the multi-application user interface. According to the embodiment of the invention, under the condition that the touch gesture is detected, an instruction for displaying the multi-application user interface can be sent out, so that the multi-application user interface can be conveniently displayed under the condition that a hard key or a virtual key is not required to be pressed.
No response is made to the incomplete gesture 360.
If the user does not complete the series of actions (i.e., touch gestures), for example, does not move a sufficient distance or stop within a preset range, no response is made, i.e., the multi-application user interface is not displayed, so that a malfunction can be avoided.
Fig. 4 is a schematic flowchart of a process of controlling a terminal device according to another embodiment of the present invention. The method of fig. 4 is an example of the method of fig. 1A and 1B. 310, 330 to 460 of fig. 4 are similar to 310, 330 to 360 of fig. 3A, and are not described again here.
A touch to the touch screen is detected 410.
420, determine if multiple touch points are detected? If so, execution continues with step 425, otherwise, execution proceeds with step 460.
425, determine if the dwell time of each touch point exceeds a first preset time? If so, 430 is performed, otherwise 460 is performed.
Referring to fig. 3B, for example, the three touch points respectively stay or remain motionless at the initial touch positions A, B and C for more than a first preset time (e.g., 0.5 seconds). For example, a timer may be set to time the time that each touch point stays at the initial touch position, and execution 430 is performed when the stay time exceeds a first preset time.
430, determine whether at least one of the plurality of touch points has moved a predetermined distance? If so, execution continues with step 440, otherwise, execution 460 is performed.
440, determine whether each touch point stops within a preset range or whether the relative distance between each touch point satisfies a preset value? If so, execution continues with step 450, otherwise execution proceeds with step 460.
And 450, displaying a multi-application user interface (or menu) in case that the relative distance between the respective touch points stops within the preset range satisfies the preset value.
460 not responding to the incomplete gesture.
Fig. 5 is a schematic flowchart of a process of controlling a terminal device according to still another embodiment of the present invention. The method of fig. 5 is an example of the method of fig. 1A and 1B. 510 to 530 and 560 of fig. 5 are similar to 310 to 330 and 360 of fig. 3 and will not be described again.
A touch to the touch screen is detected 510.
520, determine if multiple touch points are detected? If so, then step 530 continues, otherwise, step 560 is performed.
530, determine whether the movement of at least one of the touch points exceeds a preset distance? If so, execution continues with step 540, otherwise, execution 560.
540, determine whether each touch point stops within a preset range or whether the relative distance between each touch point satisfies a preset value? If so, execution continues at step 545, otherwise execution 560.
545, determine if the dwell time of each touch point exceeds a second preset time? If so, 550 is performed, otherwise 560 is performed.
Referring to fig. 3C, for example, the three touch points respectively stay or remain motionless at the touch positions a ', B ', and C ' after the stop for more than a second preset time (e.g., 0.5 seconds). For example, a timer may be set to count the staying time of each touch point at the touch positions a ', B ', and C ', and the execution 550 is performed when the staying time exceeds a second preset time.
And 550, in case that the staying time of each touch point exceeds a second preset time, causing the display screen to display the multi-application user interface (or menu).
560, no response to the incomplete gesture.
The method for controlling the terminal device according to the embodiment of the present invention is described above, and the apparatus for controlling the terminal device and the terminal device according to the embodiment of the present invention are described below with reference to fig. 6 to 9, respectively.
Fig. 6 is a schematic structural diagram of an apparatus 600 for controlling a terminal device according to an embodiment of the present invention. The apparatus 600 comprises: a detection module 610 and a processing module 620.
The detection module 610 detects a touch to a touch screen of the terminal device. The processing module 620 causes the display screen to display the multi-application user interface when the detecting module 610 detects the plurality of touch points and the positions of the plurality of touch points are within a preset range or the relative distances of the plurality of touch points satisfy a preset value.
The touch screen and the display screen may be separate physical entities or may be the same physical entity, which is not limited according to the embodiment of the present invention.
According to the embodiment of the invention, the touch gesture designed by the embodiment of the invention can be recognized through the number and the position or the relative distance of multi-point touch, and the background multi-application user interface can be quickly displayed by recognizing the visual touch gesture designed by the embodiment of the invention, so that the user can smoothly complete the operation, and the user experience is optimized.
The operation and function of the various elements of the apparatus 600 may refer to the methods of fig. 1A and 1B described above. To avoid repetition, it will not be described herein.
Fig. 7 is a schematic structural diagram of an apparatus 700 for controlling a terminal device according to another embodiment of the present invention. The apparatus 600 comprises: a detection module 610 and a processing module 720. The detection module 710 and the processing module 720 are similar to the detection module 610 and the processing module 620 of fig. 6, and are not described herein again.
According to an embodiment of the invention, the processing module 720 comprises: a movement determination unit 721, a stop determination unit 722, and a calling unit 723.
The movement determination unit 721 determines whether the movement of at least one touch point among the plurality of touch points exceeds a preset distance when it is determined that the detection module 710 detects the plurality of touch points. The stop determination unit 722 determines whether the plurality of touch points stop within the preset range or whether the relative distances of the plurality of touch points after stopping satisfy the preset value when the movement determination unit 721 determines that the movement of at least one of the plurality of touch points exceeds the preset distance; the invoking unit 723 causes the display screen to display the multi-application user interface when determining that the plurality of touch points stop within the preset range or that the relative distances of the plurality of touch points after stopping meet the preset value.
Optionally, as another embodiment, the processing module 720 further includes: the first time determination unit 724. The first time determining unit 724 determines whether the staying time of the initial touch positions of the multiple touch points on the touch screen exceeds a first preset time, wherein the movement determining unit 721 is specifically configured to determine whether the movement of at least one of the multiple touch points exceeds the preset distance when the multiple touch points are detected and the first time determining unit 724 determines that the staying time of the initial touch positions of the multiple touch points on the touch screen exceeds the first preset time.
Optionally, as another embodiment, the processing module 720 further includes: a second time judgment unit 725.
The second time determination unit 725 determines whether the dwell time of the stop position within the preset range or the dwell time of the relative distance of the touch points after the stop meets the preset value exceeds a second preset time after the stop determination unit 722 determines that the relative distance of the touch points after the stop is within the preset range or the relative distance of the touch points after the stop meets the preset value, wherein the invoking unit 723 is specifically configured to enable the display screen to display the multi-application user interface when the second time determination unit 725 determines that the dwell time of the stop position within the preset range or the dwell time of the relative distance of the touch points after the stop meets the preset value exceeds the second preset time.
According to an embodiment of the present invention, the movement determining unit 721 is specifically configured to determine whether the movement of each of the at least one touch point exceeds the preset distance in the case that the plurality of touch points are spread, or determine whether the movement of each of the at least one touch point exceeds the preset distance in the case that the plurality of touch points are contracted.
Optionally, as another embodiment, the apparatus 700 further includes: a setup module 730.
The setting module 730 sets the preset range and/or the preset value and/or the preset distance according to the preference of the user or the usage habit of the user.
Optionally, as another embodiment, the processing module 720 further causes the display screen to display the preset range after determining that the detection module 710 detects that the plurality of touch points or the movement of at least one of the plurality of touch points exceeds the preset distance.
According to an embodiment of the present invention, when determining that the detection module 710 detects the plurality of touch points, the processing module 720 determines whether the positions of the plurality of touch points are within a preset range or whether the relative distances or the positions of the plurality of touch points satisfy the preset value; and when the plurality of touch points are determined to be located in the preset range or the relative distances of the plurality of touch points meet the preset value, enabling the display screen to display the multi-application user interface.
According to an embodiment of the present invention, the positioning of the plurality of touch points within the preset range includes: the area of a triangle formed by the plurality of touch points is smaller than a third preset value, or the area of a circle in which the plurality of touch points are located is smaller than a fourth preset value, or the area of a triangle formed by the plurality of touch points is larger than a seventh preset value, or the area of a circle in which the plurality of touch points are located is larger than an eighth preset value, or the circumference of a polygon formed by the plurality of touch points is smaller than a ninth preset value, or the plurality of touch points stop in a designated area on the touch screen.
According to an embodiment of the present invention, the step of satisfying the preset value by the relative distance between the plurality of touch points includes: the average value of the relative distances between every two of the plurality of touch points is smaller than a first preset value, or the maximum value of the relative distances between every two of the plurality of touch points is smaller than a second preset value, or the average value of the relative distances between every two of the plurality of touch points is larger than a fifth preset value, or the maximum value of the relative distances between every two of the plurality of touch points is larger than a sixth preset value.
The operation and function of the various elements of the apparatus 700 may refer to the method of FIG. 1A or FIG. 1B described above. To avoid repetition, it will not be described herein.
Fig. 8 is a schematic structural diagram of an apparatus for controlling a terminal device according to another embodiment of the present invention.
The detecting module 810 is configured to detect a touch on a touch screen of the terminal device. A processing module 820 for causing the display screen to display the multi-application user interface upon determining that a plurality of touch points are detected and that the movement of at least one of the plurality of touch points exceeds a preset distance.
According to the embodiment of the invention, the touch gesture designed by the embodiment of the invention can be recognized through the number of points of multi-point touch and the moving distance, and the multi-application user interface can be quickly displayed through recognizing the visual touch gesture designed by the embodiment of the invention, so that the user can smoothly complete the operation, and the user experience is optimized.
Optionally, as another embodiment, the processing module 820 is further configured to determine whether the touch points stop within the preset range or whether the relative distances of the touch points after stopping satisfy the preset value, and when it is determined that the touch points stop within the preset range or the relative distances of the touch points after stopping satisfy the preset value, cause the display screen to display the multi-application user interface.
According to the embodiment of the present invention, the processing module 820 causes the display screen to display the multi-application user interface when the movement of at least one of the plurality of touch points exceeds a preset distance in a case where the plurality of touch points are spread, or causes the display screen to display the multi-application user interface when the movement of at least one of the plurality of touch points exceeds a preset distance in a case where the plurality of touch points are contracted.
The touch screen and the display screen may be separate physical entities or may be the same physical entity, which is not limited according to the embodiment of the present invention.
Optionally, as another embodiment, the method further includes: the setting module 830 is configured to set the preset distance and/or the preset value and/or the preset range according to the preference of the user or the usage habit of the user.
The operation and function of the various elements of the apparatus 800 may refer to the method of fig. 2 described above. To avoid repetition, it will not be described herein.
Fig. 9 is a schematic structural diagram of a terminal device 900 according to still another embodiment of the present invention. The terminal apparatus 900 includes: touch screen 910, processor 920, memory 930, and bus 940. The touch screen 910 is used to detect a touch to the touch screen 910. The processor 920 calls the codes stored in the memory 930 through the bus 940 to cause the display 950 to display the multi-application user interface when the touch points are detected and the touch points are located within a preset range or the relative distances between the touch points satisfy a preset value.
According to the embodiment of the invention, the touch gesture designed by the embodiment of the invention can be recognized through the number and the position or the relative distance of multi-point touch, and the background multi-application user interface can be quickly displayed by recognizing the visual touch gesture designed by the embodiment of the invention, so that the user can smoothly complete the operation, and the user experience is optimized.
According to an embodiment of the present invention, the processor 920 is specifically configured to determine whether a movement of at least one touch point of the plurality of touch points exceeds a preset distance when determining that the plurality of touch points are detected; when the movement of at least one touch point in the plurality of touch points is determined to exceed the preset distance, determining whether the plurality of touch points stop within the preset range or whether the relative distance of the plurality of touch points after stopping meets the preset value; when it is determined that the touch points stop within the preset range or the relative distances of the touch points after the stop satisfy the preset value, the display screen 950 is caused to display the multi-application user interface.
Optionally, as another embodiment, the processor 920 is further configured to determine whether a dwell time of the initial touch positions of the multiple touch points on the touch screen 910 exceeds a first preset time, where the processor 920 is specifically configured to determine whether the movement of at least one of the multiple touch points exceeds the preset distance when the multiple touch points are detected and the dwell time of the initial touch positions of the multiple touch points on the touch screen 910 exceeds the first preset time.
Optionally, as another embodiment, the processor 920 is further configured to determine whether a dwell time of the stop positions of the multiple touch points in the preset range or a dwell time of the relative distances of the multiple touch points after stopping meets the preset value exceeds a second preset time after determining that the multiple touch points stop in the preset range or the relative distances of the multiple touch points after stopping meet the preset value, where the processor 920 is specifically configured to cause the display 950 to display the multi-application user interface when the dwell time of the stop positions of the multiple touch points in the preset range or the dwell time of the relative distances of the multiple touch points after stopping meets the preset value exceeds the second preset time.
According to an embodiment of the present invention, the processor 920 is specifically configured to determine whether the movement of each of the at least one touch point exceeds the preset distance in a case that the plurality of touch points are spread, or determine whether the movement of each of the at least one touch point exceeds the preset distance in a case that the plurality of touch points are contracted.
Optionally, as another embodiment, the processor 920 is further configured to set the preset range and/or the preset value and/or the preset distance according to a preference of the user or a usage habit of the user.
Optionally, as another embodiment, the processor 920 further causes the display screen 950 to display the preset range after detecting that the touch of the plurality of touch points or the movement of at least one of the plurality of touch points exceeds the preset distance.
According to the embodiment of the present invention, when determining that the plurality of touch points are detected, the processor 920 determines whether the positions of the plurality of touch points are within a preset range or whether the relative distances of the plurality of touch points or the plurality of touch points satisfy the preset value; and when the plurality of touch points are determined to be located in the preset range or the relative distances of the plurality of touch points meet the preset value, enabling the display screen to display the multi-application user interface.
According to an embodiment of the present invention, the positioning of the plurality of touch points within a preset range includes: the area of a triangle formed by the touch points is smaller than a third preset value; or the area of the circle where the touch points are located is smaller than a fourth preset value; or the average value of the relative distances between every two touch points is greater than a fifth preset value; or the maximum value of the relative distances between every two touch points is greater than a sixth preset value; or the area of a polygon formed by the plurality of touch points is larger than a seventh preset value; or the area of the circle where the touch points are located is larger than an eighth preset value; or the circumference of a polygon formed by the plurality of touch points is smaller than a ninth preset value; alternatively, the touch points are located in a designated area on the touch screen 910.
According to an embodiment of the present invention, the step of satisfying the preset value by the relative distance between the plurality of touch points includes: the average value of the relative distances between every two touch points is smaller than a first preset value; or the maximum value of the relative distances between every two touch points is smaller than a second preset value; or the average value of the relative distances between every two touch points is greater than a fifth preset value; or the maximum value of the relative distances between every two touch points is larger than a sixth preset value.
Gestures designed according to embodiments of the present invention may be recognized by the number of points, time, motion, and location or relative distance of multiple touches by a user. By recognizing the visual gestures designed by the embodiment of the invention, the background multi-application user interface is quickly and visually displayed, so that the user can smoothly complete the operation, and the user experience is optimized.
The operation and function of the various units of terminal device 900 may refer to the methods of fig. 1A and 1B described above. To avoid repetition, it will not be described herein.
Fig. 10 is a schematic structural diagram of a terminal device 1000 according to still another embodiment of the present invention. The terminal device 1000 includes: touch screen 1010, processor 1020, memory 1030, and bus 1040. The touch screen 1010 is used to detect a touch to the touch screen 1010. The processor 1020 invokes code stored in the memory 1030 via the bus 1040 to cause the display 1050 to display the multi-application user interface upon determining that a plurality of touch points are detected and that movement of at least one of the plurality of touch points exceeds a preset distance.
The touch screen and the display screen may be separate physical entities or may be the same physical entity, which is not limited according to the embodiment of the present invention.
According to the embodiment of the invention, the touch gesture designed by the embodiment of the invention can be recognized through the number of points of multi-point touch and the moving distance, and the multi-application user interface can be quickly displayed through recognizing the visual touch gesture designed by the embodiment of the invention, so that the user can smoothly complete the operation, and the user experience is optimized.
According to an embodiment of the present invention, the processor is specifically configured to, when it is determined that the touch screen detects a plurality of touch points and the movement of at least one touch point of the plurality of touch points exceeds a preset distance, cause the display screen of the terminal device to display a multi-application user interface.
According to the embodiment of the present invention, the processor 1020 is further configured to determine whether the plurality of touch points stop within the preset range or whether the relative distances of the plurality of touch points after stopping satisfy the preset value, and when it is determined that the plurality of touch points stop within the preset range or the relative distances of the plurality of touch points after stopping satisfy the preset value, the display screen 1050 is caused to display the multi-application user interface.
According to an embodiment of the present invention, the processor 1020 calls a preset function of the terminal device when the movement of at least one of the plurality of touch points exceeds a preset distance in a case where the plurality of touch points are spread, or causes the display screen 1050 to display a multi-application user interface in a case where the movement of at least one of the plurality of touch points exceeds a preset distance in a case where the plurality of touch points are contracted.
According to an embodiment of the present invention, the processor 1020 is further configured to set the preset distance and/or the preset value and/or the preset range according to a preference of the user or a usage habit of the user.
Fig. 11 is a schematic flowchart of a method of controlling a terminal device according to another embodiment of the present invention. The method is performed on a terminal device having at least one processor, a memory, and a touch screen display. Fig. 11 is an example of fig. 1A and 1B, and detailed description is appropriately omitted here.
1110, displaying first content on a display screen of a touch screen display.
1120, detecting a touch of a plurality of touch points on a touch screen of the touch screen display.
And 1130, in response to detecting the touch of the plurality of touch points, displaying the multi-application user interface on the display screen and removing or canceling the display of the first content when it is determined that the plurality of touch points are located within a preset range or the relative distances of the plurality of touch points satisfy a preset value.
The touch screen and the display screen may be separate physical entities or may be the same physical entity, which is not limited according to the embodiment of the present invention.
According to an embodiment of the present invention, in 1130, when it is determined that the plurality of touch points are detected and the movement of at least one of the plurality of touch points exceeds the preset distance and the plurality of touch points stop within the preset range or the relative distances of the plurality of touch points satisfy a preset value, the multi-application user interface may be displayed on the display screen and the first content may be removed or canceled from being displayed.
Optionally, as another embodiment, in 1130, when it is determined that the plurality of touch points are detected and the staying time of the initial touch positions of the plurality of touch points on the touch screen exceeds a first preset time and it is determined that the movement of at least one of the plurality of touch points exceeds the preset distance, the multi-application user interface may be displayed on the display screen and the first content may be removed or canceled from being displayed.
Optionally, as another embodiment, in 1130, when it is determined that the staying time of the stopping positions of the plurality of touch points in the preset range or the staying time when the relative distances of the plurality of touch points after stopping meet the preset value exceeds a second preset time, the multi-application user interface may be displayed on the display screen, and the first content may be removed or canceled from being displayed.
Alternatively, as another embodiment, 1130 may be replaced with: and when the movement of at least one touch point in the plurality of touch points exceeds a preset distance, displaying the multi-application user interface on the display screen, and removing or canceling the display of the first content.
FIG. 12 is a schematic diagram of a graphical user interface according to another embodiment of the present invention. The graphical user interface is on a terminal device having at least one processor, a memory, and a touch screen display. Fig. 12 is an example of fig. 1A and 1B, and detailed description is appropriately omitted here.
The graphical user interface includes a first context 1210 displayed on a display screen of a touch screen display, wherein the graphical user interface displays the multi-application user interface 1220 on the display screen and removes or cancels the display of the first context 1210 when it is determined that a plurality of touch points are located within a preset range or a relative distance of the plurality of touch points satisfies a preset value in response to detecting a touch of the plurality of touch points on the touch screen of the touch screen display.
For example, the multi-application user interface may include a list of applications running in the background of the terminal device, that is, a multi-task list or a multi-task icon set for performing multi-task switching, may also include a list of applications frequently used by the user or a set of application icons, and may also include a list of applications recently used by the user or a set of application icons. The multi-application user interface may be configured by the manufacturer or by the user. The first content may refer to content displayed on the first user interface after the touch screen is turned on, or content displayed on any user interface during the use of the touch screen.
According to the embodiment of the present invention, when it is determined that the touch of the plurality of touch points is detected and the movement of at least one of the plurality of touch points exceeds the preset distance and the plurality of touch points stops within the preset range or the relative distance of the plurality of touch points after the stop satisfies the preset value, the multi-application user interface 1220 may be displayed on the display screen and the first content 1210 may be removed or canceled from being displayed.
Optionally, as another embodiment, when it is determined that the touch of the plurality of touch points is detected and the staying time of the initial touch position of the plurality of touch points on the touch screen exceeds a first preset time and it is determined that the movement of at least one touch point of the plurality of touch points exceeds the preset distance, the multi-application user interface 1220 may be displayed on the display screen and the first content 1210 may be removed or canceled from being displayed.
Optionally, as another embodiment, when it is determined that the dwell time of the touch points at the stop position in the preset range or the dwell time when the relative distance between the touch points after the stop meets the preset value exceeds a second preset time, the multi-application user interface 1220 may be displayed on the display screen, and the first content 1210 may be removed or canceled from being displayed.
Optionally, as another embodiment, the step of displaying the multi-application user interface may be replaced by: when the movement of at least one of the plurality of touch points exceeds a preset distance, the multi-application user interface 1220 is displayed on the display screen, and the first content 1210 is removed or canceled from being displayed.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.