Touch method, device and storage medium

CN122776993APending Publication Date: 2026-09-18LCFC HEFEI ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610869779.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-16
Publication Date
2026-09-18

AI Technical Summary

Technical Problem

[0003]但触控板在使用过程中的干扰因素(例如环境、损耗等)会对触摸操作的有效性和稳定性造成影响,进而导致触发功能的有效性有待提高

Benefits of technology

[0021]The difference between the first and second touch signals eliminates measurement drift caused by touchpad aging, accurately reflecting the user's touch operation. The validity of the touch operation is judged by using the touch threshold obtained by fusing the aging correction factor, the reference threshold, and the environmental interference correction coefficient, as well as the difference. This comprehensively considers the impact of environment and aging on touchpad operation, improving the accuracy of validity judgment. The target function matching the touch operation is only triggered when the difference is greater than or equal to the touch threshold (i.e., when the touch operation is valid), avoiding false triggering of functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122776993A_ABST
    Figure CN122776993A_ABST
Patent Text Reader

Abstract

The application provides a touch method, device and storage medium, which can be applied to the field of computer technology. The method comprises the following steps: in response to detecting a touch operation acting on a touch panel of an electronic device, obtaining a first touch signal and a second touch signal, the first touch signal being a signal generated by structural deformation of a first detection piece of the touch panel, and the second touch signal being a signal generated by structural deformation of a second detection piece of the touch panel; in the case that the difference between the first touch signal and the second touch signal is greater than or equal to a touch threshold value, triggering a target function matched with the touch operation; wherein the touch threshold value is obtained by correcting a preset reference threshold value based on at least one of an aging correction factor and an environmental interference correction coefficient, the aging correction factor indicating the degree of loss of the touch panel, and the environmental interference correction coefficient indicating the degree of influence of the environment on the touch panel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more specifically to a touch method, device and storage medium. Background Technology

[0002] Electronic devices are typically equipped with touchpads, which allow functions to be triggered by touch operations on the touch device when a mouse is not available.

[0003] However, interference factors during the use of the touchpad (such as environment, wear and tear) can affect the effectiveness and stability of touch operation, thus the effectiveness of the triggering function needs to be improved. Summary of the Invention

[0004] In view of the above problems, embodiments of this application provide a touch control method, apparatus, device, and storage medium.

[0005] According to a first aspect of this application, a touch control method is provided, the method comprising: in response to detecting a touch operation acting on a touchpad of an electronic device, acquiring a first touch signal and a second touch signal, wherein the first touch signal is a signal generated by structural deformation of a first detection element of the touchpad, and the second touch signal is a signal generated by structural deformation of a second detection element of the touchpad; and triggering a target function matching the touch operation if the difference between the first touch signal and the second touch signal is greater than or equal to a touch threshold; wherein the touch threshold is obtained by correcting a preset reference threshold based on at least one of an aging correction factor and an environmental interference correction coefficient, the aging correction factor indicating the degree of wear of the touchpad, and the environmental interference correction coefficient indicating the degree of influence of the environment on the touchpad.

[0006] According to an embodiment of this application, triggering a target function matching a touch operation includes: determining a target operation type from multiple candidate operation types based on the difference range where the difference is located, wherein each of the multiple candidate operation types has a matching difference range; determining an operation object that matches the cursor position of the input device; and triggering a target function corresponding to the operation object and the target operation type.

[0007] According to an embodiment of this application, triggering a target function corresponding to the operation object and the target operation type includes: when the operation object is an application icon and the target operation type is a light pressure operation, selecting the application represented by the application icon.

[0008] According to embodiments of this application, triggering a target function matching a touch operation includes: determining the location of the touch operation; and triggering a target function matching the location, the operation object, and the target operation type.

[0009] According to embodiments of this application, triggering a target function that matches the location, the object of operation, and the target operation type includes: displaying a menu hiding option when the location is a first area, the object of operation is the desktop, and the target operation type is a pressure operation; launching the application represented by the application icon when the location is a second area, the object of operation is an application icon, and the target operation type is a pressure operation; and closing the application represented by the application window when the location is a second area, the object of operation is an application window, and the target operation type is a pressure operation.

[0010] According to an embodiment of this application, the touch threshold is obtained by fusing a preset aging compensation coefficient and the number of touches on the touchpad to obtain an aging correction factor, wherein the aging compensation coefficient indicates the aging speed of the touchpad; and the touch threshold is obtained based on the product of a reference threshold, an environmental interference correction coefficient, and an aging correction factor.

[0011] According to an embodiment of this application, fusing a preset aging compensation coefficient and the number of touches on the touchpad to obtain an aging correction factor includes: performing a nonlinear transformation on the number of touches on the touchpad to obtain an aging cumulative coefficient, which indicates the degree of aging of the touchpad; fusing the aging compensation coefficient and the aging cumulative coefficient to obtain an aging correction factor, which is used to correct the impact of touchpad aging on a reference threshold.

[0012] According to embodiments of this application, the area where the touch operation is located is determined; a target function corresponding to at least one of the target operation and the area is determined from a plurality of candidate functions.

[0013] According to embodiments of this application, determining a target function corresponding to at least one of a target operation and a region from a plurality of candidate functions includes: when the target operation is determined to be a light press operation, the target function is a click function; when the target operation is determined to be a heavy press operation and the region is determined to be a first region, the target function is a hidden option expansion function.

[0014] According to an embodiment of this application, the touch threshold is obtained by fusing a preset aging compensation coefficient and the number of touches on the touchpad to obtain an aging correction factor, wherein the aging compensation coefficient indicates the aging speed of the touchpad; and the touch threshold is obtained based on the product of a reference threshold, an environmental interference correction coefficient, and an aging correction factor.

[0015] According to an embodiment of this application, the aging correction factor is obtained by fusing a preset aging compensation coefficient and the number of touches on the touchpad, including: performing a nonlinear transformation on the number of touches on the touchpad to obtain an aging cumulative coefficient, which indicates the degree of aging of the touchpad; fusing the aging compensation coefficient and the aging cumulative coefficient to obtain the aging correction factor, which is used to correct the impact of touchpad aging on a reference threshold.

[0016] According to a second aspect of this application, a touch control device is provided, comprising: an acquisition module, configured to acquire a first touch signal and a second touch signal in response to detecting a touch operation applied to a touchpad of an electronic device, wherein the first touch signal is a signal generated by structural deformation of a first detection element of the touchpad, and the second touch signal is a signal generated by structural deformation of a second detection element of the touchpad; and a touch module, configured to trigger a target function matching the touch operation when the difference between the first touch signal and the second touch signal is greater than or equal to a touch threshold; wherein the touch threshold is obtained by correcting a preset reference threshold based on at least one of an aging correction factor and an environmental interference correction coefficient, the aging correction factor indicating the degree of wear of the touchpad, and the environmental interference correction coefficient indicating the degree of influence of the environment on the touchpad.

[0017] According to a third aspect of this application, an electronic device is provided, including a touchpad, comprising a first detection element and a second detection element, the first detection element being configured to generate a structural deformation and output a first touch signal in response to a touch operation applied to the touchpad, the second detection element being configured to generate a structural deformation and output the first touch signal in response to a touch operation applied to the touchpad; one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method described above.

[0018] According to an embodiment of this application, the touch panel further includes: a substrate, a flexible electrode disposed at the orthographic projection of the substrate, the flexible electrode being configured to generate structural deformation in response to a touch operation applied to the flexible electrode; a first electrode and a second electrode disposed on the surface of the substrate facing the flexible electrode, the first electrode being located in the middle of the flexible electrode and configured to form a first detection element with the flexible electrode; and a second electrode being located on one side of the flexible electrode and configured to form a second detection element with the flexible electrode.

[0019] According to a fourth aspect of this application, a computer-readable storage medium is also provided, on which a computer program or instructions are stored, wherein the computer program or instructions, when executed by a processor, implement the steps of the above-described method.

[0020] The touch method provided in this application has at least the following advantages compared with related technologies:

[0021] The difference between the first and second touch signals eliminates measurement drift caused by touchpad aging, accurately reflecting the user's touch operation. The validity of the touch operation is judged by using the touch threshold obtained by fusing the aging correction factor, the reference threshold, and the environmental interference correction coefficient, as well as the difference. This comprehensively considers the impact of environment and aging on touchpad operation, improving the accuracy of validity judgment. The target function matching the touch operation is only triggered when the difference is greater than or equal to the touch threshold (i.e., when the touch operation is valid), avoiding false triggering of functions. Attached Figure Description

[0022] The above-mentioned contents, other objects, features and advantages of this application will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0023] Figure 1 This illustration schematically depicts an application scenario of the touch method, device, and storage medium according to embodiments of this application.

[0024] Figure 2 A flowchart illustrating a touch method according to an embodiment of this application is shown schematically;

[0025] Figure 3 A schematic diagram of the structure of a touchpad according to an embodiment of this application is shown.

[0026] Figure 4 This schematic diagram illustrates the structure of a touchpad according to an embodiment of the present application under a light pressure operation;

[0027] Figure 5 This schematic diagram illustrates the structure of a touchpad under heavy pressure according to an embodiment of this application.

[0028] Figure 6 A schematic top view of a touchpad according to an embodiment of this application is shown;

[0029] Figure 7 A flowchart illustrating the process of obtaining a touch threshold according to an embodiment of this application is shown schematically;

[0030] Figure 8 A flowchart illustrating the process of obtaining the aging correction factor according to an embodiment of this application is shown schematically.

[0031] Figure 9 This schematically illustrates a structural block diagram of a control device for an electronic device according to an embodiment of the present application;

[0032] Figure 10 A schematic block diagram of an electronic device according to an embodiment of this application is shown. Detailed Implementation

[0033] The embodiments of this application will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of this application. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of this application for ease of explanation. However, it will be apparent that one or more embodiments may be implemented without these specific details. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of this application.

[0034] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0035] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0036] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).

[0037] Electronic devices, such as laptops, are typically equipped with touchpads, which allow functions to be triggered by touch operations on a touch device when a mouse is not available.

[0038] During the use of touchpads, increased usage time and number of presses can lead to fatigue and aging of the metal springs within the touchpad, thus affecting the effectiveness of touch operations. Simultaneously, changes in the operating environment of electronic devices (such as temperature, humidity, and electromagnetic interference) can also interfere with the stability of touch operation detection, potentially causing false triggers or sluggish responses.

[0039] To address at least one of the aforementioned problems, embodiments of this application provide a touch control method that uses the difference between a first touch signal and a second touch signal to reflect the user's touch operation, eliminating measurement drift caused by factors such as touchpad aging and improving the accuracy of touch operation detection. Furthermore, it utilizes a touch threshold and difference that comprehensively consider the impact of environment and aging on the touchpad to determine the validity of the touch operation, improving the accuracy and reliability of the determination. Only when the touch operation is valid is the target function matching the touch operation triggered, avoiding false triggering of functions.

[0040] Figure 1 The illustration schematically depicts an application scenario of an electronic device according to an embodiment of this application. For example... Figure 1 As shown, application scenario 100 according to an embodiment of this application may include a touchpad 101, a network 102, and a processor 103. The network 102 serves as a medium for providing a communication link between the touchpad 101 and the processor 103. The network 102 may include various connection types, such as wired or wireless communication links or fiber optic cables. For example, a user can use the touchpad 101 to interact with the processor 103 via the network 102 to send touch signals, etc.

[0041] It should be noted that the touch method provided in this application embodiment can generally be executed by the processor 103. Accordingly, the touch device provided in this application embodiment can generally be disposed in the processor 103.

[0042] It should be understood that Figure 1 The number of touchpads, networks, and processors shown is merely illustrative. Any number of touchpads, networks, and processors can be included depending on implementation requirements.

[0043] Figure 2 A flowchart illustrating a touch method according to an embodiment of this application is shown schematically; Figure 3 A schematic diagram illustrating the structure of a touchpad according to an embodiment of this application is provided. (In conjunction with...) Figures 2-3 The touch method 200 according to the embodiments of this application may include steps S210 to S220.

[0044] In step S210, in response to detecting a touch operation on the touchpad of the electronic device, a first touch signal and a second touch signal are acquired.

[0045] According to embodiments of this application, touch operation can refer to a user's touch operation on the touchpad of an electronic device. The first touch signal originates from a signal generated by structural deformation of a first detection element of the touchpad. The second touch signal originates from a signal generated by structural deformation of a second detection element of the touchpad.

[0046] For example, the first detection element can be a first flexible capacitor, and the second detection element can be a second flexible capacitor. The first touch signal originates from the capacitance signal generated by the structural deformation of the first detection element, and the second touch signal originates from the capacitance signal generated by the structural deformation of the second detection element.

[0047] like Figure 3 As shown, flexible electrode 301 and first electrode 302 form a first flexible capacitor, and flexible electrode 301 and second electrode 303 form a second flexible capacitor. The first and second flexible capacitors share the same flexible electrode 301. For example, a user's touch operation on the touchpad can cause the flexible electrode to deform. The deformation of the flexible electrode can affect the distance between it and the first or second electrode. The change in distance causes a change in the capacitance value of the formed capacitor structure, generating a capacitance signal.

[0048] Therefore, when a user performs a touch operation on the touchpad, the first touch signal and the second touch signal can be collected simultaneously.

[0049] In step S220, if the difference between the first touch signal and the second touch signal is greater than or equal to the touch threshold, the target function matching the touch operation is triggered.

[0050] For example, the target functionality may include a click function, a hidden option expansion function, an application launch function, and an application close function.

[0051] According to embodiments of this application, the touch threshold is obtained by correcting a preset baseline threshold based on at least one of an aging correction factor and an environmental interference correction coefficient. The aging correction factor indicates the degree of wear and tear on the touchpad. The environmental interference correction coefficient indicates the degree of influence of the environment on the touchpad.

[0052] For example, the touch threshold can be obtained by multiplying an aging correction factor, a baseline threshold, and an environmental interference correction coefficient. Here, the baseline threshold and the environmental interference coefficient can be obtained through experimental fitting. The aging correction factor can be obtained by performing a non-linear transformation on the number of touches on the touchpad.

[0053] Interference factors affect both the first and second flexible capacitors. In some embodiments, the first flexible capacitor is installed near the center of the touchpad, making it sensitive to the pressure applied during touch operations, but it is also significantly affected by aging factors such as fatigue. The second flexible capacitor is installed near the edge, is almost never directly pressed, has less deformation, and can respond to the effects of environmental factors, temperature, humidity, material aging, fatigue, and other interference factors on the structure.

[0054] By calculating the difference between the first touch signal and the second touch signal, capacitor drift caused by interference can be offset, preserving the effective signal reflecting the pressure applied. The larger the difference, the greater the pressure applied. Therefore, in the embodiments of this application, the validity of the touch operation is determined by comparing the difference with the touch threshold. If the difference between the first touch signal and the second touch signal is greater than or equal to the touch threshold, it is considered that the user has consciously performed a touch operation, and the touch operation is considered a valid operation, thus triggering the target function matching the touch operation.

[0055] In other embodiments, if the difference is less than the touch threshold, the touch operation is considered invalid, such as a light touch of the finger or an unintentional touch, and no function is triggered, thereby avoiding accidental triggering of the function.

[0056] In the embodiments of this application, the difference between the first touch signal and the second touch signal reflects the pressure applied by the user's touch operation, eliminating the measurement drift caused by touchpad aging; the validity of the touch operation is judged by touch threshold and fork, taking into account the influence of environment and aging on the validity judgment, thus improving the accuracy of validity judgment; the target function matching the touch operation is triggered only when the touch operation is valid, avoiding the false triggering of functions.

[0057] Figure 4 This schematic diagram illustrates the structure of a touchpad according to an embodiment of the present application under a light pressure operation; Figure 5 The schematic diagram illustrates the structure of a touchpad under heavy pressure operation according to an embodiment of this application.

[0058] In some embodiments, triggering a target function matching a touch operation includes:

[0059] First, based on the difference range in which the difference is located, the target operation type is determined from multiple candidate operation types.

[0060] According to embodiments of this application, multiple candidate operation types each have a matching difference range, and different difference ranges correspond to different candidate operations.

[0061] For example, multiple candidate operation types are pre-stored in the storage space of the electronic device. The multiple candidate operation types may include light pressure operation and heavy pressure operation, etc.

[0062] Each of the multiple difference intervals has a corresponding maximum and minimum pressing force. For example, the multiple difference intervals may include a first difference interval and a second difference interval. The minimum pressing force corresponding to the first difference interval is the first pressing force, and the maximum pressing force corresponding to the first difference interval is the second pressing force. The minimum pressing force corresponding to the second difference interval is the third pressing force, and the maximum pressing force corresponding to the second difference interval is the fourth pressing force.

[0063] A light press corresponds to the first difference range, which refers to a touch operation where the user applies pressure to the touchpad between the first and second pressing pressures. A heavy press corresponds to the second difference range, which refers to a touch operation where the user applies pressure to the touchpad between the third and fourth pressing pressures. Here, the first pressing pressure is less than the second pressing pressure, the second pressing pressure is less than the third pressing pressure, and the third pressing pressure is less than the fourth pressing pressure.

[0064] For example, when the difference is greater than or equal to the touch threshold, the difference interval containing the difference is determined from multiple difference intervals as the target difference interval; and the candidate operation type corresponding to the target difference interval is taken as the target operation type.

[0065] For example, when the difference is within the first difference interval [△C1, △C2], the light pressure operation corresponding to the first difference interval is taken as the target operation type. When the difference is within the second difference interval [△C2, △C3], the heavy pressure operation corresponding to the second difference interval is taken as the target operation type. A light pressure operation is as follows: Figure 4 As shown, the heavy pressure operation is as follows Figure 5 As shown.

[0066] Then, determine the operation object that matches the cursor position on the input device, and trigger the target function corresponding to the operation object and the target operation type.

[0067] According to embodiments of this application, different cursor positions correspond to different operation objects, and their correspondence is pre-stored in the storage space of the electronic device. The input device can be a mouse or touchpad of a laptop computer, and correspondingly, the cursor of the input device can be the mouse pointer or system cursor of the laptop computer.

[0068] In the embodiments of this application, the target function can be triggered by using the target operation type and operation object corresponding to the touch operation, thereby improving user operation efficiency without the need to add other components.

[0069] Furthermore, triggering the target function corresponding to the operation object and the target operation type includes: when the operation object is an application icon and the target operation type is a light pressure operation, selecting the application represented by the application icon.

[0070] When the target object is an application icon and the target operation type is a light press operation, clicking on the application icon will select the application represented by the application icon.

[0071] In the embodiments of this application, the click function can be triggered to select the target object without multiple clicks or other operations.

[0072] Figure 6A schematic top view of a touchpad according to an embodiment of this application is shown.

[0073] Combination Figure 6 In some embodiments, triggering a target function matching a touch operation includes: determining the location of the touch operation; and triggering a target function matching the location, the object of the operation, and the type of the target operation.

[0074] According to embodiments of this application, based on the coordinate range of the touch operation, an area matching the coordinate range is determined from multiple candidate locations, which is the location of the touch operation. Each of the multiple candidate locations has a corresponding coordinate range. Multiple sets of first flexible capacitors and second flexible capacitors can be installed within the touchpad, and the candidate location can refer to the coordinate range corresponding to the installation of the first flexible capacitor and the second flexible capacitor.

[0075] In the embodiments of this application, the corresponding target function can be triggered by touch operations with different pressure and different positions, thereby improving user operation efficiency without the need to add other components.

[0076] Furthermore, such as Figure 6 As shown, when the location is in the first area 601, the operation object is the desktop, and the target operation type is a heavy pressure operation, the menu hiding option is displayed; when the location is in the second area 602, the operation object is the application icon, and the target operation type is a heavy pressure operation, the application represented by the application icon is launched; when the location is in the second area 602, the operation object is the application window, and the target operation type is a heavy pressure operation, the application represented by the application window is closed.

[0077] For example, the first region 601 can be the lower right corner of the touchpad, and the second region 602 can be the lower left corner of the touchpad, with their corresponding coordinate ranges pre-stored in the storage space of the electronic device.

[0078] In the embodiments of this application, there is no need to double-click or select a close button; the application can be started and closed using only touch operations, thereby improving user operation efficiency.

[0079] Figure 7 A flowchart illustrating the process of obtaining a touch threshold according to an embodiment of this application is shown schematically. Figure 8 A flowchart illustrating the process of obtaining the aging correction factor according to an embodiment of this application is shown.

[0080] In related technologies, the touch threshold of a touchpad is usually fixed. However, in actual use, as the device ages, the sensitivity of the touchpad will decrease, affecting the stability of signal detection. This can lead to a lack of response when the pressure is sufficient but the threshold is not met, or a slight touch may be misjudged as a valid press, resulting in misoperation.

[0081] Next, combined Figures 7-8 The process of dynamically adjusting the touch threshold by introducing aging correction factors and environmental interference correction coefficients is further explained.

[0082] In some embodiments, the touch threshold 706 is obtained using the following method:

[0083] First, the preset aging compensation coefficient 701 and the touch number 702 of the touchpad are combined to obtain the aging correction factor 707.

[0084] According to embodiments of this application, the aging compensation coefficient 701 indicates the aging rate of the touchpad. The aging compensation coefficient 701 is related to the material and structural design of the touchpad (such as a capacitive component) and can be obtained through experimental calibration; the larger the aging compensation coefficient 701, the faster the aging degradation, and the smaller the aging compensation coefficient 701, the slower the fatigue degradation. The touchpad's touch count 702 reflects the cumulative number of times the touchpad has been used, and can reflect the cumulative degree of aging (fatigue) caused by use.

[0085] Furthermore, by combining the preset aging compensation coefficient 701 and the touchpad touch count 702, an aging correction factor 707 is obtained, which includes:

[0086] First, the touch count 702 of the touchpad is transformed nonlinearly to obtain the cumulative aging coefficient 801.

[0087] According to an embodiment of this application, the cumulative aging factor 801 indicates the degree of cumulative aging of the touchpad.

[0088] Specifically, the number of touches 702 on the touchpad can be logarithmically transformed to obtain the cumulative aging coefficient 801. The cumulative aging coefficient characterizes the non-linear accumulation of aging with the number of touches, showing rapid growth in the early stages of use and slow growth in later stages.

[0089] For example, the cumulative aging factor Represented as:

[0090] ;

[0091] In the formula, Indicates the number of touches.

[0092] Then, the aging compensation coefficient 701 and the aging cumulative coefficient 801 are combined to obtain the aging correction factor 707.

[0093] According to an embodiment of this application, the aging correction factor 707 is used to correct the impact of touchpad aging on the reference threshold, reducing the reference threshold according to the degree of aging. The aging compensation coefficient 701, as a linear scaling factor of the aging cumulative coefficient 801, can compensate for the slight shift in the linear relationship caused by long-term aging.

[0094] Specifically, the product of the aging compensation coefficient 701 and the aging cumulative coefficient 801 is first added to the preset threshold, and then the reciprocal of the sum is taken.

[0095] For example, aging correction factor It can be represented as:

[0096] ;

[0097] In the formula, This represents the aging compensation coefficient, with a value range of 0.01 to 0.07.

[0098] In the embodiments of this application, an aging correction factor is calculated considering the aging degree and aging rate of the touchpad to quantify the impact of touchpad aging on touch operation, and a baseline threshold is corrected based on this to ensure that the final touch threshold conforms to the aging state of the touchpad.

[0099] Then, based on the product of the baseline threshold 704, the environmental interference correction coefficient 705, and the aging correction factor 707, the touch threshold 706 is obtained.

[0100] For example, touch threshold It can be represented as:

[0101] ;

[0102] In the formula, Indicates the baseline threshold. This represents the environmental interference correction factor.

[0103] In the embodiments of this application, by introducing an aging correction factor and an environmental interference correction coefficient, the touch threshold is dynamically adjusted so that the touch threshold can adaptively compensate for the deviations caused by aging and the environment, thereby improving the accuracy of touch operation validity judgment and enhancing the reliability of touch operation and user experience.

[0104] Based on the above-described touch method, embodiments of this application also provide a touch device. The following will be combined with... Figure 9 The device is described in detail.

[0105] Figure 9 A schematic block diagram of a control device for an electronic device according to an embodiment of this application is shown.

[0106] like Figure 9 As shown, the control device 900 of the electronic device in this embodiment includes an acquisition module 910 and a touch module 920.

[0107] The acquisition module 910 is used to acquire a first touch signal and a second touch signal in response to a detected touch operation on the touchpad of the electronic device. The first touch signal is generated by the structural deformation of a first detection element of the touchpad, and the second touch signal is generated by the structural deformation of a second detection element of the touchpad. In one embodiment, the acquisition module 910 can be used to perform step S210 described above, which will not be repeated here.

[0108] The touch module 920 is used to trigger a target function matching the touch operation when the difference between the first touch signal and the second touch signal is greater than or equal to a touch threshold. The touch threshold is obtained by correcting a preset reference threshold based on at least one of an aging correction factor and an environmental interference correction coefficient. The aging correction factor indicates the degree of wear and tear on the touchpad, and the environmental interference correction coefficient indicates the degree of environmental influence on the touchpad. In one embodiment, the touch module 920 can be used to execute step S220 described above, which will not be repeated here.

[0109] According to an embodiment of this application, the touch module 920 includes a first determining submodule and a first touch submodule. The first determining submodule is used to determine a target operation type from multiple candidate operation types based on the difference range in which the difference value is located, wherein each of the multiple candidate operation types has a matching difference range; the first touch submodule is used to determine the operation object that matches the cursor position of the input device and trigger the target function corresponding to the operation object and the target operation type.

[0110] According to an embodiment of this application, the first touch submodule is specifically used to select the application represented by the application icon when the operation object is an application icon and the target operation type is a light pressure operation.

[0111] According to an embodiment of this application, the first touch submodule includes a determining unit and a touch unit. The determining unit is used to determine the location of the touch operation; the touch unit is used to trigger a target function that matches the location, the operation object, and the target operation type.

[0112] According to an embodiment of this application, the touch unit is specifically used to display a menu hiding option when the location is a first area, the operation object is the desktop, and the target operation type is a pressure operation; to launch the application represented by the application icon when the location is a second area, the operation object is an application icon, and the target operation type is a pressure operation; and to close the application represented by the application window when the location is a second area, the operation object is an application window, and the target operation type is a pressure operation.

[0113] According to embodiments of this application, any plurality of modules in the acquisition module 910 and the touch module 920 can be combined into one module, or any one of these modules can be split into multiple modules. Alternatively, at least a portion of the functionality of one or more of these modules can be combined with at least a portion of the functionality of other modules and implemented in one module. According to embodiments of this application, at least one of the acquisition module 910 and the touch module 920 can be at least partially implemented as a hardware circuit, such as a field-programmable gate array, a programmable logic array, a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit, or any other reasonable means of integrating or packaging the circuit, or implemented in any one of software, hardware, and firmware, or in a suitable combination of any of these. Alternatively, at least one of the acquisition module 910 and the touch module 920 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0114] Figure 10 A block diagram schematically illustrates an electronic device suitable for implementing a touch method according to an embodiment of this application.

[0115] like Figure 10 As shown, an electronic device 1000 according to an embodiment of this application includes a processor 103, which can perform various appropriate actions and processes according to a program stored in a read-only memory 1002 or a program loaded from a storage portion 1008 into a random access memory 1003. The processor 103 may include, for example, a general-purpose microprocessor, an instruction set processor and / or an associated chipset and / or a dedicated microprocessor. The processor 103 may also include onboard memory for caching purposes. The processor 103 may include a single processing unit or multiple processing units for executing different steps of the method flow according to an embodiment of this application.

[0116] Random access memory 1003 stores various programs and data required for the operation of electronic device 1000. Processor 103, read-only memory 1002, and random access memory 1003 are interconnected via bus 1004. Processor 103 executes various steps of the method flow according to embodiments of this application by executing programs in read-only memory 1002 and / or random access memory 1003. It should be noted that programs may also be stored in one or more memories other than read-only memory 1002 and random access memory 1003. Processor 103 may also execute various steps of the method flow according to embodiments of this application by executing programs stored in one or more memories.

[0117] According to embodiments of this application, the electronic device 1000 may further include an input / output interface 1005, which is also connected to a bus 1004. The electronic device 1000 may also include one or more of the following components connected to the input / output interface 1005: an input section 1006 including a keyboard, mouse, etc.; an output section 1007 including a cathode ray tube, liquid crystal display, etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the input / output interface 1005 as needed. A removable medium 1011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1010 as needed so that computer programs read from it can be installed into the storage section 1008 as needed.

[0118] According to an embodiment of this application, the input portion 1006 may include a touchpad 101. The touchpad includes a first detection element and a second detection element. The first detection element is configured to generate a structural deformation and output a first touch signal in response to a touch operation applied to the touchpad. The second detection element is configured to generate a structural deformation and output the first touch signal in response to a touch operation applied to the touchpad.

[0119] In some embodiments, combined with Figures 3-5 The touch panel includes a substrate 304. A flexible electrode is mounted on the orthographic projection of the substrate 304. The flexible electrode is configured to undergo structural deformation in response to a touch operation applied to the flexible electrode. A first electrode and a second electrode are mounted on the surface of the substrate 304 facing the flexible electrode. The first electrode is located in the middle of the flexible electrode and is configured to form a first detection element with the flexible electrode to output a first touch signal when the flexible electrode undergoes structural deformation. The second electrode is located on one side of the flexible electrode and is configured to form a second detection element with the flexible electrode to output a second touch signal when the flexible electrode undergoes structural deformation.

[0120] Furthermore, the first detection element can be a first flexible capacitor, and the second detection element can be a second flexible capacitor.

[0121] For example, the flexible electrode 301 can be a metal spring in the touch panel, with both ends grounded, serving as the common electrode of the first flexible capacitor and the second flexible capacitor. The flexible electrode 301 has an arched structure, with the first electrode 302 and the second electrode 303 located below the flexible electrode 301 and at a distance from it.

[0122] The first electrode 302 is located in the center of the orthographic projection of the flexible electrode 301. This area experiences the greatest deformation due to touch operations, making the first flexible capacitor, composed of the flexible electrode 301 and the first electrode 302, more sensitive to touch pressure. However, it is also more susceptible to aging. The second electrode 303 is located at the edge of the orthographic projection of the flexible electrode 301. This means the second capacitor, composed of the flexible electrode 301 and the second electrode 303, is almost never directly pressed, resulting in minimal deformation. It can serve as a baseline capacitance for the reference capacitor itself under the influence of interference factors.

[0123] Based on this, the difference between the touch signals output by the first flexible capacitor and the second flexible capacitor can cancel out the signal drift caused by interference factors, and retain the pure signal that is only related to pressing.

[0124] In the embodiments of this application, the difference between the first touch signal and the second touch signal reflects the pressure applied by the user's touch operation, eliminating the measurement drift caused by touchpad aging; the validity of the touch operation is judged by the touch threshold, which comprehensively considers the influence of environment and aging on the validity judgment and improves the accuracy of the validity judgment; the target function to be executed by the electronic device is determined only when the touch operation is valid, avoiding the false triggering of functions.

[0125] Embodiments of this application also provide a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of this application.

[0126] According to embodiments of this application, the computer-readable storage medium can be a non-volatile computer-readable storage medium, such as including but not limited to: portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination thereof. In embodiments of this application, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this application, the computer-readable storage medium may include the read-only memory 1002, and / or random access memory 1003, and / or one or more memories other than read-only memory 1002 and random access memory 1003 described above.

[0127] Embodiments of this application also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the methods provided in the embodiments of this application.

[0128] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 1009, and / or installed from a removable medium 1011. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0129] In embodiments of this application, the computer program can be downloaded and installed from a network via communication section 1009, and / or installed from removable medium 1011. When the computer program is executed by processor 103, it performs the functions defined in the system of embodiments of this application. According to embodiments of this application, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0130] According to embodiments of this application, program code for executing the computer programs provided in the embodiments of this application can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. The program code can be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0131] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0132] Those skilled in the art will understand that the features described in the various embodiments of this application can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this application. In particular, the features described in the various embodiments of this application can be combined and / or combined in various ways without departing from the spirit and teachings of this application. All such combinations and / or combinations fall within the scope of this application.

Claims

1. A touch control method, characterized in that, The method includes: In response to detecting a touch operation on the touchpad of an electronic device, a first touch signal and a second touch signal are acquired, wherein the first touch signal is generated by the structural deformation of a first detection element of the touchpad, and the second touch signal is generated by the structural deformation of a second detection element of the touchpad; If the difference between the first touch signal and the second touch signal is greater than or equal to the touch threshold, the target function matching the touch operation is triggered. The touch threshold is obtained by correcting a preset benchmark threshold based on at least one of an aging correction factor and an environmental interference correction coefficient. The aging correction factor indicates the degree of wear and tear on the touch panel, and the environmental interference correction coefficient indicates the degree of influence of the environment on the touch panel.

2. The touch method according to claim 1, characterized in that, The target function that triggers the touch operation includes: Based on the difference range in which the difference is located, a target operation type is determined from multiple candidate operation types, each of which has a matching difference range; Identify the operation object that matches the cursor position on the input device, and trigger the target function corresponding to the operation object and the target operation type.

3. The touch method according to claim 2, characterized in that, The triggering of the target function corresponding to the operation object and the target operation type includes: When the operation object is an application icon and the target operation type is a light pressure operation, the application represented by the application icon is selected.

4. The touch method according to claim 2, characterized in that, The target function that triggers the touch operation includes: Determine the location of the touch operation; Trigger the target function that matches the location, the operation object, and the target operation type.

5. The touch method according to claim 4, characterized in that, The triggering of the target function that matches the location, the operation object, and the target operation type includes: When the location is the first area, the operation object is the desktop, and the target operation type is a heavy pressure operation, the menu hide option is displayed; When the location is the second region, the operation object is an application icon, and the target operation type is a heavy pressure operation, the application represented by the application icon is launched. When the location is the second region, the operation object is an application window, and the target operation type is a heavy pressure operation, close the application represented by the application window.

6. The touch method according to claim 1, characterized in that, The touch threshold is obtained in the following way: The aging correction factor is obtained by combining the preset aging compensation coefficient and the number of touches on the touchpad. The aging compensation coefficient indicates the aging rate of the touchpad. The touch threshold is obtained by multiplying the baseline threshold, the environmental interference correction coefficient, and the aging correction factor.

7. The touch method according to claim 6, characterized in that, The aging correction factor is obtained by fusing a preset aging compensation coefficient and the number of touches on the touchpad, including: The number of touches on the touchpad is nonlinearly transformed to obtain an aging cumulative coefficient, which indicates the degree of aging of the touchpad. The aging compensation coefficient and the aging cumulative coefficient are fused to obtain the aging correction factor, which is used to correct the impact of touchpad aging on the benchmark threshold.

8. An electronic device, characterized in that, include: The touchpad includes a first detection element and a second detection element. The first detection element is configured to generate a structural deformation and output a first touch signal in response to a touch operation applied to the touchpad. The second detection element is configured to generate a structural deformation and output a first touch signal in response to a touch operation applied to the touchpad. One or more processors; Memory, used to store one or more computer programs. The one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.

9. The electronic device according to claim 8, characterized in that, The touchpad also includes: A substrate, wherein a flexible electrode is disposed at the orthographic projection of the substrate, and the flexible electrode is configured to undergo structural deformation in response to a touch operation applied to the flexible electrode; The substrate has a first electrode and a second electrode disposed on its surface facing the flexible electrode. The first electrode is located in the middle of the flexible electrode and is configured to form a first detection element with the flexible electrode. The second electrode is located on one side of the flexible electrode and is configured to form a second detection element with the flexible electrode.

10. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 7.