CN107450773B - False touch prevention method, terminal and computer readable storage medium - Google Patents

False touch prevention method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107450773B
CN107450773B CN201710611655.6A CN201710611655A CN107450773B CN 107450773 B CN107450773 B CN 107450773B CN 201710611655 A CN201710611655 A CN 201710611655A CN 107450773 B CN107450773 B CN 107450773B
Authority
CN
China
Prior art keywords
touch
application program
false
false touch
prevention information
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
CN201710611655.6A
Other languages
Chinese (zh)
Other versions
CN107450773A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710611655.6A priority Critical patent/CN107450773B/en
Publication of CN107450773A publication Critical patent/CN107450773A/en
Application granted granted Critical
Publication of CN107450773B publication Critical patent/CN107450773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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

Abstract

The invention provides a false touch prevention method, a terminal and a computer readable storage medium, wherein the method comprises the following steps: when the touch operation is detected, judging whether the touch operation is matched with mistaken touch prevention information corresponding to an application program running in a foreground; and if the touch operation is matched with the false touch prevention information, shielding the touch operation. The invention can effectively prevent false touch.

Description

False touch prevention method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of communications and electronics technologies, and in particular, to a method, a terminal, and a computer-readable storage medium for preventing false touches.
Background
In the prior art, terminals such as mobile phones and the like basically have touch screens, and users control the terminals through the touch screens of the touch terminals, so that the terminals execute corresponding operations. When a user touches the touch screen, the touch sensor can generate signals to recognize touch operation, and when the user touches the touch screen accidentally, the touch operation can be generated, so that the user issues an erroneous touch instruction to generate a false touch operation.
With the development of electronic products such as large-screen mobile phones and narrow-frame terminals, the frames of touch screens are narrower and narrower, and the probability of occurrence of false touch operation is higher and higher. If the terminal cannot filter the false touch operation, the user experience is reduced.
Disclosure of Invention
In view of the above, the present invention provides a method, a terminal and a computer readable storage medium for preventing a false touch, so as to solve the problem of identifying and filtering a false touch operation on a touch screen of the terminal.
In a first aspect, an embodiment of the present invention provides a method for preventing a false touch, which is applied to a terminal having a touch screen, where the method includes:
when the touch operation is detected, judging whether the touch operation is matched with mistaken touch prevention information corresponding to an application program running in a foreground;
and if the touch operation is matched with the false touch prevention information, shielding the touch operation.
In a second aspect, an embodiment of the present invention provides a terminal having a touch screen, where the terminal includes:
the touch operation detection module: the touch control device is used for judging whether the touch control operation is matched with mistaken touch prevention information corresponding to an application program running in a foreground or not when the touch control operation is detected;
the mis-touch operation processing module: and shielding the touch operation if the touch operation is matched with the false touch prevention information.
In a third aspect, an embodiment of the present invention provides a terminal, including: the invention further provides a method for preventing false touches, which comprises the steps of the method for preventing false touches provided by any one of the embodiments of the invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the false touch prevention method provided in any one of the embodiments of the present invention.
In the embodiment of the invention, after the touch operation of the application program is received, the touch operation is judged according to the false touch prevention information corresponding to the application program, and when the touch operation is matched with the false touch prevention information, the touch operation is shielded, so that the false touch prevention accuracy is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention 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 that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a no false touch method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a false touch prevention method according to another embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a false touch prevention method according to another embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a false touch prevention method according to another embodiment of the present invention;
FIG. 5 is a schematic block diagram of a terminal structure according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a terminal structure according to another embodiment of the present invention;
fig. 7 is a schematic block diagram of a terminal structure according to still another embodiment of the present invention;
fig. 8 is a schematic block diagram of a terminal structure according to still another embodiment of the present invention;
fig. 9 is a schematic block diagram of a terminal structure according to still another embodiment of the present invention;
fig. 10 is a schematic block diagram of a terminal structure according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for preventing the false touch provided by the embodiment of the invention is applied to a terminal with a touch screen, and the process is shown in figure 1 and comprises the following steps:
step 101: and when the touch operation is detected, judging whether the touch operation is matched with the false touch prevention information corresponding to the application program running in the foreground.
In an embodiment of the present invention, the terminal may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
In the embodiment of the present invention, the application running in the foreground may be understood as an application running on the terminal, for example, a game application, an office application, a chat application, a web browsing application, and the like, where the application running in the foreground is started before step 101, and displays a running interface in at least a part of a display area of the touch screen, and can be controlled according to a touch operation detected on the touch screen.
In the embodiment of the present invention, the detecting of the touch operation may be detecting the touch operation through a touch screen. The touch operation on the application program is the touch operation on the application program which occurs on the current display interface of the terminal. The touch position of the touch operation on the application program may be located in a display area of the application program running interface, or in some cases, may also be located in other areas of the touch screen where the application program running interface is not displayed. For example, in a half-screen display state, one half area on the touch screen displays an operation interface of an application program, and the other half area is a black screen; the touch operation may be a touch operation occurring in a display area of the running interface, or a touch operation occurring in a black screen area.
In the embodiment of the present invention, the foreground operation refers to an operation process in which an operation interface or an operation icon is displayed in a display area of the touch screen. Because the application running in the background, the user cannot see the running interface in the running process of the application and cannot issue an instruction to the application by performing touch operation on the touch screen, the application program does not include the application only running in the background; the running process of the application program does not include the running process which only runs in the background.
Step 102: and if the touch operation is matched with the false touch prevention information, shielding the touch operation.
In a specific embodiment, the false touch prevention information includes at least one of a false touch prevention area and an operation type of a touch operation that needs to be filtered. The touch operation is matched with the false touch prevention information, the area of the touch operation is matched with the false touch prevention area, or the operation type of the touch operation is matched with the operation type of the touch operation needing to be filtered. It should be understood that the areas and locations mentioned in all embodiments of the present invention can be represented by screen coordinates.
The false touch prevention information corresponding to the application program is the false touch prevention information having a corresponding relation with the application program, and is set according to the type, the running interface and the like of the application program, so that the false touch prevention information is adaptive to the application program. In the prior art, a terminal can run a plurality of different types of applications, and the position and the type of the false touch operation are different in the running process of different applications.
For example, the application program is a certain game application, and in the running process of the game application, the operation instruction is sent by common touch, and when the occurring touch operation is long-press touch, pressure touch, and double-click touch, it can be determined that the touch operation is a false touch operation, and the touch operation is recognized as the false touch operation without feeding back the touch operation.
For another example, the application program is a web browsing application, and in the running process of the web browsing application, the operation instruction is generally sent by normal touch and long-press touch, and if the touch operation is pressure touch and double-click touch, it may be determined that the touch operation is a false touch operation, and the touch operation is identified as the false touch operation without feeding back the touch operation.
For another example, the application program is an audio playing application, the operation instruction is generally sent by normal touch occurring in the key region, and if the touch operation occurs at a position outside the key region, it can be determined that the touch operation is a false touch operation, and the touch operation is identified as the false touch operation without feedback on the touch operation.
When a certain touch operation is identified as a false touch operation, the false touch prevention information corresponding to the application program is adopted for identification, the accuracy of the false touch operation identification can be improved, and the user can be allowed to cancel the operation in a certain mode when realizing that the user executes the false touch operation.
For example, the application program is a game application, the user issues an operation instruction through normal touch, and when the user accidentally performs an operation and erroneously touches the operation area of the application program, the normal touch is changed into long-press touch or pressure touch, so that the operation can be recognized as the erroneous touch operation and can be shielded.
In one embodiment, the anti-false touch information may be set in a program file of the application program and stored in the terminal when the application program is installed. In another embodiment, the false touch prevention information may be calculated according to the attribute, the operation data, and the like of the application program after the application program is installed.
Further, the position of the touch operation may be a coordinate position of the touch operation on the touch screen; the operation type of the touch operation may be one of pressure touch, long-press touch, double-click touch, normal touch, multi-point touch, and the like. For example, in the current false touch prevention information, the position where the touch operation occurs is the a position, or the operation type of the touch operation is pressure touch, if the detected operation parameter of the touch operation indicates that the position where the operation occurs is the a position, or the detected operation parameter of the touch operation indicates that the operation type is pressure touch, in the running process of the application program, the touch operation is identified as false touch.
The pressure touch is touch with the pressure value of the touch pressure exceeding a set pressure threshold; the long press touch is a touch with the touch duration time exceeding a set time threshold; the double-click touch is a touch which is continuously executed twice within a set time range; the general touch is a touch deemed to occur when a touch is detected; the multi-touch is a touch simultaneously occurring at a plurality of touch points.
In the embodiment of the present invention, when the touch operation is matched with the false touch prevention information, it is considered that the current touch operation is the false touch operation, and the current touch operation is shielded, that is, the current touch operation is ignored, and no feedback is performed on the current touch operation.
In the embodiment of the present invention, the false touch operation is a touch operation that is mistakenly generated by the user, that is, the user does not want to execute the current touch operation originally, but for some reasons, the user still sends the current touch operation to the touch screen of the terminal.
When the application program runs, the false touch prevention information corresponding to the application program is adopted for identification and judgment, if the touch operation is matched with the false touch prevention information corresponding to the application program, the touch operation is considered as the false touch operation, and therefore the touch operation is identified as the false touch operation and shielded. Because the error touch operation which is easy to occur is different in different application running scenes, the embodiment of the invention can judge whether the touch operation is the error operation or not according to the characteristics of the application program running on the terminal, thereby improving the identification accuracy of the error touch operation.
Optionally, the false touch prevention information includes a false touch prevention area;
the determining whether the touch operation is matched with the false touch prevention information corresponding to the foreground-running application includes:
judging whether the area of the touch operation is matched with the false touch prevention area, and if so, determining that the touch operation is matched with false touch prevention information corresponding to an application program operated in a foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
In the above embodiment, the determining whether the area of the touch operation matches the false touch prevention area may be determining whether the coordinates of the touch operation on the screen match the coordinates of the false touch prevention area.
Optionally, the false touch prevention information includes a false touch prevention message;
the determining whether the touch operation is matched with the false touch prevention information corresponding to the foreground-running application includes:
judging whether the message generated by the touch operation is matched with the false touch prevention message, and if so, determining that the touch operation is matched with the false touch prevention message corresponding to the application program operated in the foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
In the above embodiment, the message generated by the touch operation is matched with the false touch prevention message, and may be that the message type generated by the touch operation is matched with the message type of the false touch prevention message.
In some embodiments of the present invention, referring to fig. 2, another embodiment of the present invention provides a false touch prevention method, including:
step 201: and reading the false touch prevention information corresponding to the application program.
In the embodiment of the invention, the false touch prevention information corresponding to the application program can be packaged in the running data packet of the application program, and is stored in the terminal memory when the application program is downloaded and installed, and the false touch prevention information is extracted from the running data packet of the application program when the application program is started.
In the embodiment of the invention, the false touch prevention information comprises the false touch prevention information of the application program in different display states on the terminal. For example, for a certain application program, the false touch prevention information includes first false touch prevention information and second false touch prevention information, the first false touch prevention information is the false touch prevention information when the application program running interface is displayed on the full screen of the terminal, and the second false touch prevention information is the false touch prevention information when the application program is displayed on the half screen and the terminal display interface does not display the running interfaces of other applications.
Step 202: and calling a frame layer interface of the terminal system to access the touch screen equipment node, and sending a setting notice to the touch screen driving module.
Wherein the setting notification includes the false touch prevention information.
In a specific embodiment, the terminal system is an android system, an IOS system, a Windows system, or the like. The frame layer (Framework) is a component of the terminal system and is used for communication between the touch screen equipment node and the terminal system application layer. The touch screen equipment node is a virtual file mapped by a terminal touch screen and is used for providing a port for accessing a touch screen processor. The touch screen driving module is used for driving the touch screen processor to control the touch screen.
Step 203: and issuing an update notification to the touch screen processor through the touch screen driving module.
The update notification includes the false touch prevention information, and the touch screen processor is a component of a touch screen IC (Integrated Circuit) and is configured to control the touch screen and determine a touch point according to a position where a touch operation occurs.
Step 204: and when the touch operation is detected, judging whether the touch operation is matched with the false touch prevention information corresponding to the application program running in the foreground.
Step 205: and if the touch operation is matched with the false touch prevention information, shielding the touch operation.
In this embodiment, when the user installs the application program on the terminal, the anti-false-touch information corresponding to the application program can be stored in the terminal according to a certain format, so that the terminal can extract the touch operation before judging whether the touch operation is matched with the anti-false-touch information corresponding to the application program running in the foreground, and after the user unloads the application, the anti-false-touch information and the running data packet of the application program are deleted together, so as to release the storage space of the terminal.
In another embodiment of the present invention, referring to fig. 3, on the basis of fig. 2, step 201 further includes:
step 200: and extracting the false touch prevention information from the installation file of the application program, and adding the false touch prevention information into the program file of the application program.
By executing the step 200, the false touch prevention information corresponding to the application program can be read from the program file;
correspondingly, the reading of the false touch prevention information corresponding to the application program includes: and reading the false touch prevention information corresponding to the application program from the program file. In the embodiment of the invention, the installation program of the application program carries the false touch prevention information, and when the application program is installed on the terminal, the false touch prevention information can be extracted from the installation program and added into the program file of the application program, so that the false touch prevention information can be obtained from the program file before the application program runs. In another embodiment of the invention, the installation program of the application program does not carry the false touch prevention information, and when the preset program is installed, the terminal independently obtains the false touch prevention information from the installation file provider of the application program.
In another embodiment of the present invention, after the false touch prevention information is extracted from the installation file of the application program and added to the program file of the application program, the method provided by the present invention further includes:
receiving an updating message of the false touch prevention information;
and updating the false touch prevention information corresponding to the application program according to the updating message.
The steps can be executed when the application program is updated, and can also be executed after the application program is updated.
In the prior art, an application program can be updated automatically after a new version is released, and the updated application program may have a certain difference from an old version, so that the information for preventing false touch is also changed correspondingly. This embodiment can be to preventing that the mistake touches information and update, guarantees to have high matching nature between the discernment of mistake touch operation and the application to can keep the accuracy that the mistake touched the operation judgement all the time.
In another embodiment of the present invention, after the reading the false touch prevention information corresponding to the application program from the program file, the method further includes:
and reading the false touch classification information of the application program.
In a specific embodiment, how to identify the false touch operation is determined according to the false touch classification information.
In the embodiment of the invention, the false touch classification information is used for indicating which false touch identification method is adopted to identify the touch operation. For different applications, the probability and the mode of occurrence of false touch are different, for example, touch operation is not needed in the running process of the video playing application, so that the probability of occurrence of false touch operation in the running process of the video playing application is low; and in the running process of the web browsing application, touch operation is always used as an instruction of the next operation. Then, the method of recognizing the erroneous touch operation is different for different applications, and the recognition method is also different in order to improve the recognition accuracy. And corresponding false touch classification information is set according to the characteristics of the application aiming at different applications, so that when the corresponding application program is set up wrongly, the corresponding mode can be adopted for identification according to the false touch classification, and the accuracy of false touch operation identification is improved.
For example, in the embodiment shown in fig. 4, the method for preventing false touch includes:
step 401: and reading the false touch classification information corresponding to the application program.
Step 402: and when the application program runs in the foreground, reading the false touch prevention information corresponding to the application program.
Step 403: and when the touch operation is detected, judging whether the touch operation is matched with the false touch prevention information corresponding to the application program or not according to the false touch classification information.
Step 404: and if the touch operation is matched with the false touch prevention information, shielding the touch operation.
Further, the present invention provides a terminal having a touch screen, the structure of which is shown in fig. 5, the terminal 500 of this embodiment includes: touch operation detection module 501 and false touch recognition processing module 502, wherein:
the touch operation detection module 501: the touch control device is used for judging whether the touch control operation is matched with mistaken touch prevention information corresponding to an application program running in a foreground or not when the touch control operation is detected;
the false touch recognition processing module 502: and shielding the touch operation if the touch operation is matched with the false touch prevention information.
Optionally, the false touch prevention information includes a false touch prevention area;
the touch operation detection module comprises:
a first detection unit: the touch control device is used for judging whether the area of the touch control operation is matched with the false touch prevention area or not, and if the area of the touch control operation is matched with the false touch prevention area, determining that the touch control operation is matched with false touch prevention information corresponding to an application program operated in a foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
Optionally, the false touch prevention information includes a false touch prevention message;
the touch operation detection module comprises:
a second detection unit: the touch control module is used for judging whether the message generated by the touch control operation is matched with the false touch prevention message or not, and if the message generated by the touch control operation is matched with the false touch prevention message, determining that the touch control operation is matched with the false touch prevention message corresponding to the application program operated in the foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
In another embodiment of the present invention, the touch operation detecting module 501 includes: a first detection unit and a second detection unit; wherein the content of the first and second substances,
a first detection unit: the touch control device is used for judging whether the area of the touch control operation is matched with the false touch prevention area or not, and if the area of the touch control operation is matched with the false touch prevention area, determining that the touch control operation is matched with false touch prevention information corresponding to an application program operated in a foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program;
a second detection unit: the touch control module is used for judging whether the message generated by the touch control operation is matched with the false touch prevention message or not, and if the message generated by the touch control operation is matched with the false touch prevention message, determining that the touch control operation is matched with the false touch prevention message corresponding to the application program operated in the foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
In another embodiment of the present invention, referring to fig. 6, a terminal 600 includes: an identification parameter reading module 601, a setting notification sending module 602, an update notification issuing module 603, a touch operation detection module 604, and a false touch identification processing module 605, wherein:
the identification parameter reading module 601: the method comprises the steps of reading false touch prevention information corresponding to an application program;
the setting notification sending module 602: the system comprises a frame layer interface, a touch screen driving module, a touch screen interface and a touch screen interface, wherein the frame layer interface is used for calling a frame layer interface of the terminal system to access a touch screen equipment node and sending a setting notification to the touch screen driving module, and the setting notification comprises the mistaken touch prevention information;
the update notification issuing module 603: issuing an update notification to a touch screen processor through a touch screen driving module, wherein the update notification comprises the false touch prevention information;
the touch operation detection module 604: the touch control device is used for judging whether the touch control operation is matched with mistaken touch prevention information corresponding to an application program running in a foreground or not when the touch control operation is detected;
false touch recognition processing module 605: and shielding the touch operation if the touch operation is matched with the false touch prevention information.
Optionally, referring to fig. 7, the terminal 700 includes: an identification parameter reading module 701, an identification parameter writing module 702, a touch operation detection module 704, and a false touch identification processing module 705, wherein:
the identification parameter reading module 701: the touch control module is used for reading the false touch prevention information corresponding to the application program;
the setting notification sending module 702: the system comprises a frame layer interface, a touch screen driving module, a touch screen interface and a touch screen interface, wherein the frame layer interface is used for calling a frame layer interface of the terminal system to access a touch screen equipment node and sending a setting notification to the touch screen driving module, and the setting notification comprises the mistaken touch prevention information;
the update notification issuing module 703: issuing an update notification to a touch screen processor through a touch screen driving module, wherein the update notification comprises the false touch prevention information;
the touch operation detection module 704: the method comprises the steps of detecting touch operation on an application program in the running process of the application program;
the false touch operation processing module 705: the touch control device is used for identifying the touch control operation as a false touch operation if the operation parameters of the touch control operation are consistent with the false touch prevention information corresponding to the application program; the false touch prevention information includes at least one of a position where the touch operation occurs and an operation type of the touch operation.
Optionally, still referring to fig. 7, the terminal 700 further includes: an update message receiving module 706, and an identification parameter updating module 707, wherein:
update message reception module 706: the update message is used for receiving the false touch prevention information;
the identification parameter update module 707: and the application program is used for updating the false touch prevention information corresponding to the application program according to the updating message.
Optionally, still referring to fig. 7, the terminal 700 further includes: a classification information reading module 708, wherein:
classification information reading module 708: and the method is used for reading the false touch classification information of the application program.
Optionally, the false touch prevention information includes at least one of a false touch prevention area and a touch operation type that needs to be filtered.
The terminal provided by the embodiment of the invention can judge whether the touch operation belongs to the error touch operation which is likely to frequently occur in the running process of the application program when the touch operation of the application program is received, if so, the touch operation is identified as the error touch operation, and the error touch operation is filtered and shielded, so that the terminal does not perform feedback on the touch operation, the accuracy of judging the error touch operation in the using process of the terminal can be improved, meanwhile, an instruction which is not expected to be sent by a user due to the error operation of the user can be avoided, and the experience of the user in using the terminal can be improved.
Referring to fig. 8, fig. 8 is a structural diagram of a terminal according to an embodiment of the present invention, which can implement details of an application uninstalling method in the foregoing embodiment, and achieve the same effect. As shown in fig. 8, the terminal 800 includes: at least one processor 801, memory 802, at least one network interface 804, and a user interface 803. The various components in terminal 800 are coupled together by a bus system 805. It is understood that the bus system 805 is used to enable communications among the components connected. The bus system 805 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 805 in fig. 8.
The user interface 803 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, track ball, touch pad, or touch screen, etc.).
It will be appreciated that the memory 802 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 802 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 802 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 8021 and application programs 8022.
The operating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 8022 includes various application programs, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing a method according to an embodiment of the present invention may be included in application program 8022.
In the embodiment of the present invention, by calling the program or instruction stored in the memory 802, specifically, the program or instruction stored in the application program 8022, the processor 801 is configured to:
when the touch operation is detected, judging whether the touch operation is matched with mistaken touch prevention information corresponding to an application program running in a foreground;
and if the touch operation is matched with the false touch prevention information, shielding the touch operation.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 801. The Processor 801 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and combines the hardware to complete the steps of the method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 801 is further configured to:
the false touch prevention information comprises a false touch prevention area;
the determining whether the touch operation is matched with the false touch prevention information corresponding to the foreground-running application includes:
judging whether the area of the touch operation is matched with the false touch prevention area, and if so, determining that the touch operation is matched with false touch prevention information corresponding to an application program operated in a foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
Optionally, the false touch prevention information includes a false touch prevention message; the processor 801 is further configured to: judging whether the message generated by the touch operation is matched with the false touch prevention message, and if so, determining that the touch operation is matched with the false touch prevention message corresponding to the application program operated in the foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
Optionally, the processor 801 is further configured to: reading corresponding false touch prevention information of the application program; calling a frame layer interface of the terminal system to access a touch screen device node, and sending a setting notification to a touch screen driving module, wherein the setting notification comprises the false touch prevention information; and issuing an update notification to the touch screen processor through the touch screen driving module, wherein the update notification comprises the false touch prevention information.
Optionally, the processor 801 is further configured to: extracting the false touch prevention information from the installation file of the application program, and adding the false touch prevention information into the program file of the application program; reading the false touch prevention information corresponding to the application program from the program file
Optionally, the processor 801 is further configured to: detecting an update message of the false touch prevention information; and updating the false touch prevention information corresponding to the application program according to the updating message.
Optionally, the processor 801 is further configured to: and reading the false touch classification information of the application program.
Optionally, the false touch prevention information includes at least one of a false touch prevention area and an operation type of a touch operation that needs to be filtered.
In the embodiment of the invention, after the touch operation of the application program is received, the touch operation is judged according to the false touch prevention information corresponding to the application program, and under the condition that the operation parameter of the touch operation is consistent with the false touch prevention information, the touch operation is identified as the false touch operation, so that the touch operation is shielded, the terminal does not feed back the touch operation, the identification of the false touch operation can be consistent with the condition and the requirement of the application program in operation, and the accuracy of the judgment of the false touch operation is improved. In addition, in the embodiment of the invention, the false touch prevention information can be updated along with the update of the application program, so that the identification of the false touch operation is always high in accuracy.
Referring to fig. 9, fig. 9 is a structural diagram of a terminal according to an embodiment of the present invention, which can implement details of an uninstalling method of an application program in the foregoing embodiment, and achieve the same effect. As shown in fig. 9, the terminal 900 includes a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a processor 950, an audio circuit 960, a communication module 970, and a power supply 980, and further includes a camera (not shown in the figure).
The input unit 930 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the terminal 900. Specifically, in the embodiment of the present invention, the input unit 930 may include a touch panel 931. The touch panel 931, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 931 (for example, a user may operate the touch panel 931 by using a finger, a stylus pen, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 931 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 950, and can receive and execute commands sent from the processor 950. In addition, the touch panel 931 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 931, the input unit 930 may also include other input devices 932, and the other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 940 may be used to display information input by the user or information provided to the user and various menu interfaces of the terminal 900. The display unit 940 may include a display panel 941, and the display panel 941 may be optionally configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 931 may cover the display panel 941 to form a touch display screen, and when the touch display screen detects a touch operation on or near the touch display screen, the touch display screen is transmitted to the processor 950 to determine the type of the touch event, and then the processor 950 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The processor 950 is a control center of the terminal 900, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the terminal 900 and processes data by operating or executing software programs and/or modules stored in the first memory 921 and calling data stored in the second memory 922, thereby integrally monitoring the terminal 900. Optionally, processor 950 may include one or more processing units.
In an embodiment of the present invention, the processor 950 is configured to, by invoking software programs and/or modules stored in the first memory 921 and/or data stored in the second memory 922:
when the touch operation is detected, judging whether the touch operation is matched with mistaken touch prevention information corresponding to an application program running in a foreground;
and if the touch operation is matched with the false touch prevention information, shielding the touch operation.
Optionally, the false touch prevention information includes a false touch prevention area; the processor 950 is further configured to: judging whether the area of the touch operation is matched with the false touch prevention area, and if so, determining that the touch operation is matched with false touch prevention information corresponding to an application program operated in a foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
Optionally, the false touch prevention information includes a false touch prevention message; the processor 950 is further configured to: judging whether the message generated by the touch operation is matched with the false touch prevention message, and if so, determining that the touch operation is matched with the false touch prevention message corresponding to the application program operated in the foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
Optionally, the processor 950 is further configured to: reading corresponding false touch prevention information of the application program; calling a frame layer interface of the terminal system to access a touch screen device node, and sending a setting notification to a touch screen driving module, wherein the setting notification comprises the false touch prevention information; and issuing an update notification to the touch screen processor through the touch screen driving module, wherein the update notification comprises the false touch prevention information.
Optionally, the processor 950 is further configured to: extracting the false touch prevention information from the installation file of the application program, and adding the false touch prevention information into the program file of the application program; and reading the false touch prevention information corresponding to the application program from the program file. Optionally, the processor 950 is further configured to: detecting an update message of the false touch prevention information; and updating the false touch prevention information corresponding to the application program according to the updating message.
Optionally, the processor 950 is further configured to: and reading the false touch classification information of the application program.
Optionally, the false touch prevention information includes at least one of a false touch prevention area and an operation type of a touch operation that needs to be filtered.
In the embodiment of the invention, after the touch operation of the application program is received, the touch operation is judged according to the false touch prevention information corresponding to the application program, and under the condition that the operation parameter of the touch operation is consistent with the false touch prevention information, the touch operation is identified as the false touch operation, so that the touch operation is shielded, the terminal does not feed back the touch operation, the identification of the false touch operation can be consistent with the condition and the requirement of the application program in operation, and the accuracy of the judgment of the false touch operation is improved. In addition, in the embodiment of the invention, the false touch prevention information can be updated along with the update of the application program, so that the identification of the false touch operation is always high in accuracy.
Further, an embodiment of the present invention further provides a terminal, and the structure of the terminal is shown in fig. 10, where the terminal 1000 includes: a memory 1001, a processor 1002 and a computer program 1003 stored on the memory 1001 and operable on the processor 1002, wherein the processor 1002 executes the program 1003 to implement the steps of the anti-false touch method according to any one of the embodiments of the present invention.
Further, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the false touch prevention method provided in any one of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for preventing mistaken touch is applied to a mobile terminal with a touch screen, and is characterized by comprising the following steps:
when the touch operation is detected, judging whether the touch operation is matched with mistaken touch prevention information corresponding to an application program running in a foreground;
if the touch operation is matched with the false touch prevention information, shielding the touch operation;
before the step of judging whether the touch operation is matched with the false touch prevention information corresponding to the application program running in the foreground when the touch operation is detected, the method further comprises the following steps:
reading corresponding false touch prevention information of the application program;
calling a framework layer interface of the mobile terminal system to access a touch screen device node, and sending a setting notification to a touch screen driving module, wherein the setting notification comprises the false touch prevention information;
issuing an update notification to a touch screen processor through a touch screen driving module, wherein the update notification comprises the false touch prevention information;
before reading the corresponding anti-false touch information of the application program, the method further includes:
extracting the false touch prevention information from the installation file of the application program, and adding the false touch prevention information into the program file of the application program;
the reading of the corresponding false touch prevention information of the application program includes: reading the false touch prevention information corresponding to the application program from the program file;
after the false touch prevention information is extracted from the installation file of the application program and added to the program file of the application program, the method further comprises the following steps: and when the application program is updated, detecting the update message of the false touch prevention information, and updating the false touch prevention information corresponding to the application program according to the update message.
2. The method of claim 1, wherein the anti-false touch information comprises an anti-false touch region;
the determining whether the touch operation is matched with the false touch prevention information corresponding to the foreground-running application includes:
judging whether the area of the touch operation is matched with the false touch prevention area, and if so, determining that the touch operation is matched with false touch prevention information corresponding to an application program operated in a foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
3. The method of claim 1, wherein the false touch prevention information comprises a false touch prevention message;
the determining whether the touch operation is matched with the false touch prevention information corresponding to the foreground-running application includes:
judging whether the message generated by the touch operation is matched with the false touch prevention message, and if so, determining that the touch operation is matched with the false touch prevention message corresponding to the application program operated in the foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
4. The method according to claim 1, wherein after the step of reading the false touch prevention information corresponding to the application program from the program file, the method further comprises:
and reading the false touch classification information of the application program.
5. A mobile terminal having a touch screen, the mobile terminal comprising:
the touch operation detection module: the touch control device is used for judging whether the touch control operation is matched with mistaken touch prevention information corresponding to an application program running in a foreground or not when the touch control operation is detected;
the false touch recognition processing module: the touch control module is used for shielding the touch control operation if the touch control operation is matched with the false touch prevention information;
the mobile terminal further includes:
an identification parameter reading module: the touch control module is used for reading the false touch prevention information corresponding to the application program;
a setting notification sending module: the mobile terminal system is used for calling a framework layer interface of the mobile terminal system to access a touch screen equipment node and sending a setting notice to a touch screen driving module, wherein the setting notice contains the false touch prevention information;
the update notification issuing module: issuing an update notification to a touch screen processor through a touch screen driving module, wherein the update notification comprises the false touch prevention information;
prevent mistake and touch information and add module: the anti-false touch information is extracted from the installation file of the application program and is added to the program file of the application program;
the identification parameter reading module is also used for reading the false touch prevention information corresponding to the application program from the program file;
the mobile terminal further includes:
an update message receiving module: the update message is used for detecting the false touch prevention information when the application program is updated;
an identification parameter update module: and the application program is used for updating the false touch prevention information corresponding to the application program according to the updating message.
6. The mobile terminal of claim 5, wherein the false touch prevention information comprises a false touch prevention area;
the touch operation detection module comprises:
a first detection unit: the touch control device is used for judging whether the area of the touch control operation is matched with the false touch prevention area or not, and if the area of the touch control operation is matched with the false touch prevention area, determining that the touch control operation is matched with false touch prevention information corresponding to an application program operated in a foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
7. The mobile terminal of claim 5, wherein the false touch prevention information comprises a false touch prevention message;
the touch operation detection module comprises:
a second detection unit: the touch control module is used for judging whether the message generated by the touch control operation is matched with the false touch prevention message or not, and if the message generated by the touch control operation is matched with the false touch prevention message, determining that the touch control operation is matched with the false touch prevention message corresponding to the application program operated in the foreground; otherwise, determining that the touch operation is not matched with the false touch prevention information corresponding to the foreground running application program.
8. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
a classification information reading module: and the method is used for reading the false touch classification information of the application program.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the false touch protection method according to any one of claims 1 to 4 when executing the program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the anti-false touch method according to any one of claims 1 to 4.
CN201710611655.6A 2017-07-25 2017-07-25 False touch prevention method, terminal and computer readable storage medium Active CN107450773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710611655.6A CN107450773B (en) 2017-07-25 2017-07-25 False touch prevention method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710611655.6A CN107450773B (en) 2017-07-25 2017-07-25 False touch prevention method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107450773A CN107450773A (en) 2017-12-08
CN107450773B true CN107450773B (en) 2021-03-16

Family

ID=60488145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710611655.6A Active CN107450773B (en) 2017-07-25 2017-07-25 False touch prevention method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107450773B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900941B (en) * 2018-07-10 2020-03-31 上海易景信息科技有限公司 Earphone volume control method and device
CN109254691B (en) * 2018-09-30 2022-03-18 努比亚技术有限公司 False touch prevention method and device and storage medium
CN109597501A (en) * 2018-12-10 2019-04-09 深圳市网心科技有限公司 A kind of shortcut key management method and relevant apparatus
CN109753220A (en) * 2018-12-29 2019-05-14 努比亚技术有限公司 False-touch prevention method, mobile terminal and computer readable storage medium
CN110069161B (en) * 2019-04-01 2023-03-10 努比亚技术有限公司 Screen recognition method, mobile terminal and computer-readable storage medium
CN111309179A (en) * 2020-02-10 2020-06-19 北京小米移动软件有限公司 Touch screen control method and device, terminal and storage medium
CN113721781A (en) * 2020-05-26 2021-11-30 深圳富桂精密工业有限公司 False touch prevention method and electronic device
CN111708479B (en) * 2020-07-17 2022-09-06 腾讯科技(深圳)有限公司 Touch operation response method and device, terminal and storage medium
CN111897476B (en) * 2020-07-31 2022-02-08 维沃移动通信有限公司 False touch prevention setting method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426048A (en) * 2015-11-19 2016-03-23 广东欧珀移动通信有限公司 Method and device for preventing misoperation of application programs
CN106527818A (en) * 2016-12-16 2017-03-22 广东欧珀移动通信有限公司 Control method and device for touch operation on mobile terminal, and mobile terminal
CN106598249A (en) * 2016-12-16 2017-04-26 广东欧珀移动通信有限公司 Wrong touch prevention method and device for touch key, and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426048A (en) * 2015-11-19 2016-03-23 广东欧珀移动通信有限公司 Method and device for preventing misoperation of application programs
CN106527818A (en) * 2016-12-16 2017-03-22 广东欧珀移动通信有限公司 Control method and device for touch operation on mobile terminal, and mobile terminal
CN106598249A (en) * 2016-12-16 2017-04-26 广东欧珀移动通信有限公司 Wrong touch prevention method and device for touch key, and mobile terminal

Also Published As

Publication number Publication date
CN107450773A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107450773B (en) False touch prevention method, terminal and computer readable storage medium
EP3336678B1 (en) Method and electronic device for preventing touch button from being false triggered
CN106126077B (en) Display control method of application program icons and mobile terminal
WO2018107898A1 (en) Method and device for preventing false triggering of touch button, terminal and storage medium
KR102544780B1 (en) Method for controlling user interface according to handwriting input and electronic device for the same
WO2018107897A1 (en) Touch screen control method and device, mobile terminal, and storage medium
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
US9891818B2 (en) Adaptive touch-sensitive displays and methods
CN107678644B (en) Image processing method and mobile terminal
WO2018107901A1 (en) Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium
WO2018196699A1 (en) Method for displaying fingerprint recognition region, and mobile terminal
US10884550B2 (en) Method, mobile terminal and non-transitory computer-readable storage medium for response control of touch screen
WO2018107903A1 (en) Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium
CN107562345B (en) Information storage method and mobile terminal
CN107741820B (en) Input method keyboard display method and mobile terminal
CN104571852A (en) Icon moving method and device
CN106445392A (en) Operating method of status bar icon and mobile terminal
CN107506130B (en) Character deleting method and mobile terminal
CN106874046B (en) Application program operation method and mobile terminal
US11941910B2 (en) User interface display method of terminal, and terminal
CN106873891B (en) Touch operation method and mobile terminal
CN107087075B (en) Prompting method based on screen fingerprint identification and mobile terminal
CN111338524A (en) Application program control method and electronic equipment
WO2018177156A1 (en) Method for operating mobile terminal, and mobile terminal
US20140300558A1 (en) Electronic apparatus, method of controlling electronic apparatus, and program for controlling electronic apparatus

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