Mistaken touch prevention method and device, electronic equipment and medium
By detecting the grip method of the electronic device and determining the anti-touch area based on the first touch signal, the problem of false touching of the edge in the horizontal screen state is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202311404220.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2025-04-29
AI Technical Summary
When using electronic devices in a horizontal screen state, users are prone to affect their user experience due to accidental touch on the edge.
By detecting the grip of the electronic device, the anti-touch area of the target area is determined based on the generated first touch signal, and the anti-touch area is performed on the area.
It effectively prevents edge touching in the horizontal screen state, improves the user experience, and does not affect normal touch operation.
Smart Images

Figure CN119902638A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic equipment, and in particular to a method, device, electronic equipment and medium for preventing accidental touches. Background Art
[0002] With the rapid development of modern technology, electronic devices such as smart phones, tablets, and laptops are widely used in daily life. As an interface for human-computer interaction, touch screens are used in many scenarios. Due to the popularity of full-screen displays, the screen proportion of electronic devices is getting larger and larger, and the edges are getting narrower and narrower. It is easy for users to accidentally touch when using electronic devices, affecting the user experience. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, electronic device and medium for preventing accidental touch.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for preventing accidental touches is provided, the method for preventing accidental touches comprising:
[0005] Detecting how the electronic device is held when in landscape mode;
[0006] If a first touch signal generated based on the holding method falls into a target area, determining an anti-mistouch area of the target area based on the first touch signal, wherein the holding method is associated with the target area;
[0007] The mistake-touch prevention area is processed to prevent mistake-touch.
[0008] In some exemplary embodiments of the present disclosure, the holding method includes at least one of a left-hand holding method and a right-hand holding method, the target area includes a first area and a second area, and the first area and the second area are combined to form a display area of the electronic device;
[0009] The first area is associated with the left-hand holding method, and the second area is associated with the right-hand holding method.
[0010] In some exemplary embodiments of the present disclosure, determining the false touch prevention area of the target area based on the first touch signal includes:
[0011] Based on a first touch signal acting on a target area, obtaining preset graphic information of the first touch signal;
[0012] The mistake-touch prevention area is determined based on the positional relationship between the preset graphic information and the edge of the electronic device.
[0013] In some exemplary embodiments of the present disclosure, the step of obtaining preset graphic information of the first touch signal based on the first touch signal acting on the target area includes:
[0014] Based on the ellipse fitting method of the moment of inertia, the first touch signal is fitted to obtain preset graphic information of the ellipse pattern formed by the first touch signal, wherein the preset graphic information includes the major axis of the ellipse and the acute angle between the major axis and the target side of the electronic device.
[0015] In some exemplary embodiments of the present disclosure, determining the false touch prevention area based on the positional relationship between the preset graphic information and the edge of the electronic device includes:
[0016] If the acute angle is within a preset range, determining a reference position, wherein the reference position is an intersection of an extension line of the long axis and a target side edge of the electronic device;
[0017] A display area within a preset range from the reference position to a target vertex angle of the target area is determined as the false touch prevention area.
[0018] In some exemplary embodiments of the present disclosure, the method for preventing accidental touch further includes:
[0019] If the preset graphic information cannot be obtained based on the first touch signal, a second touch signal acting on a preset area is obtained, wherein the preset area includes at least one of a side area and a top corner area of the electronic device;
[0020] Determine a reference ratio of the preset area based on the second touch signal and the preset area, wherein the reference ratio includes a first ratio and a second ratio, the first ratio being used to represent a ratio of a touch capacitance value at a first vertex position of the vertex area to a touch capacitance value around the first vertex position, and the second ratio being used to represent a ratio of a touch capacitance value at a first edge position of the side area to a touch capacitance value inside the first edge position;
[0021] Based on the reference ratio, the preset area is determined as the false touch prevention area.
[0022] In some exemplary embodiments of the present disclosure, the method for preventing accidental touch further includes:
[0023] Within a first preset time period, if the first ratio is greater than or equal to a preset ratio, determining the top corner area as the false touch prevention area;
[0024] Within the first preset time period, if the second ratio is greater than or equal to the preset ratio, the side area is determined as the false touch prevention area.
[0025] In some exemplary embodiments of the present disclosure, the method for preventing accidental touch further includes:
[0026] Within the first preset time period, if the reference ratio is less than the preset ratio, the false touch prevention area is determined based on the time period between receiving the first touch signal and receiving the second touch signal.
[0027] In some exemplary embodiments of the present disclosure, determining the false touch prevention area based on the duration between the first touch signal and the second touch signal includes:
[0028] The duration between receiving the first touch signal and receiving the second touch signal is less than or equal to a second preset duration, and the preset area is determined as the false touch prevention area.
[0029] In some exemplary embodiments of the present disclosure, the step of performing an anti-mistaken-touch process on the anti-mistaken-touch area includes:
[0030] Receiving a false touch signal acting in the false touch prevention area;
[0031] Determining the false touch coordinates based on the false touch signal;
[0032] Stop reporting the false touch coordinates to the system layer of the electronic device.
[0033] In some exemplary embodiments of the present disclosure, the method for preventing accidental touch includes:
[0034] Based on the game application being in a running state, the screen state and holding method of the display screen of the electronic device are detected.
[0035] According to a second aspect of an embodiment of the present disclosure, there is provided an anti-accidental touch device, the anti-accidental touch device comprising:
[0036] A detection module, used to detect the holding method of the electronic device in the horizontal screen state;
[0037] a processing module, configured to determine, if a first touch signal generated based on the holding method falls into a target area, an anti-mistouch area of the target area based on the first touch signal, wherein the holding method is associated with the target area;
[0038] The processing module is further used to perform an anti-mistaken-touch processing on the anti-mistaken-touch area.
[0039] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:
[0040] processor;
[0041] a memory for storing processor-executable instructions;
[0042] The processor is configured to execute executable instructions in the memory to implement the false touch prevention method provided in the first aspect of the present disclosure.
[0043] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the method for preventing accidental touches provided in the first aspect of the present disclosure is implemented.
[0044] The above method of the present invention has the following beneficial effects: the present invention determines the anti-mistouch area that is easy to be accidentally touched by the user during the operation based on the first touch signal generated by the holding method. Since the holding method is associated with the target area, the anti-mistouch area can be determined for different target areas according to the holding method, and the anti-mistouch area can be processed to prevent accidental touches on the edge in the horizontal screen state without affecting the user's normal touch operation, thereby improving the user experience in the horizontal screen state.
[0045] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0047] Figure 1 The figure is a flow chart of a method for preventing accidental touch according to an exemplary embodiment.
[0048] Figure 2a is a schematic diagram of a display screen according to an exemplary embodiment.
[0049] Figure 2b is a schematic diagram of a display screen according to an exemplary embodiment.
[0050] Figure 3a It is a schematic diagram of an application of a method for preventing accidental touches according to an exemplary embodiment.
[0051] Figure 3b It is a schematic diagram of an application of a method for preventing accidental touches according to an exemplary embodiment.
[0052] Figure 4 The figure is a flow chart of a method for preventing accidental touch according to an exemplary embodiment.
[0053] Figure 5 is a block diagram of a device for preventing accidental touch according to an exemplary embodiment.
[0054] Figure 6 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0055] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0056] In the related art, there are two main methods to prevent accidental touches. One is to add a "dead zone" at the edge, and the other is to add an "inhibition zone" at the edge. Touch sensors are arranged in an array at each position on the display screen. The "dead zone" means that the touch data collected in this area will not be reported, so that the data of the touch sensor in this area is invalid, so as to achieve the effect of preventing accidental touches. The "dead zone" will cause the click operation on the edge position to be lost, affecting the touch performance; the "inhibition zone" is the algorithm to identify the touch data features collected in this area. When there are fewer touch data features, due to the low recognition rate, it is easy to cause misrecognition, resulting in lost points and accidental touches. In summary, the anti-accidental touch method in the related art has a poor anti-accidental touch effect on the edge, which is easy to cause problems such as accidental touch and touch failure, causing inconvenience to users and seriously affecting the user experience.
[0057] In order to solve the above problems, the present disclosure provides an anti-mistouch method. When the electronic device is in the horizontal screen state, the holding method of the electronic device is detected. If the first touch signal generated based on the holding method falls into the target area, the anti-mistouch area of the target area is determined based on the first touch signal, and the anti-mistouch area is processed to prevent false touches on the edges in the horizontal screen state. At the same time, it will not affect the normal touch operation, thereby improving the user experience in the horizontal screen state.
[0058] The exemplary embodiments of the present disclosure provide an anti-mistouch method, which is applied to electronic devices such as smart phones, tablet computers, and notebooks that may have a display screen. The display screen can receive a user's touch input, and the touch input includes any input from a conductive object such as one or more fingers of the user, a stylus, or other objects that directly contact the display screen. The anti-touch method of the present disclosure is implemented by a control device of the electronic device. The control device is also a control chip of the electronic device, which has a data processing function, as well as information and instruction receiving and sending functions, etc. The control device includes the anti-mistouch device involved in the following text. In addition, the method in the present disclosure is particularly suitable for use in scenarios where an electronic device is held in a horizontal screen state for gaming, and can effectively prevent fingers from accidentally touching the edge area during gaming in a horizontal screen state.
[0059] like Figure 1 As shown, the method for preventing accidental touch shown in the present disclosure includes:
[0060] S101, detecting a holding method of the electronic device in a horizontal screen state;
[0061] S102: if the first touch signal generated based on the holding method falls into the target area, determine an anti-mistouch area of the target area based on the first touch signal;
[0062] S103, performing an anti-accidental touch process on the anti-accidental touch area.
[0063] In step S101, the control device obtains information such as the position, acceleration, tilt angle, etc. of the electronic device by communicating with built-in detection devices such as acceleration sensors, gravity sensors, magnetic sensors, and gyroscopes. The control device uses this information to determine whether the electronic device is in a horizontal screen state. For example, when a user uses an electronic device to watch videos, play games, or take photos, there is a situation where the electronic device is turned into a horizontal screen for use. The control device combines the data obtained by the detection device and uses a pre-stored neural network to determine the holding method of the electronic device in the horizontal screen state.
[0064] The holding modes include left-hand holding, right-hand holding and two-hand holding. Left-hand holding is used to indicate that the left side of the electronic device is in the left-hand holding state, right-hand holding is used to indicate that the right side of the electronic device is in the right-hand holding state, and two-hand holding indicates that the left and right hands of the user hold the left and right sides of the electronic device respectively. Figure 3a As shown, the user's right hand holds the left side of the electronic device 1, and the right thumb 6 touches the right side of the display screen 2. Figure 3b As shown, the user's left hand holds the left side of the electronic device 1, and the left thumb 7 touches the left side of the display screen 2. At the same time, the user's right hand holds the right side of the electronic device 1, and the right thumb 6 touches the right side of the display screen 2. It should be noted that the left and right sides are described with the user's perspective as a reference orientation. The left and right sides are relative concepts. The left and right sides represent one side of the short side of the electronic device, that is, in the horizontal screen state, there are two situations in which the top of the electronic device is on the left and the bottom is on the right, or the top is on the right and the bottom is on the left.
[0065] The neural network model is an algorithm model that is pre-stored in the electronic device after training. During the model training process, data of users holding the electronic device in various horizontal states are collected and marked as learning samples and input into the model for training. After the training, the neural network model can accurately determine whether the user is holding the electronic device in a horizontal state and the user's holding method based on the detection data of various sensors of the electronic device. Among them, the electronic device neural network model includes convolutional neural network models, etc. Since the neural network used to identify the holding method in the horizontal state is trained with left-hand holding sample data, right-hand holding sample data, and left-hand holding sample data, it has high accuracy. Therefore, when the data obtained by the detection device and the touch information acting on the display screen are input into the neural network, the neural network can accurately output the holding method of the electronic device, which is conducive to more accurate anti-mistouch processing later.
[0066] In step S102, when the user holds the electronic device and puts the electronic device in a horizontal screen state, due to the large display area and in order to ensure the stability of holding, the fingers and the bases of the fingers may act on the display screen to generate touch information. When the user uses the finger to click, slide, etc. to operate the application currently displayed on the display screen, the base of the finger moves with the sliding of the finger. The finger is the main touch object and is also the touch object used to judge the user's intention. The first touch signal represents the signal generated by the finger touching the display screen, and the contact between the base of the finger and the display screen is a false touch. The touch signal generated by the false touch needs to be processed to prevent the electronic device from responding to the false touch.
[0067] The touch sensors under the display screen are arranged in an array. The touch sensors can be capacitive or resistive. The capacitive touch sensors are used for illustration. Figure 2a and Figure 2b As shown, each square corresponds to a capacitive touch sensor, and the capacitive touch sensors are distributed throughout the entire display screen. Each capacitive touch sensor collects touch data acting on the position of the touch sensor. The number displayed in the square is the touch data generated by the touch sensor at this position. The greater the pressure applied by the user to the position, the greater the capacitance value. Since the finger is the main touch object, the touch data generated by the finger is larger, and the touch data generated by the finger root is smaller. The control device can use the HTC (host touch computing) point reporting method to obtain the first touch signal acting on the display screen. The HTC method is that the main control chip receives the touch data detected by the sensor, and the main control chip completes the calculation of the touch data, obtains the touch coordinate information, and then the main control chip reports the coordinate information to the system layer (such as transmitting it to the game application of the system layer).
[0068] There is a correlation between the holding method and the target area. When the user holds the electronic device with one hand, in order to improve the accuracy of the false touch prevention area, part of the display screen can be used as the target area, for example, Figure 3a As shown, when the user holds the electronic device with his right hand, Figure 3a The right half area corresponding to the bottom of the electronic device 1 is used as the target area. In addition, the entire area of the display screen can also be used as the target area, for example, Figure 3b As shown, when the user holds the electronic device with both hands, the operation range of the left and right thumbs is relatively wide, so the entire area of the display screen 2 can be used as the target area. When the first touch signal generated based on the holding method falls into the target area, that is, when the user's finger acts on the target area, since the base of the finger holding the electronic device will move with the finger, there is a possibility of accidentally touching the side area of the display screen, so the control device can determine the anti-mistouch area based on the position of the first touch signal. Of course, it is understandable that if the user's hand is large enough, the user can also use the entire area of the display screen of the entire electronic device as the target area when holding the electronic device with one hand. Different holding methods are associated with different target areas, so that when the user uses different holding hands to operate the target area, different anti-mistouch areas can be determined for different target areas.
[0069] Since the touch sensors exist in an array form under the display screen, based on the coordinate information corresponding to the first touch signal, it can be known that the shape corresponding to the first touch signal on the display screen is an irregular shape. Therefore, the control device can determine that the area that is easy to contact the side of the electronic device is the anti-mistouch area based on the information of the shape corresponding to the first touch signal.
[0070] In step S103, the anti-false touch area, that is, the user's intention is not to perform a touch operation on this area, but there is touch data in this area. In order to prevent the touch data in the anti-false touch area from affecting the touch operation that the user wants to perform, the touch data collected in the anti-false touch area is processed for anti-false touch, that is, although the touch data in this area is collected, these touch data are not reported to the main control chip for processing; or, the touch data in the anti-false touch area is collected and reported, but the main control chip does not adopt these data to achieve the effect of preventing false touch.
[0071] In the present disclosure, a detection device, a touch signal and a neural network are used to detect whether a first touch signal generated based on a holding method falls into a target area, that is, to determine whether an edge accidental touch caused by holding an electronic device occurs. The positional relationship between preset graphic information and the edge of the electronic device is used to clarify the anti-accidental touch area so as to perform anti-accidental touch processing on the edge, so that the edge accidental touch caused by holding can be effectively avoided without affecting the user's normal touch operation, thereby improving the user's experience.
[0072] In some embodiments, the holding method includes at least one of a left-hand holding method and a right-hand holding method, the target area includes a first area and a second area, and the first area and the second area are combined to form a display area of the electronic device;
[0073] The first area is associated with the left-hand holding method, and the second area is associated with the right-hand holding method.
[0074] The present disclosure is directed to the false touch situations caused by holding an electronic device, so the holding method of the electronic device includes at least one of a left-hand holding method and a right-hand holding method. When holding with the left hand, the base of the left hand's fingers is prone to false touches on the left side of the electronic device being held; when holding with the right hand, the base of the right hand's fingers is prone to false touches on the right side of the electronic device being held. In order to improve the accuracy of determining the anti-false touch area, the display area of the display screen is divided into two parts, the area that is prone to false touches caused by holding with the left hand is used as the first area, and the area that is prone to false touches caused by holding with the right hand is used as the second area. After that, the control device only needs to consider the situation where the first touch signal falls into the target area corresponding to the holding side.
[0075] The areas of the first area and the second area can be adjusted based on the user's touch habits. The areas of the first area and the second area can be the same or different. For example, if the user is accustomed to using his left hand for touch operations, the area of the first area can be increased and the area of the second area can be reduced. The first area occupies two-thirds of the display area, and the second area occupies one-third of the display area. Among them, when the display screen of the electronic device is an ordinary straight-plate type (that is, the display screen cannot be folded), the first area and the second area are divided into the first area and the second area evenly or unevenly with the axis parallel to the width direction of the electronic device as the dividing line. When the display screen of the electronic device is foldable, the display area can be evenly divided into the first area and the second area with the axis of the folding screen as the dividing line, or with the perpendicular line of the axis of the folding screen as the dividing line.
[0076] In some embodiments, determining the false touch prevention area of the target area based on the first touch signal includes:
[0077] Based on the first touch signal acting on the target area, obtaining preset graphic information of the first touch signal;
[0078] Based on the positional relationship between the preset graphic information and the edge of the electronic device, an anti-mistouch area is determined.
[0079] Since the touch sensor is in an array under the display screen, based on the coordinate information, it can be known that the shape corresponding to the first touch signal on the display screen is an irregular shape. The control device fits the first touch signal acting on the display screen, that is, fits the shape corresponding to the first touch signal into a regular preset image. The preset image can be an ellipse, a circle, a diamond, etc., such as Figure 3a As shown, the touch operation of the user on the display screen can be fitted into an ellipse. The control device combines the preset image and coordinate information to obtain the preset graphic information of the first touch signal. When the preset graphic is an ellipse, the preset graphic information may include the major axis, the minor axis, etc.; when the preset graphic is a circle, the preset graphic information may include the center of the circle, the diameter, etc.; when the preset graphic is a rhombus, the preset graphic information may include the diagonal line, the side length, etc.
[0080] The control device determines whether the holding side is on the left or right side based on the holding method of the electronic device, and determines whether the first touch signal is located on the left or right side when the display screen is in the landscape state based on the coordinate position of the first touch signal. When the holding side and the first touch signal are located on the same side when the display screen is in the landscape state, the base of the user's finger will follow the movement of the finger, and there is a possibility of accidentally touching the edge area of the display screen. In order to avoid erroneous operations caused by the base of the finger, the control device determines the anti-mistouch area based on the positional relationship between the preset graphic information and the edge of the electronic device. For example, if the preset graphic is an ellipse, the anti-mistouch area can be determined based on the angle between the major axis of the ellipse and the edge of the electronic device; if the preset image is a rhombus, the anti-mistouch area can be determined based on the angle between the diagonal of the rhombus and the edge of the electronic device, etc. In one example, Figure 3a As shown, the right-hand holding method is adopted, the holding side is the right side, the right thumb 6 acts on the right side of the display screen 2, and the touch operation of the right thumb 6 on the display screen 2 is fitted into an ellipse 10. Based on the positional relationship between the extension line 9 of the long axis of the ellipse 10 and the right and lower edges of the electronic device 1, the anti-mistouch area 8 is determined. The anti-mistouch area 8 is the area where the base of the right thumb 6 is easily to accidentally touch the display screen 2.
[0081] When the user holds the electronic device with both hands, it is necessary to determine the anti-mistouch area based on the positional relationship between the preset graphic information corresponding to the first touch signal acting on the left and right sides of the display screen and the edge of the electronic device. Figure 3bAs shown, a two-handed holding method is adopted, and the left and right sides of the electronic device are both holding sides. The left thumb 7 acts on the left side of the display screen 2. The touch operation of the left thumb 7 on the display screen 2 is fitted into an ellipse 13. Based on the positional relationship between the extension line 12 of the major axis of the ellipse 13 and the left and lower edges of the electronic device 1, the anti-mistouch area 11 is determined. The anti-mistouch area 11 is the area where the left thumb 7 is easily to accidentally touch the display screen 2. The method for determining the anti-mistouch area on the right side of the display screen is the same as the previous example.
[0082] In addition, it should be noted that there are the following two situations during use. Since the occurrence of false touches is relatively rare, false touches can be ignored during application. The first is when the holding side and the first touch signal are located on different sides of the display screen in the horizontal screen state. For example, the user holds the right side of the electronic device with the right hand and uses the thumb of the left hand to touch the left side of the display screen. Combined with daily touch actions, it can be seen that the palm or finger roots of the right hand will not touch the display screen, and the thumb of the left hand is also in a hovering state to operate the display screen. Therefore, in this case, there is no need to set up anti-false touch areas on the left and right sides of the display screen, and all touch signals on the display screen can be reported to the system normally. In addition, there is also a situation where the holding side and the first touch signal are located on the same side of the display screen in the horizontal screen state, but the hand used for holding and the hand used for touch operation are different hands. For example, the user holds the right side of the electronic device with the right hand and uses the thumb of the left hand to touch the right side of the display screen. Combined with daily touch actions, it can be seen that, as in the above situation, the finger roots of the left and right hands will not touch the display screen by mistake, so there is no need to set up anti-false touch areas on the left and right sides of the display screen. The present disclosure describes a case where the holding side and the touch signal are on the same side of the electronic device.
[0083] According to an exemplary embodiment, Figure 4 As shown, the method for preventing accidental touch in this embodiment includes:
[0084] S401, detecting a holding method of the electronic device in a horizontal screen state;
[0085] S402, fitting the first touch signal based on the ellipse fitting method of the moment of inertia, and determining whether the preset graphic information of the ellipse pattern formed by the first touch signal can be obtained, if the preset graphic information can be obtained, executing step S403; if the preset graphic information cannot be obtained, executing step S406;
[0086] S403, determining whether the acute angle is within a preset range, if the acute angle is within the preset range, executing step S404; if the acute angle is not within the preset range, executing step S406;
[0087] S404, determining a reference position, where the reference position is the intersection of the extension line of the long axis and the target side of the electronic device;
[0088] S405, determining a display area within a preset range from the reference position to a target vertex angle of the target area as an anti-mistouch area;
[0089] S406, acquiring a second touch signal acting on a preset area, wherein the preset target area includes at least one of a side area and a top corner area of the electronic device;
[0090] S407, determining a reference ratio of the preset area based on the second touch signal and the preset area;
[0091] S408, determining whether the reference ratio of the preset area is greater than or equal to the preset ratio, if the reference ratio is greater than or equal to the preset ratio, executing step S409; if the reference ratio is less than the preset ratio, executing step S410;
[0092] S409, determining the preset area as an anti-mistouch area based on the reference ratio;
[0093] S410, determining whether the duration between receiving the first touch signal and receiving the second touch signal is less than or equal to a second preset duration, if the duration between receiving the first touch signal and receiving the second touch signal is less than or equal to the second preset duration, executing step S411; if the duration between receiving the first touch signal and receiving the second touch signal is greater than the second preset duration, executing step S412;
[0094] S411, determining a preset area as an anti-mistouch area;
[0095] S412, receiving a touch signal acting on a preset area, and reporting coordinates corresponding to the touch signal to a system layer of the electronic device;
[0096] S413, receiving a false touch signal acting in the false touch prevention area;
[0097] S414, determining the false touch coordinates based on the false touch signal;
[0098] S415: Stop reporting the coordinates of the accidental touch to the system layer of the electronic device.
[0099] The implementation of step S401 is the same as that of step S101 in the above embodiment, and will not be repeated here.
[0100] In step S402, the control device uses an ellipse fitting method of moment of inertia to fit the first touch signal, and fits the first touch information into a regular ellipse pattern. The moment of inertia is a physical quantity that describes the magnitude of the inertia of an object's rotational motion. The ellipse fitting method of moment of inertia refers to calculating the center of mass and main axis moment of inertia of the first touch information, deriving the magnitude of the ellipse rotation angle and the centroid main axis moment of inertia, and obtaining the magnitude of the major semi-axis and minor semi-axis of the ellipse from the magnitude of the centroid main axis moment of inertia, thereby obtaining various parameters of the fitted ellipse pattern. Among them, the preset graphic information includes the major axis of the ellipse and the acute angle between the major axis and the target side of the electronic device. The target side refers to the length or width of the edge of the electronic device, that is, the left edge, the right edge, the upper edge and the lower edge. As Figure 3a As shown, the user's right thumb 6 acts on the display screen 2, and the first touch signal generated by the right thumb is fitted by the ellipse fitting method based on the moment of inertia to obtain an ellipse 10, and the extension line 9 of the major axis of the ellipse 10 forms an acute angle 14 with the right edge of the display screen 2.
[0101] Since the ellipse fitting method of the moment of inertia requires multiple frames of data, it is not possible to fit all first touch signals. For example, when the operation acting on the display screen is a quick click, although the touch data generated by the touch sensor can be received, the amount of data in one frame is small, so the first touch signal cannot be fitted, and the preset graphic information of the ellipse pattern formed by the first touch signal cannot be obtained. If the control device can obtain the preset graphic information, step S403 is executed; if the control device cannot obtain the preset graphic information, step S406 is executed.
[0102] In step S403, when it is determined based on the holding mode and the first touch signal that the holding side and the first touch signal are located on the same side when the display screen is in the horizontal screen state, it is determined whether the acute angle is within a preset range, wherein the preset range can be set based on the user's daily touch habits, for example, if the user is accustomed to performing a large-scale touch operation, the preset range can be set to [5°, 85°], or if the user is accustomed to performing a small-scale touch operation, the preset range can be set to [25°, 75°]. If the acute angle is within the preset range, it indicates that contact may be made with two target sides of the electronic device, and the false touch area exists in the top corner area of the display screen, so step S404 is executed; if the acute angle is not within the preset range, it indicates that contact may be made with one target side of the electronic device, and the false touch area may exist in the top corner area of the display screen or may only exist in the side area of the display screen, so step S406 is executed.
[0103] In step S404, the control device determines the intersection of the extension line of the long axis and the target side of the electronic device as the reference position, and in step S405, determines the display area within the preset range from the reference position to the target vertex angle of the target area as the anti-false touch area. Since most of the false touches on the display screen are caused by the root of the finger acting on the display screen, the area caused by the root of the finger is larger than the touch size of the finger tip, so the control device determines the display area within the preset range from the reference position to the target vertex angle as the anti-false touch area. The size of the preset range can be adjusted based on the distance between the first touch signal and the target side. For example, if the first touch signal is far from the target side, the preset range can be expanded, and the display area with a larger range from the reference position to the target vertex angle is used as the anti-false touch area to avoid ignoring the false touch signal; if the first touch signal is close to the target side, the preset range can be narrowed, and the display area with a smaller range from the reference position to the target vertex angle is used as the anti-false touch area to avoid interference with the first touch signal.
[0104] like Figure 3a As shown, the user's right thumb 6 acts on the right side of the display screen 2 to generate a first touch signal. The first touch signal is fitted to obtain an ellipse 10. The extension line 9 of the long axis of the ellipse intersects with the right edge of the electronic device to determine the reference position. The right thumb is in contact with the right edge of the electronic device. In order to avoid accidental touch at the reference position corresponding to the finger root, the display area within a preset range from the reference position to the lower right corner is used as an anti-mistouch area 8.
[0105] In step S406, the preset area includes at least one of the side area and the top corner area of the electronic device. Figure 3b The side area refers to the area corresponding to the left edge, right edge, upper edge and lower edge of the display screen, and the top corner area refers to the area corresponding to the four corners formed by the two edges of the display screen. The control device obtains the second touch signal acting on the preset area in the same manner as the first touch signal, which will not be repeated here.
[0106] In step S407, when the touch sensor is a capacitive sensor, the touch data collected by each touch sensor is the touch capacitance value. The greater the pressure exerted by the user on the display screen, the greater the touch capacitance value collected by the touch sensor at the corresponding position. Figure 2a As shown, the user's touch operation 31 acts on the left edge of the display screen, and the touch capacitance values collected by the touch sensor in this area are 1139, 1111, 292, 242, 265, 335, etc. Figure 2bAs shown, the user's touch operation 32 acts on the top corner of the display screen. The touch capacitance values collected by the touch sensors in this area are 1148, 962, 905, 247, 514, 148, etc. The position where the user touches is the position corresponding to the touch sensor with the largest value, and the touch capacitance values of other positions on the display screen where there is no touch operation are all small values.
[0107] The reference ratio includes a first ratio and a second ratio. A larger reference ratio indicates that a touch operation exists in the preset area. The first ratio is Corner ratio = ∑cor1 / ∑cor2, which represents the ratio of the touch capacitance value of the first vertex position in the vertex area to the touch capacitance value around the first vertex position, wherein the first vertex position may refer to the area of the column and the area of the row where the vertex is located, and the area around the first vertex position may refer to the area of the row and the area of the column close to the column and the row where the vertex is located. Figure 2b As shown, the first ratio is the ratio of the sum of the touch capacitance values of all touch sensors at the first vertex position 42 to the sum of the touch capacitance values of all touch sensors around the first vertex position 52, ∑cor1=11+11+6+6+1-2-6-10-11-15-6+142+514+962+1148+905+148-5+20-30+6-20-9-9-9-9-9-9=3721, ∑cor2=9+7+5+2-2-2-3-6-8-12-12+3+64+247+9-15+9-21+1-3+1+1+1+1+1+1=278, so the first ratio Corner ratio=3721 / 278=13.4. In addition, the first vertex position can also refer to half of the area of the column where the vertex is located and half of the area of the row where the vertex is located. Similarly, the area around the first vertex position can refer to half of the area of the row and half of the area of the column close to the column and row where the vertex is located.
[0108] The second ratio is Edge ratio = ∑ch1 / ∑ch2, which represents the ratio of the touch capacitance value at the first edge position in the side region to the touch capacitance value inside the first edge position. The first edge position refers to the region of the row or column where the edge is located, and the inside of the first edge position refers to the row region or column region close to the row or column where the edge is located. Figure 2aAs shown, the second ratio is the ratio of the sum of the touch capacitance values of all touch sensors at the first edge position 41 to the sum of the touch capacitance values of all touch sensors on the inner side 51 of the first edge position, ∑ch1=7+10+7+124+29+1111+1139+422+9-12-15-13-11-7=2800, ∑ch2=1+1+4+10+17+61+265+335+70+18+8+8+8+5+2=813, so the second ratio Edge ratio=2800 / 813=3.4.
[0109] In step S408, the control device compares the reference ratio of the preset area with the preset ratio to determine whether the reference ratio is greater than or equal to the preset ratio. If the reference ratio is greater than or equal to the preset ratio, it can be clearly determined that there is a false touch in the preset area, so step S409 is executed to determine the anti-false touch area; if the reference ratio is less than the preset ratio, it cannot be clearly determined whether there is a false touch in the preset area, so step S410 is executed for further judgment.
[0110] In step S409, since the reference ratio includes the first ratio and the second ratio, and the preset area includes the top corner area and the side area, it is necessary to further determine the anti-false touch area based on the comparison between the first ratio and the second ratio and the preset ratio. Within the first preset time period, if the first ratio is greater than or equal to the preset ratio, that is, the false touch signal is collected in the top corner area, the top corner area is determined as the anti-false touch area; if the second ratio is greater than or equal to the preset ratio, that is, the false touch signal is collected in the side area, the side area is determined as the anti-false touch area. For example, a second touch signal is collected at the upper edge of the display screen, and the second ratio is calculated by the touch capacitance value collected by the touch sensor. Since the second ratio is greater than the preset ratio, the upper edge of the display screen can be determined as the anti-false touch area, that is, the user's finger base or palm base acts on the upper edge of the display screen, and it will be judged that there is no misjudgment.
[0111] In step S410, the control device further determines whether there is a false touch in combination with the operation mode of the user's normal touch process. Since the user's finger and the finger root are connected, usually if the finger root is falsely touched in the preset area, the generation time of the finger's touch signal and the finger root's touch signal are close, and the interval time is short. Therefore, the control device can determine whether a false touch has occurred by comparing the duration between the first touch signal and the second touch signal with the second preset duration. The second preset duration can be set to 200ms by default, and can also be changed based on the application scenario of the electronic device or the user's touch habits, for example, set to 250ms.
[0112] If the duration between the first touch signal and the second touch signal is less than or equal to the second preset duration, it means that the touch signal generated on the display screen is short in interval with the touch signal generated on the edge or top corner of the display screen, and can be regarded as occurring simultaneously or continuously, that is, the touch signal generated on the side area or top corner area of the display screen is not what the user intended to trigger, and the touch operation on the side area or top corner area of the display screen is actually a false touch, so step S411 is executed to determine the preset area as the anti-false touch area.
[0113] If the duration between the first touch signal and the second touch signal is greater than the second preset duration, it means that the touch signal generated on the display screen is relatively long in interval with the touch signal generated on the edge or top corner of the display screen, and the two touch signals do not occur simultaneously or continuously, that is, the touch signal generated on the side area or top corner area of the display screen is triggered based on the user's intention. Therefore, step S412 is executed to receive the touch signal acting in the preset area. The main control chip determines the corresponding coordinates based on the touch signal, reports the coordinates of the touch signal to the system layer of the electronic device, and responds to the touch signal acting on the preset area to avoid point loss.
[0114] In step S413, since the touch sensors under the display screen are all in the on state, the control device will still receive the false touch signal acting on the anti-false touch area, and determine the false touch coordinates corresponding to the false touch signal in step S414. In order to achieve the effect of preventing false touch, the control device stops reporting the false touch coordinates to the system layer of the electronic device in step S415, that is, discards the touch signal acting on the anti-false touch area. Although the touch sensor can collect touch data for the anti-false touch area, it does not report the touch data of the anti-false touch area to the system layer, and the system layer will not respond to the touch operation of the anti-false touch area. For example, when the system detects that the electronic device is running a game application in the horizontal screen state, the system will only respond to the first touch signal, control the movement of the game character based on the first touch signal, etc. The coordinates corresponding to the touch signal of the anti-false touch area will not be reported, so the touch signal in the anti-false touch area will not affect the user's control of the game character.
[0115] In the present disclosure, the control device progressively determines the anti-mistouch area using three methods: preset graphic information of the first touch signal, the reference ratio of the preset area, and the time length between receiving the first touch signal and receiving the second touch signal, thereby improving the accuracy of determining the anti-mistouch area, effectively reducing edge mistouches, avoiding affecting the user's normal operation of the electronic device in the horizontal screen state, and improving the user's experience.
[0116] The exemplary embodiment of the present disclosure provides an anti-mistouch device, which is applied to an electronic device with a touch panel. Figure 5As shown, a block diagram of an anti-mistouch device shown in the present disclosure.
[0117] The block diagram includes: a detection module 51 and a processing module 52. The detection module 51 is used to detect the holding method of the electronic device in the horizontal screen state; the processing module 52 is used to determine the anti-mistaken touch area of the target area based on the first touch signal if the first touch signal generated based on the holding method falls into the target area, wherein the holding method and the target area are associated; the processing module 52 is also used to perform anti-mistaken touch processing on the anti-mistaken touch area.
[0118] In an exemplary embodiment of the present disclosure, the holding method includes at least one of a left-hand holding method and a right-hand holding method, and the target area includes a first area and a second area, and the first area and the second area together constitute a display area of the electronic device; wherein the first area is associated with the left-hand holding method, and the second area is associated with the right-hand holding method.
[0119] In an exemplary embodiment of the present disclosure, the processing module 52 is also used to: obtain preset graphic information of the first touch signal based on the first touch signal acting on the target area; and determine the anti-mistouch area based on the positional relationship between the preset graphic information and the edge of the electronic device.
[0120] In an exemplary embodiment of the present disclosure, the processing module 52 is also used to: fit the first touch signal based on an ellipse fitting method of moment of inertia to obtain preset graphic information of an elliptical pattern formed by the first touch signal, wherein the preset graphic information includes the major axis of the ellipse and the acute angle between the major axis and the target side of the electronic device.
[0121] In an exemplary embodiment of the present disclosure, the processing module 52 is also used to: determine a reference position if the acute angle is within a preset range, wherein the reference position is the intersection of an extension line of the long axis and a target side of the electronic device; and determine a display area within a preset range from the reference position to a target vertex angle of the target area as an anti-mistouch area.
[0122] In an exemplary embodiment of the present disclosure, the processing module 52 is also used for: if the preset graphic information cannot be obtained based on the first touch signal, obtaining a second touch signal acting on a preset area, wherein the preset area includes at least one of the side area and the top corner area of the electronic device; based on the second touch signal and the preset area, determining a reference ratio of the preset area, wherein the reference ratio includes a first ratio and a second ratio, the first ratio being used to characterize the ratio of the touch capacitance value at the first top corner position of the top corner area to the touch capacitance value around the first top corner position, and the second ratio being used to characterize the ratio of the touch capacitance value at the first edge position in the side area to the touch capacitance value inside the first edge position; based on the reference ratio, determining that the preset area is an anti-mistouch area.
[0123] In an exemplary embodiment of the present disclosure, the processing module 52 is also used to: within a first preset time length, if the first ratio is greater than or equal to the preset ratio, determine the top corner area as an anti-mistouch area; within the first preset time length, if the second ratio is greater than or equal to the preset ratio, determine the side area as an anti-mistouch area.
[0124] In an exemplary embodiment of the present disclosure, the processing module 52 is further used to: within a first preset time period, if the reference ratio is less than the preset ratio, determine the anti-mistouch area based on the time period between receiving the first touch signal and receiving the second touch signal.
[0125] In an exemplary embodiment of the present disclosure, the processing module 52 is further configured to: if the duration between receiving the first touch signal and receiving the second touch signal is less than or equal to a second preset duration, determine the preset area as the false touch prevention area.
[0126] In an exemplary embodiment of the present disclosure, the processing module 52 is further used to: receive a false touch signal acting in the false touch prevention area; determine the false touch coordinates based on the false touch signal; and stop reporting the false touch coordinates to the system layer of the electronic device.
[0127] In an exemplary embodiment of the present disclosure, the detection module 51 is further used to detect the screen state and holding method of the display screen of the electronic device based on the game application being in the running state.
[0128] Regarding the anti-mistouch device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0129] Figure 6 is a block diagram of an electronic device 600 according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0130] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0131] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0132] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0133] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0134] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0135] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0136] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0137] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0138] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0139] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0140] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to perform the above-mentioned anti-touch method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0141] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables a processing device of the electronic device to execute the method for preventing accidental touches provided by an exemplary embodiment of the present disclosure.
[0142] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0143] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A method for preventing accidental touch, characterized in that: The method for preventing accidental touch comprises: Detecting how the electronic device is held when in landscape mode; If a first touch signal generated based on the holding method falls into a target area, determining an anti-mistouch area of the target area based on the first touch signal, wherein the holding method is associated with the target area; The mistake-touch prevention area is processed to prevent mistake-touch.
2. The method for preventing accidental touch according to claim 1, characterized in that: The holding method includes at least one of a left-hand holding method and a right-hand holding method, the target area includes a first area and a second area, and the first area and the second area are combined to form a display area of the electronic device; The first area is associated with the left-hand holding method, and the second area is associated with the right-hand holding method.
3. The method for preventing accidental touch according to claim 1, characterized in that: The determining, based on the first touch signal, an anti-mistouch area of the target area includes: Based on a first touch signal acting on a target area, obtaining preset graphic information of the first touch signal; The mistake-touch prevention area is determined based on the positional relationship between the preset graphic information and the edge of the electronic device.
4. The method for preventing accidental touch according to claim 1, characterized in that: The obtaining, based on the first touch signal acting on the target area, preset graphic information of the first touch signal includes: Based on the ellipse fitting method of the moment of inertia, the first touch signal is fitted to obtain preset graphic information of the ellipse pattern formed by the first touch signal, wherein the preset graphic information includes the major axis of the ellipse and the acute angle between the major axis and the target side of the electronic device.
5. The method for preventing accidental touch according to claim 4, characterized in that: The determining the false touch prevention area based on the positional relationship between the preset graphic information and the edge of the electronic device includes: If the acute angle is within a preset range, determining a reference position, wherein the reference position is an intersection of an extension line of the long axis and a target side edge of the electronic device; A display area within a preset range from the reference position to a target vertex angle of the target area is determined as the false touch prevention area.
6. The method for preventing accidental touch according to claim 5, characterized in that: The method for preventing accidental touch further includes: If the preset graphic information cannot be obtained based on the first touch signal, a second touch signal acting on a preset area is obtained, wherein the preset area includes at least one of a side area and a top corner area of the electronic device; Determine a reference ratio of the preset area based on the second touch signal and the preset area, wherein the reference ratio includes a first ratio and a second ratio, the first ratio being used to represent a ratio of a touch capacitance value at a first vertex position of the vertex area to a touch capacitance value around the first vertex position, and the second ratio being used to represent a ratio of a touch capacitance value at a first edge position of the side area to a touch capacitance value inside the first edge position; Based on the reference ratio, the preset area is determined as the false touch prevention area.
7. The method for preventing accidental touch according to claim 6, characterized in that: The method for preventing accidental touch further includes: Within a first preset time period, if the first ratio is greater than or equal to a preset ratio, determining the top corner area as the false touch prevention area; Within the first preset time period, if the second ratio is greater than or equal to the preset ratio, the side area is determined as the false touch prevention area.
8. The method for preventing accidental touch according to claim 7, characterized in that: The method for preventing accidental touch further includes: Within the first preset time period, if the reference ratio is less than the preset ratio, the false touch prevention area is determined based on the time period between receiving the first touch signal and receiving the second touch signal.
9. The method for preventing accidental touch according to claim 8, characterized in that: The determining the false touch prevention area based on the duration between the first touch signal and the second touch signal includes: The duration between receiving the first touch signal and receiving the second touch signal is less than or equal to a second preset duration, and the preset area is determined as the false touch prevention area.
10. The method for preventing accidental touch according to any one of claims 1 to 9, characterized in that: The performing the anti-mistaken-touch processing on the anti-mistaken-touch area includes: Receiving a false touch signal acting in the false touch prevention area; Determining the false touch coordinates based on the false touch signal; Stop reporting the false touch coordinates to the system layer of the electronic device.
11. The method for preventing accidental touch according to any one of claims 1 to 9, characterized in that: The method for preventing accidental touch comprises: Based on the game application being in a running state, the screen state and holding method of the display screen of the electronic device are detected.
12. A device for preventing accidental touch, characterized in that: The anti-mistaken touch device comprises: A detection module, used to detect the holding method of the electronic device in the horizontal screen state; a processing module, configured to determine, if a first touch signal generated based on the holding method falls into a target area, an anti-mistouch area of the target area based on the first touch signal, wherein the holding method is associated with the target area; The processing module is further used to perform an anti-mistaken-touch processing on the anti-mistaken-touch area.
13. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute executable instructions in the memory to implement the false touch prevention method according to any one of claims 1 to 11.
14. A non-transitory computer-readable storage medium having executable instructions stored thereon, characterized in that: When the executable instruction is executed by the processor, the method for preventing accidental touch as claimed in any one of claims 1 to 11 can be implemented.
Citation Information
Patent Citations
Point report output control method, point report output control device and storage medium
CN112068730A
Information processing method, device, electronic equipment and storage medium
CN112445408A
Touch signal processing method and device
CN112987958A
Method for identifying palm rejection operation and electronic device
WO2017197636A1