CN107608550B - Touch operation response method and device - Google Patents
Touch operation response method and device Download PDFInfo
- Publication number
- CN107608550B CN107608550B CN201710813530.1A CN201710813530A CN107608550B CN 107608550 B CN107608550 B CN 107608550B CN 201710813530 A CN201710813530 A CN 201710813530A CN 107608550 B CN107608550 B CN 107608550B
- Authority
- CN
- China
- Prior art keywords
- touch
- type
- touch operation
- area
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a touch operation response method and device, and belongs to the field of human-computer interaction. The method comprises the following steps: receiving a first touch operation and a second touch operation on a touch display screen; determining a first operation type of the first touch operation; determining a second operation type of the second touch operation; judging whether to respond to the first touch operation and/or the second touch operation according to the first operation type and the second operation type; the probability of the mobile terminal responding to misoperation is reduced.
Description
Technical Field
The embodiment of the application relates to the field of human-computer interaction, in particular to a touch operation response method and device.
Background
In order to improve the utilization rate of the touch display screen of the mobile terminal, the frame of the front panel of the mobile terminal is made narrower and narrower, so that the screen occupation ratio of the mobile terminal is increased. One way of expressing screen fraction is: the ratio between the area of the touch display screen and the area of the front panel of the mobile terminal.
For a mobile terminal with a narrow frame, when a user holds the mobile terminal, the holding part may also be a touch part of the touch display screen, so that the user mistakenly touches an edge area of the touch display screen, and the mobile terminal generates a misjudgment problem. The edge area of the touch display screen refers to an area located at the upper edge, an area located at the left edge, an area located at the lower edge, and an area located at the right edge of the touch display screen.
At present, a mobile terminal cannot determine whether an operation acting on an edge area of a touch display screen is a misoperation, and if the mobile terminal directly responds to the operation, the mobile terminal may execute a task which is not expected to be executed by a user, and resources of the mobile terminal are wasted.
Disclosure of Invention
The embodiment of the application provides a touch operation response method and device, and the problems that a mobile terminal responds to misoperation and resources of the mobile terminal are wasted can be solved. The technical scheme is as follows:
in a first aspect, a touch operation response method is provided, and is applied to a mobile terminal, where the mobile terminal includes a touch display screen, and the method includes:
receiving a first touch operation and a second touch operation which act on the touch display screen within a preset time length;
determining a first operation type of the first touch operation;
determining a second operation type of the second touch operation;
and judging whether to respond to the first touch operation and/or the second touch operation according to the first operation type and the second operation type.
In a second aspect, a touch operation responding device is provided, which is suitable for a mobile terminal including a touch display screen, and is characterized in that the device includes:
the operation receiving unit is used for receiving a first touch operation and a second touch operation which act on the touch display screen within a preset time length;
a type determination unit configured to determine a first operation type of the first touch operation;
the type determining unit is used for determining a second operation type of the second touch operation;
and the operation response unit is used for judging whether to respond to the first touch operation and/or the second touch operation according to the first operation type and the second operation type.
In a third aspect, a mobile terminal is provided, where the mobile terminal includes a processor, a memory connected to the processor, and program instructions stored in the memory, and the processor executes the program instructions to implement the touch operation response method provided in the first aspect.
In a fourth aspect, a computer readable medium is provided, on which program instructions are stored, which program instructions, when executed by a processor, implement the steps of the touch operation response method provided in the first aspect.
In a fifth aspect, a computer program product containing program instructions is provided, which when run on a computer, causes the computer to perform the touch operation response method provided in the first aspect above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: when the mobile terminal receives at least two touch operations, determining whether to respond to the corresponding touch operation according to the operation type of each touch operation; the problem that when the mobile terminal receives the touch operation, the touch operation is directly responded, and when the touch operation is misoperation, the running resources of the mobile terminal are wasted can be solved; the mobile terminal can determine whether to respond to the touch operation according to whether the operation type is the type with higher probability of occurrence of the misoperation, so that the probability of the mobile terminal responding to the misoperation is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1A to fig. 2 are block diagrams illustrating a mobile terminal according to an exemplary embodiment of the present application;
fig. 3A to 3F are schematic external views of a mobile terminal according to an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of a touch location and displacement according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a touch location and displacement according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a touch location and displacement according to an embodiment of the present application;
FIG. 7 is a flow chart of a touch operation response method provided by an embodiment of the present application;
FIG. 8 is a schematic illustration of a first operating region and a second operating region provided by one embodiment of the present application;
FIG. 9 is a schematic diagram of response rules provided by one embodiment of the present application;
FIG. 10 is a schematic illustration of a first operating region and a second operating region provided by one embodiment of the present application;
FIG. 11 is a schematic illustration of a display mode provided by one embodiment of the present application;
FIG. 12 is a schematic illustration of a display mode provided by one embodiment of the present application;
FIG. 13 is a schematic illustration of a display mode provided by one embodiment of the present application;
FIG. 14 is a schematic illustration of a display mode provided by one embodiment of the present application;
FIG. 15 is a flow chart of a touch operation response method provided by one embodiment of the present application;
FIG. 16 is a schematic illustration of a second operating region provided by one embodiment of the present application;
FIG. 17 is a schematic illustration of a second operating region provided by one embodiment of the present application;
FIG. 18 is a schematic illustration of a second operating region provided by one embodiment of the present application;
FIG. 19 is a schematic illustration of a second operating region provided by one embodiment of the present application;
FIG. 20 is a schematic illustration of a second operating region provided by one embodiment of the present application;
FIG. 21 is a flow chart of a touch operation response method provided by one embodiment of the present application;
FIG. 22 is a flow chart of a touch operation response method provided by one embodiment of the present application;
FIG. 23 is a flow chart of a touch operation response method provided by one embodiment of the present application;
FIG. 24 is a schematic illustration of response rules provided by one embodiment of the present application;
FIG. 25 is a flow chart of a touch operation response method provided by one embodiment of the present application;
fig. 26 is a block diagram illustrating a structure of a touch operation response device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
First, several terms referred to in the present application will be described.
First, an application scenario of the present application is described.
Referring to fig. 1A, a block diagram of a mobile terminal 100 according to an exemplary embodiment of the present application is shown. The mobile terminal 100 may be a mobile phone, a tablet computer, a notebook computer, an e-book, etc. The mobile terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and a touch display screen 130.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data (such as audio data, a phonebook) created according to the use of the mobile terminal 100, and the like.
Taking an operating system as an Android (Android) system as an example, programs and data stored in the memory 120 are shown in fig. 1B, and a Linux kernel layer 220, a system runtime library layer 240, an application framework layer 260, and an application layer 280 are stored in the memory 120. The Linux kernel layer 220 provides underlying drivers for various hardware of the mobile terminal 100, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 240 provides the main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system Runtime layer 240 is an Android Runtime library (Android Runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 260 provides various APIs that may be used in building applications, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 280, and the application programs may be a contact program, a short message program, a clock program, a camera application, etc. of the operating system; or an application program developed by a third-party developer, such as an instant messaging program, a photo beautification program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 2, and the IOS system includes: a Core operating system Layer 320(Core OS Layer), a Core Services Layer 340(Core Services Layer), a Media Layer 360(Media Layer), and a touchable Layer 380(Cocoa Touch Layer). The kernel operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the kernel services layer 340. The core services layer 340 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, that are needed by the application. The media layer 360 provides audiovisual interfaces for applications, such as graphics-related interfaces, audio-related interfaces, video-related interfaces, and audio/video transmission technology wireless broadcast (AirPlay) interfaces. Touchable layer 380 provides various common interface-related frameworks for application development, and touchable layer 380 is responsible for user touch interaction operations on mobile terminal 100. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework illustrated in FIG. 3, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 340 and a UIKit framework in the touchable layer 380. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The touch display screen 130 is used for receiving a touch operation of a user on or near the touch display screen using any suitable object such as a finger, a touch pen, or the like, and displaying a user interface of each application program. The touch display 130 is generally disposed on a front panel of the mobile terminal 130. The touch display screen 130 may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen 130 can also be designed as a combination of a full-screen and a curved screen, and a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment. Wherein:
full screen
A full screen may refer to a screen design where the touch display screen 130 occupies a screen fraction of the front panel of the mobile terminal 100 that exceeds a threshold (e.g., 80% or 90% or 95%). One way of calculating the screen occupation ratio is as follows: (area of touch display 130/area of front panel of mobile terminal 100) × 100%; another way to calculate the screen ratio is: (diagonal of touch display screen 130/diagonal of front panel at mobile terminal 100) × 100%. In the example shown schematically in fig. 3A, nearly all areas on the front panel of the mobile terminal 100 are the touch display 130, and all areas on the front panel 40 of the mobile terminal 100 except the edge created by the center frame 41 are the touch display 130. The four corners of the touch display screen 130 may be right angles or rounded.
A full-screen may also be a screen design that integrates at least one front panel component within or underneath the touch screen display 130. Optionally, the at least one front panel component comprises: cameras, fingerprint sensors, proximity light sensors, distance sensors, etc. In some embodiments, other components on the front panel of the conventional mobile terminal are integrated in all or a part of the area of the touch display screen 130, for example, after the light sensing element in the camera is split into a plurality of light sensing pixels, each light sensing pixel is integrated in a black area in each display pixel in the touch display screen 130. The full-screen has a higher screen-to-screen ratio due to the integration of at least one front panel component inside the touch display screen 130.
Of course, in other embodiments, the front panel component of the front panel of the conventional mobile terminal may be disposed at the side or the back of the mobile terminal 100, such as disposing the ultrasonic fingerprint sensor below the touch screen 130, disposing the bone conduction receiver inside the mobile terminal 130, and disposing the camera at the side of the mobile terminal in a pluggable structure.
In some optional embodiments, when the mobile terminal 100 employs a full-screen, a single side, or two sides (e.g., two left and right sides), or four sides (e.g., four upper, lower, left and right sides) of the middle frame of the mobile terminal 100 is provided with an edge touch sensor 120, and the edge touch sensor 120 is configured to detect at least one of a touch operation, a click operation, a press operation, a slide operation, and the like of a user on the middle frame. The edge touch sensor 120 may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user may apply an operation on the edge touch sensor 120 to control an application in the mobile terminal 100.
Curved surface screen
A curved screen refers to a screen design where the screen area of touch display screen 130 does not lie in one plane. Generally, curved screens present at least one such section: the section is in a curved shape, and the projection of the curved screen on any plane direction perpendicular to the section is a plane. Wherein the curved shape may be U-shaped. Alternatively, a curved screen refers to a screen design where at least one side is curved. Optionally, the curved screen means that at least one side edge of the touch display screen 130 extends to cover the middle frame of the mobile terminal 100. Since the side display area of the touch display screen 130 extends to cover the middle frame of the mobile terminal 100, that is, the middle frame which does not have the display function and the touch function originally is covered as the displayable area and/or the operable area, the curved screen has a higher screen occupation ratio. Alternatively, as in the example shown in fig. 3B, the curved screen refers to a screen design in which the left and right side display regions 42 are curved; or, the curved screen refers to a screen design in which the upper and lower side display areas are curved; or, the curved screen refers to a screen design in which the display areas on the upper side, the lower side, the left side and the right side are all in a curved shape. In an alternative embodiment, the curved screen is made of a touch screen material having a certain flexibility.
Special-shaped screen
The special-shaped screen is a touch display screen with an irregular shape, and the irregular shape is not a rectangle or a rounded rectangle. Optionally, the irregular screen refers to a screen design in which a protrusion, a notch and/or a hole is/are formed on the rectangular or rounded rectangular touch display screen 130. Alternatively, the protrusions, indentations, and/or cutouts may be located at the edges of the touch screen display 130, at the center of the screen, or both. When the protrusion, the notch and/or the dug hole are arranged on one edge, the protrusion, the notch and/or the dug hole can be arranged in the middle or at two ends of the edge; when the projection, notch and/or cutout is provided in the center of the screen, it may be provided in one or more of an upper region, an upper left region, a left side region, a lower left region, a lower right region, a right side region, and an upper right region of the screen. When the projections, the notches and the dug holes are arranged in a plurality of areas, the projections, the notches and the dug holes can be distributed in a concentrated mode or in a dispersed mode; the distribution may be symmetrical or asymmetrical. Optionally, the number of projections, indentations and/or cutouts is also not limited.
The special-shaped screen covers the upper forehead area and/or the lower forehead area of the touch display screen as the displayable area and/or the operable area, so that the touch display screen occupies more space on the front panel of the mobile terminal, and the special-shaped screen also has a larger screen occupation ratio. In some embodiments, the indentation and/or cutout is configured to receive at least one front panel component therein, the front panel component including at least one of a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, an earpiece, an ambient light level sensor, and a physical key.
For example, the notch may be provided on one or more edges, and the notch may be a semicircular notch, a right-angled rectangular notch, a rounded rectangular notch, or an irregularly shaped notch. In the example shown in fig. 3C, the special-shaped screen may be a screen design having a semicircular notch 43 at the center of the upper edge of the touch display screen 130, and the semicircular notch 43 is used to accommodate at least one front panel component of a camera, a distance sensor (also called a proximity sensor), an earpiece, and an ambient light sensor; as schematically shown in fig. 3D, the irregular-shaped screen may be a screen design in which a semicircular notch 44 is formed at a central position of the lower edge of the touch display screen 130, and the semicircular notch 44 is free for accommodating at least one of a physical key, a fingerprint sensor, and a microphone; in an exemplary example shown in fig. 3E, the special-shaped screen may be a screen design in which a semi-elliptical notch 45 is formed in the center of the lower edge of the touch display screen 130, and a semi-elliptical notch is also formed on the front panel of the mobile terminal 100, and the two semi-elliptical notches form an elliptical area, where the elliptical area is used for accommodating a physical key or a fingerprint identification module; in the illustrated example of fig. 3F, the contoured screen may be a screen design having at least one aperture 45 in the upper half of the touch screen display 130, the aperture 45 being free to receive at least one of a camera, a distance sensor, an earpiece, and an ambient light level sensor.
In addition, those skilled in the art will appreciate that the configuration of the mobile terminal 100 illustrated in the above-described figures is not intended to be limiting of the mobile terminal 100, and that the mobile terminal may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the mobile terminal 100 further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wireless Fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
Several terms referred to in this application are described below.
Click-type touch operation: the touch operation is that the touch position on the touch display screen is fixed within the first touch duration. The first touch duration is typically short, such as: 500ms (milliseconds).
Alternatively, the click-type touch operation may be a single click operation, a double click operation, or the like.
Referring to the relationship between the time and the displacement of the click-type touch operation shown in fig. 4, as can be seen from fig. 4, the touch position of the touch operation does not change and the displacement is 0 (indicated by a bold straight line in fig. 1) within 500 ms.
Optionally, in this embodiment, the click-type touch operation may have a shorter displacement in the first sub-duration of the first touch duration, the displacement in the second sub-duration is fixed, and a ratio between the first sub-duration and the first touch duration is smaller than a first ratio, that is, the click-type touch operation is a click-based touch operation.
Optionally, the first ratio is a value greater than 0 and less than 1, such as: 0.5, 0.3 and 0.1, and the value of the first ratio is not limited in this embodiment.
Slide type touch operation: the touch operation is touch operation of which the touch position on the touch display screen is not fixed in the second touch duration. The second touch duration is longer than the first touch duration, such as: 1s (sec).
Referring to fig. 5 showing the relationship between the time and the touch position of the slide-type touch operation, as can be seen from fig. 5, the touch position of the touch operation is not fixed and the displacement changes within 1 s. A
Optionally, in this embodiment, the sliding-type touch operation may have a change in displacement within a third sub-duration of the second touch duration, the displacement within a fourth sub-duration is fixed and unchanged, and a ratio between the fourth sub-duration and the second touch duration is smaller than a second ratio, that is, the sliding-type touch operation is a mainly-sliding touch operation.
Optionally, the second ratio is a value greater than 0 and less than 1, such as: 0.5, 0.3, and 0.1, and the second ratio may be equal to or different from the first ratio, and the value of the second ratio is not limited in this embodiment.
Touch operation of long press type: the touch operation is that the touch position on the touch display screen is fixed in the third touch duration. The third touch duration is longer than the first touch duration, such as: 2 s.
Referring to the relationship between the time and the touch position of the long press type touch operation shown in fig. 6, as can be seen from fig. 6, the touch position of the touch operation is fixed and the displacement is 0 within 2 s.
Optionally, in this embodiment, the long-press type touch operation may have a change in displacement within a fifth sub-duration of the third touch duration, the displacement within the sixth sub-duration is fixed and unchanged, and a ratio between the fifth sub-duration and the third touch duration is smaller than a third ratio, that is, the long-press type touch operation is a long-press dominant touch operation.
Optionally, the third ratio is a value greater than 0 and less than 1, such as: 0.5, 0.3, and 0.1, and the third ratio may be equal to or different from the first ratio, and the value of the third ratio is not limited in this embodiment.
An operation area: and an area in the touch display screen, which is used for responding to the received touch operation, is supported. Alternatively, all areas on the touch display screen of the mobile terminal are operation areas.
Optionally, when the border of the touch display screen is narrow, a palm and/or a finger of a user may touch an edge area of the touch display screen by mistake during use, resulting in misoperation. Based on the technical problem, the application discloses the following technical scheme for identifying the misoperation of the user and saving the mobile terminal resources.
Optionally, the implementation subject of each embodiment is taken as a mobile terminal for example, and the touch display screen of the mobile terminal is any one of the full-face screen, the curved-face screen and the special-shaped screen, or may be other types of touch display screens. Optionally, the width of a frame of the touch display screen of the mobile terminal is smaller than a preset threshold, for example: the width of the frame of the curved screen is 0.
Fig. 7 is a flowchart illustrating a touch operation response method according to an exemplary embodiment of the present application. The touch operation response method comprises the following steps.
Optionally, a touch sensor is arranged in a touch display screen of the mobile terminal, and the touch sensor detects whether a touch operation exists in real time or at regular time; when the touch sensor detects that the touch operation exists, the touch event corresponding to the touch operation is sent to the processor, and the processor identifies the operation type and/or the touch position of the touch operation according to the touch event.
Alternatively, the operation type of the touch operation may be at least one of a click type, a slide type, and a long press type.
Wherein, the preset time duration is usually short, such as: 100ms, that is, it can be considered that the mobile terminal receives the first touch operation and the second touch operation at the same time.
Optionally, in this embodiment, the first touch operation and the second touch operation are used to indicate different touch operations, and do not represent the number of touch operations and/or the receiving sequence. Such as: the mobile terminal receives 3 touch operations on the touch display screen, wherein the first touch operation is a first touch operation, and the second touch operation or the third touch operation is a second touch operation.
In step 702, an operation area acted by the first touch operation is determined.
The touch display screen comprises a first operation area and a second operation area, and the operation area acted by the first touch operation is one of the first operation area and the second operation area.
Optionally, in this application, the determining, by the mobile terminal, an operation area on which a touch operation (including a first touch operation and a second touch operation) is applied includes: detecting whether the touch position of the touch operation belongs to a position range corresponding to the first operation area; if the touch position of the touch operation belongs to the position range corresponding to the first operation area, determining the operation area acted by the touch operation as the first operation area; and if the touch position of the touch operation does not belong to the position range corresponding to the first operation area, determining the operation area acted by the touch operation as a second operation area.
Optionally, the mobile terminal may also detect whether the touch position of the touch operation belongs to a position range corresponding to the second operation area, and if the touch position of the touch operation belongs to the position range corresponding to the second operation area, determine that the operation area acted by the touch operation is the second operation area; and if the touch position of the touch operation does not belong to the position range corresponding to the second operation area, determining the operation area acted by the touch operation as the first operation area.
Alternatively, the position range of the first operation region is a coordinate set composed of at least one coordinate, and illustratively, the position range of the first operation region is { (100 ), (1500, 1500) }, which means that regions from the position (100 ) to the position (1500 ) all belong to the first operation region.
Optionally, the position range of the second operation region is determined according to the position range of the first operation region, that is, the position range of the second operation region is an operation region outside the first operation region.
Optionally, the coordinates of each position are determined according to the positions of the pixel points. Such as: position (100 ), representing the pixel in row 100 and column 100.
Referring to fig. 8, the touch display screen is divided into a first manipulation area 81 and a second manipulation area 82, wherein the position range of the first manipulation area 81 is { (110 ), (1500, 1500) } and the position range of the second manipulation area is a manipulation area other than the first manipulation area 81 in the touch display screen. If the touch operations applied to the touch display screen are two, the touch position of the first touch operation is (900 ), and belongs to the position range of the first operation area 81, and the touch position of the second touch operation is (20, 20), and does not belong to the position range of the first operation area 81, the operation area used by the first touch operation is determined to be the first operation area, and the operation area applied by the second touch operation is determined to be the second operation area.
Optionally, in this embodiment, only the touch position of the touch operation is represented by one coordinate, when the touch operation is actually implemented, the touch position of the touch operation may also be represented by one coordinate set, and the mobile terminal calculates the average values of the x axis and the y axis according to the coordinate set to obtain an average coordinate; and determining an operation area acted by the touch operation according to the average coordinate.
Such as: the touch position of the touch operation is { (900 ), (900, 901), (900, 902), (901, 900), (901 ), (901, 902), (902, 900), (902, 901), (902 ) }, and the average value of the x-axis is (900+900+900+901+901+901+902+ 902)/9 { (901); the average value of the y axis is (900+900+900+901+901+901+902+ 902)/9 ═ 901; the average coordinate is (901 ), the position range belongs to the first operation area, and the action area of the touch operation is determined as the first operation area.
Alternatively, when the position of the touch operation is represented by a coordinate set, if all coordinates or coordinates exceeding a predetermined ratio in the coordinate set belong to the same operation area, the position acted by the touch operation is determined as the operation area.
In step 703, an operation area acted by the second touch operation is determined.
The operation region on which the second touch operation is applied is one of the first operation region and the second operation region.
The related description of this step is detailed in step 702, and this embodiment is not described herein again.
Optionally, a response rule corresponding to the operation area is preset in the mobile terminal, and the response rule is used to indicate whether to respond to the touch operation applied to the first operation area and the second operation area. And the mobile terminal judges whether to respond to the first touch operation and/or the second touch operation according to response rules corresponding to the operation area acted by the first touch operation and the operation area acted by the second touch operation.
Referring to the response rule corresponding to the operation area shown in fig. 9, when the first touch operation is applied to the first operation area and the second touch operation is applied to the second operation area, the mobile terminal responds to the first touch operation and does not respond to the second touch operation.
Optionally, a response priority corresponding to the operation area is preset in the mobile terminal, wherein the response priority of the touch operation acting on the first operation area is higher than the response priority of the touch operation acting on the second operation area. And the mobile terminal judges whether to respond to the first touch operation and/or the second touch operation according to the response priority corresponding to the operation area acted by the first touch operation and the response priority corresponding to the operation area acted by the second touch operation.
The operation area of the first touch operation is a first operation area, the operation area of the second touch operation is a second operation area, and the response priority corresponding to the first operation area is higher than the response priority corresponding to the second operation area, so that the mobile terminal responds to the first touch operation and does not respond to the second touch operation; or the mobile terminal responds to the first touch operation and responds to the second touch operation after responding to the first touch operation.
The response priority corresponding to the first operation area is the response priority of the touch operation acted on the first operation area; the response priority corresponding to the second operation region is a response priority of the touch operation applied to the second operation region.
In summary, in the touch operation response method provided in this embodiment, when the mobile terminal receives at least two touch operations, whether to respond to the touch operation is determined according to the operation area acted by each touch operation; the problem that when the mobile terminal receives the touch operation, the touch operation is directly responded, and when the touch operation is misoperation, the running resources of the mobile terminal are wasted can be solved; the mobile terminal can determine whether to respond to the touch operation according to whether the operation area is the area with higher probability of the occurrence of the false touch operation, so that the probability of the mobile terminal responding to the false operation is reduced.
Optionally, in this application, the response of the mobile terminal to the touch operation (including the first touch operation and/or the second touch operation) refers to a task of executing an instruction of the touch operation. Such as: if the touch operation is a click operation for clicking an application icon in the desktop, the mobile terminal responds to the touch operation, namely the application is operated in the foreground; for another example: if the touch operation is a long-time press operation acting on the voice input option, the mobile terminal responds to the touch operation and starts an audio recording function; for another example: and if the touch operation is a sliding operation acting on the display page of the contact person, the mobile terminal responds to the touch operation, namely, the contact person page is scrolled to display more contact persons according to the sliding distance and the sliding direction of the sliding operation. Of course, the mobile terminal may also perform other tasks in response to the touch operation, and this embodiment is not listed here.
Optionally, in the above embodiment, since the edge area of the touch display screen is generally an area with a high probability of misoperation, the second operation area is located in the edge area of the touch display screen. The touch display screen comprises four edge areas, which are respectively: an upper edge region, a lower edge region, a left edge region, and a right edge region; the second operation region includes at least one of the four edge regions; the first operation area is an area except the second operation area in the touch display screen.
Referring to fig. 8, the second manipulation region 82 includes four edge regions, and the first manipulation region 81 is a region other than the second manipulation region 82 in the touch display screen.
Alternatively, the shape of the first operation region may be a rectangle, a rounded rectangle, a circle, an ellipse, an irregular shape, or the like, and accordingly, the shape of the second operation region is determined according to the shape of the first operation region.
Referring to fig. 10, the first manipulation region 1001 is circular in shape, and regions other than the first manipulation region 1001 in the touch display screen are second manipulation regions 1002.
Optionally, the shape of the first operation area and/or the second operation area is set by default by the mobile terminal; or, the user may select the selection, which is not limited in this embodiment.
Optionally, the size of the first operation area and/or the second operation area is set by the mobile terminal by default; or, the user may select the selection, which is not limited in this embodiment.
In this embodiment, by setting the edge region with a high false touch probability as the second operation region and setting the region except the second operation region as the first operation region, since the response priority corresponding to the first operation region is higher than the response priority corresponding to the second operation region, when the mobile terminal receives touch operations respectively acting on the first operation region and the second operation region, the touch operations acting on the first operation region can be preferentially responded, and the probability that the mobile terminal preferentially responds to the false operations is reduced.
Alternatively, the user may use the mobile terminal differently, and the area on the touch display screen acted upon by the mis-touch operation may differ. Such as: when the user holds the mobile terminal by the right hand, the probability of touching the right edge area of the touch display screen by mistake is high. At this time, if the positions and/or sizes of the first operation area and the second operation area in the touch display screen are fixed, and the second operation area includes less right edge area, even does not include the right edge area, the mobile terminal may still respond to the misoperation. In order to reduce the probability of the mobile terminal responding to the misoperation, in the application, the mobile terminal also determines a first operation area and a second operation area in the touch display screen in advance according to the current use condition.
Optionally, the use case of the mobile terminal includes but is not limited to: at least one of a holding mode corresponding to the mobile terminal, a display mode of the mobile terminal and a use scene of the mobile terminal.
The holding mode corresponding to the mobile terminal is a mode that a user holds the mobile terminal, and the holding mode comprises the following steps: right-handed grip, left-handed grip, and both-handed grip.
The display mode of the mobile terminal includes a landscape screen display and a portrait screen display.
The horizontal screen display refers to a display mode that a display interface of the mobile terminal rotates by 90 degrees to the left or the right by taking a central point as an axis. Optionally, in the present application, a display mode in which the display interface rotates left by 90 degrees with the central point as the axial direction is referred to as a front-horizontal screen display, and referring to fig. 11, the display interface rotates left by 90 degrees with the central point as the axial direction; a display mode in which the display interface is rotated by 90 degrees to the right with the center point as the axial direction is referred to as inverted horizontal screen display, and referring to fig. 12, the display interface is rotated by 90 degrees to the right with the center point as the axial direction.
Optionally, in this application, only the center point is taken as an axis to describe the display mode in which the display interface is rotated by 90 degrees to the left as the front landscape screen display, and the center point is taken as an axis to describe the display mode in which the display interface is rotated by 90 degrees to the right as the back landscape screen display.
The vertical screen display refers to a display mode that a display interface of the mobile terminal is not rotated or is rotated by 180 degrees by taking a central point as an axis. Alternatively, in the present application, a display mode in which the display interface does not rotate is referred to as a normal-vertical screen display, and referring to fig. 13, the display interface does not rotate; a display mode in which the display interface is rotated by 180 degrees about the center point is referred to as an inverted vertical screen display, and referring to fig. 14, the display interface is rotated by 180 degrees about the center point.
Optionally, in this application, only the display mode of the display interface without rotation is taken as the front-horizontal screen display, and the display model of the display interface rotated by 180 degrees is taken as the back-vertical screen display for example, and in actual implementation, the display mode of the display interface without rotation may be taken as the back-horizontal screen display, and the display model of the display interface rotated by 180 degrees is taken as the front-vertical screen display for example for description, which is not limited in this application.
The usage scenario of the mobile terminal includes an application currently running on the mobile terminal.
Fig. 15 is a flowchart illustrating a touch operation response method according to another exemplary embodiment of the present application. The touch operation response method comprises the following steps.
In step 1501, a first operation area and a second operation area in the touch display screen are determined.
Optionally, the manner in which the mobile terminal determines the first operation region and the second operation region in the touch display screen includes, but is not limited to, the following:
the first method comprises the following steps: determining a holding mode corresponding to the mobile terminal; and determining a first operation area and a second operation area according to the holding mode.
Optionally, the manner in which the mobile terminal determines the holding manner of the mobile terminal includes, but is not limited to, the following:
the first mode is as follows: and the mobile terminal determines a holding mode according to the received fingerprint information of the touch operation.
Template information of the left finger and template information of the right finger are prestored in the mobile terminal. A fingerprint sensor is arranged in a touch display screen of the mobile terminal and used for collecting fingerprint information of touch operation acting on the touch display screen. When the mobile terminal receives a touch operation, fingerprint information of the touch operation is collected through a fingerprint sensor, and the fingerprint information is matched with template information; if the fingerprint information acquired n times is matched with the template information of the left-hand finger, determining that the holding mode is left-hand holding; if the fingerprint information acquired n times is matched with the template information of the fingers of the right hand, determining that the holding mode is right-hand holding; and if the fingerprint information acquired for n times has fingerprint information matched with the template information of the left hand finger and fingerprint information matched with the template information of the right hand finger, determining that the holding mode is two-hand holding.
The second mode is as follows: and the mobile terminal determines a holding mode according to the number of the touch operations simultaneously received by the edge area.
Optionally, the left edge area and the right edge area of the mobile terminal are touch display screens (curved screens), and at this time, the mobile terminal receives touch operation through the touch display screens located on the edge areas; or, at least one of a pressure sensor, a thermal sensor and a capacitive sensor is installed in the left and right edge areas of the mobile terminal, and at this time, the mobile terminal receives a touch operation through the at least one sensor.
When a user holds the mobile terminal in a right-hand holding manner, the number of touch operations simultaneously received by the left edge area is generally greater than the number of touch operations simultaneously received by the right edge area; when a user holds the mobile terminal in a left-hand holding manner, the number of touch operations received by the right edge area at the same time is usually greater than the number of touch operations received by the left edge area at the same time; when the user holds the mobile terminal in a two-handed holding manner, the number of touch operations received simultaneously in the left edge area is generally equal to the number of touch operations received simultaneously in the right edge area.
According to the holding rule, when the number of the touch operations received by the mobile terminal in the left edge area is larger than that received by the right edge area, determining that the holding mode is right-handed holding; when the number of the touch operations received by the mobile terminal in the right edge area is larger than that received by the left edge area, determining that the holding mode is left-hand holding; and when the number of the touch operations received by the mobile terminal in the left edge area is equal to the number of the touch operations received by the right edge area, determining that the holding mode is two-hand holding.
Of course, the mobile terminal may determine the holding manner in other manners, which is not listed here.
The mobile terminal determines a first operation area and a second operation area according to the holding mode, and the method comprises the following steps: when the holding mode is right-hand holding, determining that the second operation area comprises a right-hand side edge area, and the area of the right-hand side edge area in the second operation area is larger than a first preset value; when the holding mode is left-handed holding, determining that the second operation area comprises a left-handed side edge area, and the area of the left-handed side edge area in the second operation area is larger than a second preset value; when the holding mode is two-hand holding, it is determined that the second operation region includes a left-hand side edge region and a right-hand side edge region, the area of the left-hand side edge region in the second operation region is larger than a third preset value, and the area of the right-hand side edge region in the second operation region is larger than a fourth preset value.
The first preset value, the second preset value, the third preset value and the fourth preset value are all larger than 0, the first preset value, the second preset value, the third preset value and the fourth preset value can be the same or different, and the values of the first preset value, the second preset value, the third preset value and the fourth preset value are not limited in the embodiment.
Optionally, the first preset numerical value, the second preset numerical value, the third preset numerical value and the fourth preset numerical value may be user-defined; alternatively, the mobile terminal may be set by default.
The left-hand side edge area refers to an edge area touched by the left hand palm in the touch display screen; the right-hand side edge area refers to an edge area touched by the palm of the right hand in the touch display screen.
Optionally, the left hand side edge region may be one of a left edge region, a right edge region, an upper edge region and a lower edge region; the right hand side edge region is the opposite edge region from the left hand side edge region.
When the user holds the mobile terminal by the right hand, the range of the right hand touching the edge area of the right hand by mistake is larger; when the mobile terminal is held by the left hand, the range of the left hand touching the right hand side edge area by mistake is larger, therefore, when the holding mode is right hand holding, the second operation area is determined to comprise the right hand side edge area, and the area of the right hand side edge area in the second operation area is larger than the first preset value, so that the probability of the mobile terminal responding to misoperation acted on the right hand side edge area can be reduced. Similarly, when the holding mode is left-hand holding, it is determined that the second operation region includes a left-hand side edge region, and the area of the left-hand side edge region in the second operation region is greater than the second preset value, so that the probability of the mobile terminal responding to the misoperation acting on the left-hand side edge region can be reduced. Similarly, when the holding manner is two-hand holding, it is determined that the second operation region includes a left-hand side edge region and a right-hand side edge region, the area of the left-hand side edge region in the second operation region is greater than a third preset value, and the area of the right-hand side edge region in the second operation region is greater than a fourth preset value, so that the probability of the mobile terminal responding to the misoperation acting on the left-hand side edge region can be reduced, and the probability of the mobile terminal responding to the misoperation acting on the right-hand side edge region can also be reduced.
In one example, referring to fig. 16, if the mobile terminal determines that the holding manner is right-handed holding, the second operation region includes a right-handed edge region 1601, and the area of the right-handed edge region 1601 is greater than a first preset value.
In one example, referring to fig. 17, the mobile terminal determines that the grip is a left-handed grip, and the second grip region includes a left-handed edge region 1701, and the area of the left-handed edge region 1701 is greater than a second preset value.
In an example, referring to fig. 18, if the mobile terminal determines that the holding manner is a two-hand holding manner, the second operation area includes a left-hand edge area 1801 and a right-hand edge area 1802, the area of the left-hand edge area 1801 is greater than a third preset value, and the area of the right-hand edge area 1802 is greater than a fourth preset value.
It should be added that, in the present embodiment, the above-mentioned manner of determining the first operation region and the second operation region according to the holding manner is taken as an example for description, and in actual implementation, the manner of determining the first operation region and the second operation region according to the holding manner may also be other manners, such as: when the holding mode is right-hand holding, determining that the second operation area comprises a right-hand side edge area and a left-hand side edge area, and the area of the right-hand side edge area is larger than that of the left-hand side edge area; when the holding mode is left-hand holding, determining that the second operation area comprises a right-hand side edge area and a left-hand side edge area, and the area of the right-hand side edge area is smaller than that of the left-hand side edge area; when the holding mode is two-hand holding, determining that the second operation area comprises a right-hand side edge area and a left-hand side edge area, and the area of the right-hand side edge area is equal to that of the left-hand side edge area; the present embodiment does not limit the manner in which the first operation region and the second operation region are determined according to the manner of holding.
And the second method comprises the following steps: determining a display mode of the mobile terminal; according to the display mode, a first operation area and a second operation area are determined.
Optionally, the mobile terminal determines the display mode, including but not limited to the following:
the first mode is as follows: the mobile terminal acquires indication information of the display mode and determines the corresponding display mode according to the indication information.
Alternatively, the indication information is represented by a character string. Illustratively, the indication information 00 indicates a vertical screen display; the indication information 01 indicates the display of the inverted vertical screen; the indication information 10 indicates the landscape screen display; the indication information 11 indicates a landscape screen display.
The second mode is as follows: the mobile terminal obtains the acceleration information and determines a corresponding display mode according to the acceleration information.
Optionally, an acceleration sensor is installed in the mobile terminal, such as: the mobile terminal comprises a gravity sensor (G-sensor) and an acceleration sensor, wherein the acceleration sensor is used for acquiring acceleration information of the mobile terminal. Wherein the acceleration information is used for indicating the posture of the mobile terminal. When the mobile terminal displays the display interface in the specific display mode, the user rotates the mobile terminal to the corresponding posture to view the display interface, so that the display mode of the mobile terminal can be determined by obtaining the posture of the mobile terminal.
Such as: when the acceleration data is (0, 9.81, 0), the corresponding display mode is positive vertical screen display; the acceleration data is (-9.81, 0, 0), and the corresponding display mode is landscape screen display; the acceleration data is (9.81, 0, 0), and the corresponding display mode is inverted horizontal screen display; the acceleration data is (0, -9.81, 0), and the corresponding display mode is inverted vertical screen display.
Of course, the mobile terminal may also determine the display mode in other manners, which is not listed here.
Optionally, the determining, by the mobile terminal, the first operation region and the second operation region according to the display mode includes: when the display mode is vertical screen display, the second operation area comprises a left edge area and a right edge area; when the display mode is a landscape display, the second manipulation area includes an upper edge area and a lower edge area.
When the display mode of the mobile terminal is horizontal screen display, the mistaken touch range of the upper edge area and the lower edge area is larger, so that when the display mode is horizontal screen display, the second operation area is determined to comprise the left edge area and the right edge area, and the probability of responding to the mistaken operation acting on the upper edge area and the lower edge area is reduced; when the display mode is the vertical screen display, it is determined that the second operation region includes the left edge region and the right edge region, and thus, the probability of responding to the erroneous operation acting on the left edge region and the right edge region is reduced.
In one example, referring to fig. 19, the display mode is a landscape display, and the second manipulation region includes an upper edge region 1901 and a lower edge region 1902.
In one example, referring to fig. 20, the display mode is a vertical screen display, and the second manipulation area includes a left edge area 2001 and a right edge area 2002.
It should be added that, in the present embodiment, the above-mentioned manner of determining the first operation region and the second operation region according to the display mode is taken as an example for description, and in actual implementation, the manner of determining the first operation region and the second operation region according to the display mode may be other manners, such as: when the display mode is vertical screen display, the second operation area comprises a left edge area, a right edge area, an upper edge area and a lower edge area, the area of the left edge area and the area of the right edge area are larger than the area of the upper edge area, and the area of the left edge area and the area of the right edge area are larger than the area of the lower edge area; when the display mode is the landscape display, the second operation region includes a left edge region, a right edge region, an upper edge region and a lower edge region, an area of the upper edge region and an area of the lower edge region are larger than an area of the left edge region, and an area of the upper edge region and an area of the lower edge region are larger than an area of the right edge region.
And the third is that: determining a use scene of the mobile terminal; according to the usage scenario, a first operation region and a second operation region are determined.
Optionally, the usage scenario of the mobile terminal includes an application currently running on the mobile terminal.
Optionally, the mobile terminal determines a usage scenario, including: acquiring a package name corresponding to a currently running main Activity; and determining the corresponding application program according to the package name.
Optionally, determining the first operation region and the second operation region according to the usage scenario includes: when the application program currently running by the mobile terminal is a video playing application and a game application, determining that the second operation area comprises an upper edge area and a lower edge area; and when the application program currently operated by the mobile terminal is a voice call application, determining that the second operation area comprises a left edge area and a right edge area.
Because the display mode of the mobile terminal is usually horizontal screen display when the user uses the video playing application and the game application, the terminal is held by the user with both hands, and at this time, the error touch range of the upper edge area and the lower edge area is large, when the application program currently running on the mobile terminal is the video playing application and the game application, the second operation area is determined to include the upper edge area and the lower edge area, so that the probability of the mobile terminal responding to the error operation acting on the upper edge area and the lower edge area is reduced.
Because the display mode of the mobile terminal is usually vertical screen display when the user uses the voice call application, and the false touch range of the left edge area and the right edge area is large, when the application program currently running on the mobile terminal is the voice call application, the second operation area is determined to comprise the left edge area and the right edge area, so that the probability of the mobile terminal responding to the false operation acting on the left edge area and the right edge area is reduced.
It should be added that, in the present embodiment, the above-mentioned manner of determining the first operation region and the second operation region according to the usage scenario is taken as an example for description, and in actual implementation, the manner of determining the first operation region and the second operation region according to the usage scenario may also be other manners, such as: the first operation region and the second operation region are determined according to other types of applications, and the present embodiment does not limit the manner in which the first operation region and the second operation region are determined according to the usage scenario.
Alternatively, in the present application, the first operation region and the second operation region may be determined according to at least one of a holding manner, a display mode, and a usage scenario.
The related description of this step is detailed in step 701, and this embodiment is not described herein again.
In step 1503, an operation region acted by the first touch operation is determined, and the operation region acted by the first touch operation is one of the first operation region and the second operation region.
The related description of this step is detailed in step 702, and this embodiment is not described herein again.
The related description of this step is detailed in step 703, which is not described herein again.
In step 1505, it is determined whether to respond to the first touch operation and/or the second touch operation according to the operation area acted by the first touch operation and the operation area acted by the second touch operation.
The related description of this step is given in step 704, and this embodiment is not described herein again.
In summary, in the touch operation response method provided in this embodiment, when the mobile terminal receives at least two touch operations, whether to respond to the touch operation is determined according to the operation area acted by each touch operation; the problem that when the mobile terminal receives the touch operation, the touch operation is directly responded, and when the touch operation is misoperation, the running resources of the mobile terminal are wasted can be solved; the mobile terminal can determine whether to respond to the touch operation according to whether the operation area is the area with higher probability of the occurrence of the false touch operation, so that the probability of the mobile terminal responding to the false operation is reduced.
In addition, the first operation area and the second operation area are determined in different modes, so that the first operation area and the second operation area can be dynamically adapted to the current use condition of the mobile terminal, and the flexibility of configuring the first operation area and the second operation area is improved.
Optionally, in the method for responding to a touch operation, when the mobile terminal receives at least two touch operations, it can only be determined whether to respond to the touch operations applied to different operation areas, and for different touch operations applied to the same operation area, the mobile terminal cannot determine whether to respond to the different touch operations.
In order to ensure that the mobile terminal can determine whether to respond to different touch operations on the same operation area, the following embodiments are further provided.
Fig. 21 is a flowchart illustrating a touch operation response method according to an exemplary embodiment of the present application. The touch operation response method comprises the following steps.
The related description of this step is detailed in step 701, and this embodiment is not described herein again.
At step 2102, a first operation type of the first touch operation is determined.
The operation type (including the first operation type and the second operation type) is one of a click type, a slide type, and a long press type.
Optionally, the mobile terminal determines the operation type of the touch operation according to the touch duration and/or the displacement of the touch operation (including the first touch operation and the second touch operation).
Schematically, when the touch duration is less than or equal to a first duration threshold and the displacement is unchanged, determining that the operation type of the touch operation is a click type; when the touch duration is greater than the first duration threshold and less than or equal to the second duration threshold and the displacement is changed, determining that the touch operation is a sliding operation; and when the touch duration is greater than the first duration threshold and less than or equal to the third duration threshold and the displacement is unchanged, determining that the touch operation is a long-time pressing operation.
The related description of this step is detailed in step 2102, and this embodiment is not described in detail here.
Optionally, the determining, by the mobile terminal, whether to respond to the first touch operation and/or the second touch operation according to the first operation type and the second operation type includes: responding to the first touch operation and not responding to the second touch operation; or responding to the second touch operation after responding to the first touch operation.
The first operation type is a click type, and the second operation type is at least one of a slide type and a long press type; or the first operation type is a sliding type, and the second operation type is a long press type.
Since the probability that the long-press type touch operation is an erroneous operation is higher than the probability that the slide type touch operation is an erroneous operation than the probability that the click type touch operation is an erroneous operation in the process that the user uses the mobile terminal, in the present embodiment, the probability that the mobile terminal responds to the erroneous operation is reduced by responding to only the touch operation having a lower probability or preferentially responding to the erroneous operation.
Optionally, when the first operation type and the second operation type are both long-press types, the probability that the first touch operation and the second touch operation are both misoperation is high, and therefore, when the first operation type and the second operation type are both long-press types, the first touch operation and the second touch operation are not responded, and the probability that the mobile terminal responds to the misoperation is reduced.
In summary, in the touch operation response method provided in this embodiment, when the mobile terminal receives at least two touch operations, whether to respond to the corresponding touch operation is determined according to the operation type of each touch operation; the problem that when the mobile terminal receives the touch operation, the touch operation is directly responded, and when the touch operation is misoperation, the running resources of the mobile terminal are wasted can be solved; the mobile terminal can determine whether to respond to the touch operation according to whether the operation type is the type with higher probability of occurrence of the misoperation, so that the probability of the mobile terminal responding to the misoperation is reduced.
Alternatively, in the embodiment shown in fig. 21, the response priority of the operation type is fixed such that the response priority of the click type is higher than the response priority of the swipe type is higher than the response priority of the long press type. However, under certain usage scenarios, the response priority of the operation type may also be different, such as: in a chat interface scene, the probability that the touch operation of the sliding type is the misoperation is higher than that of the touch operation of the long-press type is higher than that of the click operation, and at this time, the response priority of the click type is higher than that of the long-press type, so that the following embodiment is further provided in the application in order to reduce the probability that the mobile terminal responds to the misoperation.
Fig. 22 is a flowchart illustrating a touch operation response method according to another exemplary embodiment of the present application. The touch operation response method comprises the following steps.
For the description related to this step, refer to the description of determining the usage scenario in step 1501, which is not described herein again.
The related description of this step refers to step 701, and this embodiment is not described herein again.
At step 2203, a first operation type of the first touch operation is determined.
The related description of this step refers to step 2102, which is not described herein again.
At step 2204, a second operation type of the second touch operation is determined.
The related description of this step refers to step 2102, which is not described herein again.
The mobile terminal determines the response priority of the first operation type and the response priority of the second operation type according to the use scene; and judging whether the first touch operation and/or the second touch operation is responded or not according to the response priority of the first operation type and the response priority of the second operation type.
Optionally, the usage scenario is a first preset scenario, and it is determined that the response priority of the click type is higher than the response priority of the slide type and is higher than the response priority of the long press type; or, the use scene is a second preset scene, and the response priority of the click type is higher than that of the long press type and is higher than that of the slide type; or, the use scenario is a third preset scenario, and it is determined that the response priority of the slide type is higher than the response priority of the click type and is higher than the response priority of the long press type.
Optionally, the first preset scene includes at least one program type, at least one application program, and/or at least one display interface. Such as: the first preset scene comprises a main interface and shopping applications.
Optionally, the second preset scenario includes at least one program type, at least one application program, and/or at least one display interface. Such as: the second preset scene comprises a chat interface.
Optionally, the third preset scenario includes at least one program type, at least one application program, and/or at least one display interface. Such as: the third preset scene includes a game interface.
The step 2104 is described in detail to determine whether to respond to the first touch operation and/or the second touch operation according to the response priority of the first operation type and the response priority of the second operation type, which is not described in detail herein.
In summary, in the touch operation response method provided in this embodiment, when the mobile terminal receives at least two touch operations, whether to respond to the corresponding touch operation is determined according to the operation type of each touch operation; the problem that when the mobile terminal receives the touch operation, the touch operation is directly responded, and when the touch operation is misoperation, the running resources of the mobile terminal are wasted can be solved; the mobile terminal can determine whether to respond to the touch operation according to whether the operation type is the type with higher probability of occurrence of the misoperation, so that the probability of the mobile terminal responding to the misoperation is reduced.
In addition, the response priority of the operation type is determined according to the use scene, so that the mobile terminal can flexibly switch the response priority of the operation type according to different use scenes, and the probability of the mobile terminal responding to misoperation is reduced.
Optionally, in order to improve the accuracy of the mobile terminal in responding to the touch operation, in the application, the mobile terminal determines whether to respond to the touch operation by combining two aspects of the operation area of the touch operation and the operation type of the touch operation. The present application also provides the following embodiments.
Fig. 23 is a flowchart illustrating a touch operation response method according to another exemplary embodiment of the present application. The touch operation response method comprises the following steps.
Optionally, the mobile terminal receives at least one touch operation on the touch display screen. The related description of this step is detailed in step 701, and this embodiment is not described herein again.
The related description of this step is detailed in step 702, and this embodiment is not described herein again.
In step 2303, the operation type of the touch operation is determined.
The related description of this step is detailed in step 2102, and this embodiment is not described in detail here.
And 2304, judging whether the touch operation is responded or not according to the operation area and the operation type.
The response priority of the touch operation applied to the first operation area is higher than that of the touch operation applied to the second operation area, and the operation types include a click type, a slide type, and a long press type.
In the first scenario, the touch operation on the touch display screen is a touch operation, and at this time, when the operation area of the touch operation is the first operation area, the touch operation is responded. Since the probability that the erroneous operation acts on the first operation region is low, the probability that the mobile terminal is erroneously operated in response to the touch operation acting on the first operation region is low.
When the operation area is a second operation area and the operation type is a click type or a sliding type, responding to touch operation; and when the operation area is the second operation area and the operation type is the long press type, not responding to the touch operation.
Because the probability that the long press type is misoperation is high, and the probability that the touch operation acted on the second operation area is misoperation is low, when the operation area is the second operation area and the operation type is the long press type, the touch operation is not responded, and the probability that the mobile terminal responds to the misoperation is reduced.
In a second scenario, the touch operations on the touch display screen are at least two touch operations. At this time, in step 2301, the mobile terminal receives a first touch operation and a second touch operation on the touch display screen; in step 2302, the mobile terminal determines an operation area acted by the first touch operation; determining an operation area acted by the second touch operation; in step 2303, the mobile terminal determines a first operation type of the first touch operation; a second operation type of the second touch operation is determined.
Optionally, the mobile terminal stores therein a response rule, where the response rule is used to indicate whether to respond to a touch operation that acts in a specific operation area and has a specific operation type. Referring to the response rule shown in fig. 24, according to the response rule, when the mobile terminal receives the first touch operation and the second touch operation at the same time, if the operation type of the first touch operation is the same as the operation type of the second touch operation, or the operation type of the first touch operation is a click type or a slide type, the mobile terminal preferentially responds to the first touch operation; and if the operation type of the first touch operation is different from that of the second touch operation and the operation type of the first touch operation is a long press type, the mobile terminal responds to the second touch operation preferentially. And when the mobile terminal only receives the first touch operation, responding to the first touch operation. The mobile terminal responds to the second touch operation only when receiving the second touch operation, and the operation type of the second touch operation is a click type or a sliding type; and the mobile terminal does not respond to the second touch operation when only the second touch operation is received and the operation type of the second touch operation is the long press type.
Optionally, the mobile terminal prestores a response priority corresponding to the operation area and a response priority corresponding to the operation type. At this time, when the operation area acted by the first touch operation is a first operation area, the operation area acted by the second touch operation is a second operation area, and the response priority of the second operation type is higher than the response priority of the first operation type, that is, the response priority corresponding to the operation area is opposite to the response priority corresponding to the operation type, the mobile terminal determines the priority of the operation area and the priority of the operation type; and determining whether to respond to the first touch operation and/or the second touch operation according to the priority level.
The priority level is used for indicating that the touch operation is responded according to the response priority level corresponding to the operation area; or the priority level is used for indicating that the touch operation is responded according to the response priority level corresponding to the operation type.
Wherein the click type has a higher response priority than the swipe type than the long press type.
Illustratively, when the first operation type is a click type or a slide type, it is determined that the priority level of the operation area is higher than the priority level of the operation type, and at this time, the mobile terminal responds to the first touch operation and/or the second touch operation according to the response priority level corresponding to the operation area.
Such as: the first operation type is a sliding type, the second operation type is a clicking type, and at the moment, the response priority of the first touch operation acting in the first operation area is higher than the response priority of the second touch operation acting in the second operation area; the response priority of the first touch operation having the first operation type is lower than the response priority of the second touch operation having the second operation type. The mobile terminal determines that the priority level of the operation area is higher than that of the operation type, namely, the mobile terminal responds to the first touch operation preferentially according to the response priority level corresponding to the operation area and then responds to the second touch operation; or, only in response to the first touch operation.
Illustratively, when the first operation type is a long press type, it is determined that the priority level of the operation type is higher than that of the operation region.
Such as: the first operation type is a long press type, the second operation type is a click type, and at the moment, the response priority of the first touch operation acting in the first operation area is higher than the response priority of the second touch operation acting in the second operation area; the response priority of the first touch operation having the first operation type is lower than the response priority of the second touch operation having the second operation type. The mobile terminal determines that the priority level of the operation area is lower than that of the operation type, namely, the mobile terminal responds to the second touch operation preferentially according to the response priority level corresponding to the operation area and then responds to the first touch operation; or, only in response to the second touch operation.
In summary, the touch operation response method provided in this embodiment determines whether to respond to the touch operation according to the operation type of the touch operation and the operation area acted on; the problem that when the mobile terminal receives the touch operation, the mobile terminal directly responds to the touch operation and wastes the running resources of the mobile terminal when the touch operation is misoperation is solved; the mobile terminal can determine whether to respond to the touch operation by combining two aspects of whether the operation area is the area with higher probability of occurrence of the false touch operation and whether the operation type is the type with higher probability of the false touch operation, so that the probability of the mobile terminal responding to the false operation is reduced.
Optionally, when the mobile terminal receives at least three touch operations at the same time, the above-mentioned flow is executed for any two touch operations in the at least three touch operations until determining which touch operation to respond to.
Optionally, the first operation area and the second operation area on the touch display screen may be default settings of the mobile terminal when the mobile terminal leaves a factory; or the holding mode of the user holding the mobile terminal and/or the posture information of the mobile terminal. In this embodiment, the first operation area and the second operation area are determined according to a holding manner of the user holding the mobile terminal and/or a display mode of the mobile terminal and/or a usage scenario of the mobile terminal.
Fig. 25 is a flowchart illustrating a touch operation response method according to another exemplary embodiment of the present application. The touch operation response method comprises the following steps.
The related description of this step is detailed in step 1501, and this embodiment is not described herein again.
The details of this step are shown in step 2301, and this embodiment is not described herein.
The details of this step are shown in step 2302, which is not repeated herein.
In step 2504, the operation type of the touch operation is determined.
The details of this step are shown in step 2303, and this embodiment is not described herein.
The related description of this step is detailed in step 2304, and this embodiment is not described in detail here.
In summary, in the touch operation response method provided in this embodiment, the first operation area and the second operation area are determined in different manners, so that the first operation area and the second operation area can be dynamically adapted to the current use condition of the mobile terminal, and the flexibility of configuring the first operation area and the second operation area is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 26, a block diagram of a touch operation response device according to an embodiment of the present application is shown, where the touch operation response device may be implemented as part or all of a mobile terminal through software, hardware, or a combination of the two. The detection device is suitable for a mobile terminal, the mobile terminal comprises a touch display screen, and the device can comprise: an operation receiving unit 2610, a type determining unit 2620, and an operation response unit 2630.
An operation receiving unit 2610, configured to receive a first touch operation and a second touch operation that are applied to a touch display screen within a preset time period;
a type determination unit 2620 for determining a first operation type of the first touch operation;
the type determination unit 2620 is configured to determine a second operation type of the second touch operation;
an operation response unit 2630, configured to determine whether to respond to the first touch operation and/or the second touch operation according to the first operation type and the second operation type.
Optionally, the response priority of the first operation type is higher than the response priority of the second operation type.
Optionally, the operation response unit 2630 is configured to: responding to the first touch operation and not responding to the second touch operation.
Optionally, the operation response unit 2630 is configured to:
responding to the first touch operation;
and responding to the second touch operation after responding to the first touch operation.
Optionally, the first operation type is a click type, and the second operation type is at least one of a slide type and a long press type; or, the first operation type is a sliding type, and the second operation type is a long press type.
Optionally, the operation response unit 2630 is configured to:
and when the first operation type and the second operation type are both the long press type, not responding to the first touch operation and the second touch operation.
The embodiment of the present application further provides a computer readable medium, on which program instructions are stored, and when the program instructions are executed by a processor, the touch operation response method provided by the above-mentioned method embodiments is implemented.
Yet another aspect of the present application provides a computer program product comprising program instructions which, when run on a computer, cause the computer to perform the method of the above-mentioned aspects.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (14)
1. A touch operation response method is suitable for a mobile terminal, the mobile terminal comprises a touch display screen, and the method is characterized by comprising the following steps:
receiving a first touch operation and a second touch operation which act on the touch display screen within a preset time length; the preset time length is used for indicating the upper limit of the time interval between the first touch operation and the second touch operation; the first touch operation and the second touch operation act on different operation areas;
determining a first operation type of the first touch operation and an operation area acted by the first touch operation;
determining a second operation type of the second touch operation and an operation area acted by the second touch operation;
judging whether to respond to the first touch operation and/or the second touch operation according to the first operation type, the operation area acted by the first touch operation, the second operation type and the operation area acted by the second touch operation;
when the first operation type is a click type or a slide type, determining that the priority level of the operation area is higher than that of the operation type; and when the first operation type is the long press type, determining that the priority level of the operation type is higher than that of the operation area.
2. The method of claim 1, wherein the response priority of the first operation type is higher than the response priority of the second operation type.
3. The method according to claim 2, wherein determining whether to respond to the first touch operation and/or the second touch operation according to the first operation type, the operation area acted by the first touch operation, the second operation type and the operation area acted by the second touch operation comprises:
responding to the first touch operation and not responding to the second touch operation.
4. The method according to claim 2, wherein determining whether to respond to the first touch operation and/or the second touch operation according to the first operation type, the operation area acted by the first touch operation, the second operation type and the operation area acted by the second touch operation comprises:
responding to the first touch operation;
and responding to the second touch operation after responding to the first touch operation.
5. The method according to any one of claims 1 to 4, wherein the first operation type is a click type, and the second operation type is at least one of a slide type and a long press type; or, the first operation type is a sliding type, and the second operation type is a long press type.
6. The method according to claim 5, wherein determining whether to respond to the first touch operation and/or the second touch operation according to the first operation type, the operation area acted by the first touch operation, the second operation type and the operation area acted by the second touch operation comprises:
and when the first operation type and the second operation type are both the long press type, not responding to the first touch operation and the second touch operation.
7. A touch operation response device adapted for a mobile terminal including a touch display screen, the device comprising:
the operation receiving unit is used for receiving a first touch operation and a second touch operation which act on the touch display screen within a preset time length; the preset time length is used for indicating the upper limit of the time interval between the first touch operation and the second touch operation; the first touch operation and the second touch operation act on different operation areas;
the type determining unit is used for determining a first operation type of the first touch operation and an operation area acted by the first touch operation;
the type determining unit is used for determining a second operation type of the second touch operation and an operation area acted by the second touch operation;
an operation response unit, configured to determine whether to respond to the first touch operation and/or the second touch operation according to the first operation type, the operation area on which the first touch operation is performed, the second operation type, and the operation area on which the second touch operation is performed;
when the first operation type is a click type or a slide type, determining that the priority level of the operation area is higher than that of the operation type; and when the first operation type is the long press type, determining that the priority level of the operation type is higher than that of the operation area.
8. The apparatus of claim 7, wherein the response priority of the first operation type is higher than the response priority of the second operation type.
9. The apparatus of claim 8, wherein the operation response unit is configured to: responding to the first touch operation and not responding to the second touch operation.
10. The apparatus of claim 8, wherein the operation response unit is configured to:
responding to the first touch operation;
and responding to the second touch operation after responding to the first touch operation.
11. The apparatus according to any one of claims 7 to 10, wherein the first operation type is a click type, and the second operation type is at least one of a slide type and a long press type; or, the first operation type is a sliding type, and the second operation type is a long press type.
12. The apparatus of claim 11, wherein the operation response unit is configured to:
and when the first operation type and the second operation type are both the long press type, not responding to the first touch operation and the second touch operation.
13. A mobile terminal comprising a processor, a memory coupled to the processor, and program instructions stored on the memory, the processor, when executing the program instructions, implementing a touch operation response method according to any one of claims 1 to 6.
14. A computer-readable storage medium, having stored thereon program instructions which, when executed by a processor, implement a touch operation response method according to any one of claims 1 to 6.
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710813530.1A CN107608550B (en) | 2017-09-11 | 2017-09-11 | Touch operation response method and device |
| US16/124,349 US10698533B2 (en) | 2017-09-11 | 2018-09-07 | Method for responding to touch operation and electronic device |
| PCT/CN2018/104997 WO2019047966A1 (en) | 2017-09-11 | 2018-09-11 | Method for responding to touch operation and electronic device |
| ES18193721T ES2884550T3 (en) | 2017-09-11 | 2018-09-11 | Method of responding to touch operation and electronic device |
| EP18193721.0A EP3454199B1 (en) | 2017-09-11 | 2018-09-11 | Method for responding to touch operation and electronic device |
| US16/442,522 US10901553B2 (en) | 2017-09-11 | 2019-06-16 | Method for responding to touch operation and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710813530.1A CN107608550B (en) | 2017-09-11 | 2017-09-11 | Touch operation response method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107608550A CN107608550A (en) | 2018-01-19 |
| CN107608550B true CN107608550B (en) | 2020-05-26 |
Family
ID=61062044
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710813530.1A Active CN107608550B (en) | 2017-09-11 | 2017-09-11 | Touch operation response method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107608550B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019047231A1 (en) | 2017-09-11 | 2019-03-14 | 广东欧珀移动通信有限公司 | Touch operation response method and device |
| EP3671420A4 (en) | 2017-09-11 | 2020-08-05 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | METHOD AND DEVICE FOR RESPONDING TO TOUCH OPERATIONS |
| EP3671412B1 (en) | 2017-09-11 | 2025-09-03 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Touch operation response method and device |
| US10698533B2 (en) | 2017-09-11 | 2020-06-30 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for responding to touch operation and electronic device |
| CN108184000B (en) * | 2018-01-26 | 2020-08-21 | 努比亚技术有限公司 | Full-face screen and intelligent terminal |
| CN108415659A (en) * | 2018-04-09 | 2018-08-17 | 信利光电股份有限公司 | Auxiliary touch method, auxiliary touching device and the readable storage medium storing program for executing of double touch terminals |
| CN108647069B (en) * | 2018-04-16 | 2022-07-29 | 腾讯科技(深圳)有限公司 | Interface display method and device, storage medium and electronic device |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20050088512A (en) * | 2004-03-02 | 2005-09-07 | 김정석 | Answer-sheet machine using touch screen |
| CN105867789A (en) * | 2016-03-28 | 2016-08-17 | 努比亚技术有限公司 | Method and method for preventing misoperation |
| CN105975160A (en) * | 2016-05-26 | 2016-09-28 | 深圳市金立通信设备有限公司 | Mistaken touch prevention method and terminal |
| CN106598455B (en) * | 2016-11-07 | 2020-12-22 | 掌阅科技股份有限公司 | Touch behavior response method and device for handheld touch equipment and corresponding equipment |
| CN106855782B (en) * | 2016-12-16 | 2019-08-27 | Oppo广东移动通信有限公司 | A method, device and terminal for preventing accidental touch |
-
2017
- 2017-09-11 CN CN201710813530.1A patent/CN107608550B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN107608550A (en) | 2018-01-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107608550B (en) | Touch operation response method and device | |
| CN107688422B (en) | Notification message display method and device | |
| US11061558B2 (en) | Touch operation response method and device | |
| CN107506123B (en) | Adjusting operation execution method and device and terminal | |
| CN108762619B (en) | Buoy display method, device, terminal and storage medium | |
| CN108803964B (en) | Buoy display method, device, terminal and storage medium | |
| US11086442B2 (en) | Method for responding to touch operation, mobile terminal, and storage medium | |
| CN110442267B (en) | Touch operation response method, device, mobile terminal and storage medium | |
| CN107577414A (en) | The method and mobile terminal of split screen display available | |
| CN107577495A (en) | Interface display method, device and terminal | |
| WO2019047738A1 (en) | Message display method, device, mobile terminal and storage medium | |
| WO2019047189A1 (en) | Message display method and device and terminal | |
| CN107562361A (en) | Message processing method and device and terminal | |
| EP3454199B1 (en) | Method for responding to touch operation and electronic device | |
| US11194425B2 (en) | Method for responding to touch operation, mobile terminal, and storage medium | |
| CN107577415A (en) | Touch operation response method and device | |
| WO2019233307A1 (en) | User interface display method and apparatus, and terminal and storage medium | |
| CN107526477A (en) | Unlocking screen method, apparatus and terminal | |
| WO2019047183A1 (en) | Key display method, apparatus, and terminal | |
| CN109714474B (en) | Content duplication method, device, terminal and storage medium | |
| WO2019047184A1 (en) | Information display method, apparatus, and terminal | |
| HK1262204B (en) | Method for responding to touch operation and electronic device | |
| HK1262204A1 (en) | Method for responding to touch operation and electronic device | |
| HK1248869B (en) | Notification message display method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |