CN111399691B - Screen touch detection method, mobile terminal and computer storage medium - Google Patents

Screen touch detection method, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN111399691B
CN111399691B CN202010340488.8A CN202010340488A CN111399691B CN 111399691 B CN111399691 B CN 111399691B CN 202010340488 A CN202010340488 A CN 202010340488A CN 111399691 B CN111399691 B CN 111399691B
Authority
CN
China
Prior art keywords
pressing
area
trigger condition
judging
threshold value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010340488.8A
Other languages
Chinese (zh)
Other versions
CN111399691A (en
Inventor
古启才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010340488.8A priority Critical patent/CN111399691B/en
Publication of CN111399691A publication Critical patent/CN111399691A/en
Application granted granted Critical
Publication of CN111399691B publication Critical patent/CN111399691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Landscapes

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

Abstract

The application discloses a screen touch detection method, a mobile terminal and a computer storage medium. The touch detection method comprises the following steps: acquiring a first pressing area formed by pressing a touch screen by a finger; judging whether a pressing trigger condition is met or not based on the first pressing area and a first judging threshold value; if the pressing triggering condition is met, a second pressing area formed by the subsequent pressing of the finger on the touch screen is obtained; judging whether the lifting trigger condition is met or not based on the second pressing area and a second judging threshold value; wherein the first judgment threshold and the second judgment threshold are set so that the second pressing area when the lift-off trigger condition is satisfied is smaller than the first pressing area when the press trigger condition is satisfied. By the method, frequent triggering of pressing and lifting events can be effectively avoided, and screen touch experience is optimized.

Description

Screen touch detection method, mobile terminal and computer storage medium
Technical Field
The present application relates to the field of touch monitoring technologies, and in particular, to a screen touch detection method, a mobile terminal, and a computer storage medium.
Background
Along with the development of communication technology, a touch screen becomes an important human-computer interaction channel, the touch screen of a mobile terminal is widely applied, and the full screen era comes, so that the under-screen optical fingerprint occupies a more important position for the mobile terminal.
During off-screen optical fingerprinting, a press event and a lift event are often triggered by detecting a press screen. Due to the interference of environmental noise, the interference of a display screen, or the shake of fingers, certain errors exist in capacitance data corresponding to the pressed screen, so that the detected pressing condition also fluctuates.
At present, because the judging threshold values adopted for the pressing event and the lifting event are often the same, repeated triggering of the pressing event and the lifting event is often caused under the condition of inaccurate pressing detection, and further screen touch experience is affected.
Disclosure of Invention
The application provides a screen touch detection method, a mobile terminal and a computer storage medium, which are used for solving the problem that the current screen touch experience is relatively poor.
A first aspect of an embodiment of the present application provides a method for detecting a touch screen, including: acquiring a first pressing area formed by pressing a touch screen by a finger; judging whether a pressing trigger condition is met or not based on the first pressing area and a first judging threshold value; if the pressing triggering condition is met, a second pressing area formed by the subsequent pressing of the finger on the touch screen is obtained; judging whether the lifting trigger condition is met or not based on the second pressing area and a second judging threshold value; wherein the first judgment threshold and the second judgment threshold are set so that the second pressing area when the lift-off trigger condition is satisfied is smaller than the first pressing area when the press trigger condition is satisfied.
A second aspect of an embodiment of the present application provides a mobile terminal, including: the acquisition module is used for acquiring a first pressing area formed by pressing the touch screen by the finger; the first judging module is used for judging whether the pressing trigger condition is met or not based on the first pressing area and the first judging threshold value, wherein the acquiring module is further used for acquiring a second pressing area formed by pressing the touch screen by the finger when the pressing trigger condition is met; the second judging module is used for judging whether the lifting trigger condition is met or not based on the second pressing area and a second judging threshold value; wherein the first judgment threshold and the second judgment threshold are set so that the second pressing area when the lift-off trigger condition is satisfied is smaller than the first pressing area when the press trigger condition is satisfied.
A third aspect of an embodiment of the present application provides a mobile terminal, including: a processor, a memory and a computer program stored in the memory and running on the processor, the processor being configured to execute the computer program to implement the method provided by the first aspect of the embodiment of the present application.
A fourth aspect of the embodiments of the present application provides a computer storage medium storing a computer program which when executed implements the method provided by the first aspect of the embodiments of the present application.
The beneficial effects of the application are as follows: in contrast to the prior art, the present application sets a first judgment threshold and a second judgment threshold for a pressing event and a triggering event, respectively, and sets the first judgment threshold and the second judgment threshold such that a second pressing area when a lifting triggering condition is satisfied is smaller than the first pressing area when the pressing triggering condition is satisfied. By the mode, frequent triggering of pressing and lifting events can be effectively avoided, and touch experience of the mobile terminal is optimized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic block diagram of the hardware architecture of a mobile terminal of the present application;
FIG. 2 is a flowchart of a first embodiment of a screen touch detection method according to the present application;
FIG. 3 is a flowchart of a specific embodiment of step S22 shown in FIG. 2;
FIG. 4 is a flowchart of a specific embodiment of the step S24 shown in FIG. 2;
FIG. 5 is a flow chart of another embodiment of step S24 shown in FIG. 2;
FIG. 6 is a flowchart of a second embodiment of a screen touch detection method according to the present application;
FIG. 7 is a schematic diagram showing a comparison of a first pressing area when a pressing trigger condition is satisfied and a second pressing area when a lifting trigger condition is satisfied;
FIG. 8 is a schematic block diagram of one embodiment of a mobile terminal of the present application;
FIG. 9 is a schematic block diagram of another embodiment of a mobile terminal of the present application;
FIG. 10 is a schematic block diagram of one embodiment of a computer storage medium of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In order to illustrate the technical scheme of the application, the following description is made by specific examples.
Referring to fig. 1, fig. 1 is a schematic block diagram of a hardware architecture of a mobile terminal according to the present application, where the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a wearable device, etc., and this embodiment illustrates the mobile phone as an example. The structure of the terminal device 100 may include a Radio Frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi (wireless fidelity) module 170, a processor 180, a power supply 190, and the like. The RF circuit 110, the memory 120, the input unit 130, the display unit 140, the sensor 150, the audio circuit 160, and the WiFi module 170 are respectively connected to the processor 180; the power supply 190 is used to supply power to the entire terminal device 100.
Specifically, RF circuit 110 is used to send and receive signals; memory 120 is used to store data instruction information; the input unit 130 is used for inputting information, and may specifically include a touch screen 131 and other input devices 132 such as operation keys; the display unit 140 may include a display panel, etc.; the sensor 150 includes an infrared sensor, a laser sensor, etc., for detecting a user proximity signal, a distance signal, etc.; a speaker 161 and a microphone (or microphone) 162 are connected to the processor 180 through an audio circuit 160 for receiving and transmitting sound signals; the WiFi module 170 is configured to receive and transmit WiFi signals, and the processor 180 is configured to process data information of the mobile terminal device.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a screen touch detection method according to the present application. The method provided by the embodiment specifically comprises the following steps:
s21: acquiring a first pressing area formed by pressing the touch screen 131 by the finger;
in general, mobile terminals are provided with a touch screen 131, and when a finger is pressed against the touch screen 131, the pressed position and area of the finger can be detected. Taking the capacitive touch screen 131 as an example, the pressing position of the finger can be determined by scanning a transmitting channel and a receiving channel of the touch screen 131, and different pressing areas can be represented by different capacitive data detected by the touch screen 131, so that the first pressing area formed by pressing the touch screen 131 by the finger can be obtained through the capacitive data.
In addition, when the mobile terminal is provided with an under-screen fingerprint or image capturing function, the pressing position and pressing area of the finger can be obtained by capturing an image of the finger. Of course, the pressing area of the finger can be obtained by other means known in the art by a person skilled in the art.
S22: judging whether a pressing trigger condition is met or not based on the first pressing area and a first judging threshold value;
the mobile terminal is preset with a first judging threshold value for judging whether the first pressing area meets the pressing triggering condition. The first determination threshold and the press trigger condition will be described in detail below. Of course, it is fully conceivable for a person skilled in the art to set other first judgment threshold values and press triggering conditions according to actual needs in the light of the technical teaching of the present application.
If the pressing trigger condition is satisfied, the process proceeds to step S23, and if the pressing trigger condition is not satisfied, the process returns to step S21 to retrieve the first pressing area. Further, after the pressing trigger condition is met, a corresponding interrupt signal can be generated to inform the mobile terminal to execute a corresponding operation.
S23: acquiring a second pressing area formed by pressing the touch screen 131 by the finger;
the second pressing area may be obtained in a similar manner to the first pressing area, and will not be described here.
It should be noted that the touch screen 131 is real-time for acquiring the pressing area, and the size of the pressing area is allowed to change in real time, that is, the size of the first pressing area and the size of the second pressing area may change with time. Therefore, for obtaining the pressing area, different fingers, such as an index finger, a middle finger, and a little finger, or an object such as a silica gel finger stall that can make the touch screen 131 recognize the pressing area may be used for pressing, which is not limited herein.
S24: and judging whether the lifting trigger condition is satisfied or not based on the second pressing area and the second judging threshold.
The mobile terminal is preset with a second judging threshold value for judging whether the second pressing area meets the lifting trigger condition. In the present embodiment, the first judgment threshold and the second judgment threshold are set so that the second pressing area when the lift-off trigger condition is satisfied is smaller than the first pressing area when the press trigger condition is satisfied. The second determination threshold and the lift trigger condition will be described in detail below. Of course, it is fully conceivable for a person skilled in the art, given the benefit of this disclosure, to set other second determination thresholds and lift-off trigger conditions as required.
If the lift trigger condition is satisfied, the following step S25 is performed, for example, a corresponding interrupt signal is generated to notify the mobile terminal to execute a corresponding operation. If the lift-off trigger condition is not satisfied, the process returns to step S23, and the second pressing area is acquired again.
By means of the method, the first judgment threshold and the second judgment threshold are set for the pressing event and the triggering event respectively, and the first judgment threshold and the second judgment threshold are set so that the second pressing area when the lifting triggering condition is met is smaller than the first pressing area when the lifting triggering condition is met, frequent triggering of the pressing event and the lifting event can be effectively avoided, and touch experience of the mobile terminal is optimized.
Referring to fig. 3, fig. 3 is a flowchart of an embodiment of step S22 shown in fig. 2, which specifically includes the following steps:
s31: judging whether the ratio of the first pressing area to a preset reference area is larger than or equal to a first judging threshold value;
in this step, the mobile terminal further presets a reference area, and sets a first judgment threshold in an area percentage manner, so as to judge whether the pressing trigger condition is satisfied by calculating a ratio of the first pressing area to the reference area and comparing the ratio with the first judgment threshold.
If the first judgment threshold is greater than or equal to the first judgment threshold, the step S32 is entered: judging that the pressing trigger condition is satisfied; if the first judgment threshold is smaller than the first judgment threshold, the step S33 is entered: it is determined that the press trigger condition is not satisfied.
The reference area may be set according to actual situations, for example, according to an acquisition area of an off-screen fingerprint acquisition module and a graphic key area described below. At this time, the first judgment threshold is set to be smaller than a positive fraction of 1, that is, when the first pressing area exceeds a predetermined percentage of the reference area, it is determined that the pressing trigger condition is satisfied.
Referring to fig. 4, fig. 4 is a flowchart of an embodiment of step S24 shown in fig. 2, which specifically includes the following steps:
s41: judging whether the ratio of the second pressing area to the preset reference area is smaller than or equal to a second judging threshold value;
if the first judgment threshold is less than or equal to the second judgment threshold, the step S42 is entered: if it is determined that the lift-off trigger condition is satisfied, if the lift-off trigger condition is greater than the second determination threshold, the process proceeds to step S43: and judging that the lifting trigger condition is not satisfied.
In this step, the second judgment threshold is also set in an area percentage manner, so that it is possible to judge whether the lift-off trigger condition is satisfied by calculating the ratio of the second pressing area to the reference area and comparing the ratio with the second judgment threshold. At this time, in order to make the second pressing area when the lift-off trigger condition is satisfied smaller than the first pressing area when the press trigger condition is satisfied, the second judgment threshold value needs to be set smaller than the first judgment threshold value.
Referring to fig. 5, fig. 5 is a flowchart of another embodiment of step S24 shown in fig. 2, including the following steps:
s51: judging whether the ratio of the second pressing area to the first pressing area when the pressing triggering condition is met is smaller than or equal to a second judging threshold value;
if the first judgment threshold is less than or equal to the second judgment threshold, the step S52 is entered: if it is determined that the lift-off trigger condition is satisfied, if the lift-off trigger condition is greater than the second determination threshold, the process proceeds to step S53: and judging that the lifting trigger condition is not satisfied.
Since the ratio of the second pressing area to the first pressing area when the pressing trigger condition is satisfied is calculated in step S51, and then the ratio is compared with the second judgment threshold, in this embodiment, only the second judgment threshold is set to be less than a positive fraction of 1, so that the second pressing area when the lifting trigger condition is satisfied is less than the first pressing area when the pressing trigger condition is satisfied.
Further, in the above embodiment, the first judgment threshold and the second judgment threshold are both set in an area percentage manner. However, in other embodiments, the first determination threshold and the second determination threshold may be set in other manners. For example, the first judgment threshold and the second judgment threshold are both set directly to the area value, and the second judgment threshold is smaller than the first judgment threshold. In this case, the first pressing area may be directly compared with the first determination threshold, and if the first determination threshold is greater than or equal to the first determination threshold, it may be determined that the pressing trigger condition is satisfied. And directly comparing the second pressing area with a second judging threshold value, and judging that the lifting trigger condition is met when the second pressing area is smaller than or equal to the second judging threshold value. Of course, the first judgment threshold value may be set to an area value, and the second judgment threshold value may be set to a positive fraction smaller than 1. At this time, the first pressing area is directly compared with the first judgment threshold to judge whether the pressing trigger condition is satisfied, and whether the lifting trigger condition is satisfied is judged based on the ratio of the second pressing area to the first pressing area and the second judgment threshold in the manner described in fig. 4. In a specific embodiment, the first judgment threshold and the second judgment threshold are set such that a ratio between the second pressing area when the lift-off trigger condition is satisfied and the first pressing area when the press trigger condition is satisfied is less than or equal to 70%.
Referring to fig. 6, fig. 6 is a flowchart illustrating a second embodiment of a screen touch detection method according to the present application. In the present embodiment, steps S63, S64, S65, S66 and S67 are similar to steps S21, S22, S23, S24 and S25 in the embodiment shown in fig. 2, and are not described herein.
The present embodiment differs from the embodiment shown in fig. 2 in that it further includes, before step S63:
s61: acquiring the pressing position of the finger on the touch screen 131;
as described above, the pressing position of the finger against the touch screen 131 may be acquired by scanning the transmission channel and the reception channel of the touch screen 131, image acquisition, and other means.
S62: judging whether the pressing position of the finger on the touch screen 131 falls into a preset area or not;
if the pressing event and the lifting event fall into the preset area, the following step S63 is entered, and if the pressing event and the lifting event do not fall into the preset area, the step S61 is returned to, and the pressing position of the finger on the touch screen 131 is obtained again.
In this embodiment, the reference area for the subsequent pressing event and lifting event detection process may be set to the area of the preset area, or may be set according to the area of the preset area, for example, to a predetermined percentage of the area of the preset area. The preset area may be an acquisition area of an off-screen fingerprint acquisition module and a graphical key area.
The touch detection method of the present application will be described in detail below with reference to specific application scenarios.
At present, a mobile terminal adopting a comprehensive screen often acquires a user fingerprint in an under-screen fingerprint acquisition mode, and performs screen unlocking, mobile payment and other operations based on an authentication result of the fingerprint. The specific working principle of the fingerprint acquisition mode under the screen is as follows: an off-screen fingerprint acquisition module is arranged below the touch screen 131 or the display screen, and collimated light is provided to an acquisition area of the off-screen fingerprint acquisition module through the display screen or backlight. When a finger presses the touch screen 131 above the acquisition area, the ridge line of the fingerprint is in contact with the touch screen 131, light rays form transmission, the ridge line of the fingerprint and the touch screen 131 directly have a certain air gap, the light rays are totally reflected, and then the fingerprint acquisition module under the screen acquires corresponding fingerprint images.
Therefore, the acquisition area of the off-screen fingerprint acquisition module can be used as the preset area, and the corresponding reference area is set, so that the control of the off-screen fingerprint acquisition can be realized.
Referring to fig. 7, fig. 7 is a schematic diagram showing a comparison of a first pressing area when the pressing trigger condition is satisfied and a second pressing area when the lifting trigger condition is satisfied. Specifically, first, according to whether the pressing position of the finger on the touch screen 131 falls into the collection area of the fingerprint collection module under the screen. For example, a rectangular region defined by two coordinate points of pixel coordinate positions (420, 620) and (2000, 2200) is taken as an acquisition region, and when the pixel coordinates generated when the user presses are (567, 2182), it is determined that the pressed position of the finger falls into the acquisition region.
Then, a first pressing area formed by pressing the touch screen 131 by the finger is acquired, and whether the pressing trigger condition is satisfied is judged based on the first pressing area and the first judgment threshold. For example, as shown in left side view a in fig. 7, box 701 represents the acquisition region and box 702 represents the first compression area. At this time, the total area of the collecting area is 200×200 pixels, and the first pressing area formed by the finger in the collecting area is 150×150 pixels, and the ratio of the two is: (150×150)/(200×200) =56%. And if the preset first judgment threshold value is 50%, the pressing triggering condition is met.
At this time, the mobile terminal responds to the pressing triggering condition to perform fingerprint collection in the collection area, for example, controls the display screen or backlight to provide collimated light to the collection area, controls the fingerprint collection module under the screen to perform image collection, and displays the image collection state and/or progress in a highlighted icon mode.
In the fingerprint acquisition process, a second pressing area formed by pressing the touch screen 131 by the finger is acquired, and whether the lifting trigger condition is satisfied is judged based on the second pressing area and a second judgment threshold. For example, as shown in the right side view b of fig. 7, block 703 represents a second pressing area, where the second pressing area is 100×100 pixels, and the ratio of the second pressing area to the acquisition area is (100×100)/(200×200) =50%. And if the preset first judgment threshold value is 40%, the pressing triggering condition is met.
If the preset second judgment threshold value is 33% and the ratio of the detected second pressing area to the total area of the acquisition area is 30%, judging that the lifting trigger condition is met.
At this time, fingerprint collection is stopped in response to the lift trigger condition. For example, the under-screen fingerprint acquisition module is controlled to stop image acquisition, hide a highlighted icon, turn off a display screen or backlight.
In addition, the touch detection method can also be used for triggering the graphic keys. Currently, mobile terminals often display a plurality of image buttons on a screen, and a user activates a corresponding application program by clicking a corresponding graphic button. Therefore, the area (image key area) of each image key is selected as the preset area, and the corresponding reference area is set, so that the control of the image keys can be realized.
Specifically, first, according to whether the pressing position of the finger on the touch screen 131 falls into the graphic key area.
It should be noted that, a plurality of graphic key areas are often disposed on a screen of the mobile terminal, so that only a judgment that a pressing position falls into a certain graphic key area is required to perform a subsequent judgment of a pressing and lifting trigger condition, and a corresponding key operation is performed when the pressing and lifting trigger condition is satisfied.
Specifically, a timer may be started after the pressing trigger condition is satisfied, a time interval from the pressing trigger condition to the lifting trigger condition is counted, and if the counted time is smaller than a preset time threshold, an application associated with a corresponding icon key of the graphic key region is started in response to the lifting trigger condition. And if the timing time is greater than or equal to a preset time threshold, highlighting the corresponding icon key of the graphic key area in response to the pressing trigger condition, and stopping highlighting in response to the lifting trigger condition. Highlighting includes hovering over the corresponding icon keys, displaying corresponding attributes, menus, etc. at the corresponding icon keys.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the application. The embodiment of the application provides a mobile terminal 8, which comprises:
an obtaining module 81, configured to obtain a first pressing area formed by pressing the touch screen 131 by the finger;
a first judging module 82, configured to judge whether the pressing trigger condition is satisfied based on the first pressing area and the first judging threshold; the obtaining module 81 further obtains a second pressing area formed by pressing the touch screen 131 by the finger when the pressing trigger condition is met;
a second judging module 83 for judging whether the lift trigger condition is satisfied based on the second pressing area and the second judging threshold;
wherein the first judgment threshold and the second judgment threshold are set so that the second pressing area when the lift-off trigger condition is satisfied is smaller than the first pressing area when the press trigger condition is satisfied.
By the mode, the first judgment threshold and the second judgment threshold are respectively set for the pressing event and the triggering event, and the first judgment threshold and the second judgment threshold are set so that the second pressing area when the lifting triggering condition is met is smaller than the first pressing area when the pressing triggering condition is met. By the mode, frequent triggering of pressing and lifting events can be effectively avoided, and touch experience of the mobile terminal is optimized.
Further, referring to fig. 9, fig. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application. The embodiment of the application provides a mobile terminal 9, which comprises: the processor 91, the memory 92, and the computer program 921 stored in the memory and running on the processor, the processor 91 is configured to execute the computer program 921 to implement the steps of the method provided in the first aspect of the embodiment of the present application, which are not described herein.
Referring to fig. 10, fig. 10 is a schematic block circuit diagram of an embodiment of a memory-enabled device of the present application. If implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the device 10 having a storage function. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in whole or in part in the form of a software product stored in a storage means, comprising several instructions (program data) for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the various embodiments of the present application. The aforementioned storage device includes: various media such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, and electronic devices such as a computer, a mobile phone, a notebook computer, a tablet computer, and a camera having the above-described storage media.
The description of the execution process of the program data in the device with the storage function may be described with reference to the above embodiment of the touch detection method of the mobile terminal of the present application, which is not repeated herein.
The foregoing description is only a partial embodiment of the present application, and is not intended to limit the scope of the present application, and all equivalent devices or equivalent processes using the descriptions and the drawings of the present application or directly or indirectly applied to other related technical fields are included in the scope of the present application.

Claims (12)

1. A screen touch detection method, the method comprising:
acquiring a first pressing area formed by pressing a touch screen by a finger;
judging whether a pressing trigger condition is met or not based on the first pressing area and a first judging threshold value;
wherein the step of judging whether the pressing trigger condition is satisfied based on the first pressing area and a first judgment threshold value includes:
judging whether the ratio of the first pressing area to a preset reference area is larger than or equal to the first judging threshold value or whether the first pressing area is larger than or equal to the first judging threshold value or not;
if the pressing trigger condition is greater than or equal to the first judging threshold value, judging that the pressing trigger condition is met;
if the pressing triggering condition is met, a second pressing area formed by the subsequent pressing of the finger on the touch screen is obtained;
judging whether a lifting trigger condition is met or not based on the second pressing area and a second judging threshold value;
wherein the first judgment threshold and the second judgment threshold are set so that the second pressing area when the lift trigger condition is satisfied is smaller than the first pressing area when the press trigger condition is satisfied.
2. The method of claim 1, wherein the step of determining whether a lift-off trigger condition is satisfied based on the second pressing area and a second determination threshold comprises:
judging whether the ratio of the second pressing area to the reference area is smaller than or equal to the second judgment threshold value;
if the lifting trigger condition is smaller than or equal to the second judging threshold value, judging that the lifting trigger condition is met;
wherein the second judgment threshold is smaller than the first judgment threshold.
3. The method of claim 1, wherein the step of determining whether a lift-off trigger condition is satisfied based on the second pressing area and a second determination threshold comprises:
judging whether the ratio of the second pressing area to the first pressing area when the pressing triggering condition is met is smaller than or equal to the second judging threshold value;
if the lifting trigger condition is smaller than or equal to the second judging threshold value, judging that the lifting trigger condition is met;
wherein the second judgment threshold is a positive score smaller than 1.
4. The method according to claim 1, wherein the method further comprises:
acquiring the pressing position of the finger on the touch screen;
judging whether the pressing position of the finger on the touch screen falls into a preset area or not;
if the first pressing area falls into the preset area, executing the step of acquiring a first pressing area formed by pressing the touch screen by the finger;
the reference area is the area of the preset area or is set based on the area of the preset area.
5. The method of claim 4, wherein the predetermined area is an acquisition area of an off-screen fingerprint acquisition module.
6. The method according to claim 5, wherein the method further comprises:
responding to the pressing triggering condition, and collecting fingerprints in the collecting area;
and responding to the lifting trigger condition, and stopping fingerprint acquisition.
7. The method of claim 4, wherein the predetermined area is a graphical key area.
8. The method of claim 7, wherein the method further comprises:
responding to the pressing triggering condition, and highlighting the corresponding icon keys of the graphic key area;
stopping highlighting in response to the lift-off trigger condition; or alternatively
The method further comprises:
and responding to the lifting triggering condition, and starting an application program associated with the corresponding icon key of the graphic key area.
9. The method of claim 1, wherein the step of determining whether a lift-off trigger condition is satisfied based on the second pressing area and a second determination threshold comprises:
judging whether the second pressing area is smaller than or equal to the second judgment threshold value;
if the lifting trigger condition is smaller than or equal to the second judgment threshold value, judging that the lifting trigger condition is met, wherein the second judgment threshold value is smaller than the first judgment threshold value; or alternatively
Judging whether the ratio of the second pressing area to the first pressing area when the pressing triggering condition is met is smaller than or equal to the second judging threshold value;
and if the second judgment threshold value is smaller than or equal to the second judgment threshold value, judging that the lifting trigger condition is met, wherein the second judgment threshold value is a positive fraction smaller than 1.
10. A mobile terminal, comprising:
the acquisition module is used for acquiring a first pressing area formed by pressing the touch screen by the finger;
the first judging module is used for judging whether the ratio of the first pressing area to a preset reference area is larger than or equal to a first judging threshold value or whether the first pressing area is larger than or equal to the first judging threshold value, if so, the first judging module judges that the pressing triggering condition is met, and the acquiring module further acquires a second pressing area formed by pressing the touch screen by the finger when the pressing triggering condition is met;
the second judging module is used for judging whether the lifting trigger condition is met or not based on the second pressing area and a second judging threshold value;
wherein the first judgment threshold and the second judgment threshold are set so that the second pressing area when the lift trigger condition is satisfied is smaller than the first pressing area when the press trigger condition is satisfied.
11. A mobile terminal, comprising: a processor and a memory, the memory having stored therein a computer program for executing the computer program to implement the touch detection method of any of claims 1-9.
12. A computer storage medium, characterized in that the computer storage medium stores a computer program, which when executed implements the touch detection method according to any one of claims 1-9.
CN202010340488.8A 2020-04-26 2020-04-26 Screen touch detection method, mobile terminal and computer storage medium Active CN111399691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010340488.8A CN111399691B (en) 2020-04-26 2020-04-26 Screen touch detection method, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010340488.8A CN111399691B (en) 2020-04-26 2020-04-26 Screen touch detection method, mobile terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN111399691A CN111399691A (en) 2020-07-10
CN111399691B true CN111399691B (en) 2023-10-10

Family

ID=71433454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010340488.8A Active CN111399691B (en) 2020-04-26 2020-04-26 Screen touch detection method, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN111399691B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518807A (en) * 2020-11-20 2022-05-20 深圳市万普拉斯科技有限公司 Fingerprint unlocking method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164067A (en) * 2011-12-19 2013-06-19 联想(北京)有限公司 Method for judging touch input and electronic device
JP2014174600A (en) * 2013-03-06 2014-09-22 Sharp Corp Touch panel terminal and touch panel control method
CN104346094A (en) * 2013-08-07 2015-02-11 联想(北京)有限公司 Display processing method and display processing equipment
JP2015111328A (en) * 2013-12-06 2015-06-18 株式会社東海理化電機製作所 Operation device
CN104915088A (en) * 2014-03-10 2015-09-16 联想(北京)有限公司 Information processing method and electronic equipment
CN106909250A (en) * 2017-03-01 2017-06-30 广东欧珀移动通信有限公司 A kind of processing method of touch operation, device and mobile terminal
CN107871121A (en) * 2017-11-07 2018-04-03 广东欧珀移动通信有限公司 A kind of method and apparatus of fingerprint recognition

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8773374B2 (en) * 2011-05-13 2014-07-08 Blackberry Limited Identification of touch point on touch screen device
JP6381240B2 (en) * 2014-03-14 2018-08-29 キヤノン株式会社 Electronic device, tactile sensation control method, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164067A (en) * 2011-12-19 2013-06-19 联想(北京)有限公司 Method for judging touch input and electronic device
JP2014174600A (en) * 2013-03-06 2014-09-22 Sharp Corp Touch panel terminal and touch panel control method
CN104346094A (en) * 2013-08-07 2015-02-11 联想(北京)有限公司 Display processing method and display processing equipment
JP2015111328A (en) * 2013-12-06 2015-06-18 株式会社東海理化電機製作所 Operation device
CN104915088A (en) * 2014-03-10 2015-09-16 联想(北京)有限公司 Information processing method and electronic equipment
CN106909250A (en) * 2017-03-01 2017-06-30 广东欧珀移动通信有限公司 A kind of processing method of touch operation, device and mobile terminal
CN107871121A (en) * 2017-11-07 2018-04-03 广东欧珀移动通信有限公司 A kind of method and apparatus of fingerprint recognition

Also Published As

Publication number Publication date
CN111399691A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
KR101932210B1 (en) Method, system for implementing operation of mobile terminal according to touching signal and mobile terminal
CN108021259B (en) False touch prevention method and electronic equipment
EP3232299B1 (en) Physical key component, terminal, and touch response method and device
CN106951884A (en) Gather method, device and the electronic equipment of fingerprint
EP4361974A2 (en) Fingerprint identification method and apparatus
CN108008859B (en) Screen control method and mobile terminal
CN107390923B (en) Screen false touch prevention method and device, storage medium and terminal
CN109002223B (en) Touch interface display method and mobile terminal
CN109582416A (en) Fingerprint collecting method, device, storage medium and electronic equipment
CN110519503B (en) Method for acquiring scanned image and mobile terminal
CN108388400B (en) Operation processing method and mobile terminal
CN111399691B (en) Screen touch detection method, mobile terminal and computer storage medium
CN110941469A (en) Application body-splitting creating method and terminal equipment thereof
CN107967086B (en) Icon arrangement method and device for mobile terminal and mobile terminal
CN111970671B (en) Control method and device of near field communication module and electronic equipment
US11175821B2 (en) Pressure touch method and terminal
CN111310248B (en) Privacy protection method and electronic equipment
CN109327605B (en) Display control method and device and mobile terminal
CN110764650A (en) Key trigger detection method and electronic equipment
CN108459796B (en) Function key response method and mobile terminal
CN108089799B (en) Control method of screen edge control and mobile terminal
CN108234745B (en) Signal receiving method, mobile terminal and computer readable storage medium
CN110472520B (en) Identity recognition method and mobile terminal
CN113873159A (en) Image processing method and device and electronic equipment
CN114253451A (en) Screenshot method and device, electronic equipment and storage medium

Legal Events

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