Mistaken touch prevention method and related device
By adjusting the anti-touch parameters of the touch screen, the error touch problem of users when using curved screen electronic devices in a lying posture is solved, and the accuracy and user experience of anti-touch are improved.
Patent Information
- Application Number
- CN202311189183.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-14
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2043-09-14
AI Technical Summary
In the prior art, when users use curved screen electronic devices in a lying posture, it is impossible to effectively prevent the side curved area from being accidentally touched, which makes it difficult to solve the problem of accidentally touching.
By determining the equipment posture of the electronic device, if the equipment posture is the target equipment posture and the duration is greater than the preset time, the initial anti-touch parameter of the touch screen is adjusted to the target anti-touch parameter to adapt to the use scenarios in the lying posture.
Dynamic enhances the anti-touch effect of users in a lying posture, improves the accuracy of anti-touch recognition, and optimizes the user experience.
Smart Images

Figure CN119620878A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a method for preventing accidental touches and related devices. Background Art
[0002] With the development of electronic device technology, more and more users have begun to use curved screen electronic devices. However, since the touch screen of the curved screen electronic device contains a side arc area, there will be a problem of accidental touches on the side touch screen. The existing technology usually sets an anti-accidental touch algorithm and parameters to solve this problem. However, when the user uses the electronic device in a lying position, the user usually increases the grip to prevent the electronic device from falling off. At this time, the existing anti-accidental touch algorithm and parameters are not applicable to this scenario, which is easy to cause accidental touches. Summary of the invention
[0003] The embodiments of the present application provide an anti-mistaken-touch method and related devices, in order to enhance the anti-mistaken-touch effect when the user is lying down and improve the accuracy of anti-mistaken-touch recognition.
[0004] In a first aspect, an embodiment of the present application provides a method for preventing accidental touches, which is applied to an electronic device, wherein the touch screen of the electronic device is a curved screen including a flat area and two side arc areas, and the method includes:
[0005] Determining a device posture of the electronic device, the device posture comprising a direction of the electronic device;
[0006] If the device posture is the target device posture, and the duration of the target device posture is greater than the preset duration, the initial false touch prevention parameters of the touch screen are adjusted to the target false touch prevention parameters, the target device posture includes the target orientation of the electronic device, the target orientation is used to characterize that a ray with an arbitrary point on the plane area as an endpoint and the target orientation as a direction has an intersection with the ground, the initial false touch prevention parameters are used to indicate a critical condition for the electronic device to respond to the user's edge touch operation in a non-target device state, the target device state refers to the device state of the electronic device under the target constraint condition, the target constraint condition is that the device posture is the target device posture and the duration is greater than the preset duration, and the operation area of the edge touch operation includes a partial area of the side arc area;
[0007] The edge touch operation is processed according to the target false touch prevention parameter.
[0008] In a second aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
[0009] In a third aspect, an embodiment of the present application provides an anti-mistouch device, which is applied to an electronic device, wherein the touch screen of the electronic device is a curved screen with curvatures on both sides, and the device comprises:
[0010] a determining unit, configured to determine a device posture of the electronic device, wherein the device posture includes a direction of the electronic device;
[0011] a parameter adjustment unit, configured to adjust the initial false-touch prevention parameters of the touch screen to target false-touch prevention parameters if the device posture is a target device posture and the duration of the target device posture is greater than a preset duration, the target device posture including a target orientation of the electronic device, the target orientation being used to characterize the existence of an intersection between a ray with an arbitrary point on the plane area as an endpoint and the target orientation as a direction and the ground, the initial false-touch prevention parameters being used to indicate a critical condition for the electronic device to respond to an edge touch operation of a user in a non-target device state, the target device state being a device state of the electronic device under a target constraint condition, the target constraint condition being that the device posture is the target device posture and the duration is greater than the preset duration, and the operation area of the edge touch operation including a partial area of the side arc-shaped area;
[0012] A processing unit is used to process the edge touch operation according to the target false touch prevention parameter.
[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implement the steps in the first aspect of the embodiment of the present application.
[0014] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.
[0015] It can be seen that in the embodiment of the present application, the electronic device first determines its own device posture, which includes the orientation of the electronic device; if the device posture is the target device posture, and the duration of the target device posture is greater than the preset duration, the initial anti-false touch parameter of the touch screen is adjusted to the target anti-false touch parameter, and the target device posture includes the target orientation of the electronic device, and the target orientation is used to characterize that a ray with any point on the plane area of the touch screen as the endpoint and the target orientation as the direction has an intersection with the ground; finally, the edge touch operation is processed according to the target anti-false touch parameter. In this way, the electronic device can determine whether the user is using the electronic device in a lying posture by judging whether its own device posture is the target device posture and whether the duration of the target device posture is greater than the preset duration. When it is determined that the user is using the electronic device in a lying posture, the electronic device adjusts the anti-false touch parameter of the touch screen to the target anti-false touch parameter, and then processes the edge touch operation performed by the user in the lying posture with the target anti-false touch parameter, which dynamically enhances the anti-false touch effect of the user in the lying posture, improves the accuracy of anti-false touch recognition, and optimizes the user's use experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 is a structural block diagram of an electronic device provided in an embodiment of the present application;
[0018] Figure 2 It is a flowchart of a method for preventing accidental touch provided in an embodiment of the present application;
[0019] Figure 3a is an example diagram of an electronic device in a non-target orientation provided by an embodiment of the present application;
[0020] Figure 3b is an example diagram of an electronic device in a target orientation provided by an embodiment of the present application;
[0021] Figure 4 is an example diagram of an acceleration measurement direction of an electronic device provided in an embodiment of the present application;
[0022] Figure 5a This is a block diagram of the functional units of an anti-mistouch device provided in an embodiment of the present application;
[0023] Figure 5bThis is a block diagram of the functional units of another anti-mistouch device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0025] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0026] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0027] See also Figure 1 , Figure 1 is a structural block diagram of an electronic device provided in an embodiment of the present application. Figure 1 As shown, the electronic device 10 may include one or more of the following components: a processor 11, a memory 12 coupled to the processor 11, wherein the memory 12 may store one or more computer programs, and the one or more computer programs may be configured to implement the method described in the following embodiment when executed by one or more processors 11. The touch screen of the electronic device is a curved screen including a flat area and two side arc areas, and the electronic device may specifically be a smart device such as a mobile phone terminal with a curved screen.
[0028] The processor 11 may include one or more processing cores. The processor 11 uses various interfaces and lines to connect various parts of the entire electronic device 10, and executes various functions and processes data of the electronic device 10 by running or executing instructions, programs, code sets or instruction sets stored in the memory 12, and calling data stored in the memory 12. Optionally, the processor 11 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 11 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 11, but may be implemented separately through a communication chip.
[0029] The memory 12 may include a random access memory (RAM) or a read-only memory (ROM). The memory 12 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 12 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 10 during use, etc.
[0030] It is understandable that the electronic device 10 may include more or fewer structural elements than those in the above structural block diagram, for example, a power module, physical buttons, a Wi-Fi module, a speaker, a Bluetooth module, sensors (such as an accelerometer), etc., which are not limited here.
[0031] A method for preventing accidental touches provided by an embodiment of the present application is described below.
[0032] See also Figure 2 , Figure 2 is a flow chart of a method for preventing accidental touch provided by an embodiment of the present application, wherein the method for preventing accidental touch is applied to Figure 1 In the electronic device 10 shown, as Figure 2As shown, the method for preventing accidental touch includes:
[0033] Step 201: Determine the device posture of the electronic device.
[0034] Among them, the device posture includes the orientation of the electronic device, and the orientation of the electronic device satisfies the following geometric characteristics: a ray with any point on the plane area of the touch screen as an endpoint and the orientation of the electronic device as a direction is perpendicular to the plane area. For example, when the device posture of the electronic device is parallel to the horizontal plane, and the side where the plane area of the touch screen is located is facing upward, it can be determined that the orientation of the electronic device at this time is vertically upward; or, when the device posture of the electronic device is parallel to the horizontal plane, and the side where the plane area of the touch screen is located is facing downward, it can be determined that the orientation of the electronic device at this time is vertically downward. In this example, the device posture of the electronic device can be used to determine whether the user uses the electronic device in a lying posture.
[0035] Step 202: If the device posture is a target device posture and the duration of the target device posture is greater than a preset duration, the initial false-touch prevention parameters of the touch screen are adjusted to target false-touch prevention parameters.
[0036] Wherein, the target device posture includes the target orientation of the electronic device, the target orientation is used to characterize the intersection of a ray with any point on the plane area as the endpoint and the target orientation as the direction with the ground, the initial anti-false touch parameter is used to indicate the critical condition of the electronic device responding to the user's edge touch operation in the non-target device state, the target device state refers to the device state of the electronic device under the target constraint condition, the target constraint condition is that the device posture is the target device posture and the duration is greater than the preset duration, the operation area of the edge touch operation includes a part of the side arc area, and the preset duration is the empirical data obtained by statistically analyzing the usage records of most users in a lying posture, which is reliable, for example, 10 seconds. Wherein, the target device state can be equivalent to the device state of the electronic device when the user uses the electronic device in a lying posture, and the ground refers to the bottom horizontal plane in the space where the user is located that supports the electronic device when using the electronic device.
[0037] For example, see Figure 3a and Figure 3b , Figure 3a is an example diagram of an electronic device in a non-target orientation provided by an embodiment of the present application, Figure 3b is an example diagram of an electronic device in a target orientation provided by an embodiment of the present application. Assuming that the current device posture of the electronic device is as follows Figure 3aAs shown, in the three-dimensional coordinate system O'-X'Y'Z', the projection of the electronic device MNPQ on the ground is a figure M'N'P'Q', that is, the plane where the figure M'N'P'Q' is located is the ground. At this time, any point on the plane area 30 (point A is used as an example in the figure) is used as the endpoint, and the direction of the plane area 30 is used as the direction (the direction is perpendicular to the plane area 30) to make a ray AB. Since there is no intersection between ray AB and the ground, the direction of the electronic device is in a non-target direction. Similarly, assuming that the current device posture of the electronic device is as follows Figure 3b As shown, in the three-dimensional coordinate system O'-X'Y'Z', the projection of the electronic device MNPQ on the ground is a figure Q'P'N'M', that is, the plane where the figure Q'P'N'M' is located is the ground. At this time, any point on the plane area 30 (point A is taken as an example in the figure) is used as the endpoint, and the orientation of the plane area 30 is used as the direction (the direction is perpendicular to the plane area 30) to make a ray AC. Since there is an intersection D between the ray AC and the ground, the orientation of the electronic device is in the target orientation, that is, the device posture of the electronic device is the target device posture. After detecting that the duration of the target device posture of the electronic device is greater than the preset duration, it is determined that the user is using the electronic device in a lying posture, so that the anti-mistouch parameters are adjusted to adapt to the lying scene.
[0038] Step 203: Process the edge touch operation according to the target false touch prevention parameter.
[0039] It can be seen that in the embodiment of the present application, the electronic device first determines its own device posture, which includes the orientation of the electronic device; if the device posture is the target device posture, and the duration of the target device posture is greater than the preset duration, the initial anti-false touch parameter of the touch screen is adjusted to the target anti-false touch parameter, and the target device posture includes the target orientation of the electronic device, and the target orientation is used to characterize that a ray with any point on the plane area of the touch screen as the endpoint and the target orientation as the direction has an intersection with the horizontal plane; finally, the edge touch operation is processed according to the target anti-false touch parameter. In this way, the electronic device can determine whether the user is using the electronic device in a lying posture by judging whether its own device posture is the target device posture and whether the duration of the target device posture is greater than the preset duration. When it is determined that the user is using the electronic device in a lying posture, the electronic device adjusts the initial anti-false touch parameter of the touch screen to the target anti-false touch parameter, and then processes the edge touch operation performed by the user in the lying posture with the target anti-false touch parameter, which dynamically enhances the anti-false touch effect of the user in the lying posture, improves the accuracy of anti-false touch recognition, and optimizes the user's use experience.
[0040] In a possible example, determining the device posture of the electronic device includes: determining the device posture of the electronic device according to three-axis acceleration data of the electronic device.
[0041] Among them, the electronic device can measure the three-axis acceleration data through a built-in acceleration sensor. A corresponding mass block is set for each measuring axis inside the acceleration sensor. When the acceleration in a certain measuring direction changes, the mass block will slide along the corresponding direction, thereby causing changes in two capacitance values, and then the electronic device can calculate the acceleration data on the measuring axis according to the capacitance value. When the electronic device is in different device postures, due to the effect of gravity, the mass block will move in different directions to different degrees, generating different accelerations. Therefore, in this example, the electronic device can determine the device posture of the electronic device through the measured three-axis acceleration data.
[0042] It can be seen that in this example, the electronic device determines the current device posture through its current three-axis acceleration data, and then can determine whether the user is using the electronic device in a lying posture based on the device posture, so as to adjust the anti-mistouch parameters, improve the accuracy of anti-mistouch recognition, and optimize the user experience.
[0043] In a possible example, the three-axis acceleration data includes the acceleration a of the electronic device in the Z-axis direction of the reference coordinate system. z , the origin of the reference coordinate system is the center point of the electronic device, the X-axis of the reference coordinate system is used to indicate the long side of the electronic device when the electronic device is placed perpendicular to the horizontal plane, the Y-axis of the reference coordinate system is used to indicate the short side of the electronic device when the electronic device is placed perpendicular to the horizontal plane, and the opposite direction of the Z-axis of the reference coordinate system is the orientation of the electronic device when the electronic device is placed perpendicular to the horizontal plane, and the device posture of the electronic device is determined according to the three-axis acceleration data of the electronic device, including: when a z When <0, the orientation of the electronic device is determined to be the target orientation.
[0044] See also Figure 4 , Figure 4 is an example diagram of an acceleration measurement direction of an electronic device provided in an embodiment of the present application, such as Figure 4 As shown, the electronic device is placed perpendicular to the horizontal plane, wherein the X-axis of the reference coordinate system corresponds to the long side of the electronic device, the Y-axis corresponds to the short side of the electronic device, and the Z-axis is perpendicular to the plane XOY, wherein the orientation of the touch screen of the electronic device is consistent with the opposite direction of the Z-axis, that is, when the mass block in the acceleration sensor moves toward the touch screen under the action of gravity, the generated acceleration a z When the mass block moves toward the touch screen under the action of gravity, it can be determined that the orientation of the touch screen at this time is the target orientation, and then the device posture of the electronic device is determined to be the target device posture, that is, when the electronic device detects its acceleration a in the Z-axis direction zWhen it is a negative value, the orientation of the electronic device is determined to be the target orientation, and the current device posture can be determined to be the target device posture.
[0045] It can be seen that in this example, the electronic device determines whether the electronic device is in the target device posture by the positive or negative acceleration of its own acceleration in the Z-axis direction, and thus can determine whether the user is using the electronic device in a lying posture in combination with the duration of the target device posture, thereby improving the accuracy of device posture recognition, and further improving the accuracy of the electronic device in judging the lying posture, thereby enhancing the anti-mistouch effect of the electronic device when the user is in a lying posture.
[0046] In a possible example, the device posture of the electronic device also includes the angle between the electronic device and the horizontal plane, and the three-axis acceleration data also includes the acceleration a in the X-axis direction. x and the acceleration a in the Y direction y , the X-axis is used to indicate the long side of the electronic device, the Y-axis is used to indicate the short side of the electronic device, and the device posture of the electronic device is determined according to the three-axis acceleration data of the electronic device, including: when the electronic device is in a vertical screen state, the angle R between the electronic device and the horizontal plane is calculated by the following formula: When the electronic device is in a horizontal screen state, the angle R between the electronic device and the horizontal plane is calculated by the following formula:
[0047] Furthermore, when the angle between the electronic device and the horizontal plane is within a first preset angle range, the device posture of the electronic device is determined to be the target device posture, and the first preset angle range is an angle range obtained by statistically analyzing the angle between the electronic device and the horizontal plane when multiple users use the electronic device in a lying posture. The first preset angle range may be, for example, (30°, 90°), that is, this angle range is the most commonly used angle range when the user uses the electronic device in a lying posture. When the orientation of the electronic device is the target orientation, the angle between the electronic device and the horizontal plane is in the range of [0°, 90°], but in actual application scenarios, users rarely use electronic devices within the angle range of [0°, 30°] and 90°. Therefore, in this example, the method of comprehensively determining the device posture of the electronic device by the angle between the electronic device and the horizontal plane and the orientation of the electronic device will be more accurate.
[0048] It can be seen that in this example, the electronic device can also calculate the angle between the electronic device and the horizontal plane, and determine the device posture of the electronic device through the angle and the orientation of the electronic device, so that the recognition of the device posture is more accurate, thereby improving the accuracy of the electronic device in judging the lying posture, and enhancing the anti-mistouch effect of the electronic device when the user is in a lying posture.
[0049] In one possible example, the edge touch operation includes an edge sliding operation, the initial anti-mistouch parameter includes a first distance threshold, the first distance threshold is used to indicate the minimum trigger distance for the edge sliding operation to take effect in the target device state, and adjusting the initial anti-mistouch parameter of the touch screen to the target anti-mistouch parameter includes: increasing the first distance threshold to the target distance threshold according to the user's target holding posture of the electronic device.
[0050] Among them, the first distance threshold is empirical data determined by the cloud server or the local electronic device by analyzing the common trigger distances for edge sliding operations when most users use the electronic device in a non-lying posture, for example, 1 cm. When the user performs an edge sliding operation in a non-lying posture, a trigger distance less than 1 cm will be identified as a false touch operation.
[0051] In actual usage scenarios, since the user will deeply grip the electronic device in a lying posture, it is easy for the hand to slide a large distance on the side area due to excessive gripping force, thereby causing a sliding false touch. Therefore, in this example, after determining the specific target holding posture, the first distance threshold is increased according to the target holding posture, so that the user needs a larger trigger distance when performing an edge sliding operation in a lying posture, thereby enhancing the anti-false touch effect in the lying posture.
[0052] It can be seen that in this example, the electronic device can increase the distance threshold in the anti-mistouch parameter according to the user's holding posture of the electronic device, dynamically enhance the anti-mistouch effect for edge sliding operations in a lying posture, and optimize the user's experience.
[0053] In a possible example, the target holding posture includes a first holding posture and a second holding posture, the first holding posture refers to a holding posture in which the first side arc area of the touch screen contacts the base of the user's hand, and the second side arc area of the touch screen contacts the user's finger, and the second holding posture refers to a holding posture in which both the first side arc area and the second side arc area of the touch screen contact the user's finger, and the first distance threshold is adjusted to the target distance threshold according to the user's target holding posture of the electronic device, including: if the target holding posture is the first holding posture, increasing the first distance threshold corresponding to the first side arc area to the second distance threshold; and increasing the first distance threshold corresponding to the second side arc area to a third distance threshold, the third distance threshold being less than the second distance threshold; if the target holding posture is the second holding posture, increasing the first distance threshold corresponding to the first side arc area and the first distance threshold corresponding to the second side arc area to the third distance threshold.
[0054] There are two common holding postures for the electronic device when the user is lying down. One is holding with both the base of the thumb and the fingers, that is, the base of the thumb is in contact with the first side arc area and the fingers are in contact with the second side arc area. The other is holding with both fingers, that is, the first side arc area and the second side arc area are in contact with the user's fingers. Optionally, the electronic device determines the specific holding posture of the user by detecting the contact area between the user's hand and the touch screen.
[0055] Among them, when the user holds the electronic device in the first holding posture, the contact area of the tiger's mouth on the side arc area is larger than the contact area of the fingers on the side arc area. Then, when the user deeply grasps the electronic device, the sliding distance caused by the tiger's mouth on the touch area is also relatively larger, which is more likely to cause accidental touch. Therefore, in this scenario, the electronic device increases the first distance threshold corresponding to the first side arc area contacted by the tiger's mouth to the second distance threshold, and increases the first distance threshold corresponding to the second side arc area contacted by the finger to the third distance threshold, and the second distance threshold should be greater than the third distance threshold. Exemplarily, the second distance threshold can be 3 cm, and the third distance threshold can be 2 cm. In this way, different distance thresholds are set for different false touch probabilities, which further enhances the anti-false touch effect in the lying posture.
[0056] When the user holds the electronic device in the second holding posture, since both side arc areas are in contact with fingers, there will not be a problem of a larger false touch area and a higher false touch rate on one side in actual use. Therefore, in this scenario, the electronic device simultaneously increases the first distance threshold corresponding to the two side arc areas to the third distance threshold to adapt to the use scenario in the lying posture.
[0057] It can be seen that in this example, when the user holds the electronic device in the first holding posture, the electronic device increases the first distance threshold corresponding to the first side arc area in contact with the base of the thumb to the second distance threshold, and increases the first distance threshold corresponding to the second side arc area in contact with the finger to the third distance threshold; when the user holds the electronic device in the second holding posture, the electronic device increases the first distance threshold corresponding to the first side arc area and the second side arc area to the third distance threshold. In this way, the adjustment of the distance threshold corresponding to the edge sliding operation in the anti-mistouch parameter is realized, and the anti-mistouch effect in the lying posture is enhanced.
[0058] In a possible example, the target holding posture is the first holding posture, the edge sliding operation is a first edge sliding operation of a user on the first side arc area, and the edge touch operation is processed according to the target anti-mistouch parameter, including: if the trigger distance of the first edge sliding operation is greater than or equal to the second distance threshold, responding to the first edge sliding operation and executing an event corresponding to the first edge sliding operation; if the trigger distance of the first edge sliding operation is less than the second distance threshold, determining that the first edge sliding operation is a mistouch operation, and maintaining the current screen state.
[0059] Among them, when the user holds the electronic device in a first holding posture and the electronic device detects the user's first edge sliding operation on the first side arc area, the size relationship between the trigger distance of the user's first edge sliding operation and the second distance threshold is detected. If the trigger distance is greater than the second distance threshold, it is determined that the user has the intention to perform the edge sliding operation, and in response to the operation, an event corresponding to the first edge sliding operation is executed, such as an edge sliding exit event; if the trigger distance is less than the second distance threshold, the first edge sliding operation is not the operation that the user subjectively wants to perform, and the first edge sliding operation is determined to be a false touch operation. The electronic device does not respond to this false touch operation, thereby keeping the current screen state unchanged.
[0060] It can be seen that in this example, when the user holds the electronic device in a first holding posture and the electronic device detects the user's first edge sliding operation on the first side arc area, the electronic device can determine whether the first edge sliding operation is a false touch operation based on the relationship between the trigger distance of the first edge sliding operation and the second distance threshold, thereby executing a response or non-response processing method, thereby enhancing the anti-false touch effect for edge sliding operations in a lying posture.
[0061] In a possible example, the target holding posture is the first holding posture, the edge sliding operation is a second edge sliding operation of the user on the second side arc area, and the edge touch operation is processed according to the target anti-mistouch parameter, including: if the trigger distance of the second edge sliding operation is greater than or equal to the third distance threshold, responding to the second edge sliding operation and executing an event corresponding to the second edge sliding operation; if the trigger distance of the second edge sliding operation is less than the third distance threshold, determining that the second edge sliding operation is a mistouch operation, and maintaining the current screen state.
[0062] Among them, when the user holds the electronic device in a first holding posture and the electronic device detects the user's second edge sliding operation on the second side arc area, the size relationship between the trigger distance of the user's second edge sliding operation and the third distance threshold is detected. If the trigger distance is greater than the third distance threshold, it is determined that the user has the intention to perform the edge sliding operation, and in response to the operation, an event corresponding to the second edge sliding operation is executed, such as an edge sliding exit event; if the trigger distance is less than the third distance threshold, the second edge sliding operation is not the operation that the user subjectively wants to perform, and the second edge sliding operation is determined to be a false touch operation. The electronic device does not respond to this false touch operation, thereby keeping the current screen state unchanged.
[0063] It can be seen that in this example, when the user holds the electronic device in the first holding posture and the electronic device detects the user's second edge sliding operation on the second side arc area, the electronic device can determine whether the second edge sliding operation is a false touch operation based on the relationship between the trigger distance of the second edge sliding operation and the third distance threshold, and thus execute a response or non-response processing method, thereby enhancing the anti-false touch effect for edge sliding operations in a lying posture.
[0064] In a possible example, the target holding posture is the second holding posture, the edge sliding operation is a third edge sliding operation of the user on the first side arc area or the second side arc area, and the edge touch operation is processed according to the target anti-mistouch parameter, including: if the trigger distance of the third edge sliding operation is greater than or equal to the third distance threshold, responding to the third edge sliding operation and executing an event corresponding to the third edge sliding operation; if the trigger distance of the third edge sliding operation is less than the third distance threshold, determining that the third edge sliding operation is a mistouch operation, and maintaining the current screen state.
[0065] Among them, when the user holds the electronic device in the second holding posture and the electronic device detects the user's third edge sliding operation on the first side arc area or the second side arc area, the size relationship between the trigger distance of the user's third edge sliding operation and the third distance threshold is detected. If the trigger distance is greater than the third distance threshold, it is determined that the user has the intention to perform an edge sliding operation, and in response to the operation, an event corresponding to the third edge sliding operation is executed, such as a pull-down display notification box event in the horizontal screen state; if the trigger distance is less than the third distance threshold, the third edge sliding operation is not the operation that the user subjectively wants to perform, and the third edge sliding operation is determined to be a false touch operation. The electronic device does not respond to this false touch operation, thereby keeping the current screen state unchanged.
[0066] It can be seen that in this example, when the user holds the electronic device in the second holding posture and the electronic device detects the user's third edge sliding operation on the first side arc area or the second side arc area, the electronic device can determine whether the third edge sliding operation is a false touch operation based on the relationship between the trigger distance of the third edge sliding operation and the third distance threshold, and thus execute a response or non-response processing method, thereby enhancing the anti-false touch effect for edge sliding operations in a lying posture.
[0067] In one possible example, the edge touch operation includes an edge long press operation, and the initial anti-false touch parameters include a first time threshold, the first time threshold is used to characterize a first empirical time value, the first empirical time value is obtained after statistically analyzing the pressing time of a preset long press operation performed by a user recorded by the electronic device in the non-target device state, the preset long press operation refers to the user performing a preset undo operation after performing the edge long press operation, and adjusting the initial anti-false touch parameters of the touch screen to the target anti-false touch parameters includes: reducing the first time threshold to a second time threshold, the second time threshold is used to characterize a second empirical time value, and the second empirical time value is obtained after statistically analyzing the pressing time of the preset long press operation performed by the user recorded by the electronic device in the target device state.
[0068] Among them, the preset undo operation can specifically be an operation for realizing the function of returning to the previous display interface. In this example, the preset long press operation means that after the user performs an edge long press operation, the electronic device jumps from the first display interface to the second display interface, and then the user performs the preset undo operation to make the electronic device return from the second display interface to the first display interface. The preset long press operation is used to indicate that the user's edge long press operation is an accidental touch operation and should not jump to the second display interface.
[0069] The electronic device will record the above-mentioned operation process performed by the user in a non-lying posture, and record the pressing time of the edge long press operation performed by the user. The cloud server or the local electronic device can comprehensively determine the first experienced time in the non-lying posture based on the multiple pressing times corresponding to multiple users or the multiple pressing times corresponding to a single target user, and use the first experienced time as the first time threshold for the edge long press operation in the non-lying posture. When the edge long press operation performed by the user in the non-lying posture exceeds the first time threshold, it is judged as a false touch operation and no response is made.
[0070] Similarly, the electronic device will also record the above-mentioned operation process performed by the user in the lying posture, and record the pressing time of the edge long press operation performed by the user in the lying posture. The cloud server or the local electronic device can comprehensively determine the second experienced time in the lying posture based on the multiple pressing times corresponding to multiple users or the multiple pressing times corresponding to a single target user, and use the second experienced time as the second time threshold for the edge long press operation in the lying posture.
[0071] In this example, the first time threshold and the second time threshold are both empirical values obtained by the cloud server or the electronic device after pre-analyzing the user's behavior data and pre-stored in the electronic device. They are reliable and can be directly called. Therefore, when the electronic device detects that the user is using the electronic device in a lying posture, the first time threshold of the touch screen is adjusted to the second time threshold to achieve the adjustment of the anti-mistouch parameters corresponding to the edge long press operation.
[0072] It can be seen that in this example, the electronic device directly adjusts the time threshold based on the pre-stored time threshold data when it detects that the user is using the electronic device in a lying posture, dynamically enhancing the anti-mistouch effect for long press operations on the edge in a lying posture, and optimizing the user experience.
[0073] In a possible example, the processing of the edge touch operation according to the target anti-mistouch parameter includes: if the pressing time of the edge long press operation is less than the second time threshold, responding to the edge long press operation and executing an event corresponding to the edge long press operation; if the pressing time of the edge long press operation is greater than or equal to the second time threshold, determining that the edge long press operation is a mistouch operation, and maintaining the current screen state.
[0074] Among them, when the pressing time of the user's edge long press operation is less than the second time threshold, it indicates that the user has the intention to perform the edge long press operation, and then respond to the operation and execute the event corresponding to the edge long press operation, such as the application icon entering the draggable state event; when the pressing time is greater than or equal to the second time threshold, it indicates that the edge long press operation is not the operation that the user subjectively wants to perform, and the edge long press operation is determined to be a false touch operation. The electronic device does not respond to this false touch operation, thereby keeping the current screen state unchanged.
[0075] It can be seen that in this example, the electronic device can determine whether the edge long press operation is a false touch operation based on the relationship between the pressing time of the edge long press operation and the second time threshold, and then execute a response or non-response processing method, thereby enhancing the anti-false touch effect for the edge long press operation in the lying posture.
[0076] In other possible examples, when the electronic device detects that the application currently used by the user is playing a vertical screen video, it detects whether the application has a function corresponding to the edge long press operation, such as a video double-speed playback function. If so, the anti-mistouch function for the edge long press operation is turned off.
[0077] In this example, considering that some users have the habit of pressing the curved area on the side for a long time to play the video at double speed when watching vertical screen videos, in order to avoid conflicts between the double-speed playback function and the anti-mistouch function, when a third-party application supports the double-speed playback function by long pressing the edge, the anti-mistouch function for the long pressing of the edge is turned off to further improve the user experience.
[0078] In accordance with the above-mentioned embodiments, please refer to Figure 5a , Figure 5a is a block diagram of the functional units of an anti-mistouch device provided in an embodiment of the present application, such as Figure 5a As shown, the anti-false touch device 50 includes: a determination unit 501, used to determine the device posture of the electronic device, the device posture includes the orientation of the electronic device; a parameter adjustment unit 502, used to adjust the initial anti-false touch parameters of the touch screen to target anti-false touch parameters if the device posture is a target device posture and the duration of the target device posture is greater than a preset duration, the target device posture includes the target orientation of the electronic device, the target orientation is used to characterize that a ray with any point on the plane area as an endpoint and the target orientation as a direction has an intersection with the ground, the initial anti-false touch parameters are used to indicate the critical conditions for the electronic device to respond to the user's edge touch operation in a non-target device state, the target device state refers to the device state of the electronic device under the constraint of a target constraint condition, the target constraint condition is that the device posture is the target device posture and the duration is greater than the preset duration, and the operation area of the edge touch operation includes a partial area of the side arc area; a processing unit 503, used to process the edge touch operation according to the target anti-false touch parameters.
[0079] In a possible example, in terms of determining the device posture of the electronic device, the determining unit 501 is specifically configured to: determine the device posture of the electronic device according to three-axis acceleration data of the electronic device.
[0080] In a possible example, the three-axis acceleration data includes the acceleration a of the electronic device in the Z-axis direction of the reference coordinate system. z, the origin of the reference coordinate system is the center point of the electronic device, the X-axis of the reference coordinate system is used to indicate the long side of the electronic device when the electronic device is placed perpendicular to the horizontal plane, the Y-axis of the reference coordinate system is used to indicate the short side of the electronic device when the electronic device is placed perpendicular to the horizontal plane, and the opposite direction of the Z-axis of the reference coordinate system is the orientation of the electronic device when the electronic device is placed perpendicular to the horizontal plane. In determining the device posture of the electronic device according to the three-axis acceleration data of the electronic device, the determining unit 501 is specifically used to: when a z When <0, the orientation of the electronic device is determined to be the target orientation.
[0081] In a possible example, the device posture of the electronic device also includes the angle between the electronic device and the horizontal plane, and the three-axis acceleration data also includes the acceleration a in the X-axis direction. x and the acceleration a in the Y direction y , the X-axis is used to indicate the long side of the electronic device, and the Y-axis is used to indicate the short side of the electronic device. In determining the device posture of the electronic device according to the three-axis acceleration data of the electronic device, the determination unit 501 is specifically used to: when the electronic device is in a vertical screen state, calculate the angle R between the electronic device and the horizontal plane by the following formula: When the electronic device is in a horizontal screen state, the angle R between the electronic device and the horizontal plane is calculated by the following formula:
[0082] In one possible example, the edge touch operation includes an edge sliding operation, and the initial anti-mistouch parameter includes a first distance threshold, which is used to indicate the minimum trigger distance for the edge sliding operation to take effect in the target device state. In terms of adjusting the initial anti-mistouch parameter of the touch screen to the target anti-mistouch parameter, the parameter adjustment unit 502 is specifically used to increase the first distance threshold to the target distance threshold according to the user's target holding posture of the electronic device.
[0083] In a possible example, the target holding posture includes a first holding posture and a second holding posture, the first holding posture refers to a holding posture in which the first side arc area of the touch screen contacts the base of the user's hand, and the second side arc area of the touch screen contacts the user's finger, and the second holding posture refers to a holding posture in which both the first side arc area and the second side arc area of the touch screen contact the user's finger. In terms of adjusting the first distance threshold to the target distance threshold according to the user's target holding posture of the electronic device, the parameter adjustment unit 502 is specifically used to: if the target holding posture is the first holding posture, increase the first distance threshold corresponding to the first side arc area to the second distance threshold; and increase the first distance threshold corresponding to the second side arc area to a third distance threshold, the third distance threshold being less than the second distance threshold; if the target holding posture is the second holding posture, increase the first distance threshold corresponding to the first side arc area and the first distance threshold corresponding to the second side arc area to the third distance threshold.
[0084] In a possible example, the target holding posture is the first holding posture, the edge sliding operation is the first edge sliding operation of the user on the first side arc area, and in terms of processing the edge touch operation according to the target anti-mistouch parameter, the processing unit 503 is specifically used to: if the trigger distance of the first edge sliding operation is greater than or equal to the second distance threshold, respond to the first edge sliding operation and execute the event corresponding to the first edge sliding operation; if the trigger distance of the first edge sliding operation is less than the second distance threshold, determine that the first edge sliding operation is a mistouch operation, and maintain the current screen state.
[0085] In a possible example, the target holding posture is the first holding posture, the edge sliding operation is a second edge sliding operation of the user on the second side arc area, and in terms of processing the edge touch operation according to the target anti-mistouch parameter, the parameter adjustment unit 502 is specifically used to: if the trigger distance of the second edge sliding operation is greater than or equal to the third distance threshold, respond to the second edge sliding operation and execute the event corresponding to the second edge sliding operation; if the trigger distance of the second edge sliding operation is less than the third distance threshold, determine that the second edge sliding operation is a mistouch operation, and maintain the current screen state.
[0086] In a possible example, the target holding posture is the second holding posture, and the edge sliding operation is a third edge sliding operation of the user on the first side arc area or the second side arc area. In terms of processing the edge touch operation according to the target anti-mistouch parameter, the processing unit 503 is specifically used to: if the trigger distance of the third edge sliding operation is greater than or equal to the third distance threshold, respond to the third edge sliding operation and execute the event corresponding to the third edge sliding operation; if the trigger distance of the third edge sliding operation is less than the third distance threshold, determine that the third edge sliding operation is a mistouch operation, and maintain the current screen state.
[0087] In one possible example, the edge touch operation includes an edge long press operation, and the initial anti-false touch parameters include a first time threshold, the first time threshold is used to characterize a first empirical time value, the first empirical time value is obtained after statistically analyzing the pressing time in a preset long press operation performed by a user recorded by the electronic device in the non-target device state, the preset long press operation refers to the user performing a preset undo operation after performing the edge long press operation, and in terms of adjusting the initial anti-false touch parameters of the touch screen to the target anti-false touch parameters, the parameter adjustment unit 502 is specifically used to: reduce the first time threshold to a second time threshold, the second time threshold is used to characterize a second empirical time value, the second empirical time value is obtained after statistically analyzing the pressing time in the preset long press operation performed by the user recorded by the electronic device in the target device state.
[0088] In one possible example, in terms of processing the edge touch operation according to the target anti-mistouch parameter, the processing unit 503 is specifically used to: if the pressing time of the edge long press operation is less than the second time threshold, respond to the edge long press operation and execute the event corresponding to the edge long press operation; if the pressing time of the edge long press operation is greater than or equal to the second time threshold, determine that the edge long press operation is a mistouch operation, and maintain the current screen state.
[0089] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.
[0090] In the case of an integrated unit, such as Figure 5b As shown, Figure 5b This is a block diagram of the functional units of another anti-mistouch device provided in an embodiment of the present application. Figure 5bIn the embodiment, the anti-mistaken touch device 50 includes: a processing module 52 and a communication module 51. The processing module 52 is used to control and manage the actions of the anti-mistaken touch device, for example, to execute the steps of the determination unit 501, the parameter adjustment unit 502 and the processing unit 503, and / or to execute other processes of the technology described herein. The communication module 51 is used to support the interaction between the anti-mistaken touch device and other devices. Figure 5b As shown, the accidental touch prevention device may further include a storage module 53, and the storage module 53 is used to store program codes and data of the accidental touch prevention device.
[0091] Among them, the processing module 52 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 51 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 53 can be a memory.
[0092] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. The above-mentioned anti-mistaken touch device 50 can execute the above-mentioned Figure 2 The method to prevent accidental touch is shown.
[0093] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0094] An embodiment of the present application also provides a computer storage medium, on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, part or all of the steps of any method recorded in the above method embodiments are implemented.
[0095] The present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any method described in the above method embodiment. The computer program product may be an application program involved in the above embodiment.
[0096] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0097] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0098] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0099] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0100] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM), etc., various media that can store program code.
[0101] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.
Claims
1. A method for preventing accidental touch, characterized in that: Applied to an electronic device, the touch screen of the electronic device is a curved screen including a flat area and two side arc areas, the method comprising: Determining a device posture of the electronic device, the device posture comprising a direction of the electronic device; If the device posture is the target device posture and the duration of the target device posture is greater than the preset duration, the initial anti-false touch parameters of the touch screen are adjusted to the target anti-false touch parameters, the target device posture includes the target orientation of the electronic device, the target orientation is used to characterize the existence of an intersection between a ray with an arbitrary point on the plane area as an endpoint and the target orientation as a direction and the ground, the initial anti-false touch parameters are used to indicate the critical conditions for the electronic device to respond to the user's edge touch operation in a non-target device state, the target device state refers to the device state of the electronic device under the target constraint condition, the target constraint condition is that the device posture is the target device posture and the duration is greater than the preset duration, and the operation area of the edge touch operation includes a partial area of the side arc area; the edge touch operation is processed according to the target anti-false touch parameters.
2. The method according to claim 1, characterized in that: The determining the device posture of the electronic device includes: The device posture of the electronic device is determined according to the three-axis acceleration data of the electronic device.
3. The method according to claim 2, characterized in that: The three-axis acceleration data includes the acceleration a of the electronic device in the Z-axis direction of the reference coordinate system. z , the origin of the reference coordinate system is the center point of the electronic device, the X-axis of the reference coordinate system is used to indicate the long side of the electronic device when the electronic device is placed perpendicular to the horizontal plane, the Y-axis of the reference coordinate system is used to indicate the short side of the electronic device when the electronic device is placed perpendicular to the horizontal plane, and the opposite direction of the Z-axis of the reference coordinate system is the orientation of the electronic device when the electronic device is placed perpendicular to the horizontal plane, and the device posture of the electronic device is determined according to the three-axis acceleration data of the electronic device, including: when a z When <0, the orientation of the electronic device is determined to be the target orientation.
4. The method according to claim 3, characterized in that: The device posture of the electronic device also includes the angle between the electronic device and the horizontal plane, and the three-axis acceleration data also includes the acceleration a in the X-axis direction. x and the acceleration a in the Y direction y , determining the device posture of the electronic device according to the three-axis acceleration data of the electronic device includes: When the electronic device is in a vertical screen state, the angle R between the electronic device and the horizontal plane is calculated by the following formula: When the electronic device is in a horizontal screen state, the angle R between the electronic device and the horizontal plane is calculated by the following formula:
5. The method according to any one of claims 1 to 4, characterized in that: The edge touch operation includes an edge sliding operation, the initial false touch prevention parameter includes a first distance threshold, and the first distance threshold is used to indicate a minimum trigger distance for the edge sliding operation to take effect in the target device state, and the initial false touch prevention parameter of the touch screen is adjusted to a target false touch prevention parameter, including: The first distance threshold is increased to a target distance threshold according to the target holding posture of the user towards the electronic device.
6. The method according to claim 5, characterized in that: The target holding posture includes a first holding posture and a second holding posture, the first holding posture refers to a holding posture in which the first side arc area of the touch screen contacts the base of the user's hand and the second side arc area of the touch screen contacts the user's finger, the second holding posture refers to a holding posture in which both the first side arc area and the second side arc area of the touch screen contact the user's finger, and the first distance threshold is adjusted to the target distance threshold according to the user's target holding posture of the electronic device, including: If the target holding posture is the first holding posture, the first distance threshold corresponding to the first side arc area is increased to a second distance threshold; and the first distance threshold corresponding to the second side arc area is increased to a third distance threshold, and the third distance threshold is less than the second distance threshold; If the target holding posture is the second holding posture, the first distance threshold corresponding to the first side arc region and the first distance threshold corresponding to the second side arc region are both increased to the third distance threshold.
7. The method according to claim 6, characterized in that: The target holding posture is the first holding posture, the edge sliding operation is a first edge sliding operation of the user on the first side arc-shaped area, and the processing of the edge touch operation according to the target false touch prevention parameter includes: If the trigger distance of the first edge sliding operation is greater than or equal to the second distance threshold, responding to the first edge sliding operation, executing an event corresponding to the first edge sliding operation; If the trigger distance of the first edge sliding operation is less than the second distance threshold, the first edge sliding operation is determined to be an accidental touch operation, and the current screen state is maintained.
8. The method according to claim 6, characterized in that: The target holding posture is the first holding posture, the edge sliding operation is a second edge sliding operation of the user on the second side arc-shaped area, and the processing of the edge touch operation according to the target false touch prevention parameter includes: If the triggering distance of the second edge sliding operation is greater than or equal to the third distance threshold, responding to the second edge sliding operation, executing an event corresponding to the second edge sliding operation; If the trigger distance of the second edge sliding operation is less than the third distance threshold, the second edge sliding operation is determined to be an accidental touch operation, and the current screen state is maintained.
9. The method according to claim 6, characterized in that: The target holding posture is the second holding posture, the edge sliding operation is a third edge sliding operation of the user on the first side arc area or the second side arc area, and the processing of the edge touch operation according to the target false touch prevention parameter includes: If the triggering distance of the third edge sliding operation is greater than or equal to the third distance threshold, responding to the third edge sliding operation, executing an event corresponding to the third edge sliding operation; If the trigger distance of the third edge sliding operation is less than the third distance threshold, the third edge sliding operation is determined to be a mistouch operation, and the current screen state is maintained.
10. The method according to any one of claims 1 to 4, characterized in that: The edge touch operation includes an edge long press operation, the initial false touch prevention parameter includes a first time threshold, the first time threshold is used to represent a first experience time value, the first experience time value is obtained after statistically analyzing the pressing time in a preset long press operation performed by a user recorded by the electronic device in the non-target device state, the preset long press operation refers to the user performing a preset undo operation after performing the edge long press operation, and adjusting the initial false touch prevention parameter of the touch screen to the target false touch prevention parameter includes: The first time threshold is reduced to a second time threshold, where the second time threshold is used to characterize a second empirical time value, which is obtained after statistically analyzing the pressing time in the preset long press operation performed by the user recorded by the electronic device in the target device state.
11. The method according to claim 10, characterized in that: The processing of the edge touch operation according to the target false touch prevention parameter includes: If the pressing time of the edge long press operation is less than the second time threshold, responding to the edge long press operation and executing an event corresponding to the edge long press operation; If the pressing time of the edge long press operation is greater than or equal to the second time threshold, the edge long press operation is determined to be an accidental touch operation, and the current screen state is maintained.
12. An electronic device, characterized in that: The method comprises a processor, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 11.
13. An anti-accidental touch device, characterized in that: Applied to an electronic device, the touch screen of the electronic device is a curved screen with curvatures on both sides, and the device comprises: a determining unit, configured to determine a device posture of the electronic device, wherein the device posture includes a direction of the electronic device; a parameter adjustment unit, configured to adjust the initial false-touch prevention parameters of the touch screen to target false-touch prevention parameters if the device posture is a target device posture and the duration of the target device posture is greater than a preset duration, the target device posture including a target orientation of the electronic device, the target orientation being used to characterize the existence of an intersection between a ray with an arbitrary point on the plane area as an endpoint and the target orientation as a direction and the ground, the initial false-touch prevention parameters being used to indicate a critical condition for the electronic device to respond to an edge touch operation of a user in a non-target device state, the target device state being a device state of the electronic device under a target constraint condition, the target constraint condition being that the device posture is the target device posture and the duration is greater than the preset duration, and the operation area of the edge touch operation including a partial area of the side arc-shaped area; A processing unit is used to process the edge touch operation according to the target false touch prevention parameter.
14. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
False touch prevention method for curved screen and electronic equipment
CN110456938A
False touch prevention method and device, electronic equipment and storage medium
CN114724196A
False touch prevention method and device, equipment and storage medium
CN115033121A
False touch prevention method and device, electronic equipment and readable storage medium
CN116520973A
Optimizing content layout on a foldable device
US11137894B1
Cited By
Equipment control method and device, electronic equipment and storage medium
CN120973286A