Method, system, device and storage medium for preventing accidental touch of electronic device
By obtaining and analyzing the spacing information and usage scenarios between the capacitance pen and the touch screen, and judging and blocking the mist touch operation, the problem of mist touch between the touch screen and the capacitance pen in the prior art is solved, and the accuracy of interaction is improved and User experience.
Patent Information
- Application Number
- CN202411032728.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-07-30
AI Technical Summary
The prior art is difficult to effectively prevent mistouching between the touch screen and the capacitance pen, resulting in inaccurate operation and poor experience.
By obtaining the spacing information between the capacitance pen and the touch screen, combining the usage scenario and touch information, analyzing and determining whether the touch operation is a false touch operation, and blocking it in the anti-error touch mode, using the uplink signal to increase the spacing information Accuracy and stability, refine the touch area of the finger and the tip, and set thresholds to respond or block touch operations.
It improves the interactive accuracy and user experience between the capacitance pen and the touch screen, reduces false touch situations, achieves more refined anti-fault touch control, and enhances the stability and accuracy of operation.
Smart Images

Figure CN118567519B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of touch interaction, and in particular to a method and system for preventing accidental touches of an electronic device, a computer device, and a storage medium. Background Art
[0002] Human-computer interaction is an important part of users' use of computer systems, and the most widely used human-computer interaction interface is the touch screen.
[0003] Users generally use finger touch or stylus and other tools to perform touch operations to achieve human-computer interaction. However, since finger touch and stylus touch generally use the same touch controller, this leads to false touches when the finger and stylus touch the touch screen at the same time.
[0004] Although many designs have been made for preventing accidental touches in the existing related technologies, it is still difficult to better meet the demand for preventing accidental touches. Summary of the invention
[0005] The present application provides a method, system, computer device and storage medium for preventing accidental touches of an electronic device, so as to solve the technical problem that accidental touches are prone to occur between a touch screen and a capacitive pen.
[0006] In a first aspect, the present application proposes an anti-mistaken touch method for an electronic device, which is applied to the interaction between the electronic device and a capacitive stylus. The electronic device has a touch screen, and the anti-mistaken touch method includes:
[0007] Obtaining the distance information between the capacitive pen and the touch screen, where the distance information is used to indicate the distance between the capacitive pen and the touch screen;
[0008] When a key event occurs, controlling the touch screen to enter an anti-mistouch mode, wherein the key event includes that the distance information is less than a first threshold;
[0009] In the accidental touch prevention mode:
[0010] Acquire touch information received by the touch screen, where the touch information is generated by the touch operation;
[0011] Get usage scenario information of the touch screen;
[0012] Analyze and process usage scenario information and touch information to determine whether the touch operation is an accidental touch operation;
[0013] If the touch operation is determined to be an accidental touch operation, the touch operation is shielded.
[0014] To implement the above technical solution, in the entire anti-false touch method, the electronic device first preliminarily selects the anti-false touch mode based on the spacing information, but at this time not all hand touch situations are shielded, because when the user holds the capacitive pen to meet the key event, there may also be a need for finger touch; in order to meet the detailed scenario requirements, a specific anti-false touch logic is set in the anti-false touch mode, specifically, the electronic device further analyzes and processes the usage scenario information and the touch information, and then determines whether the touch operation is a false touch operation. The combination of the usage scenario information and the touch information can make a more detailed and accurate judgment on the touch operation, thereby realizing a more sophisticated shielding process.
[0015] As an optional example of an embodiment of the present application, the step of obtaining the distance information between the capacitive pen and the touch screen includes:
[0016] When the touch screen is in a touch-supported scenario, an uplink signal is sent to the capacitive pen;
[0017] Receive the distance information, which is calculated by the capacitive stylus based on the strength of the uplink signal.
[0018] To implement the above technical solution, in the traditional technology, a downlink signal is sent to the touch screen through the electrode of the capacitive pen, and then the electronic device analyzes the downlink signal to obtain the distance between the capacitive pen and the touch screen. However, this method has the problem that the downlink signal transmission distance is short, and the touch screen receiving the downlink signal is easily interfered by other signals of the touch screen itself, resulting in that the downlink signal can generally be received at a distance of about 20mm, and the recognition of the distance is not stable and accurate enough; while in the present application, an uplink signal is sent through the touch screen, and the touch screen has sufficient space and conditions to install hardware with stronger output signal strength, so that the transmission distance of the uplink signal is longer, and the interference signal of the uplink signal in the capacitive pen is also less, so the capacitive pen is more stable when analyzing the uplink signal. Therefore, the distance information can be accurately obtained within the range of 20-30cm, thereby improving the accuracy and stability of obtaining the distance information and making it easier to carry out the subsequent anti-mistouch method.
[0019] As an optional example of an embodiment of the present application, the step of acquiring touch information received by the touch screen includes:
[0020] Obtain the edge boundary of the touch area corresponding to the touch operation received by the touch screen, and define the touch areas that are not in contact with each other as independent touch areas;
[0021] The area of the independent touch region and the position of the touch region corresponding to the touch operation are obtained.
[0022] As an optional example of an embodiment of the present application, the step of determining whether the touch operation is an accidental touch operation includes:
[0023] defining a first area threshold;
[0024] comparing the area of each independent touch region with a first area threshold;
[0025] If the area of the touch region is greater than the first area threshold, then the corresponding touch operation is determined to be an accidental touch operation.
[0026] To implement the above technical solution, in the usage scenario, the touch screen is touched by the tip of the capacitive pen, the end of the finger, and the partial touch of the palm. Usually, the palm touching the touch screen will cause touch operations that the user does not want. Taking into account the differences in the touch area of the pen tip, finger, and palm, in the present application, all touch operations with an area exceeding the first area threshold are shielded to perform a preliminary anti-mistouch process.
[0027] As an optional example of the embodiment of the present application, the anti-mistouch mode also includes:
[0028] If it is learned that the area of at least two independent touch regions is smaller than the area threshold;
[0029] Then, the areas of at least two independent touch regions are compared, and only the touch operation corresponding to the touch region with the smallest area is responded to.
[0030] To implement the above technical solution, in some cases, the touch at the end of the finger and the touch at the tip of the capacitive pen will contact the touch screen at the same time. At this time, the touch area of the end of the finger and the touch area of the tip of the capacitive pen are both smaller than the first area threshold. Failure to shield them at this time will cause the touch screen to respond to the touch at the end of the finger and the touch at the tip of the capacitive pen at the same time, causing a false touch. At this time, the present application uses further refined analysis, taking into account the difference in the contact area of the pen tip and the contact area of the end of the finger, it is concluded that the area with the smaller area of the two is the pen tip signal, thereby shielding the finger touch signal. This can further accurately refine the application scenarios of anti-false touch and improve the operating experience of the capacitive pen.
[0031] As an optional example of the embodiment of the present application, the anti-mistouch mode also includes:
[0032] Calculate the area difference between any two independent touch areas;
[0033] When it is known that any area difference is greater than the difference threshold, only the touch operation corresponding to the touch area with the smallest area is responded;
[0034] When the area differences are all smaller than the difference threshold, the touch operations corresponding to all touch areas are responded to.
[0035] To implement the above technical solution, because during use, multiple fingers of the user may touch the touch screen at the same time, and the difference between the areas of the finger touches will be less than the difference threshold, this setting can be used as a detailed distinction between finger and pen tip operations, so as to more accurately understand the user's true intention and improve the accuracy of preventing false touches. When the area difference is less than the difference threshold, there may be two-finger touch or three-finger touch, and all touch operations should be responded to.
[0036] As an optional example of an embodiment of the present application, the step of obtaining usage scenario information of the touch screen includes:
[0037] Collecting the user's usage habits when the user uses each application, wherein the usage habits are used to indicate the frequency of the user's use of the capacitive pen and finger touch when using the application;
[0038] Input users’ usage habits for each application into the big data computing center.
[0039] As an optional example of the embodiment of the present application, the step of determining whether the touch operation is an accidental touch operation further includes:
[0040] Determine whether the finger touch frequency obtained by the big data computing center when the user uses a certain application is less than a defined value;
[0041] If yes, all finger touch operations are blocked;
[0042] If not, further determining whether the area of the touch area corresponding to the touch operation is larger than the second area, and if so, shielding is performed;
[0043] The second area threshold is smaller than the first area threshold.
[0044] To implement the above technical solution, in some software applications, users hope that the full screen can be operated with a capacitive pen. For example, in the full-screen drawing process, the full screen needs to use finer lines of the capacitive pen to process the drawing content. In the drawing process, the user basically uses the capacitive pen touch operation. The big data computing center can make a reasonable judgment on the user's current expected operation based on the user's behavioral habit data when using the software, so as to determine a more precise anti-mistouch control logic. When the big data computing center concludes that the user's finger touch frequency when using a certain application is less than the defined value, it means that during the use, the user is accustomed to only using the capacitive pen for touch operations. At this time, the electronic device shields all finger operations to perform a better capacitive pen operation process. The defined value can be adaptively adjusted according to actual usage needs.
[0045] As an optional example of an embodiment of the present application, defining the first area threshold includes:
[0046] The big data computing center determines the first area threshold according to the user's usage habits.
[0047] In a second aspect, the present application further provides an anti-accidental touch system, which is used to implement the anti-accidental touch method of the electronic device described in the above embodiment, and the anti-accidental touch system includes:
[0048] An electronic device, wherein the electronic device has a touch screen, and the electronic device is configured to obtain information about a distance between a capacitive pen and the touch screen, touch information received by the touch screen, and information about a usage scenario of the touch screen;
[0049] Capacitive pen, which can interact with the touch screen;
[0050] The electronic device is configured to analyze and process usage scenario information and touch information, determine whether the touch operation is an accidental touch operation, and respond or block the operation.
[0051] As an optional example of the embodiment of the present application,
[0052] The touch screen is configured to be able to send uplink signals;
[0053] The capacitive stylus is provided with an analysis module and a wireless communication module, wherein the analysis module is configured to analyze the uplink signal to generate spacing information;
[0054] The wireless communication module is connected to the analysis module to obtain the distance information;
[0055] A control module is provided in the electronic device, and the wireless communication module is configured to output distance information to the control module.
[0056] In a third aspect, the present application further proposes a computer device, comprising:
[0057] Memory and processor;
[0058] The memory is used to store the computer program; the processor is used to implement the method for preventing accidental touch as described in the above embodiment when executing the computer program.
[0059] In a fourth aspect, the present application further proposes a computer storage medium on which a computer program is stored. When the computer program is executed, the method for preventing accidental touches as described in the above embodiment is implemented.
[0060] One of the above technical solutions has the following advantages or beneficial effects:
[0061] 1. In the entire anti-false touch method, the electronic device first preliminarily selects the anti-false touch mode according to the spacing information, but at this time, not all hand touch situations are shielded, because when the user holds a capacitive pen to meet a key event, there may also be a need for finger touch; in order to meet the detailed scene requirements, a specific anti-false touch logic is set in the anti-false touch mode, specifically, the electronic device further analyzes and processes the use scene information and touch information, and then determines whether the touch operation is a false touch operation. Combining the use scene information and touch information can make a more detailed and accurate judgment on the touch operation, thereby achieving a more sophisticated shielding process.
[0062] 2. In some cases, the touch at the end of the finger and the touch at the tip of the capacitive pen will contact the touch screen at the same time. At this time, the touch area of the finger end and the touch area of the capacitive pen tip are both smaller than the first area threshold. Failure to shield at this time will cause the touch screen to respond to the touch at the end of the finger and the touch at the tip of the capacitive pen at the same time, causing a false touch. At this time, the present application uses further refined analysis, taking into account the difference in the contact area of the pen tip and the contact area of the finger end, to deduce that the smaller area of the two is the pen tip signal, thereby shielding the finger touch signal, which can further accurately refine the application scenarios of anti-false touch and improve the operating experience of the capacitive pen. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.
[0064] Figure 1 It is a logical framework diagram of the method for preventing accidental touch provided in an embodiment of the present application;
[0065] Figure 2 It is a structural principle diagram provided in an embodiment of the present application mainly for demonstrating the acquisition of spacing information;
[0066] Figure 3 It is a schematic diagram provided in an embodiment of the present application mainly for demonstrating the division of touch areas;
[0067] Figure 4 It is a schematic diagram provided in the embodiment of the present application mainly for displaying the collection of user usage habits;
[0068] Figure 5 It is a principle diagram provided in an embodiment of the present application, mainly used to demonstrate the judgment of mis-touch operation.
[0069] Figure numerals: 1. electronic device; 11. touch screen; 12. control module; 2. capacitive pen; 21. power supply module; 22. analysis module; 23. wireless communication module; 24. pen tip electrode. DETAILED DESCRIPTION
[0070] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0071] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
[0072] The following is combined with Figure 1-5 The present application is further described.
[0073] In the first aspect, the present application proposes a method for preventing accidental touches, which is applied to the interaction between an electronic device and a capacitive stylus. The electronic device has a touch screen. It should be noted that the electronic device to which the technical solutions provided by the various embodiments disclosed in the present application are applied is not limited to a tablet computer. For example, the electronic device may also be a wearable device, a personal terminal device, or various terminal devices used in industrial production or life.
[0074] Reference Figure 1 , the methods to prevent accidental touch include:
[0075] S1. The electronic device obtains distance information between the capacitive pen and the touch screen, where the distance information is used to represent a vertical distance from the capacitive pen to the touch screen;
[0076] S2. When a key event occurs, the electronic device controls the touch screen to enter an anti-mistouch mode, wherein the key event includes that the distance information is less than a first threshold;
[0077] S3. In the false touch prevention mode, the electronic device has the following response logic:
[0078] S31, the electronic device obtains touch information received by the touch screen, where the touch information is used to indicate the position and area of an independent touch region generated by the touch operation;
[0079] The electronic device obtains usage scenario information of the touch screen;
[0080] S32, the electronic device analyzes and processes the usage scenario information and the touch information to determine whether the touch operation is an accidental touch operation;
[0081] S321: If it is determined that the touch operation is an accidental touch operation, shield the touch operation.
[0082] With the above settings, in the entire anti-false touch method, the electronic device first preliminarily selects the anti-false touch mode according to the spacing information, but at this time, not all hand touch situations are shielded, because when the user holds the capacitive pen to meet the key event, there may also be a need for finger touch; in order to meet the detailed scenario requirements, a specific response logic is set in the anti-false touch mode, specifically, the electronic device further analyzes and processes the usage scenario information and the touch information, and then determines whether the touch operation is a false touch operation. The combination of the usage scenario information and the touch information can make a more detailed and accurate judgment on the touch operation, thereby realizing a more sophisticated shielding process, thereby more flexibly adapting to the user's usage needs.
[0083] More specifically for S1
[0084] Reference Figure 2 “Electronic device obtains distance information between capacitive pen and touch screen” includes:
[0085] When the touch screen is in a touch-supporting scenario, the electronic device sends an uplink signal; the capacitive pen periodically receives the uplink signal and calculates the distance information based on the strength of the uplink signal; the capacitive pen outputs the distance information to the electronic device.
[0086] It should be noted that the uplink signal sent by the electronic device is a wireless signal, which is modulated by, for example, FSK (Frequency-shift keying), and has a simple implementation method and good anti-noise and anti-attenuation performance. In other optional embodiments, the modulation method can also be ASK (Amplitude Shift Keying) or DSSS (Direct Sequence Spread Spectrum). The capacitive pen decodes the uplink signal of the electronic device, and after successful decoding, sends a downlink signal according to the corresponding parameter value in the communication protocol negotiated with the electronic device. After the electronic device receives and decodes the downlink signal, it obtains the spacing information between the capacitive pen and the touch screen.
[0087] According to the above settings, in the traditional technology, a downlink signal is sent to the touch screen through the tip electrode of the capacitive pen, and then the electronic device analyzes the downlink signal to obtain the distance between the capacitive pen and the touch screen. However, this method has the problem that the downlink signal transmission distance is short, and the touch screen receiving the downlink signal is easily interfered by other signals of the touch screen itself, resulting in that the downlink signal can generally be received at a distance of about 20mm, and the recognition of the distance is not stable and accurate enough, and the recognition range is also relatively limited; while in the present application, an uplink signal is sent through the touch screen, and the touch screen has sufficient space and conditions to install hardware with stronger output signal strength, so that the transmission distance of the uplink signal is longer, and the interference signal of the uplink signal in the capacitive pen is also less, so the capacitive pen is also more stable when analyzing the uplink signal, therefore, the distance information can be accurately obtained within the range of 20-30cm, thereby improving the accuracy and stability of obtaining the distance information, and providing stable data support for the subsequent anti-mistouch method.
[0088] More specifically for S31
[0089] “The electronic device obtains touch information received by the touch screen” includes: the electronic device obtains the edge position of the touch area received by the touch screen, defines the touch areas that are not in contact with each other as independent touch areas; and calculates the area of the independent touch areas.
[0090] The independence of the touch areas can be understood as the edges formed by the touch areas not touching each other, and there are intervals between the defined areas. The purpose of the independent touch areas is to distinguish the relatively independent contact with the touch screen by the hand or the capacitive pen during the touch process, so as to facilitate analysis and processing.
[0091] The touch area position in "the electronic device obtains touch information received by the touch screen, and the touch information is used to indicate the independent touch area position and touch area area generated by the touch operation" refers to the position of the touch area at the touch screen, for example, Figure 3 , the electronic device can pre-divide the grid within the touch screen area. When a touch operation occurs, the electronic device learns that the capacitance value of the corresponding area will change, and then the electronic device can obtain the location of the touch operation. The touch area refers to the area size limited by the edge of an independent touch area. For example Figure 3 In general, the palm of the hand has a larger touch area, followed by the finger, and the capacitive pen has the smallest touch area.
[0092] "Electronic devices obtain touch screen usage scenario information" includes: the electronic device collects user usage habits during the user's use of each application, where the usage habits are mainly used to indicate the frequency of the user's use of capacitive stylus and finger touch when using the application; the electronic device inputs the user's usage habits for each application into the big data computing center.
[0093] For example, the process of an electronic device acquiring data at one time is: when a user uses software A, from the first opening of software A to the end of the use cycle of software A, it continuously acquires and records: the contact stage between the capacitive pen and the touch screen and the duration of each stage, recorded as the pen tip touch signal, the finger touch stage and the duration of each stage, recorded as the finger touch signal, the palm contact stage and the duration of each stage, recorded as the palm touch signal, the contact stage where the touch screen does not receive a signal and the duration, etc. For details, please refer to Figure 4 Among them, when performing capacitive pen operation, the palm generally contacts the touch screen first, and the palm touch lasts for a relatively long time. When the user is thinking, the palm may be completely away from the touch screen for a long time, so the palm touch lasts for a long time and has many contact stages; the capacitive pen is generally detected right after the palm signal. During the user's brief thinking process, the capacitive pen will briefly hover above the touch screen without contacting the touch screen, so the signal of the capacitive pen will be more intermittent and fragmented; and in some cases where fingers do not require fine lines, users will consider using fingers for more flexible operation. In the process of using some software, finger control is rarely required or fingers make accidental touches, causing the touch screen to detect finger signals. Therefore, the detected finger signals are sparse and more fragmented.
[0094] It should be noted that, in an optional embodiment, the distinction between palm touch signals, finger touch signals and pen tip touch signals is obtained through a comprehensive calculation of the touch area and position. For example, a first-level threshold and a second-level threshold are set, where the touch area below the first-level threshold is a pen tip touch signal, the touch area between the first-level threshold and the second-level threshold is a finger touch signal, and the touch area greater than the second-level threshold is a palm touch signal. The specific position is then combined to more accurately determine the signal type.
[0095] Reference Figure 5 More specifically, for S32, “determining whether the touch operation is an accidental touch operation” includes:
[0096] S100, defining a first area threshold;
[0097] S200, comparing the area of each independent touch region with a first area threshold;
[0098] S300: If the area of the touch region is greater than the first area threshold, determine that the corresponding touch operation is an accidental touch operation.
[0099] With the above settings, in the usage scenario, the touch screen is touched by the tip of the capacitive pen, the end of the finger, and partial contact with the palm. Usually, the palm touching the touch screen will cause touch operations that the user does not want. Taking into account the differences in the touch area of the pen tip, finger, and palm, in this application, all touch operations with an area exceeding the first area threshold are shielded to perform a preliminary anti-mistouch process.
[0100] It should be noted that the size of the first area threshold can be flexibly set according to different users. For example, if the user's palm is small, the first area threshold can be set smaller accordingly, and if the user's palm is large, the first area threshold can be set larger accordingly. This setting is not specifically limited here. This setting is suitable for most usage scenarios.
[0101] Reference Figure 5 In S32, S322 is further included, performing a response touch operation according to the response logic, specifically including:
[0102] S400: If the electronic device learns that the areas of at least two independent touch regions are smaller than a first area threshold, the electronic device compares the areas of the touch regions and responds only to the touch operation corresponding to the touch region with the smallest area.
[0103] With the above settings, in some cases, the touch at the end of the finger and the touch at the tip of the capacitive pen will contact the touch screen at the same time. At this time, the touch area of the end of the finger and the touch area of the tip of the capacitive pen are both smaller than the first area threshold. Failure to shield at this time will cause the touch screen to respond to the touch at the end of the finger and the touch at the tip of the capacitive pen at the same time, causing a false touch. At this time, the present application uses further refined analysis, taking into account the difference in the contact area of the pen tip and the contact area of the end of the finger, it is concluded that the area with the smaller area of the two is the pen tip signal, thereby shielding the finger touch signal, which can further accurately refine the application scenarios of anti-false touch and improve the operating experience of the capacitive pen.
[0104] Furthermore, in step S322, it also includes:
[0105] S500, calculating the area difference between any two independent touch regions;
[0106] S501, when it is known that any area difference is greater than a difference threshold, only responding to a touch operation corresponding to a touch area with the smallest area;
[0107] S502: When the area differences are all smaller than the difference threshold, respond to the touch operations corresponding to all touch areas.
[0108] In this embodiment, a difference threshold can be set. Only when two independent touch areas smaller than the first area threshold are larger than the difference threshold, the touch operation corresponding to the touch area with the smallest area is determined to be the operation the user wants to perform. Because during use, multiple fingers of the user may touch the touch screen at the same time, and the difference between the areas of the finger touch areas will be smaller than the difference threshold. Therefore, this setting can be used as a detailed distinction between finger and pen tip operations, so as to more accurately understand the user's true intention and improve the accuracy of preventing false touches. For example, when the area difference is smaller than the difference threshold, there may be two-finger touch or three-finger touch, and all touch operations should be responded to.
[0109] "Determining whether a touch operation is an accidental touch operation" also includes: if the big data computing center concludes that the user's finger touch frequency when using a certain application is less than a defined value; then, the electronic device blocks all finger touch operations; if, the big data computing center concludes that the user's finger touch frequency when using a certain application is greater than a defined value; if, the electronic device determines that the touch operation corresponds to the area of the touch area, and the touch area of the touch area is greater than the second area threshold, then it is blocked; wherein, the second area threshold is less than the first area threshold.
[0110] With the above settings, in some software applications, users usually hope to use a capacitive pen for full-screen operations. For example, in the full-screen drawing process, the full-screen needs to use finer lines of the capacitive pen to process the drawing content. In the drawing process, users basically use capacitive pen touch operations. The big data computing center can make reasonable judgments on the user's current expected operations based on the user's behavioral habit data when using the software, so as to determine a more precise anti-mistouch control logic. When the big data computing center concludes that the user's finger touch frequency when using a certain application is less than the defined value, it means that during the use process, the user is accustomed to only using a capacitive pen for touch operations. At this time, the electronic device shields all finger operations to perform better capacitive pen operations. The defined value can be adaptively adjusted according to actual usage needs.
[0111] The defined value is determined according to the user's usage habits. For example, when the user uses software A multiple times and the frequency of finger touch is less than 1%, the electronic device considers shielding all finger touch signals when the user subsequently opens software A and meets the key event. If the frequency of finger touch is greater than 1% when the user uses software A, the electronic device considers that the user may still need to perform finger operations when a key event occurs, but there is still a possibility of finger accidental touch at this time. Therefore, a second area threshold is set here, and the second area threshold is less than the first area threshold. In an optional embodiment, the second area threshold can refer to the normal area size of the touch screen where the finger touches. When the area of the touch area is greater than the second area threshold, the touch operation is generally a palm signal, so it is shielded.
[0112] As an optional example of an embodiment of the present application, "defining a first area threshold" includes: the big data computing center determines the first area threshold according to the user's usage habits. For example, when the user uses a capacitive pen to operate, the palm touch area recognized by the computer is mostly concentrated in a certain interval, then a value can be selected below or within the interval as the first area threshold. In this way, when the electronic device detects a touch operation in the touch area greater than the first area threshold, it can more accurately judge the touch operation as a false touch operation. Alternatively, the electronic device determines the specific user through the different login accounts of the electronic device application, and then formulates the first area threshold based on the user's usage habits.
[0113] In actual use, there are several usage scenarios for operating the touch screen with a handheld capacitive pen:
[0114] Category 1: The user holds a capacitive stylus and wants to manipulate the touch screen with the stylus. The user wants the touch screen to only respond to the operations of the stylus.
[0115] This category can be further divided into:
[0116] The first type: The user holds a capacitive pen to write, and the palm touches the touch screen. The capacitive pen also needs to interact with the touch screen. At this time, only the palm and the pen tip are in contact with the touch screen.
[0117] The second type: The user holds a capacitive pen to write, with the palm in contact with the touch screen, and part of the finger may also be in contact with the touch screen during the writing process; at this time, the palm, pen tip and finger may be in contact with the touch screen;
[0118] The third type: the user holds the capacitive pen to write, but only the capacitive pen is in contact with the touch screen.
[0119] The second category: The user holds a capacitive stylus, but hopes that both the capacitive stylus and the finger can control the touch screen.
[0120] This category can be further subdivided into:
[0121] The fourth type: the user holds the capacitive pen but does not write, the palm is in contact with the touch screen, and the user uses the finger to perform touch operation or finger writing operation; at this time, only the palm and fingers are in contact with the touch screen;
[0122] At this time, the electronic device compares the areas of the touch regions and shields the corresponding touch operations with larger areas of the touch regions.
[0123] Fifth type: the user holds the capacitive pen but does not write, the palm does not touch the touch screen, and uses the finger to perform touch operation or finger writing operation; at this time, only the finger is in contact with the touch screen.
[0124] Adopt the solution of this application
[0125] For the first and fourth cases, as long as the user holds the capacitive pen and is ready to write, the distance information between the capacitive pen and the touch screen must be less than the first threshold. At this time, since the touch signal greater than the first area threshold is shielded in the embodiment of the present application, the palm signal will definitely be shielded, and the touch screen can accurately respond to the response of the capacitive pen or finger.
[0126] For the second case, the embodiment of the present application takes into account the difference between the contact area of the pen tip and the contact area of the finger end, and derives that the smaller area between the two is the pen tip signal, thereby shielding the finger touch signal, which can further accurately refine the application scenarios of anti-mistouch and improve the operating experience of the capacitive pen.
[0127] Moreover, in the second case, the user's actual operation intention can be further determined based on the calculation of the area difference, thereby realizing a more accurate anti-mistouch logic.
[0128] For the third and fifth cases, the user can just write normally.
[0129] Therefore, the present application scheme meets the usage habits of users under normal circumstances, makes detailed distinctions for the accidental touch situations that are prone to occur during actual use, and uses shielding logic for subdivision and shielding accordingly, which better adapts to usage needs.
[0130] Second, refer to Figure 2 The present application also provides an anti-mistaken touch system, including:
[0131] An electronic device 1, wherein the electronic device 1 has a touch screen 11, and the electronic device 1 is configured to obtain distance information between the capacitive pen 2 and the touch screen 11, touch information received by the touch screen 11, and usage scenario information of the touch screen 11;
[0132] A capacitive pen 2, which interacts with the touch screen 11 by touch;
[0133] The electronic device 1 is configured to analyze and process usage scenario information and touch information, determine whether the touch operation is an accidental touch operation, and perform a response or shielding operation.
[0134] More specifically, refer to Figure 2, a hardware system for determining spacing information of an electronic device 1 is provided. Among them, the touch screen 11 is configured to be able to send an uplink signal; the capacitive pen 2 is provided with a power supply module 21, a parsing module 22, a wireless communication module 23 and a pen tip electrode 24, wherein the parsing module 22 is configured to be able to parse the uplink signal; the electronic device 1 is provided with a control module 12, the wireless communication module 23 is configured to output the spacing information to the control module 12, and the power supply module 21 is used to provide power to the parsing module 22, the wireless communication module 23, the pen tip electrode 24, etc.
[0135] In the use scenario where the electronic device 1 opens a touch-supported application, the touch screen 11 continuously sends an uplink signal, the capacitive pen 2 periodically searches for the uplink signal, and the uplink signal is output to the analysis module 22 through the pen tip electrode 24 of the capacitive pen 2. The analysis module 22 decodes the uplink signal of the electronic device 1, and after successful decoding, sends a downlink signal according to the corresponding parameter value in the communication protocol negotiated with the electronic device 1. After receiving and decoding the downlink signal, the electronic device 1 obtains the distance information between the capacitive pen 2 and the touch screen 11. The downlink signal is transmitted by short-distance communication. In one embodiment, the short-distance communication can be Bluetooth, or a communication mode such as a WIFI local area network.
[0136] In a third aspect, the present application further proposes a computer device, comprising:
[0137] Memory and processor;
[0138] The memory is used to store the computer program; the processor is used to implement the above-mentioned method for preventing accidental touch when executing the computer program.
[0139] In a fourth aspect, the present application further proposes a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for preventing accidental touch is implemented.
[0140] The above description is only a partial implementation method of the embodiments of the present application and does not constitute any form of limitation on the application. The protection scope of the embodiments of the present application is not limited thereto. Any simple modifications, equivalent changes and modifications that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the embodiments of the present application should be covered within the protection scope of the embodiments of the present application.
Claims
1. A method for preventing accidental touch of an electronic device, applied to the interaction between the electronic device and a capacitive stylus, wherein the electronic device has a touch screen, and characterized in that: The method for preventing accidental touch comprises: Acquire distance information between the capacitive pen and the touch screen, where the distance information is used to indicate the distance between the capacitive pen and the touch screen; When a key event occurs, controlling the touch screen to enter an anti-mistouch mode, wherein the key event includes that the distance information is less than a first threshold; In the described accidental touch prevention mode: Acquiring touch information received by the touch screen, where the touch information is generated by a touch operation; Acquiring the usage scenario information of the touch screen, including: collecting the user's usage habits during the user's use of each application, wherein the usage habits are used to indicate the frequency of the user's use of a capacitive pen and finger touch when using the application; inputting the user's usage habits for each application into a big data computing center; Analyzing and processing the usage scenario information and the touch information to determine whether the touch operation is an accidental touch operation, and if it is determined that the touch operation is an accidental touch operation, shielding the touch operation; If it is determined by the big data computing center that the finger touch frequency of the user when using a certain application is less than a defined value, then all finger touch operations are blocked when the user opens the corresponding application.
2. The method for preventing accidental touch of an electronic device according to claim 1, wherein: The step of obtaining the distance information between the capacitive pen and the touch screen includes: When the touch screen is in a touch-supporting scenario, sending an uplink signal to the capacitive pen; The distance information is received, where the distance information is calculated by the capacitive stylus according to the strength of the uplink signal.
3. The method for preventing accidental touch of an electronic device according to claim 1, wherein: The step of acquiring the touch information received by the touch screen includes: Obtain the edge boundary of the touch area corresponding to the touch operation received by the touch screen, and define the touch areas that are not in contact with each other as independent touch areas; The area of the independent touch region and the position of the touch region corresponding to the touch operation are obtained.
4. The method for preventing accidental touch of an electronic device according to claim 3, wherein: The steps of determining whether the touch operation is an accidental touch operation include: defining a first area threshold; Comparing the area of each independent touch region with the first area threshold; If the area of the touch region is greater than the first area threshold, then the corresponding touch operation is determined to be an accidental touch operation.
5. The method for preventing accidental touch of an electronic device according to claim 4, characterized in that: The anti-mistouch mode also includes: If it is learned that the areas of at least two independent touch control regions are smaller than the first area threshold; Then, the areas of the at least two independent touch regions are compared, and only the touch operation corresponding to the touch region with the smallest area is responded to.
6. The method for preventing accidental touch of an electronic device according to claim 5, characterized in that: The anti-mistouch mode also includes: Calculate the area difference between any two independent touch areas; When it is known that any one of the area differences is greater than a difference threshold, only the touch operation corresponding to the touch area with the smallest area is responded to; When the area differences are all smaller than the difference threshold, the touch operations corresponding to all touch areas are responded to.
7. The method for preventing accidental touch of an electronic device according to claim 4, characterized in that: The step of determining whether the touch operation is an accidental touch operation also includes: If the big data computing center determines that the user's finger touch frequency when using a certain application is greater than a defined value; then it is further determined whether the area of the touch area corresponding to the touch operation is greater than a second area threshold, and if so, it is blocked; wherein the second area threshold is less than the first area threshold.
8. The method for preventing accidental touch of an electronic device according to claim 7, wherein: Defining the first area threshold includes: The big data computing center determines the first area threshold according to user usage habits.
9. A system for preventing accidental touch, characterized in that: The method for preventing accidental touch of an electronic device according to any one of claims 1 to 8 is used to implement the method, wherein the system for preventing accidental touch comprises: An electronic device having a touch screen, wherein the electronic device is configured to obtain distance information between the capacitive pen and the touch screen, touch information received by the touch screen, and usage scenario information of the touch screen; A capacitive pen, wherein the capacitive pen interacts with the touch screen; The electronic device is configured to analyze and process the usage scenario information and touch information, determine whether the touch operation is an accidental touch operation, and respond to or shield the touch operation.
10. The system for preventing accidental touch according to claim 9, characterized in that: The touch screen is configured to be able to send an uplink signal; The capacitive stylus is provided with an analysis module and a wireless communication module, wherein the analysis module is configured to analyze the uplink signal to generate spacing information; The wireless communication module is connected to the analysis module for communication to obtain the distance information; A control module is provided in the electronic device, and the wireless communication module is configured to output the distance information to the control module.
11. A computer device, characterized in that: include: Memory and processor; The memory is used to store a computer program; and the processor is used to implement the method for preventing accidental touches as described in any one of claims 1 to 8 when executing the computer program.
12. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed, the method for preventing accidental touches according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Identification method for touch pen operation, intelligent terminal, and computer-readable storage medium
CN113791725A
False touch prevention method and device
CN115686264A
Application executing method by touch source and portable electronic apparatus using the same
TW201508607A
