Picture jitter optimization method and related device

By adjusting the anti-shake parameters of the touch screen, the screen shaking problem caused by hand movements caused by the user when using electronic devices in a lying posture is solved, and the user's touch experience is improved.

CN119883023APending Publication Date: 2025-04-25GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311390978.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

When users use touch screen electronic devices in a lying posture, the deep grip of the hand and the large contact area cause subtle changes in hand movements to easily break through the anti-shake parameters, causing screen shaking and affecting the user experience.

Method used

By detecting the equipment posture and usage duration of the electronic device, when the user is in the target equipment state, the initial anti-shake parameter of the touch screen is adjusted as the target anti-shake parameter to adapt to the hand movements in the lying scene.

Benefits of technology

It reduces the probability that the user will deeply grasp the electronic device in a lying posture and causes the screen to jitter, and optimizes the user's touch experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883023A_ABST
    Figure CN119883023A_ABST
Patent Text Reader

Abstract

The invention provides a picture jitter optimization method and a related device, the picture jitter optimization method is applied to electronic equipment, a touch screen of the electronic equipment is a curved screen comprising a plane area and two side arc areas, and the method comprises the following steps: when it is detected that the electronic equipment is in a target equipment state, adjusting an initial anti-jitter parameter of the touch screen into a target anti-jitter parameter, the target equipment state refers to the equipment state of the electronic equipment under the constraint of a target constraint condition, the target constraint condition refers to that the equipment posture of the electronic equipment is a target equipment posture, and the duration of the target equipment posture is greater than a preset duration; and processing the touch operation according to the target anti-shake parameter. Thus, by adjusting the anti-shake parameters of the touch screen, the user cannot easily break through the anti-shake parameters due to slight shake of the hand, the probability of picture shake caused by the fact that the user deeply grabs the electronic equipment in the lying posture is reduced, and the touch experience of the user is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a method for optimizing image jitter and a related device. Background Art

[0002] With the development of electronic device technology, users have higher and higher requirements for touch experience. Screen jitter caused by the jitter of touch point reporting has also been a hot issue in recent years. In the existing technology, anti-shake parameters are usually set to solve this problem. However, when users use electronic devices with curved touch screens in a lying position, they usually grip the device deeply to prevent the electronic device from falling off. The contact area between the hand and the touch screen is larger. At this time, slight changes in hand movements will more easily break through the original anti-shake parameters and cause screen jitter, affecting the user experience. Summary of the invention

[0003] The embodiments of the present application provide a method and related apparatus for optimizing image jitter, in order to reduce the probability of image jitter caused by a user deeply gripping an electronic device in a lying position.

[0004] In a first aspect, an embodiment of the present application provides a method for optimizing image jitter, 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] When it is detected that the electronic device is in a target device state, the initial anti-shake parameters of the touch screen are adjusted to target anti-shake parameters, the target device state refers to the device state of the electronic device under the constraints of target constraints, the target constraints refer to the device posture of the electronic device is the target device posture, and the duration of the target device posture is greater than a preset duration, the target device posture is used to indicate the target orientation of the electronic device, and the target orientation satisfies the following geometric characteristics: 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, and the initial anti-shake parameters are used to indicate the critical conditions for the electronic device to experience screen jitter in a non-target device state;

[0006] The touch operation is processed according to the target anti-shake parameter.

[0007] 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.

[0008] In a third aspect, an embodiment of the present application provides a device for optimizing image jitter, 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 device includes:

[0009] a parameter adjustment unit, configured to adjust the initial anti-shake parameters of the touch screen to target anti-shake parameters when detecting that the electronic device is in a target device state, wherein the target device state refers to the device state of the electronic device under the constraints of a target constraint condition, wherein the target constraint condition refers to the device posture of the electronic device being the target device posture, and the duration of the target device posture being greater than a preset duration, wherein the target device posture is used to indicate a target orientation of the electronic device, and wherein the target orientation satisfies the following geometric features: a ray having an endpoint at any point on the plane area and a direction having the target orientation intersects the ground, and wherein the initial anti-shake parameters are used to indicate a critical condition for screen jitter of the electronic device when the electronic device is in a non-target device state;

[0010] A processing unit is used to process the touch operation according to the target anti-shake parameter.

[0011] 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.

[0012] 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.

[0013] It can be seen that in the embodiment of the present application, when the electronic device detects that the electronic device is in the target device state, that is, when the electronic device detects that the user uses the electronic device in a lying posture for more than a preset time, the initial anti-shake parameter of the touch screen is adjusted to the target anti-shake parameter, and then the touch operation is processed according to the target anti-shake parameter. In this way, by adjusting the anti-shake parameter of the touch screen, the user will not easily break through the anti-shake parameter due to slight shaking of the hand, reducing the probability of the user deeply grasping the electronic device in a lying posture causing the screen to shake, and optimizing the user's touch experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] 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 creative work.

[0015] Figure 1 is a structural block diagram of an electronic device provided in an embodiment of the present application;

[0016] Figure 2 It is a flowchart of a method for optimizing image jitter provided in an embodiment of the present application;

[0017] Figure 3a is an example diagram of an electronic device in a non-target orientation provided by an embodiment of the present application;

[0018] Figure 3b is an example diagram of an electronic device in a target orientation provided by an embodiment of the present application;

[0019] Figure 4 is an example diagram of an acceleration measurement direction of an electronic device provided in an embodiment of the present application;

[0020] Figure 5a is an example diagram of a target plane area provided in an embodiment of the present application;

[0021] Figure 5b is an example diagram of another target plane area provided in an embodiment of the present application;

[0022] Figure 6a This is a block diagram of the functional units of a picture jitter optimization device provided in an embodiment of the present application;

[0023] Figure 6b This is a block diagram of the functional units of another image jitter optimization 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] The embodiments of the present application are mainly applied to capacitive touch screens, and the touch screen reports points using the principle of capacitive sensing. When human skin touches the touch screen, due to the human body electric field, a coupling capacitor is formed between the user and the surface of the touch screen, and the finger draws a very small current from the contact point, thereby generating a capacitive signal, causing the capacitance value of the touch position to change, so that the user's touch operation can be monitored. After detecting the user's touch operation, the touch screen will report the full-screen capacitance signal to the drive layer at a fixed frequency. The drive layer calculates whether the frame needs to report points and the touch point coordinates that need to be reported for each frame of the full-screen capacitance signal received through a related algorithm.

[0028] 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.

[0029] 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.

[0030] 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.

[0031] 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 accelerometers, pressure sensors), etc., which are not limited here.

[0032] A method for optimizing image jitter provided by an embodiment of the present application is described below.

[0033] See also Figure 2 , Figure 2 is a flow chart of a method for optimizing image jitter provided by an embodiment of the present application, wherein the method for optimizing image jitter is applied to Figure 1In the electronic device 10 shown, as Figure 2 As shown, the picture jitter optimization method includes:

[0034] Step 201: When it is detected that the electronic device is in a target device state, the initial anti-shake parameters of the touch screen are adjusted to target anti-shake parameters.

[0035] Among them, the target device state refers to the device state of the electronic device under the target constraint condition, the target constraint condition means that the device posture of the electronic device is the target device posture, and the duration of the target device posture is greater than the preset duration, the target device posture is used to indicate the target orientation of the electronic device, and the target orientation satisfies the following geometric characteristics: a ray with any point on the plane area as the endpoint and the target orientation as the direction has an intersection with the ground, and the initial anti-shake parameter is used to indicate the critical condition for the electronic device to experience screen jitter in a non-target device state.

[0036] It should be noted that the ray with any point on the plane area as the endpoint and the target orientation as the direction is perpendicular to the plane where the plane area is located. 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, the orientation of the electronic device is vertically upward; for another 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 downward, the orientation of the electronic device is vertically downward. In this example, the orientation of the electronic device can be used to characterize the device posture of the electronic device, and then it can be determined based on the device posture whether the user is using the electronic device in a lying posture. When it is determined that the user is using the electronic device in a lying posture and exceeds a preset time, it can be determined that the electronic device is in the target device state, and then the anti-shake parameters are adjusted.

[0037] The preset duration is empirical data obtained by statistically analyzing the usage records of most users in a lying posture, which is reliable, for example, 10 seconds, that is, when the user uses the electronic device in a lying posture for more than 10 seconds, it is determined that the electronic device is in the target device state. The ground refers to the bottom horizontal surface in the space where the user is located to support the electronic device when the user is using the electronic device.

[0038] 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, and it is determined that the user is using the electronic device in a lying 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 electronic device is in the target device state, so that the anti-shake parameters are adjusted to adapt to the lying scene.

[0039] In one possible example, the electronic device determines the device posture of the electronic device by the following method: determining the device posture of the electronic device according to the three-axis acceleration data measured by the acceleration sensor. Wherein, a corresponding mass block is provided inside the acceleration sensor for each measuring axis, and when the acceleration in a certain measuring direction changes, the mass block will slide along the corresponding direction, thereby causing a change 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.

[0040] Specifically, Figure 4 As shown, the electronic device is placed perpendicular to the horizontal plane, wherein the origin O of the reference coordinate system O-XYZ is the center point of the electronic device, 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 direction 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 direction of 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 directionz When 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.

[0041] Furthermore, 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 determining of the device posture of the electronic device according to the three-axis acceleration data obtained by the acceleration sensor includes: when the electronic device is in a vertical screen state, calculating 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:

[0042] Specifically, 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. Wherein, the first preset angle range is an empirical value 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.

[0043] Step 202: Process the touch operation according to the target anti-shake parameter.

[0044] Among them, touch operation refers to the operation of the user's hand pressing the touch screen or moving on the touch screen in a preset trajectory, which is usually achieved by fingers. Therefore, the anti-shake parameters in the prior art are also set based on human fingers. However, when the user uses an electronic device in a lying posture, he usually grasps the device deeply to prevent the electronic device from falling off. Compared with clicking the touch screen with fingers, the contact area between the hand and the touch screen is larger in this case, and the slight changes in hand movements will more easily break through the initial anti-shake parameters and cause screen jitter. In this example, the touch operation is processed by the target anti-shake parameters, so that the user will not easily break through the anti-shake parameters due to slight shaking of the hand when in a lying posture, reducing the probability of screen jitter caused by the user's deep grasping of the electronic device in a lying posture.

[0045] It can be seen that in this example, when the electronic device detects that the electronic device is in the target device state, that is, when the electronic device detects that the user uses the electronic device in a lying posture for more than a preset time, the initial anti-shake parameters of the touch screen are adjusted to the target anti-shake parameters, and then the touch operation is processed according to the target anti-shake parameters. In this way, by adjusting the anti-shake parameters of the touch screen, the user will not easily break through the anti-shake parameters due to slight shaking of the hand, reducing the probability of the user deeply grasping the electronic device in a lying posture causing the screen to shake, and optimizing the user's touch experience.

[0046] In a possible example, the initial anti-shake parameters include a first lock point distance, which is used to characterize the maximum displacement range of the touch body when the electronic device does not experience screen jitter. Adjusting the initial anti-shake parameters of the touch screen to target anti-shake parameters includes: adjusting the first lock point distance to the target lock point distance according to the user's target holding posture of the electronic device.

[0047] Wherein, the touch body includes the user's hand, such as a finger. In general, when a user performs a touch operation, the intuitive feeling of a person is that the touch operation only includes two actions: the finger falls on the touch screen, and the finger is lifted from the touch screen. The naked eye cannot easily perceive the movement of the finger on the touch screen during the touch operation. However, in fact, when the user performs a touch operation, the slight shaking of the finger will produce a tiny displacement on the touch screen. If this tiny displacement is greater than a distance value, the touch screen will report a new coordinate point, causing the reporting point to shake, and then cause the screen to shake. This distance value is the lock point distance. In actual usage scenarios, users usually use their fingers to perform touch operations, so the initial anti-shake parameters of the touch screen are also set based on the situation of finger touch, that is, the numerical value of the above-mentioned first lock point distance is related to the situation of finger touch. Since the contact area between the finger and the touch screen is not large, in order to ensure the smoothness of the touch, the first lock point distance is usually not set to a large value. However, in a lying down scenario, in order to prevent the electronic device from falling off, the user will choose to grip the electronic device deeply, causing the base of the thumb and the thumb to contact the curved side area and part of the flat area on the touch screen. Compared with finger contact, the contact area between the hand and the touch screen in this scenario is larger, and the displacement caused by a slight shake of the hand is more likely to exceed the first lock point distance and cause screen jitter. Based on the above situation, in this example, the electronic device adjusts the first lock point distance to the target lock point distance according to the user's target holding posture of the electronic device, so that even if the user's hand shakes slightly in a lying down scenario, it is not easy to cause a slight displacement exceeding the target lock point distance, thereby reducing the probability of screen jitter.

[0048] It can be seen that in this example, the electronic device adjusts the first lock point distance to the target lock point distance according to the user's target holding posture of the electronic device, so that the user will not easily produce a slight displacement exceeding the target lock point distance due to slight shaking of the hand, thereby reducing the probability of the user deeply grasping the electronic device in a lying posture causing the screen to shake, thereby optimizing the user's touch experience.

[0049] In one possible example, the target holding posture includes a first holding posture, wherein the first holding posture refers to a holding posture in which a first side arc area of ​​the touch screen contacts the base of the user's hand, and a second side arc area of ​​the touch screen contacts the user's finger, and adjusting the first lock point distance to a target lock point distance according to the user's target holding posture of the electronic device includes: when the target holding posture is the first holding posture, determining a target parameter adjustment area, the target parameter adjustment area including the first side arc area and a partial plane area connected to the first side arc area; increasing the first lock point distance corresponding to the target parameter adjustment area to a second lock point distance.

[0050] Among them, the partial plane area refers to the plane area that may be touched by the thumb of the user's hand holding the electronic device. In actual use scenarios, since users usually do not use both hands to hold the electronic device in a lying position, the holding posture mentioned in the embodiments of the present application generally refers to one-handed holding. It can be understood that the first side arc area in the embodiments of the present application can refer to the left arc area of ​​the touch screen, or it can refer to the right arc area, and the second side arc area is the same, and is not uniquely limited.

[0051] It can be seen that in this example, when the user holds the electronic device in the first gripping posture, the electronic device can determine the target parameter adjustment area that the user's hand may touch in the current scene, so that the first lock point distance of the target parameter adjustment area can be increased to the second lock point distance in a targeted manner to adapt to the lying scene. In this way, while reducing the probability of screen jitter caused by the user's deep grip of the electronic device in the lying posture, it can also more accurately optimize the problem of point jitter and improve the user's touch experience.

[0052] In a possible example, the target holding posture also includes a second holding posture, and the second holding posture refers to a holding posture in which the first side arc area and the second side arc area of ​​the touch screen are both in contact with the user's fingers. In this scenario, since the side arc areas are both in contact with the fingers, even if the holding force is increased, there will be no large area of ​​skin extending to the plane area, and the contact area will not be too large. At this time, even if the hand shakes slightly, it will not easily break through the first lock point distance. Therefore, the first lock point distance can still be applied to this scenario. In order to save computing power and balance touch smoothness, when the electronic device detects this scenario, the lock point distance of the touch screen can be adjusted.

[0053] In one possible example, determining the target parameter adjustment area includes: obtaining a reference area in the first side arc area that contacts the base of the user's hand; determining a target plane area based on the position of the reference area; and determining the target parameter adjustment area based on the first side arc area and the target plane area.

[0054] Among them, in the first holding posture described in the embodiment of the present application, the position of the reference area in the first side arc area that contacts the base of the user's hand can be regarded as the position where the user holds the electronic device. The user holds the electronic device in different positions, and the range of movement that the thumb can reach will also be different. In this example, the electronic device can detect the position of the reference area by using a pressure sensor set in the side arc area. When the pressure value of a certain area is greater than that of other areas, the area can be determined as the reference area.

[0055] It can be seen that in this example, when the electronic device detects that the user is holding the electronic device in the first holding posture, it can determine the target plane area that the thumb may touch by the position of the reference area in contact with the base of the thumb, and then determine the target parameter adjustment area. In this way, the range of the target parameter adjustment area can be accurately located, laying the foundation for the subsequent targeted adjustment of the anti-shake parameters of the target parameter adjustment area, thereby improving the user's touch experience.

[0056] In a possible example, determining the target plane area based on the position of the reference area includes: determining a closed area formed in the plane area with the position of the reference area as the center, a pre-collected thumb length of the user as the radius, and a straight line boundary of the electronic device as the boundary as the target plane area.

[0057] Among them, since the reference area is not a point-shaped area with negligible area, it may not be accurate to draw a circle with it as the center and the thumb length as the radius. Therefore, in actual operation, a distance slightly longer than the user's thumb length is used as the radius, such as 5 mm, to improve the accuracy of the determined target plane area. Among them, the user's thumb length can be collected through data collection in historical usage records, or it can be data actively entered by the user in the pop-up box page.

[0058] For example, see Figure 5a , Figure 5a is an example diagram of a target plane area provided in an embodiment of the present application, such as Figure 5a As shown, the reference area 51 is located at the midpoint of the right long side. In this example, the straight line boundary of the electronic device is the right long side, and the closed area formed by the straight line boundary and the arc is the target plane area 52. Figure 5b , Figure 5b is an example diagram of another target plane area provided in an embodiment of the present application, such as Figure 5b As shown, the reference area 51 is located below the midpoint of the right long side. In this example, the straight boundaries of the electronic device are the right long side and the bottom short side, and the closed area formed by the two and the arc is the target plane area 52.

[0059] It can be seen that in this example, the electronic device determines the target plane area by forming a closed area in the plane area with the position of the reference area as the center, the pre-collected length of the user's thumb as the radius, and the straight boundary of the electronic device as the boundary. The algorithm is simple and accurate. While being able to accurately locate the range of the target parameter adjustment area, it also improves data processing efficiency.

[0060] In a possible example, determining the target plane area based on the position of the reference area includes: using the position of the reference area as a query identifier, querying a pre-stored mapping relationship set, and obtaining the target plane area corresponding to the position of the reference area, the pre-stored mapping relationship set including the positions of multiple side touch areas and multiple sub-plane areas corresponding one-to-one to the positions of the multiple side touch areas.

[0061] Among them, the data stored in the pre-stored mapping relationship set can be empirical data obtained after a large amount of data statistical analysis. For example, for each user's historical usage record, the electronic device will count the multiple sub-plane areas that the user's thumb often touches when using the electronic device in a lying scene with a first holding posture and the base of the thumb contacts a side touch area. The part with a higher overlap rate among the multiple sub-plane areas is used as the sub-plane area corresponding to the position of the side touch area, and the statistical analysis is repeated to obtain the positions of the multiple side touch areas and the multiple sub-plane areas corresponding thereto, forming a mapping relationship set and storing it. When the electronic device needs to determine the target plane area, the pre-stored mapping relationship set can be directly called, and the position of the reference area is used as the query identifier to query and obtain the corresponding sub-plane area, which is the target plane area.

[0062] It can be seen that in this example, after obtaining the position of the reference area, the electronic device can directly call the pre-stored mapping relationship set to query the corresponding target plane area without the need for additional data processing, thereby improving data processing efficiency.

[0063] In a possible example, the target holding posture is the first holding posture, the touch operation is the first touch operation of the user on the target parameter adjustment area, and the processing of the touch operation according to the target anti-shake parameter includes: recording the starting touch point coordinates and the current touch point coordinates corresponding to the first touch operation, the starting touch point coordinates refer to the position coordinates of the touch point detected by the electronic device in the first frame during the first touch operation, and the current touch point coordinates refer to the position coordinates of the touch point detected by the electronic device at the current moment during the first touch operation; calculating the reference distance between the starting touch point coordinates and the current touch point coordinates; if the reference distance is greater than the second lock point distance, determining the current touch point coordinates as the target coordinates; if the reference distance is less than or equal to the second lock point distance, determining the starting touch point coordinates as the target coordinates; and reporting the target coordinates.

[0064] The coordinates of the position point touched by the user's first touch operation in the first frame, that is, the coordinates of the starting touch point are (X1, Y1), and the coordinates of the position point touched at the current moment, that is, the coordinates of the current touch point are (X2, Y2). At this time, the electronic device calculates the reference distance D between the two coordinate points. The calculation formula can be: If the reference distance D is less than or equal to the second lock point distance corresponding to the target parameter adjustment area, the original coordinate point, that is, the starting touch point coordinate (X1, Y1), is still reported. If the reference distance D is greater than the second lock point distance corresponding to the target parameter adjustment area, the new coordinate point, that is, the current touch point coordinate (X2, Y2), is reported.

[0065] It can be seen that in this example, when the electronic device detects that the user holds the electronic device in the first holding posture and performs the first touch operation on the target parameter adjustment area, the electronic device uses the adjusted second lock point distance to process the coordinate points generated in the first touch operation, thereby calculating the target coordinates to be reported and reporting them. In this way, compared with the prior art, even if the user deeply grasps the mobile phone in a lying scene, it will not easily break through the increased lock point distance, thereby reducing the probability of image jitter.

[0066] In one possible example, when the target holding posture is the second holding posture, or when the target holding posture is the first holding posture and the touch operation is the user's second touch operation on the non-target parameter adjustment area, at this time, since the area involved in the user's touch operation has not been adjusted, the corresponding lock point distance is still the first lock point distance. Therefore, in the above scenario, the electronic device still processes the coordinate points generated in the touch operation with the first lock point distance, calculates the coordinates to be reported, and reports them.

[0067] In accordance with the above-mentioned embodiment, please refer to Figure 6a , Figure 6a is a block diagram of the functional units of a picture jitter optimization device provided in an embodiment of the present application, such as Figure 6a As shown, the image jitter optimization device 60 includes: a parameter adjustment unit 601, which is used to adjust the initial anti-shake parameters of the touch screen to target anti-shake parameters when it is detected that the electronic device is in a target device state. The target device state refers to the device state of the electronic device under the constraints of target constraints. The target constraint refers to the device posture of the electronic device is the target device posture, and the duration of the target device posture is greater than the preset duration. The target device posture is used to indicate the target orientation of the electronic device. The target orientation satisfies the following geometric characteristics: 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, and the initial anti-shake parameters are used to indicate the critical conditions for the electronic device to experience image jitter in a non-target device state; a processing unit 602, which is used to process the touch operation according to the target anti-shake parameters.

[0068] In a possible example, the initial anti-shake parameters include a first lock point distance, which is used to characterize the maximum displacement range of the touch body when the electronic device does not experience screen jitter. In terms of adjusting the initial anti-shake parameters of the touch screen to target anti-shake parameters, the parameter adjustment unit 601 is specifically used to adjust the first lock point distance to the target lock point distance according to the user's target holding posture of the electronic device.

[0069] In a possible example, the target holding posture includes a first holding posture, wherein the first holding posture refers to a holding posture in which a first side arc area of ​​the touch screen contacts the base of the user's hand, and a second side arc area of ​​the touch screen contacts the user's finger. In terms of adjusting the first lock point distance to the target lock point distance according to the user's target holding posture of the electronic device, the parameter adjustment unit 601 is specifically used to: when the target holding posture is the first holding posture, determine a target parameter adjustment area, the target parameter adjustment area including the first side arc area and a partial plane area connected to the first side arc area; increase the first lock point distance corresponding to the target parameter adjustment area to a second lock point distance.

[0070] In one possible example, in terms of determining the target parameter adjustment area, the parameter adjustment unit 601 is specifically used to: obtain a reference area in the first side arc area that contacts the base of the user's hand; determine a target plane area based on the position of the reference area; and determine the target parameter adjustment area based on the first side arc area and the target plane area.

[0071] In a possible example, in terms of determining the target plane area according to the position of the reference area, the parameter adjustment unit 601 is specifically used to: determine that a closed area formed in the plane area with the position of the reference area as the center, a pre-collected thumb length of the user as the radius, and a straight line boundary of the electronic device as the boundary is the target plane area.

[0072] In one possible example, in terms of determining the target plane area based on the position of the reference area, the parameter adjustment unit 601 is specifically used to: use the position of the reference area as a query identifier, query a pre-stored mapping relationship set, and obtain the target plane area corresponding to the position of the reference area, the pre-stored mapping relationship set including the positions of multiple side touch areas and multiple sub-plane areas corresponding one-to-one to the positions of the multiple side touch areas.

[0073] In a possible example, the target holding posture is the first holding posture, and the touch operation is the first touch operation of the user on the target parameter adjustment area. In terms of processing the touch operation according to the target anti-shake parameter, the processing unit 602 is specifically used to: record the starting touch point coordinates and the current touch point coordinates corresponding to the first touch operation, the starting touch point coordinates refer to the position coordinates of the touch point detected by the electronic device in the first frame during the first touch operation, and the current touch point coordinates refer to the position coordinates of the touch point detected by the electronic device at the current moment during the first touch operation; calculate the reference distance between the starting touch point coordinates and the current touch point coordinates; if the reference distance is greater than the second lock point distance, determine the current touch point coordinates as the target coordinates; if the reference distance is less than or equal to the second lock point distance, determine the starting touch point coordinates as the target coordinates; and report the target coordinates.

[0074] 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.

[0075] In the case of integrated units, such as Figure 6b As shown, Figure 6b 1 is a block diagram of the functional units of another image jitter optimization device provided by an embodiment of the present application. Figure 6b In the embodiment, the image jitter optimization device 60 includes: a processing module 62 and a communication module 61. The processing module 62 is used to control and manage the actions of the image jitter optimization device, for example, to execute the steps of the parameter adjustment unit 601 and the processing unit 602, and / or to execute other processes of the technology described herein. The communication module 61 is used to support the interaction between the image jitter optimization device and other devices. Figure 6b As shown, the image jitter optimization device may further include a storage module 63, and the storage module 63 is used to store program codes and data of the image jitter optimization device.

[0076] Among them, the processing module 62 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 61 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 63 can be a memory.

[0077] All relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. Figure 2 The image jitter optimization method shown.

[0078] 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.

[0079] 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.

[0080] 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.

[0081] 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.

[0082] 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.

[0083] 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.

[0084] 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.

[0085] 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.

[0086] 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 optimizing image jitter, 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: When it is detected that the electronic device is in a target device state, the initial anti-shake parameters of the touch screen are adjusted to target anti-shake parameters, the target device state refers to the device state of the electronic device under the constraints of target constraints, the target constraints refer to the device posture of the electronic device is the target device posture, and the duration of the target device posture is greater than a preset duration, the target device posture is used to indicate the target orientation of the electronic device, and the target orientation satisfies the following geometric characteristics: 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, and the initial anti-shake parameters are used to indicate the critical conditions for the electronic device to experience screen jitter in a non-target device state; The touch operation is processed according to the target anti-shake parameter.

2. The method according to claim 1, characterized in that: The initial anti-shake parameter includes a first lock point distance, and the lock point distance is used to characterize the maximum displacement range of the touch body when the electronic device does not have screen shake. The initial anti-shake parameter of the touch screen is adjusted to a target anti-shake parameter, including: The first lock point distance is adjusted to a target lock point distance according to a target holding posture of the user for the electronic device.

3. The method according to claim 2, characterized in that: The target holding posture includes a first holding posture, wherein the first holding posture refers to a holding posture in which a first side arc area of ​​the touch screen contacts the base of a user's hand, and a second side arc area of ​​the touch screen contacts a finger of the user, and the first locking point distance is adjusted to a target locking point distance according to the target holding posture of the user for the electronic device, including: When the target holding posture is the first holding posture, determining a target parameter adjustment area, wherein the target parameter adjustment area includes the first side arc area and a partial plane area connected to the first side arc area; The first lock point distance corresponding to the target parameter adjustment area is increased to a second lock point distance.

4. The method according to claim 3, characterized in that: The step of determining the target parameter adjustment area includes: Acquire a reference area in the first side arc region that contacts the base of the user's hand; Determine a target plane area according to the position of the reference area; The target parameter adjustment area is determined according to the first side arc area and the target plane area.

5. The method according to claim 4, characterized in that: The step of determining the target plane area according to the position of the reference area includes: A closed area formed in the plane area with the position of the reference area as the center, the pre-collected length of the user's thumb as the radius, and the straight line boundary of the electronic device as the boundary is determined as the target plane area.

6. The method according to claim 4, characterized in that: The step of determining the target plane area according to the position of the reference area includes: Using the position of the reference area as a query identifier, a pre-stored mapping relationship set is queried to obtain a target plane area corresponding to the position of the reference area, wherein the pre-stored mapping relationship set includes the positions of multiple side touch areas and multiple sub-plane areas corresponding one-to-one to the positions of the multiple side touch areas.

7. The method according to claim 5 or 6, characterized in that: The target holding posture is the first holding posture, the touch operation is a first touch operation of a user on the target parameter adjustment area, and the processing of the touch operation according to the target anti-shake parameter includes: Recording the starting touch point coordinates and current touch point coordinates corresponding to the first touch operation, wherein the starting touch point coordinates refer to the position coordinates of the touch point detected by the electronic device in the first frame during the first touch operation, and the current touch point coordinates refer to the position coordinates of the touch point detected by the electronic device at the current moment during the first touch operation; Calculating a reference distance between the coordinates of the starting touch point and the coordinates of the current touch point; If the reference distance is greater than the second lock point distance, determining the current touch point coordinates as the target coordinates; If the reference distance is less than or equal to the second lock point distance, determining the starting touch point coordinates as the target coordinates; The target coordinates are reported.

8. 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 7.

9. A device for optimizing image jitter, 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, and the device includes: a parameter adjustment unit, configured to adjust the initial anti-shake parameters of the touch screen to target anti-shake parameters when detecting that the electronic device is in a target device state, wherein the target device state refers to the device state of the electronic device under the constraints of a target constraint condition, wherein the target constraint condition refers to the device posture of the electronic device being the target device posture, and the duration of the target device posture being greater than a preset duration, wherein the target device posture is used to indicate a target orientation of the electronic device, and wherein the target orientation satisfies the following geometric features: a ray having an endpoint at any point on the plane area and a direction having the target orientation intersects the ground, and wherein the initial anti-shake parameters are used to indicate a critical condition for screen jitter of the electronic device when the electronic device is in a non-target device state; A processing unit is used to process the touch operation according to the target anti-shake parameter.

10. 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 7 are implemented.

Citation Information

Patent Citations

  • False touch prevention method for curved screen and electronic equipment

    CN110456938A

  • False touch prevention method and device, equipment and storage medium

    CN115033121A

  • False touch prevention method and device, storage medium and electronic equipment

    CN115237327A

  • Control method, electronic equipment, device and storage medium

    CN115904111A