Mistaken touch prevention method, electronic equipment and storage medium
By detecting the current usage status of the target device and adopting different anti-touch processing methods according to different states, the problem of poor anti-touch effect of the prior art at the edges and corner areas of the data input device is solved, and more accurate and effective Anti-incorrect touch effect.
Patent Information
- Application Number
- CN202411194803.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2025-02-14
AI Technical Summary
The existing anti-miss touch technology is not effective in the edges, corners and other areas of data input devices, making it difficult to achieve effective anti-miss touch.
By detecting the current usage status of the target device, using the controller to monitor the sensor data and the write data of the data input device, determine the usage status of the device, and adopt different anti-touch processing methods according to different states, such as disabling the keyboard or dividing the touchpad. response area.
Differentiated anti-touch treatments under different usage states are realized, improving the effect and accuracy of anti-touch prevention, and covering the usage needs under different usage states.
Smart Images

Figure CN119440372A_ABST
Abstract
Description
Technical Field
[0001] The present invention is applied to the technical field of preventing accidental touches, in particular to an anti-accidental touch method, an electronic device and a storage medium. Background Art
[0002] With the rapid development of science and technology, there are many new ways to input data into smart devices, such as keyboards, touchpads, etc.
[0003] When there is a possibility of accidental touch in the above data input method, most of the common anti-accidental touch solutions are based on the touch area to trigger the palm anti-accidental touch logic.
[0004] However, in the edges, corners and other areas of the data input device, due to the limited trigger area, the large-area suppression effect is often not ideal and the effect of preventing accidental touches cannot be achieved. Summary of the invention
[0005] The present invention provides an anti-mistaken-touch method, an electronic device and a storage medium to solve the problem of poor anti-mistaken-touch effect.
[0006] In order to solve the above technical problems, the present invention provides an anti-mistaken-touch method, comprising: detecting the current use status of a target device; and performing an anti-mistaken-touch process on the target device based on the current use status.
[0007] Among them, the step of detecting the current usage status of the target device includes: monitoring the data of the sensor of the target device and the written data of the data input device of the target device through the controller of the target device, and determining the current usage status based on the sensor data and the written data; the step of performing anti-mistouch processing on the target device based on the current usage status includes: performing keyboard anti-mistouch processing and / or touchpad anti-mistouch processing on the target device based on the current usage status.
[0008] Among them, the steps of monitoring the sensor data of the target device and the written data of the data input device of the target device through the controller of the target device, and determining the current usage status based on the sensor data and the written data include: in response to monitoring that the sensor data and the written data have not changed, determining that the target device is in a dormant state; in response to monitoring that the sensor data and / or the written data have changed, determining that the target device is in an operating state.
[0009] The step of performing keyboard and / or touchpad anti-mistouch processing on the target device based on the current usage status includes: when the target device is in a dormant state, performing keyboard and touchpad anti-mistouch processing on the target device.
[0010] The sensors include gravity sensors and Hall sensors, the data input devices include keyboards and touch pads, the operation states include touch pad input state, keyboard abnormal state, keyboard normal state and keyboard input state;
[0011] In response to changes in sensor data and / or written data being monitored, the step of determining that the target device is in an operating state includes: in response to the controller detecting data writing to the touchpad, determining that the target device is in a touchpad input state; in response to the Hall sensor being triggered, or the Hall sensor being not triggered but the gravity sensor detecting that the keyboard of the target device is not in the target angle range, determining that the target device is in an abnormal keyboard state; in response to the Hall sensor being not triggered and the gravity sensor detecting that the keyboard of the target device is in the target angle range, determining that the target device is in a normal keyboard state; when the target device is in a normal keyboard state, if the controller detects data writing to the keyboard, determining that the target device is in a keyboard input state.
[0012] Among them, the step of performing anti-mistouch processing on the target device based on the current usage status includes: when the target device is in an abnormal keyboard state, performing keyboard anti-mistouch processing on the target device; the keyboard anti-mistouch processing includes disabling the keyboard; when the target device is in a normal keyboard state, a keyboard input state or a touchpad input state, performing touchpad anti-mistouch processing on the touchpad of the target device.
[0013] Among them, the touchpad anti-mistouch processing includes: dividing the touchpad into a normal response area, an absolute disabled area, a tap area and a sliding disabled area; reporting all touch instructions in the normal response area to the controller; and ignoring all touch instructions in the absolutely disabled area; and reporting the tap touch instructions in the tap area to the controller; and ignoring the sliding touch instructions in the sliding disabled area; among them, all touch instructions include tap touch instructions and sliding touch instructions.
[0014] The touchpad includes a middle area and an edge area arranged around the middle area; the middle area is a normal response area, the four corners of the edge area are absolutely prohibited areas, the target edge of the edge area is a tapping area, and the area of the edge area except the absolutely prohibited area and the tapping area is a sliding prohibited area.
[0015] To solve the above technical problems, the present invention provides an electronic device, comprising: a memory and a processor coupled to each other, the processor being used to execute program instructions stored in the memory to implement any of the above-mentioned methods for preventing accidental touches.
[0016] In order to solve the above technical problems, the present invention provides a computer-readable storage medium, which stores program data. The program data can be executed to implement any of the above-mentioned methods for preventing accidental touches.
[0017] The beneficial effect of the present invention is: different from the prior art, the present invention detects the current usage status of the target device, and then performs anti-mistouch processing on the target device based on the current usage status, thereby adopting different anti-mistouch processing means in different usage statuses, so as to give differentiated anti-mistouch processing in different usage statuses, show different anti-mistouch strategies, more accurately cover the usage requirements in different usage statuses, and improve the anti-mistouch effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of a flow chart of an embodiment of an anti-mistouch method provided by the present invention;
[0019] Figure 2 is a flow chart of another embodiment of the method for preventing accidental touch provided by the present invention;
[0020] Figure 3 is a schematic diagram of partitions of an implementation method of a touch panel;
[0021] Figure 4 is a structural schematic diagram of an embodiment of an electronic device provided by the present invention;
[0022] Figure 5 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0025] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0026] See also Figure 1 , Figure 1 It is a flow chart of an embodiment of the method for preventing accidental touch provided by the present invention.
[0027] Step S11: Detect the current usage status of the target device.
[0028] The target device may include but is not limited to laptops, mobile phones, tablets and other electronic devices.
[0029] The target device may exist in a variety of usage states. In this embodiment, the anti-mistouch means of the target device in different usage states may be different.
[0030] One or more data input devices may be provided on the target device. The data input devices may be built-in or external to the target device, such as a keyboard, a mouse, and a touchpad. Based on different uses of the data input devices, the target device may correspond to a variety of usage states, such as but not limited to sleep state, data input states of different data input devices, abnormal states of different data input devices, etc. The specific settings are based on the type of the target device and the type of data input device, and are not limited here.
[0031] Step S12: performing an anti-mistouch process on the target device based on the current usage status.
[0032] Based on the current usage status, the target device is processed to prevent accidental touches, and different anti-accidental touch processing methods are adopted in different usage statuses, so as to give differentiated anti-accidental touch processing in different usage statuses, show different anti-accidental touch strategies, more accurately cover the usage needs in different usage statuses, and improve the effect of anti-accidental touch.
[0033] Through the above steps, the anti-mistouch method of this embodiment detects the current usage status of the target device, and then performs anti-mistouch processing on the target device based on the current usage status, so as to adopt different anti-mistouch processing means in different usage statuses, so as to give differentiated anti-mistouch processing in different usage statuses, show different anti-mistouch strategies, more accurately cover the usage requirements in different usage statuses, and improve the anti-mistouch effect.
[0034] See also Figure 2 , Figure 2 It is a flow chart of another embodiment of the method for preventing accidental touch provided by the present invention.
[0035] Step S21: monitoring the data of the sensor of the target device and the written data of the data input device through the controller of the target device.
[0036] The controller may include a microcontroller unit (MCU) or other control chip of the target device. The sensor may include, but is not limited to, a gravity sensor and a Hall sensor, etc., which detect the position of the data input device of the target device. The data input device of this embodiment may include, but is not limited to, a keyboard and a touch pad, etc.
[0037] The write condition is the writing of I / O data transmitted from the data input device to the target device.
[0038] The current use status of the target device is determined by detecting the position of the data input device and the data writing status of the target device based on the sensor.
[0039] Different target devices based on the detection results and data writing conditions may have different usage states. Specifically, the usage state of the target device may include a dormant state and an operating state. The operating state may include but is not limited to a keyboard abnormal state, a keyboard normal state, a keyboard input state, or a touchpad input state.
[0040] Step S22: Determine the current usage status based on the sensor data and the written data.
[0041] In a specific application scenario, in response to monitoring that the sensor data and the written data have not changed, it is determined that the target device is in a dormant state. Specifically, the controller monitors the sensor data and the written data, and if there is no change within a certain period of time, it is determined that the target device is in a dormant state. The certain period of time can be set based on actual needs, such as 1 minute, 2 minutes, 5 minutes or 10 minutes.
[0042] In a specific application scenario, in response to monitoring changes in sensor data and / or written data, it is determined that the target device is in an operating state. Specifically, the controller monitors the sensor data and written data, and if any changes occur within a certain period of time, it is determined that the target device is in an operating state.
[0043] The target device may be in various operating states. In a specific application scenario, in response to the controller detecting that data is written to the touch panel, indicating that the user may be using the touch panel to write data, the target device is determined to be in the touch panel input state.
[0044] The keyboard has a Hall sensor on the back panel. When the keyboard is folded back to the back of the tablet or the laptop is closed, the Hall sensor interacts with the magnet of the tablet or the back cover, thereby triggering the Hall sensor. The gravity sensor is set inside the keyboard. When the user uses the keyboard, the controller can determine the position of the keyboard according to the set target angle range. The target angle range is the operating angle when the user normally uses the keyboard. When the keyboard is within the target angle range, the user can operate the keyboard for normal typing; when the keyboard is not within the target angle range, it is difficult for the user to operate the keyboard for normal typing.
[0045] In a specific application scenario, in response to the Hall sensor being triggered, or the Hall sensor not being triggered but the gravity sensor detecting that the keyboard of the target device is not within the target angle range, it is determined that the target device is in a keyboard abnormal state.
[0046] When the Hall sensor is triggered, it means that the keyboard is folded back or closed, and the target device is determined to be in a keyboard abnormal state. If the Hall sensor is not triggered but the gravity sensor detects that the keyboard of the target device is not in the target angle range, the target device is also determined to be in a keyboard abnormal state.
[0047] In a specific application scenario, in response to the Hall sensor not being triggered and the gravity sensor detecting that the keyboard of the target device is in the target angle range, it is determined that the target device is in the normal keyboard state. In the normal keyboard state, the user can use the keyboard normally.
[0048] In a specific application scenario, when the target device is in a normal keyboard state, if the controller detects that data is written to the keyboard, it is determined that the user is using the keyboard and the target device is in a keyboard input state.
[0049] The controller can monitor the data and written data of the above sensors in real time and modify the current use status of the target device in real time when the data and / or written data of the sensor changes, thereby modifying the anti-mistouch processing means of the target device in real time.
[0050] Step S23: performing keyboard accidental touch prevention processing and / or touchpad accidental touch prevention processing on the target device based on the current usage status.
[0051] In a specific application scenario, when the target device is in an abnormal keyboard state, it means that the user does not intend to use the keyboard at present, so the target device is processed to prevent accidental touches of the keyboard; the keyboard anti-accidental touch processing includes disabling the keyboard; this application scenario directly disables the keyboard when the target device is in an abnormal keyboard state, thereby preventing accidental touches of the keyboard. On this basis, the target device can also be processed to prevent accidental touches of the touchpad.
[0052] In a specific application scenario, when the target device is in a normal keyboard state, a keyboard input state, or a touchpad input state, the touchpad of the target device is subjected to touchpad accidental touch protection processing. Wherein, when the target device is in a normal keyboard state, a keyboard input state, or a touchpad input state, the target device is not subjected to keyboard accidental touch protection processing.
[0053] Among them, in other embodiments, when the target device is in the keyboard input state, the controller can also set an N-second timer, and detect whether there is a touch instruction on the touchpad within N seconds after the keyboard key is pressed. If there is, the touch instruction is filtered and not reported. If not, the controller continues to cyclically monitor whether there is a touch instruction on the touchpad within N seconds after the keyboard key is pressed, so as to avoid the user accidentally touching the touchpad when using the keyboard.
[0054] In a specific application scenario, when the target device is in a dormant state, keyboard and touchpad anti-mistouch processing is performed on the target device at the same time. If the sensor data or data writing changes, the target device exits the dormant state and updates its current usage state based on the changed sensor data or data writing changes.
[0055] Among them, the touchpad anti-mistouch processing includes: dividing the touchpad into a normal response area, an absolute disabled area, a tap area and a sliding disabled area; reporting all touch instructions in the normal response area to the controller; ignoring all touch instructions in the absolute disabled area; reporting the tap touch instructions in the tap area to the controller; and ignoring the sliding touch instructions in the sliding disabled area.
[0056] Among them, all touch instructions include tap touch instructions and slide touch instructions.
[0057] This embodiment distinguishes different usage states of the target device through sensors and monitoring of written data, and assigns differentiated anti-mistaken touch solutions in different modes, thereby improving the pertinence of the anti-mistaken touch method in different usage states and further improving the anti-mistaken touch effect.
[0058] See also Figure 3 , Figure 3It is a schematic diagram of partitions of an implementation method of a touch panel.
[0059] The touch panel 100 of this embodiment includes a middle area 110 and an edge area 120 arranged around the middle area 110 .
[0060] Among them, the middle area 110 is the normal response area 210, the four corners of the edge area 120 are the absolute prohibited area 230, the target edge of the edge area 120 is the tap area 240, and the area of the edge area 120 except the absolute prohibited area 230 and the tap area 240 is the sliding prohibited area 220.
[0061] The normal response area 210 is in the middle area 110 of the touch panel 100, and the probability of false touch is relatively low. Therefore, all touch instructions in the normal response area are reported to the controller. That is, when sliding, tapping, and other operations are performed in this area, they are regarded as normal operations, and the data is not filtered or intercepted, and is reported to the controller normally.
[0062] The absolutely forbidden area 230 is located at the four corners of the edge area 120, and the probability of false touch is high, so all touch instructions in the absolutely forbidden area are ignored. In any case, no response is made to the touch operation in this area, and all point reporting data is intercepted. At the same time, there is no response to the tap operation.
[0063] The tap area 240 is located at the target edge of the edge area 120. Some target devices will set two tap buttons in the tap area 240 to simulate the functions of the left and right buttons of a mouse. Therefore, the tap touch instructions in the tap area are reported to the controller, that is, the sliding point reporting data is intercepted in this area. However, during the tap operation, the tap data is allowed to be reported. The target edge is the side edge of the edge area 120 where the tap buttons are set.
[0064] The slide disabled area 220 is located at other edges of the edge area 120, and the area is prone to slide accidental touches, so the slide touch instructions in the slide disabled area are ignored, but the tap touch instructions can be reported.
[0065] In some cases, if the touch instruction of the absolute disabled area 230 continues to slide to the normal response area 210, the touch instruction is reported normally. If the touch instruction of the tap area 240 continues to slide to the normal response area 210, the touch instruction is reported normally. If the sliding touch instruction in the sliding disabled area 220 continues to slide to the normal response area 210 or the sliding length exceeds a certain distance, the sliding touch instruction is reported normally. Among them, if the tap button of the tap area 240 is triggered, the touch instructions of the entire touchpad 100 can be reported normally within a certain period of time, or the touch instructions of the entire touchpad 100 are reported normally until the user stops issuing touch instructions, that is, during this certain period of time or use process, the anti-mistouch function is turned off so that the user can use the touchpad 100 normally. The specific setting of a certain period of time can be 1 minute, 2 minutes, 3 minutes or 5 minutes, etc.
[0066] By defining different areas on the touch panel 100 and applying different reporting strategies to different areas of the touch panel, the touch panel can exhibit different anti-mistouch strategies in different areas, thereby more accurately covering the usage requirements in different scenarios.
[0067] Through the above steps, the anti-mistaken touch method of this embodiment detects the current use state of the target device, and then performs anti-mistaken touch processing on the target device based on the current use state, so as to adopt different anti-mistaken touch processing means in different use states, so as to give differentiated anti-mistaken touch processing in different use states, show different anti-mistaken touch strategies, more accurately cover the use requirements in different use states, and improve the effect of anti-mistaken touch. The division of different use states of the target device provides a premise for the subdivision strategy of the touchpad, so that by demarcating different areas of the touchpad and applying different reporting strategies to different areas of the touchpad, the touchpad shows different anti-mistaken touch strategies in different areas, and more accurately covers the use requirements in different scenarios. This embodiment combines the use state division of the target device and a more refined reporting algorithm for controlling the touchpad to realize regionalized anti-mistaken touch control solutions for different scenarios, so that the anti-mistaken touch requirements of different scenarios are more accurately met.
[0068] Based on the same inventive concept, the present invention also proposes an electronic device, which can be executed to implement the method for preventing accidental touch in any of the above embodiments. Figure 4 , Figure 4 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. The electronic device includes a processor 41 and a memory 42.
[0069] The processor 41 is used to execute the program instructions stored in the memory 42 to implement the steps of any of the above-mentioned methods for preventing accidental touches. In a specific implementation scenario, the electronic device may include but is not limited to: a microcomputer, a server, and in addition, the electronic device may also include a mobile device such as a laptop computer and a tablet computer, which is not limited here.
[0070] Specifically, the processor 41 is used to control itself and the memory 42 to implement the steps of any of the above embodiments. The processor 41 can also be called a CPU (Central Processing Unit). The processor 41 may be an integrated circuit chip with signal processing capabilities. The processor 41 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 41 can be implemented by an integrated circuit chip.
[0071] The above scheme can adopt different anti-accidental touch processing methods in different usage states to provide differentiated anti-accidental touch processing in different usage states, showing different anti-accidental touch strategies, more accurately covering the usage needs in different usage states, and improving the anti-accidental touch effect.
[0072] Based on the same inventive concept, the present invention also proposes a computer-readable storage medium, see Figure 5 , Figure 5 1 is a schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present invention. The computer-readable storage medium 50 stores at least one program data 51, and the program data 51 is used to implement any of the above methods. In one embodiment, the computer-readable storage medium 50 includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0073] In the several embodiments provided by the present invention, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0074] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0075] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0076] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.
[0077] The above are only implementation modes of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for preventing accidental touch, characterized in that: The method for preventing accidental touch comprises: Detect the current usage status of the target device; The target device is subjected to an error-proofing process based on the current usage status.
2. The method for preventing accidental touch according to claim 1, characterized in that: The step of detecting the current usage status of the target device comprises: Monitoring, by a controller of the target device, data from a sensor of the target device and written data from a data input device of the target device, and determining the current use state based on the data from the sensor and the written data; The step of performing an anti-mistouch process on the target device based on the current usage status comprises: Based on the current usage status, keyboard accidental touch prevention processing and / or touch panel accidental touch prevention processing are performed on the target device.
3. The method for preventing accidental touch according to claim 2, characterized in that: The step of monitoring the data of the sensor of the target device and the written data of the data input device of the target device through the controller of the target device, and determining the current use state based on the data of the sensor and the written data comprises: In response to monitoring that the data of the sensor and the written data have not changed, determining that the target device is in a dormant state; In response to monitoring changes in the sensor data and / or the written data, it is determined that the target device is in an operating state.
4. The method for preventing accidental touch according to claim 3, characterized in that: The step of performing keyboard mis-touch prevention processing and / or touchpad mis-touch prevention processing on the target device based on the current use state includes: When the target device is in a dormant state, keyboard and touchpad accidental touch prevention processing is performed on the target device.
5. The method for preventing accidental touch according to claim 3, characterized in that: The sensor includes a gravity sensor and a Hall sensor, the data input device includes a keyboard and a touch pad; the operating state includes a touch pad input state, a keyboard abnormal state, a keyboard normal state and a keyboard input state; In response to monitoring changes in the sensor data and / or the written data, the step of determining that the target device is in the running state comprises: In response to the controller detecting that data is written to the touch panel, determining that the target device is in a touch panel input state; In response to the Hall sensor being triggered, or the Hall sensor not being triggered but the gravity sensor detecting that the keyboard of the target device is not within a target angle range, determining that the target device is in a keyboard abnormal state; In response to the Hall sensor not being triggered and the gravity sensor detecting that the keyboard of the target device is in a target angle range, determining that the target device is in a normal keyboard state; When the target device is in a normal keyboard state, if the controller detects that data is written to the keyboard, it is determined that the target device is in a keyboard input state.
6. The method for preventing accidental touch according to claim 5, characterized in that: The step of performing an anti-mistouch process on the target device based on the current usage status comprises: When the target device is in a keyboard abnormal state, performing keyboard accidental touch prevention processing on the target device; the keyboard accidental touch prevention processing includes disabling the keyboard; When the target device is in a normal keyboard state, a keyboard input state or a touchpad input state, a touchpad mis-touch prevention process is performed on the touchpad of the target device.
7. The method for preventing accidental touch according to any one of claims 2 to 6, characterized in that: The touch panel anti-mistouch processing includes: Dividing the touch panel into a normal response area, an absolute disabled area, a click area, and a slide disabled area; reporting all touch instructions within the normal response area to the controller; and Ignore all touch instructions within the absolute forbidden area; and reporting the touch command in the touch area to the controller; and Ignore the sliding touch instructions in the sliding disabled area; Wherein, all the touch instructions include tap touch instructions and slide touch instructions.
8. The method for preventing accidental touch according to claim 7, characterized in that: The touch panel includes a middle area and an edge area arranged around the middle area; Among them, the middle area is the normal response area, the four corners of the edge area are the absolutely prohibited areas, the target edge of the edge area is the tap area, and the area of the edge area except the absolutely prohibited area and the tap area is the sliding prohibited area.
9. An electronic device, characterized in that: The electronic device comprises: a memory and a processor coupled to each other, wherein the processor is used to execute program instructions stored in the memory to implement the method for preventing accidental touches according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program data, and the program data can be executed to implement the method for preventing accidental touches according to any one of claims 1 to 8.