Touch screen suppression method, device, computer equipment and storage medium

By obtaining the boundary distance and touch event characteristics of the touch screen display, edge suppression instructions are generated to suppress false touches, solving the problem of false touches on the touch screen edge during one-handed operation and improving the touch screen operation accuracy and user experience.

CN114661182BActive Publication Date: 2025-09-23SHENZHEN AIXIESHENG TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210100599.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-27
Publication Date
2025-09-23
Estimated Expiration
2042-01-27

AI Technical Summary

Technical Problem

Existing touch screen suppression methods have limitations in handling false touches, especially when used with one hand. The base of the hand can easily touch the edge of the screen by mistake, leading to false operations such as clicking and sliding, which affects the user experience.

Method used

By obtaining the boundary distance between the effective touch area of ​​the touch screen display screen and the display screen boundary, an edge suppression instruction is generated to suppress touch events in the invalid touch area, and the edge distance and touch area or capacitance value are used to judge false touches and generate corresponding suppression instructions.

Benefits of technology

It effectively reduces accidental touch events on the edge of the touch screen and improves the accuracy and user experience of one-handed operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114661182B_ABST
    Figure CN114661182B_ABST
Patent Text Reader

Abstract

The present application relates to a touch screen suppression method, apparatus, computer equipment, and storage medium. The touch screen suppression method includes: respectively obtaining the boundary distances from each edge of the effective touch area of ​​the touch screen display screen to the display screen boundary, the display screen is divided into an effective touch area and an invalid touch area, and the effective touch area has multiple edges; when the first boundary distance of the first edge is less than a preset threshold, an edge suppression instruction is generated, the first edge is one of the multiple edges, and the first boundary distance is the boundary distance corresponding to the first edge; wherein the edge suppression instruction is used to suppress touch events in the invalid touch sub-area, the invalid touch sub-area is the invalid touch area between the second edge and the display screen boundary opposite to the second edge, and the second edge is set opposite to the first edge. The touch screen suppression method can reduce the response of the touch screen edge to the false touch event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of touch screen technology, and in particular to a touch screen suppression method, device, computer equipment, and storage medium. Background Art

[0002] With the development of technology in the field of touch screens, the screen size of touch screens is getting larger and larger, the screen-to-body ratio is getting higher and higher, and the area available for user touch operation is also wider. However, people usually use one-handed operation in most cases when using mobile phones. For example, when making a call, when holding the phone in the right hand and clicking the left button with the thumb, the base of the right hand can easily come into contact with the touch screen, resulting in erroneous operations such as clicking and sliding the screen, affecting the user experience.

[0003] The existing anti-touch suppression method generally determines whether the touch needs to be responded to based on the touch event when the touch event occurs, which has certain limitations. Summary of the Invention

[0004] Based on this, it is necessary to provide a touch screen suppression method, apparatus, computer device and storage medium that can reduce touch events at the edge of the touch screen in response to mis-touches in order to address the above technical issues.

[0005] A touch screen suppression method, comprising:

[0006] respectively obtaining the boundary distances from each edge of the effective touch area of ​​the touch screen display screen to the boundary of the display screen, wherein the display screen is divided into an effective touch area and an invalid touch area, and the effective touch area has multiple edges;

[0007] When a first boundary distance of a first edge is less than a preset threshold, an edge suppression instruction is generated, the first edge is one of the multiple edges, and the first boundary distance is a boundary distance corresponding to the first edge;

[0008] The edge suppression instruction is used to suppress touch events in the invalid touch sub-area, which is an invalid touch area between the second edge and the display screen boundary opposite to the second edge, and the second edge is set opposite to the first edge.

[0009] In one embodiment, when the first boundary distance of the first edge is less than a preset threshold, generating an edge suppression instruction includes:

[0010] When a first boundary distance corresponding to the first edge is less than a preset threshold, obtaining a second distance between the second edge and a display screen boundary opposite to the second edge;

[0011] When the second distance is greater than or equal to a preset threshold, an edge suppression instruction is generated.

[0012] In one embodiment, the method further comprises:

[0013] When the second distance is less than a preset threshold and a touch event is detected in the invalid touch sub-area, acquiring a touch area value of the touch event;

[0014] Generate an edge suppression instruction based on the touch area value and the preset area threshold.

[0015] In one embodiment, when the second distance is less than a preset threshold and a touch event is detected in the invalid touch sub-area, obtaining a touch area value of the touch event includes:

[0016] When the second distance is less than the preset threshold, configuring a first touch capacitance threshold for the invalid touch sub-area;

[0017] When the touch capacitance value of the touch event is greater than the first touch capacitance threshold, a touch area value of the touch event is acquired.

[0018] In one embodiment, generating an edge suppression instruction based on the touch area value and a preset area threshold includes:

[0019] When the touch area value is greater than or equal to the area threshold, an edge suppression instruction is generated.

[0020] In one embodiment, the method further comprises:

[0021] When the distances from each edge of the effective touch area of ​​the touch screen display screen to the display screen boundary are greater than or equal to a preset threshold, setting a second touch capacitance threshold for the ineffective touch sub-area;

[0022] The second touch capacitance threshold is smaller than the first touch capacitance threshold. When the touch capacitance value of the touch event is greater than or equal to the second touch capacitance threshold, a touch event response instruction is generated. The touch event response instruction is used to instruct the invalid touch area to respond to the touch event.

[0023] A control device for touch screen edge suppression, comprising:

[0024] An acquisition module, configured to respectively acquire the boundary distances from each edge of an effective touch area of ​​the touch screen display screen to the boundary of the display screen, wherein the display screen is divided into an effective touch area and an invalid touch area, and the effective touch area has multiple edges;

[0025] an instruction generating module, configured to generate an edge suppression instruction when a first boundary distance of a first edge is less than a preset threshold, the first edge being one of the plurality of edges, and the first boundary distance being a boundary distance corresponding to the first edge;

[0026] The edge suppression instruction is used to suppress touch events in the invalid touch sub-area, which is an invalid touch area between the second edge and the display screen boundary opposite to the second edge, and the second edge is set opposite to the first edge.

[0027] A computer device includes a memory and a processor, wherein the memory stores a computer program and the processor implements the steps of the above method when executing the computer program.

[0028] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.

[0029] A computer program product includes a computer program, which implements the steps of the above method when executed by a processor.

[0030] The touch screen suppression method includes: respectively obtaining the boundary distances from each edge of the effective touch area of ​​the touch screen display screen to the display screen boundary, the display screen is divided into an effective touch area and an invalid touch area, and the effective touch area has multiple edges; when the first boundary distance of a first edge is less than a preset threshold, generating an edge suppression instruction, the first edge is one of the multiple edges, and the first boundary distance is the boundary distance corresponding to the first edge; wherein the edge suppression instruction is used to suppress touch events in an invalid touch sub-area, the invalid touch sub-area being an invalid touch area between a second edge and the display screen boundary opposite to the second edge, the second edge being opposite to the first edge. The present application obtains the boundary distance between the effective touch area in the display screen and the display screen boundary, and when the boundary distance of the first edge in the effective touch area is less than a preset threshold, generates a suppression instruction to suppress touch events in the second edge opposite to the first edge and the invalid touch sub-area between the second edge and the display screen boundary, thereby reducing the occurrence of false touch events on the edge of the touch screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the conventional technology, the following briefly introduces the drawings required for use in the embodiments or the conventional technology descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 FIG1 is a flow chart of a touch screen suppression method according to an embodiment;

[0033] Figure 2A schematic diagram of the boundary distances between the edges of the effective touch area of ​​a touch screen display screen and the boundary of the display screen in one embodiment;

[0034] Figure 3 A schematic diagram of an invalid touch sub-area in one embodiment;

[0035] Figure 4 This is a second flow chart of a touch screen suppression method according to an embodiment;

[0036] Figure 5 This is a third flow chart of a touch screen suppression method according to an embodiment;

[0037] Figure 6 This is a fourth flow chart of a touch screen suppression method according to an embodiment;

[0038] Figure 7 This is a fifth flow chart of a touch screen suppression method according to an embodiment;

[0039] Figure 8 This is a sixth flow chart of a touch screen suppression method according to an embodiment;

[0040] Figure 9 FIG7 is a seventh flow chart of a touch screen suppression method according to an embodiment;

[0041] Figure 10 A schematic structural diagram of a touch screen suppression device in one embodiment;

[0042] Figure 11 FIG. 1 is a schematic diagram of the structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0043] To facilitate understanding of the present application, a more comprehensive description of the present application will be provided below with reference to the accompanying drawings. The drawings illustrate embodiments of the present application. However, the present application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to make the disclosure of the present application more thorough and comprehensive.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application.

[0045] It will be appreciated that the terms "first," "second," etc. used herein may be used herein to describe various edges, but these edges are not limited by these terms. These terms are only used to distinguish a first edge from another edge.

[0046] It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element or connected to the other element through an intervening element. In addition, the "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc., if there is transmission of electrical signals or data between the connected objects.

[0047] As used herein, the singular forms "a," "an," and "the" may also include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include," "comprising," "having," and the like specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof.

[0048] Throughout this specification, references to terms such as "some embodiments," "other embodiments," and "desired embodiments" indicate that a particular feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. Although these terms are used interchangeably throughout this specification, they do not necessarily refer to the same embodiment or example.

[0049] In one embodiment, Figure 1 As shown, a schematic flow chart of a touch screen suppression method is provided, and the method includes steps S100 to S200.

[0050] Step S100 , respectively obtaining the boundary distances from each edge of the effective touch area of ​​the touch screen display screen to the boundary of the display screen. The display screen is divided into an effective touch area and an ineffective touch area. The effective touch area has multiple edges.

[0051] Among them, the shape of the touch screen can be rectangular, square, circular or rectangular with rounded corners, etc. Therefore, the shape of the touch screen of the present application can be limited according to actual needs and is not limited in this application. In addition, in order to fit the display of the touch screen, the display screen of the touch screen is usually adapted to the shape of the touch screen. For example, if the touch screen is rectangular, the display screen is usually designed to be rectangular to improve the display utilization of the touch screen; if the touch screen is circular, the display screen is also designed to be circular. When the display screen is displayed by the touch screen, the display screen is divided into an effective touch area and an invalid touch area according to the display screen currently displayed. Among them, the effective touch area refers to receiving and responding to the user's touch events, and the invalid touch area refers to the area that needs to judge the touch event compared to the effective touch area, and take response or suppression measures based on the judgment result. For example, when the mobile phone is in the unlocking interface, it will be divided into unlocking areas. For example, when "swipe up to unlock", the area that allows sliding to unlock can be the effective touch area of ​​this application. However, for convenient settings, there can be "photo" buttons and "lighting" buttons on both sides of the unlocking area, as well as other areas that can be touched again. Then, except for the unlocking area, other areas of the display screen can be invalid touch areas. That is, the invalid touch area of ​​this application is not limited to the area that does not respond to any touch events, but the area that needs to judge the touch events.

[0052] Step S200 : When a first boundary distance of a first edge is less than a preset threshold, an edge suppression instruction is generated, where the first edge is one of a plurality of edges, and the first boundary distance is a boundary distance corresponding to the first edge.

[0053] The edge suppression instruction is used to suppress touch events in the invalid touch sub-area, which is an invalid touch area between the second edge and the display screen boundary opposite to the second edge, and the second edge is set opposite to the first edge.

[0054] The effective touch area of ​​the touch screen display may include multiple edges. For example, the unlocking area may be a rectangle. Therefore, the effective touch area of ​​the present application includes four edges, namely the first edge, the second edge, the third edge and the fourth edge. Among them, the first edge and the second edge are set back to back, and the third edge and the fourth edge are set back to back. It can also be understood that the left edge and the right edge are set back to back, and the upper edge and the lower edge are set back to back. It should be noted that the above-mentioned upper, lower, left and right do not limit the definition of the edges in this application, but are only used to explain the meaning of the back-to-back settings. Figure 2As shown, a schematic diagram of the boundary distances from each edge of the effective touch area of ​​a touch screen display screen to the boundary of the display screen is provided, where D1 is the boundary distance from the first edge to the boundary of the display screen, D2 is the boundary distance from the second edge to the boundary of the display screen, D3 is the boundary distance from the third edge to the boundary of the display screen, and D4 is the boundary distance from the fourth edge to the boundary of the display screen. At the same time, if the effective touch area is a circle, the circle can be divided into multiple edges of equal arc length with the same center. For example, with 90° as the center angle, the effective touch area of ​​the circle is also divided into four edges of equal arc length. The boundary distance from each edge to the boundary of the display screen in this application is the shortest distance in the direction perpendicular to the edge or the shortest distance in the direction perpendicular to the tangent of the edge (corresponding to an arc edge with an arc length).

[0055] The invalid touch sub-area is the invalid touch area between the second edge and the display screen boundary opposite to the second edge. Figure 2 Take the schematic diagram of the boundary distance from each edge of the effective touch area of ​​the touch screen display screen to the boundary of the display screen as an example, that is, D1 is the boundary distance from the first edge to the boundary of the display screen, and D2 is the boundary distance from the second edge to the boundary of the display screen. Then the invalid touch sub-area refers to a rectangular area whose length is equal to the length of the boundary of the display screen opposite to the second edge and whose width is D2 (that is, the shaded part in the figure). By analogy, when the second boundary distance between the second edge and the boundary of the display screen is determined, the generated suppression instruction will suppress the touch event of the invalid touch area between the first edge and the boundary of the display screen opposite to the first edge, that is, another invalid touch sub-area. It can be understood that the invalid touch sub-area is not only Figure 2 The area marked in Figure 3 Because the above embodiments do not limit the positions of the first edge, the second edge, the third edge and the fourth edge of the present application, the invalid touch sub-area of ​​the present application is not limited to only Figure 2 and Figure 3 The areas marked in the figure are used here for illustration only.

[0056] It should be noted that, in this embodiment, the order of determining whether the boundary distances of the edges of each valid touch area to the boundary of the display screen are less than the preset threshold is not limited. For example, the order of determining the boundary distances of the first edge, the second edge, the third edge, and the fourth edge to the boundary of the display screen can be from the first edge to the second edge, then to the third edge, and finally to the fourth edge, or the order can be reversed, or they can be performed simultaneously. In addition, when it is determined that the boundary distances of two adjacent edges to the boundary of the display screen are both less than the preset threshold, the touch events occurring in the invalid touch sub-areas formed by the other two edges and the boundary of the display screen, which are arranged opposite to the two adjacent edges, will be suppressed, wherein the overlapping areas in the invalid touch sub-areas formed by the other two edges and the boundary of the display screen will be suppressed twice. Figure 3 For example, if D1 and D4 are both determined to be less than the preset threshold, the invalid touch sub-area with a length of D2 and a width of D2 relative to the second edge of the display screen boundary is suppressed first. Then, the invalid touch sub-area with a length of D3 and a width of D3 relative to the third edge of the display screen boundary is suppressed, resulting in the overlapping upper left corner being suppressed twice. It is understood that when the distances from the edges of each valid touch area to the display screen boundary are simultaneously determined to be less than the preset threshold, the aforementioned overlapping areas are suppressed simultaneously.

[0057] This embodiment obtains the boundary distance between the effective touch area in the display screen and the display screen boundary. When the boundary distance of a first edge in the effective touch area is less than a preset threshold, a suppression instruction is generated to suppress touch events at a second edge opposite to the first edge and an invalid touch sub-area between the second edge and the display screen boundary, thereby reducing the occurrence of false touch events at the edge of the touch screen.

[0058] In one embodiment, Figure 4 As shown, a flow chart of a touch screen suppression method is provided, wherein the above step S200 in the method includes step S210 and step S220.

[0059] Step S210 : When the first boundary distance corresponding to the first edge is less than a preset threshold, a second distance between the second edge and the display screen boundary opposite to the second edge is obtained.

[0060] Step S220: When the second distance is greater than or equal to a preset threshold, an edge suppression instruction is generated.

[0061] Among them, when the second distance between the second edge of the effective touch area in the display screen and the display screen boundary opposite to the second edge is greater than a preset threshold, it indicates that there is no area in the invalid touch sub-area that can be touched again, that is, no response is required to the touch event. Therefore, an edge suppression instruction is generated, that is, no response is made to the touch event of the invalid touch sub-area between the second edge and the display screen boundary opposite to the second edge, thereby reducing the occurrence of touch events in which the touch screen responds to user's accidental touches.

[0062] In one embodiment, Figure 5 As shown, a flow chart of a touch screen suppression method is provided, wherein the method further includes step S230 and step S240.

[0063] Step S230: When the second distance is smaller than the preset threshold and a touch event is detected in the invalid touch sub-region, a touch area value of the touch event is obtained.

[0064] When the second distance is less than the preset threshold, it indicates that there are still areas in the invalid touch sub-area that can be touched again. For example, in the above embodiment, there may be a "photo" button and a "lighting" button on both sides of the unlock area and other areas that can be touched again. Therefore, when the second distance is less than the preset threshold and a touch event is detected in the invalid touch sub-area, it is necessary to detect the touch area value of the touch event.

[0065] Step S240 : generating an edge suppression instruction according to the touch area value and a preset area threshold.

[0066] It can be understood that if the touch event is a false touch event, such as a touch event caused by a false touch on the base of the hand, the area value of the touch event caused by a false touch on the base of the hand is relatively large. Therefore, by comparing the area value of the touch event with the preset area threshold, it can be determined whether the touch event is a false touch event.

[0067] In one embodiment, Figure 6 As shown, a flow chart of a touch screen suppression method is provided, wherein the above step S230 in the method includes step S231 and step S232.

[0068] Step S231: When the second distance is less than the preset threshold, a first touch capacitance threshold is configured for the invalid touch sub-area.

[0069] Step S232: When the touch capacitance value of the touch event is greater than the first touch capacitance threshold, a touch area value of the touch event is obtained.

[0070] The touch screen in this embodiment is a capacitive touch screen, which works by utilizing the current induction of the human body. Specifically, the touch sensor circuit in the touch screen can measure the total capacitance of the path on the touch pin. When the change in the total capacitance on the path exceeds the threshold, it will be determined as a "finger touch". Therefore, this embodiment can configure a first touch capacitance threshold for the invalid touch sub-area when the second distance is less than the preset threshold. Only when the touch capacitance value of the touch event is greater than the first touch capacitance threshold, it indicates that the touch event may need to be responded to. Therefore, it is necessary to obtain the touch area value of the touch event and make a judgment based on the size of the touch area value of the touch event to determine whether the touch event is an accidental touch event.

[0071] In one embodiment, Figure 7 As shown, a flow chart of a touch screen suppression method is provided, wherein the above-mentioned step S240 in the method includes step S241.

[0072] Step S241: When the touch area value is greater than or equal to the area threshold, an edge suppression instruction is generated.

[0073] When the touch area value is greater than or equal to the area threshold, it indicates that the touch event is likely to be an accidental touch of the base of the thumb or other parts of the human body, and the touch event needs to be suppressed. Therefore, an edge suppression instruction that does not respond to touch events is generated accordingly.

[0074] In one embodiment, Figure 8 As shown, a flow chart of a touch screen suppression method is provided, wherein the above method further includes step S250.

[0075] Step S250: When the distances from each edge of the effective touch area of ​​the touch screen display screen to the display screen boundary are greater than or equal to a preset threshold, a second touch capacitance threshold is set for the ineffective touch sub-area;

[0076] The second touch capacitance threshold is smaller than the first touch capacitance threshold. When the touch capacitance value of the touch event is greater than or equal to the second touch capacitance threshold, a touch event response instruction is generated. The touch event response instruction is used to instruct the invalid touch area to respond to the touch event.

[0077] When the distance from each edge of the effective touch area of ​​the touch screen display screen to the display screen boundary is greater than or equal to a preset threshold, it indicates that a touch event that requires a response may exist in the invalid touch area. Therefore, a second touch threshold is configured for the invalid touch display area of ​​the touch screen. When the touch capacitance value of the touch event is greater than or equal to the second touch capacitance threshold, a touch event response instruction is generated to instruct the invalid touch area to respond to the touch event. Conversely, when the touch capacitance value of the touch event is less than the second touch capacitance threshold, no touch event response instruction is generated, and the touch event will not be responded to.

[0078] In one embodiment, Figure 9 As shown, a schematic flow chart of a touch screen suppression method is provided, the method comprising: steps S100, S210, S220, S231, S232, S241, and S250.

[0079] Step S100 , respectively obtaining the boundary distances from each edge of the effective touch area of ​​the touch screen display screen to the boundary of the display screen. The display screen is divided into an effective touch area and an ineffective touch area. The effective touch area has multiple edges.

[0080] Step S210 : When the first boundary distance corresponding to the first edge is less than a preset threshold, a second distance between the second edge and the display screen boundary opposite to the second edge is obtained.

[0081] Step S220: When the second distance is greater than or equal to a preset threshold, an edge suppression instruction is generated.

[0082] Step S231: When the second distance is less than the preset threshold, a first touch capacitance threshold is configured for the invalid touch sub-area.

[0083] Step S232: When the touch capacitance value of the touch event is greater than the first touch capacitance threshold, a touch area value of the touch event is obtained.

[0084] Step S241: When the touch area value is greater than or equal to the area threshold, an edge suppression instruction is generated.

[0085] In step S250 , when the distances from the edges of the effective touch area of ​​the touch screen display screen to the border of the display screen are greater than or equal to a preset threshold, a second touch capacitance threshold is set.

[0086] Specifically, the steps in the touch screen suppression method in this embodiment are consistent with the method steps in the above embodiment. Therefore, for specific limitations, please refer to the limitations in the above embodiment and will not be repeated here.

[0087] This embodiment obtains the boundary distance between the effective touch area in the display screen and the display screen boundary. When the boundary distance of a first edge in the effective touch area is less than a preset threshold, a suppression instruction is generated to suppress touch events at a second edge opposite to the first edge and an invalid touch sub-area between the second edge and the display screen boundary, thereby reducing the occurrence of false touch events at the edge of the touch screen.

[0088] It should be understood that although Figure 1 、 Figure 4-Figure 9 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figure 1 、 Figure 4-Figure 9 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The order of execution of these steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0089] Based on the same inventive concept, embodiments of the present application also provide a touch screen suppression device for implementing the touch screen suppression method described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more touch screen suppression device embodiments provided below can be found in the above-mentioned limitations of the touch screen suppression method and will not be repeated here.

[0090] In one embodiment, Figure 11 As shown, a touch screen suppression device 100 is provided, including: an acquisition module 110 and an instruction generation module 120, wherein: the acquisition module 110 is used to respectively obtain the boundary distances from each edge of the effective touch area of ​​the touch screen display screen to the display screen boundary, the display screen is divided into an effective touch area and an invalid touch area, and the effective touch area has multiple edges; the instruction generation module 120 is used to generate an edge suppression instruction when a first boundary distance of a first edge is less than a preset threshold, the first edge is one of the multiple edges, and the first boundary distance is the boundary distance corresponding to the first edge; wherein the edge suppression instruction is used to suppress touch events in an invalid touch sub-area, the invalid touch sub-area is an invalid touch area between a second edge and the display screen boundary opposite to the second edge, and the second edge is arranged opposite to the first edge.

[0091] The present application obtains the boundary distance between the effective touch area in the display screen and the boundary of the display screen. When the boundary distance of the first edge in the effective touch area is less than a preset threshold, a suppression instruction is generated to suppress touch events of the second edge set opposite to the first edge and the invalid touch sub-area between the second edge and the boundary of the display screen, thereby reducing the occurrence of false touch events on the edge of the touch screen.

[0092] Each module in the aforementioned touch screen suppression device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.

[0093] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 11 As shown. The computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data such as a preset threshold, a first touch capacitance threshold, a second touch capacitance threshold, and an area threshold. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a touch screen suppression method is implemented.

[0094] Those skilled in the art will understand that Figure 11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0095] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0096] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the above method embodiments when executed by a processor.

[0097] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0098] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0099] The above embodiments merely illustrate several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that variations and improvements are possible within the scope of the present application, and such variations and improvements are within the scope of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A touch screen suppression method, characterized in that: include: respectively obtaining the boundary distances from each edge of an effective touch area of ​​a touch screen display screen to the boundary of the display screen, wherein the display screen is divided into an effective touch area and an invalid touch area, and the effective touch area has a plurality of edges; the invalid touch area is an area where a touch event needs to be judged; When a first boundary distance of a first edge is less than a preset threshold, an edge suppression instruction is generated, the first edge being one of the plurality of edges, and the first boundary distance being the boundary distance corresponding to the first edge; The edge suppression instruction is used to suppress touch events in an invalid touch sub-region, where the invalid touch sub-region is the invalid touch area between a second edge and a boundary of the display screen opposite to the second edge, and the second edge is arranged opposite to the first edge; The step of generating an edge suppression instruction when the first boundary distance of the first edge is less than a preset threshold comprises: When the first boundary distance corresponding to the first edge is less than a preset threshold, a second distance between the second edge and the display screen boundary opposite to the second edge is obtained; when the second distance is greater than or equal to the preset threshold, the edge suppression instruction is generated; when the second distance is less than the preset threshold, a first touch capacitance threshold is configured for the invalid touch sub-area; when the touch capacitance value of the touch event is greater than the first touch capacitance threshold, a touch area value of the touch event is obtained; when the touch area value is greater than or equal to the area threshold, the edge suppression instruction is generated.

2. The method according to claim 1, characterized in that The touch screen is in a shape of a rectangle, a square, a circle, or a rectangle with rounded corners.

3. The method according to claim 1, characterized in that The touch screen is a capacitive touch screen.

4. A control device for touch screen edge suppression, characterized in that: include: an acquisition module, configured to respectively acquire a boundary distance between each edge of an effective touch area of ​​a touch screen display screen and a boundary of the display screen, wherein the display screen is divided into an effective touch area and an invalid touch area, wherein the effective touch area has a plurality of edges; and the invalid touch area is an area where a touch event needs to be determined; an instruction generating module, configured to generate an edge suppression instruction when a first boundary distance of a first edge is less than a preset threshold, the first edge being one of the plurality of edges, and the first boundary distance being the boundary distance corresponding to the first edge; The edge suppression instruction is used to suppress touch events in an invalid touch sub-region, where the invalid touch sub-region is the invalid touch area between a second edge and a boundary of the display screen opposite to the second edge, and the second edge is arranged opposite to the first edge; Among them, the instruction generation module is also used to obtain the second distance between the second edge and the display screen boundary opposite to the second edge when the first boundary distance corresponding to the first edge is less than a preset threshold; when the second distance is greater than or equal to the preset threshold, generate the edge suppression instruction; when the second distance is less than the preset threshold, configure a first touch capacitance threshold for the invalid touch sub-area; when the touch capacitance value of the touch event is greater than the first touch capacitance threshold, obtain the touch area value of the touch event; when the touch area value is greater than or equal to the area threshold, generate the edge suppression instruction.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.

7. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Touch signal processing method and device

    CN112987958A