CN109271059B - Screen false touch prevention method, terminal and computer readable storage medium - Google Patents

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

Info

Publication number
CN109271059B
CN109271059B CN201810971171.7A CN201810971171A CN109271059B CN 109271059 B CN109271059 B CN 109271059B CN 201810971171 A CN201810971171 A CN 201810971171A CN 109271059 B CN109271059 B CN 109271059B
Authority
CN
China
Prior art keywords
screen
touch
pressure value
preset
touch operation
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
CN201810971171.7A
Other languages
Chinese (zh)
Other versions
CN109271059A (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.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication Technology 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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN201810971171.7A priority Critical patent/CN109271059B/en
Publication of CN109271059A publication Critical patent/CN109271059A/en
Application granted granted Critical
Publication of CN109271059B publication Critical patent/CN109271059B/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
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

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)

Abstract

The embodiment of the invention relates to the field of communication, and discloses a screen false touch prevention method, a terminal and a computer readable storage medium. The method for preventing the screen from being touched by mistake comprises the steps of obtaining a currently running application program and judging whether the currently running application program is a specific service or not. And when the currently running application program is judged to be the specific service, detecting touch operation acting on a terminal screen. And acquiring the operation type of the touch operation, and judging whether the touch operation reaches a preset condition corresponding to the operation type. And when the touch operation is judged to reach the preset condition, triggering the screen to execute the operation corresponding to the touch operation. Compared with the prior art, the method and the device can effectively prevent the terminal of the touch screen operation from being touched by mistake when a specific application program is operated, and avoid inconvenience and even economic loss brought to a user when the screen of the terminal is triggered by mistake due to the fact that the user touches the screen by mistake.

Description

Screen false touch prevention method, terminal and computer readable storage medium
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a screen false touch prevention method, a terminal and a computer readable storage medium.
Background
In recent years, with the continuous development of communication technology and the continuous advancement of science and technology, terminals such as mobile phones, notebook computers, tablet computers and the like have become essential use tools in daily life of people; the terminal is convenient to carry and simple to use, and brings great convenience to life of people.
However, the following technical defects still exist in the prior art: when a terminal capable of touch screen operation runs a specific application program, misoperation is easy to occur, and especially for a terminal capable of double-screen operation, a mode capable of effectively avoiding misoperation is not provided in the prior art.
Disclosure of Invention
An object of embodiments of the present invention is to provide a method, a terminal, and a computer-readable storage medium for preventing a touch screen from being touched by mistake, which can effectively prevent the touch screen from being touched by mistake when a terminal operating a touch screen operates a specific application program.
In order to solve the above technical problem, an embodiment of the present invention provides a method for preventing a screen from being touched by mistake, including: acquiring a currently running application program, and judging whether the currently running application program is a specific service or not; detecting touch operation acting on a terminal screen when the currently running application program is judged to be a specific service; acquiring an operation type of the touch operation, and judging whether the touch operation reaches a preset condition corresponding to the operation type; when the touch operation is judged to reach the preset condition, triggering the screen to execute the operation corresponding to the touch operation, wherein the preset condition comprises any one or any combination of the following conditions: the method comprises the steps of presetting a pressure value, presetting the number of unit touch surfaces and presetting the pressure duration.
An embodiment of the present invention further provides a terminal, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the above-mentioned screen anti-false touch method.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program realizes the false touch prevention method of the screen when being executed by a processor.
Compared with the prior art, the method and the device for detecting the touch operation of the terminal screen acquire the currently running application program and detect the touch operation acting on the terminal screen when the currently running application program is judged to be the specific service. And acquiring the operation type of the touch operation, and judging whether the touch operation reaches a preset condition corresponding to the operation type. And when the touch operation is judged to reach the preset condition, triggering the screen to execute the operation corresponding to the touch operation. That is to say, before the terminal triggers the screen to execute the touch operation under the condition of running the specific application program, the operation type of the touch operation is acquired, and when the touch operation reaches the preset condition corresponding to the operation type, the screen is triggered to execute the operation corresponding to the touch operation, so that the terminal with touch screen operation can effectively prevent mistaken touch when running the specific application program, and inconvenience and even economic loss brought to a user when the terminal screen is mistakenly triggered due to mistaken touch of the user on the screen are avoided.
In addition, when the screen includes two or more screens, before the detecting a touch operation applied to the terminal screen when the currently running application is a specific service, the method further includes: defining a screen running the specific service as a target screen; specifically, when the touch operation acting on the terminal screen is detected, the touch operation acting on the target screen is detected; and when the trigger screen executes the operation corresponding to the touch operation, specifically triggering the target screen to display the operation corresponding to the touch operation. For the multi-screen terminal, the screen running a specific service can be defined as the target screen through the mode, a specific implementation mode for preventing the mistaken touch operation on the target screen is provided, and the universality of the application is improved.
In addition, a screen on which the specific service is running is defined as a target screen by: and defining the screen for operating the specific service as a target screen according to the name of the specific service, the operation state of the screen and the identification of the screen. The method and the device for determining the target screen define the screen running the specific service as the target screen, and determine the target screen according to the corresponding relation between the running application program and the screen, so that the obtained target screen is more accurate.
In addition, when the operation type of the touch operation is a click operation, it is determined that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation by the following method: the touch surfaces included in the continuous pressed area of the screen reach N unit touch surfaces, and the pressure values of the N unit touch surfaces reach a first preset pressure value, wherein N is a positive integer; in the N unit touch surfaces, the pressure values of at least M unit touch surfaces reach a second preset pressure value, M is a positive integer and is smaller than N, and the first preset pressure value is smaller than the second preset pressure value; the pressed time of the screen reaches the preset pressed time; and in the operation corresponding to the touch operation executed by the trigger screen, specifically, the screen is triggered to execute the operation corresponding to the screen clicking. The application provides a specific implementation mode of click operation.
In addition, when the operation type of the touch operation is a sliding operation, it is determined that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation by: when the pressure value of the screen reaches a first preset pressure value, counting the pressure values of the continuous K rows/lines of unit touch surfaces, wherein at least one unit touch surface in each row/line of the K rows/lines of unit touch surfaces reaches a second preset pressure value; the first preset pressure value is smaller than the second preset pressure value, both K and N are positive integers, and N is smaller than K; and in the operation of executing the operation corresponding to the operation type by the trigger screen, specifically triggering the screen to execute the operation corresponding to the sliding of the screen. The present application provides a specific implementation of a sliding operation.
In addition, when the operation type of the touch operation is a multi-point operation, it is determined that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation by: the touch surfaces contained in at least two pressed areas on the screen reach N unit touch surfaces, and the pressure values of the N unit touch surfaces of the two pressed areas reach a first preset pressure value, wherein N is a positive integer; in the N unit touch surfaces of the two pressed areas, the pressure values of at least M unit touch surfaces reach a second preset pressure value, M is a positive integer, M is smaller than N, and the first preset pressure value is smaller than the second preset pressure value; the minimum distance between the pressure values in the two pressure areas and the second preset pressure value is greater than or equal to the preset distance; and in the operation of executing the operation corresponding to the operation type by the trigger screen, specifically, triggering the screen to execute the operation corresponding to the screen sliding in multiple points. The application provides a specific implementation mode of screen zooming operation.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a flowchart of a false touch prevention method of a screen according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method of preventing false touches on a screen according to a second embodiment of the present invention;
fig. 3 is a view showing an example of a screen being pressed when a screen is slid left and right according to a second embodiment of the present invention;
fig. 4 is a view showing an example of a screen being pressed when sliding the screen up and down according to the second embodiment of the present invention;
fig. 5 is a diagram illustrating a screen pressed state when a screen is multi-manipulated according to a second embodiment of the present invention;
fig. 6 is a block diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The first embodiment of the invention relates to a method for preventing a screen from being touched by mistake. The core of the embodiment is that the method for preventing the mistaken touch of the screen comprises the following steps: acquiring a currently running application program, and judging whether the currently running application program is a specific service or not; detecting touch operation acting on a terminal screen when the currently running application program is judged to be a specific service; acquiring an operation type of the touch operation, and judging whether the touch operation reaches a preset condition corresponding to the operation type; and when the touch operation is judged to reach the preset condition, triggering the screen to execute the operation corresponding to the touch operation. The operation type of the touch operation is acquired before the touch operation is executed by triggering the screen under the condition that the terminal runs the specific application program, and when the touch operation reaches the preset condition corresponding to the operation type, the screen is triggered to execute the operation corresponding to the touch operation, so that the terminal with touch screen operation can effectively prevent mistaken touch when running the specific application program, and inconvenience and even economic loss brought to a user when the terminal screen is mistakenly triggered due to mistaken touch of the user on the screen are avoided.
The implementation details of the method for preventing the screen from being touched by mistake in the present embodiment are specifically described below, and the following description is only provided for the convenience of understanding, and is not necessary for implementing the present solution.
As shown in fig. 1, the method for preventing a screen from being touched by mistake in the present embodiment specifically includes:
step 101, acquiring a currently running application program.
Specifically, when an application runs, the operating system may record a name of the application, and the terminal according to this embodiment may obtain the name of the application recorded in the operating system, and determine the currently running application according to the obtained name of the application. In addition, the name of the application in this step may also be, but is not limited to, the package name of the application.
Step 102, determining whether the application program is a specific service. If yes, go to step 103; otherwise, return to step 101.
It should be noted that, in the present embodiment, a white list may be created in advance, and the white list is used for storing the name of at least one application program. And if the name of the currently running application program exists in the white list, judging that the currently running application program is the specific service. The application program in this step can be, but is not limited to, any one of the following or any combination thereof: video calls, movie playback or browsing pictures, etc.
In particular, the above white list may be created in the server. In this embodiment, when determining whether the application is a specific service, the terminal may specifically send request information carrying the application name to the server. When receiving request information sent by a terminal, a server analyzes the request information to obtain the name of an application program; and searching whether the name of the application program obtained by the analysis exists in the white list. If so, the name of the currently running application is said to be present in the list. At this time, the server transmits indication information indicating that the currently running application is a specific service to the terminal. And when the terminal receives the indication information, judging that the currently running application program is the specific service. Because the information in the server is not lost due to the power failure/restart of the terminal, the white list and the names of the application programs stored in the white list can be stably stored in the server.
Step 103, detecting a touch operation acting on the terminal screen, and acquiring an operation type of the touch operation.
The operation type in this embodiment may be a click screen, a slide screen, a zoom screen, or the like. Specifically, when a user performs a touch operation on a terminal screen, the terminal may receive data corresponding to the touch operation through the screen, and analyze the received data to obtain an operation type of the touch operation. The following description will be made by taking a click operation as an example: for example, when a user performs a click operation on a terminal screen, the terminal analyzes data corresponding to the touch operation to obtain that the operation type of the touch operation is a click.
And 104, judging whether the touch operation reaches a preset condition corresponding to the operation type. If yes, go to step 105; otherwise, return to step 103. Wherein the preset condition comprises any one or any combination of the following conditions: the method comprises the steps of presetting a pressure value, presetting the number of unit touch surfaces and presetting the pressure duration. In addition, for the touch screen, the touch screen is composed of a plurality of touch ICs (integrated circuits, which are the general term for semiconductor device products). Wherein, the unit touch surface refers to a minimum touch area of one screen touch IC.
In this embodiment, a one-to-one correspondence relationship between each operation type and a preset condition may be stored in advance in the terminal. For example, when the operation type is a click operation, the preset conditions corresponding to the click operation are a first preset pressure value, a first preset unit number of touch surfaces, and a first preset pressed time length, which are not listed here.
For example, if the obtained operation type is a click operation. At this time, the pressure value generated when the user clicks the screen, the number of unit touch surfaces contacted, and the pressed time length of the screen may be detected. When the pressure value generated when a user clicks the screen reaches a first preset pressure value, the number of the contacted unit touch surfaces reaches the first preset unit touch surface number, and the pressing time of the screen reaches the preset pressing time, it can be judged that the touch operation reaches the preset condition corresponding to the operation type.
And 105, triggering the screen to execute the operation corresponding to the touch operation.
Compared with the prior art, before the terminal of the embodiment triggers the screen to execute the touch operation under the condition of running the specific application program, the operation type of the touch operation is firstly obtained, and when the touch operation reaches the preset condition corresponding to the operation type, the screen is triggered to execute the operation corresponding to the touch operation, so that the terminal with touch screen operation can effectively prevent mistaken touch when running the specific application program, and inconvenience and even economic loss brought to a user when the terminal screen is triggered mistakenly due to mistaken touch of the user on the screen are avoided.
A second embodiment of the present invention relates to a method for preventing a screen from being touched by mistake. The embodiment is further improved on the basis of the first embodiment, and the specific improvement is as follows: in this embodiment, when the screen includes two or more screens, the screen running a specific service may be subjected to an anti-misoperation.
As shown in fig. 2, the method for preventing a false touch on a screen specifically includes:
step 201, acquiring a currently running application program.
Specifically, when an application runs, the operating system may record a name of the application, and the terminal according to this embodiment may obtain the name of the application recorded in the operating system, and determine the currently running application according to the obtained name of the application. In addition, the name of the application in this step may also be, but is not limited to, the package name of the application.
Step 202, determine whether the application is a specific service. If yes, go to step 203; otherwise, return to step 201.
It should be noted that, in the present embodiment, a white list may be created in advance, and the white list is used for storing the name of at least one application program. And if the name of the currently running application program exists in the white list, judging that the currently running application program is the specific service. The application program in this step can be, but is not limited to, any one of the following or any combination thereof: video calls, movie playback or browsing pictures, etc.
In particular, the above white list may be created in the server. In this embodiment, when determining whether the application is a specific service, the terminal may specifically send request information carrying the application name to the server. When receiving request information sent by a terminal, a server analyzes the request information to obtain the name of an application program; and searching whether the name of the application program obtained by the analysis exists in the white list. If so, the name of the currently running application is said to be present in the list. At this time, the server transmits indication information indicating that the currently running application is a specific service to the terminal. And when the terminal receives the indication information, judging that the currently running application program is the specific service. Because the information in the server is not lost due to the power failure/restart of the terminal, the white list and the names of the application programs stored in the white list can be stably stored in the server.
And step 203, defining the screen for running the specific service as a target screen according to the name of the specific service, the running state of the screen and the identification of the screen. The method and the device for determining the target screen define the screen running the specific service as the target screen, and determine the target screen according to the corresponding relation between the running application program and the screen, so that the obtained target screen is more accurate.
In this embodiment, when the screen includes two or more screens, the screen on which the specific service is running is defined as a target screen. For the multi-screen terminal, the screen running a specific service can be defined as the target screen through the mode, a specific implementation mode for preventing the mistaken touch operation on the target screen is provided, and the universality of the application is improved.
Step 204, detecting a touch operation acting on the target screen, and acquiring an operation type of the touch operation.
The operation type in this embodiment may be a click screen, a slide screen, a zoom screen, or the like. Specifically, when a user performs a touch operation on a terminal screen, the terminal may receive data corresponding to the touch operation through the screen, and analyze the received data to obtain an operation type of the touch operation. The following description will be made by taking a click operation as an example: for example, when a user performs a click operation on a terminal screen, the terminal analyzes data corresponding to the touch operation to obtain that the operation type of the touch operation is a click.
Step 205, determine whether the touch operation meets a preset condition corresponding to the operation type. If so, go to step 206; otherwise, return to step 204. Wherein the preset condition comprises any one or any combination of the following conditions: the method comprises the steps of presetting a pressure value, presetting the number of unit touch surfaces and presetting the pressure duration. In addition, for the touch screen, the touch screen is composed of a plurality of touch ICs (integrated circuits, which are the general term for semiconductor device products). Wherein, the unit touch surface refers to a minimum touch area of one screen touch IC.
In this embodiment, a one-to-one correspondence relationship between each operation type and a preset condition may be stored in advance in the terminal. Such as:
when the operation type obtained in step 204 is a click operation, it may be determined that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation in the following manner:
the touch surface included in the continuous pressed area of the screen reaches N unit touch surfaces, and the pressure value of the N unit touch surfaces reaches a first preset pressure value, wherein N is a positive integer. And in the N unit touch surfaces, the pressure values of at least M unit touch surfaces reach a second preset pressure value, wherein M is a positive integer. And M is smaller than N, and the first preset pressure value is smaller than the second preset pressure value. And the pressed time of the screen reaches the preset pressed time. The present embodiment does not limit the specific values of N and M. Specific examples are as follows: the continuous pressed area of the screen at least comprises 4 unit touch surfaces, and the pressure applied to each unit touch surface is at least 600 Pa. At least 2 unit touch surfaces in the 4 unit touch surfaces are subjected to pressure of 900 Pa. The pressed time period of the screen reaches 0.5 second. At this time, it may be determined that a preset condition corresponding to the click operation is reached when the operation screen is clicked. Here, the first preset pressure value and the second preset pressure value are not limited, and the first preset pressure value and the second preset pressure value can be set according to actual design requirements.
Secondly, when the operation type acquired in step 204 is a sliding operation, it may be determined that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation in the following manner:
and when the pressure value on the screen reaches a first preset pressure value, counting the pressure values on the continuous K rows/lines of unit touch surfaces. Among the pressure values of the K columns/rows of unit touch surfaces, at least one pressure value of the unit touch surface in each column/row in the N columns/rows reaches a second preset pressure value. The first preset pressure value is smaller than the second preset pressure value, K and N are positive integers, and N is smaller than K. The specific values of K and N are not limited in this embodiment. Specific examples are as follows, a: as shown in fig. 3, when the pressure value applied to the screen reaches 700 pa, the pressure values applied to the touch surface of 5 continuous columns of units are counted. For example, R4 in fig. 3, i.e., the 4 th column, has a point where the pressure value is 700 pa (the point of the first preset pressure value may be a point shown by p in fig. 3), and the pressed direction of the screen is from left to right, then at least R8 is counted. I.e. from column 4 to column 8. Of the pressure values received by the continuous 5 columns of unit touch surfaces, at least in 4 columns, at least one unit touch surface in each column receives a pressure value of 700 pa (the point of the second preset pressure value may be the point shown as a in fig. 3). The operation type of the touch operation may be determined to be a left-right sliding operation. At this time, it may be determined that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation. Here, the first preset pressure value and the second preset pressure value are not limited, and the first preset pressure value and the second preset pressure value can be set according to actual design requirements. B: as shown in fig. 4, when the pressure value applied to the screen reaches 700 pa, the pressure values applied to the continuous 5-line unit touch surface are counted. For example, T3 in fig. 4, that is, the third row, has a point where the pressure value is 700 pa (the point of the first preset pressure value may be the point shown by p in fig. 4), and the pressure direction of the screen is from top to bottom, then at least T7 is counted. I.e. from line 3 to line 7. Of the pressure values applied to the 5 continuous rows of unit touch surfaces, at least in 4 rows, at least one unit touch surface in each row has a pressure value of 700 pa (the point of the second preset pressure value may be a point shown in a in fig. 4). The operation type of the touch operation may be determined as a vertical and horizontal sliding operation. At this time, it can be determined that the preset condition corresponding to the slide operation is reached when the operation screen is slid. Here, the first preset pressure value and the second preset pressure value are not limited, and the first preset pressure value and the second preset pressure value can be set according to actual design requirements.
Thirdly, when the operation type acquired in step 204 is a multi-point operation, it may be determined that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation in the following manner:
the touch surfaces contained in at least two pressed areas on the screen reach N unit touch surfaces, the pressure values of the N unit touch surfaces of the two pressed areas reach a first preset pressure value, and N is a positive integer. And in the N unit touch surfaces of the two pressed areas, the pressure value of at least M unit touch surfaces reaches a second preset pressure value, wherein M is a positive integer. And M is smaller than N, and the first preset pressure value is smaller than the second preset pressure value. And the minimum distance between the pressure values in the two pressure areas and the second preset pressure value is greater than or equal to the preset distance. The present embodiment does not limit the specific values of N and M. Specific examples are as follows: as shown in fig. 5, there are at least two touch surfaces included in the pressed area on the screen, each of which has up to 4 unit touch surfaces. And the pressure values of the 4 unit touch surfaces of the two pressed areas reach the first preset pressure value of 600 Pa (the point of the first preset pressure value can be the point shown by p in FIG. 5). Of the 4 unit touch surfaces of the two pressed areas, the pressure value of at least 2 unit touch surfaces reaches a second preset pressure value of 900 pa (the point of the second preset pressure value may be the point shown as a in fig. 5). And the minimum distance between the two pressure areas when the pressure value reaches 900 Pa is larger than or equal to the preset distance. At this time, it can be determined that the preset condition corresponding to the multi-point operation is reached at the time of the multi-point operation screen. Here, the first preset pressure value and the second preset pressure value are not limited, and the first preset pressure value and the second preset pressure value can be set according to actual design requirements.
And step 206, triggering the target screen to display the operation corresponding to the touch operation.
It is worth mentioning that, when the operation type obtained in step 204 is a click operation, this step specifically triggers the screen to execute an operation corresponding to the click on the screen. When the operation type obtained in step 204 is a sliding operation, this step specifically triggers the screen to execute an operation corresponding to sliding the screen. When the operation type obtained in step 204 is a multi-point operation, this step specifically triggers the screen to execute an operation corresponding to multi-point sliding of the screen.
Compared with the prior art, before the terminal of the embodiment triggers the screen to execute the touch operation under the condition of running the specific application program, the operation type of the touch operation is firstly obtained, and when the touch operation reaches the preset condition corresponding to the operation type, the screen is triggered to execute the operation corresponding to the touch operation, so that the terminal with touch screen operation can effectively prevent mistaken touch when running the specific application program, and inconvenience and even economic loss brought to a user when the terminal screen is triggered mistakenly due to mistaken touch of the user on the screen are avoided.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A third embodiment of the invention relates to a terminal, as shown in fig. 6, comprising at least one processor 61; and a memory 62 communicatively coupled to the at least one processor 61. Wherein the memory 62 stores instructions executable by the at least one processor 61, the instructions being executed by the at least one processor 61 to enable the at least one processor 61 to execute the false touch prevention method of the screen of the first, second or third embodiment.
Where the memory 62 and the processor 61 are coupled in a bus, the bus may comprise any number of interconnected buses and bridges, the buses coupling together one or more of the various circuits of the processor 61 and the memory 62. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 61 is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 61.
The processor 61 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 62 may be used to store data used by processor 61 in performing operations.
It should be understood that the present embodiment is an example of the apparatus corresponding to the first, second, or third embodiment, and may be implemented in cooperation with the first, second, or third embodiment. The related technical details mentioned in the first, second or third embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first, second, or third embodiment.
Compared with the prior art, before the terminal of the embodiment triggers the screen to execute the touch operation under the condition of running the specific application program, the operation type of the touch operation is firstly obtained, and when the touch operation reaches the preset condition corresponding to the operation type, the screen is triggered to execute the operation corresponding to the touch operation, so that the terminal with touch screen operation can effectively prevent mistaken touch when running the specific application program, and inconvenience and even economic loss brought to a user when the terminal screen is triggered mistakenly due to mistaken touch of the user on the screen are avoided.
A fourth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program, when executed by a processor, implements the method of preventing false touches of the screen of the first, second, or third embodiment.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (7)

1. A method for preventing a screen from being touched by mistake is characterized by comprising the following steps:
acquiring a currently running application program, and judging whether the currently running application program is a specific service or not;
detecting touch operation acting on a terminal screen when the currently running application program is judged to be a specific service;
acquiring operation types of the touch operation, and judging whether the touch operation reaches preset conditions corresponding to the operation types according to the one-to-one correspondence relationship between each operation type of the touch operation and the preset conditions;
when the touch operation is judged to reach the preset condition, triggering the screen to execute the operation corresponding to the touch operation, wherein the operation type of the touch operation comprises a click operation, a sliding operation or a multi-point operation, and the preset condition comprises any one or any combination of the following conditions: presetting a pressure value, presetting the number of unit touch surfaces and presetting the pressure duration;
when the operation type of the touch operation is a click operation, judging that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation in the following mode:
the touch surfaces included in the continuous pressed area of the screen reach N unit touch surfaces, and the pressure values of the N unit touch surfaces reach a first preset pressure value, wherein N is a positive integer;
in the N unit touch surfaces, the pressure values of at least M unit touch surfaces reach a second preset pressure value, M is a positive integer and is smaller than N, and the first preset pressure value is smaller than the second preset pressure value;
the pressed time of the screen reaches the preset pressed time;
the triggering screen executes the operation corresponding to the touch operation, and specifically triggers the screen to execute the operation corresponding to the screen clicking;
or when the operation type of the touch operation is a sliding operation, judging that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation in the following mode:
when the pressure value of the screen reaches a first preset pressure value, counting the pressure values of the continuous K rows/lines of unit touch surfaces, wherein at least one unit touch surface in each row/line reaches a second preset pressure value in at least N rows/lines of the pressure values of the K rows/lines of unit touch surfaces; the first preset pressure value is smaller than the second preset pressure value, both K and N are positive integers, and N is smaller than K;
the trigger screen executes the operation corresponding to the operation type, and specifically triggers the screen to execute the operation corresponding to the sliding of the screen;
or when the operation type of the touch operation is a multi-point operation, determining that the touch operation of the screen reaches a preset condition corresponding to the operation type of the touch operation by the following method:
the touch surfaces contained in at least two pressed areas on the screen reach N unit touch surfaces, and the pressure values of the N unit touch surfaces of the two pressed areas reach a first preset pressure value, wherein N is a positive integer;
in the N unit touch surfaces of the two pressed areas, the pressure values of at least M unit touch surfaces reach a second preset pressure value, M is a positive integer, M is smaller than N, and the first preset pressure value is smaller than the second preset pressure value; the minimum distance between the pressure values in the two pressure areas and the second preset pressure value is greater than or equal to the preset distance;
and in the operation executed by the trigger screen corresponding to the operation type, specifically, the trigger screen is used for executing the operation corresponding to the multi-point operation screen.
2. The method for preventing the screen from being touched by mistake according to claim 1, wherein when the screen comprises two or more screens, before the detecting the touch operation applied to the terminal screen when the currently running application is a specific service, the method further comprises:
defining a screen running the specific service as a target screen;
specifically, when the touch operation acting on the terminal screen is detected, the touch operation acting on the target screen is detected;
and when the trigger screen executes the operation corresponding to the touch operation, specifically triggering the target screen to display the operation corresponding to the touch operation.
3. The method of preventing a false touch of a screen according to claim 2, wherein the screen on which the specific service is run is defined as a target screen by:
and defining the screen for operating the specific service as a target screen according to the name of the specific service, the operation state of the screen and the identification of the screen.
4. The method of preventing false touch of a screen according to claim 1 or 2, wherein a white list for storing a name of at least one application program is created in advance;
judging whether the currently running application program is a specific service, specifically comprising:
and if the name of the currently running application program exists in the white list, judging that the currently running application program is the specific service.
5. The screen false touch prevention method of claim 1 or 2, wherein a currently running application is acquired by:
and determining the currently running application program according to the name of the currently running application program.
6. A terminal, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a false touch prevention method of a screen as claimed in any one of claims 1 to 5.
7. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method of preventing a false touch of a screen according to any one of claims 1 to 5.
CN201810971171.7A 2018-08-24 2018-08-24 Screen false touch prevention method, terminal and computer readable storage medium Active CN109271059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810971171.7A CN109271059B (en) 2018-08-24 2018-08-24 Screen false touch prevention method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810971171.7A CN109271059B (en) 2018-08-24 2018-08-24 Screen false touch prevention method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109271059A CN109271059A (en) 2019-01-25
CN109271059B true CN109271059B (en) 2021-11-16

Family

ID=65154253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810971171.7A Active CN109271059B (en) 2018-08-24 2018-08-24 Screen false touch prevention method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109271059B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020257979A1 (en) * 2019-06-24 2020-12-30 深圳市柔宇科技有限公司 Method for preventing accidental touch, electronic apparatus, and non-volatile computer-readable storage medium
CN112907926B (en) * 2019-12-04 2022-07-29 惠州视维新技术有限公司 Control method of remote control equipment, storage medium and remote control equipment
CN113138662A (en) * 2020-01-19 2021-07-20 珠海格力电器股份有限公司 Method and device for preventing mistaken touch of touch equipment, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073439A (en) * 2009-11-20 2011-05-25 英业达股份有限公司 Electronic device and prompting method of touch control screen thereof
CN105426048A (en) * 2015-11-19 2016-03-23 广东欧珀移动通信有限公司 Method and device for preventing misoperation of application programs
CN106406610A (en) * 2016-09-13 2017-02-15 努比亚技术有限公司 Error touch preventing method and system
CN106708520A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Touch screen control method and device of mobile terminal and mobile terminal
CN107450778A (en) * 2017-09-14 2017-12-08 维沃移动通信有限公司 A kind of false touch recognition methods and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10613673B2 (en) * 2016-08-25 2020-04-07 Parade Technologies, Ltd. Signal conditioning on touch-enabled devices using 3D touch
CN106775087B (en) * 2016-12-16 2019-12-31 Oppo广东移动通信有限公司 Touch screen control method and device of mobile terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073439A (en) * 2009-11-20 2011-05-25 英业达股份有限公司 Electronic device and prompting method of touch control screen thereof
CN105426048A (en) * 2015-11-19 2016-03-23 广东欧珀移动通信有限公司 Method and device for preventing misoperation of application programs
CN106406610A (en) * 2016-09-13 2017-02-15 努比亚技术有限公司 Error touch preventing method and system
CN106708520A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Touch screen control method and device of mobile terminal and mobile terminal
CN107450778A (en) * 2017-09-14 2017-12-08 维沃移动通信有限公司 A kind of false touch recognition methods and mobile terminal

Also Published As

Publication number Publication date
CN109271059A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN109271059B (en) Screen false touch prevention method, terminal and computer readable storage medium
CN108804299B (en) Application program exception handling method and device
EP2985723A1 (en) Method for adding application superscript and device and device thereof
CN107390983B (en) Service instruction execution method, client and storage medium
CN110262918B (en) Process crash analysis method and device, distributed equipment and storage medium
CN103279278A (en) Method and device for acquiring detailed information of icon in terminal interface
CN104992094A (en) Terminal operation method and terminal
CN106775367A (en) The operating method and device of terminal touch-control
CN111263176A (en) Loading method, device, terminal, server and storage medium for live broadcast room page
US20190385030A1 (en) Page analysis method and apparatus
CN110968553B (en) Ordering method and device for elements in directory tree
TW201516653A (en) Method, apparatus and computer program product for debugging and error prevention
CN115445212A (en) Game gift bag pushing method and device, computer equipment and storage medium
CN103869980A (en) Mobile terminal and fingerprint identification-based operation object running method thereof
CN110209557B (en) User operation recording and restoring method, device and equipment and readable storage medium
CN110851334A (en) Flow statistical method, electronic device, system and medium
CN110046009B (en) Recording method, recording device, server and readable storage medium
CN109240664B (en) Method and terminal for collecting user behavior information
WO2017067165A1 (en) Method and apparatus for recognising multi-finger sliding gesture and terminal device
CN108377357B (en) Visual platform call method and device
CN107766232B (en) Plug-in management method and device
CN106657316B (en) Message withdrawing method and device
CN112306348B (en) Method and device for identifying touch operation and electronic equipment
CN107621903B (en) Double-touch-screen equipment and response control method thereof
CN112817514A (en) Content extraction method and device

Legal Events

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