Touch signal processing method and device and electronic equipment

By determining the to-be-compensated and target touch areas in the electronic device and generating a compensation matrix based on the capacitance signal value, the touch operation inaccuracy under the influence of the insulating protective case is solved, and the accuracy and reliability of multi-finger touch is improved.

CN120406771APending Publication Date: 2025-08-01VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510547758.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

When the user wears the insulated protective case, the electronic device cannot accurately respond to the touch operation of at least two fingers, because the mutually constrained signal value becomes smaller, resulting in the misjudgment of the touch operation ending.

Method used

When a touch operation of at least two fingers is detected, the touch area to be compensated and the target touch area are determined, and a touch signal value compensation matrix is generated based on the capacitance signal value of the target touch area to be compensated, and the capacitance signal value of the touch area to be compensated.

Benefits of technology

The accuracy of the electronic device responds to at least two finger touch operations is improved, misjudgment and jitter problems are avoided, and the reliability of user operations is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120406771A_ABST
    Figure CN120406771A_ABST
Patent Text Reader

Abstract

The invention discloses a touch signal processing method and device and electronic equipment, and belongs to the technical field of terminals. The touch signal processing method provided by the embodiment of the invention comprises the steps of determining a to-be-compensated touch area and a target touch area from at least two touch areas corresponding to touch operation under the condition that the touch operation of at least two fingers is detected; determining a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area; and compensating a capacitance signal value corresponding to the to-be-compensated touch area based on the touch signal value compensation matrix.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of terminals, and particularly relates to a touch signal processing method, apparatus, and electronic device. Background Art

[0002] Generally, during the process that a user performs a multi-finger touch operation on at least two touch regions in a touch screen of an electronic device, the electronic device can determine a mutual capacitance signal value corresponding to each touch region, and generate a touch lift event when the mutual capacitance signal value corresponding to a certain touch region is less than a preset threshold. Thus, the electronic device can determine that the touch operation on the certain touch region ends according to the touch lift event.

[0003] However, since there may be a case where an insulating protective case is installed outside the electronic device, this may cause the mutual capacitance signal value to become smaller, and thus there may be a situation that during the process of performing a multi-finger touch operation, the electronic device cannot accurately respond to the user's multi-finger touch operation. Summary of the Invention

[0004] The objective of the embodiments of this application is to provide a touch signal processing method, apparatus, and electronic device to solve the problem that the electronic device cannot accurately respond to the user's multi-finger touch operation.

[0005] In a first aspect, the embodiments of this application provide a touch signal processing method, which includes: when detecting a multi-finger touch operation, determining a touch region to be compensated and a target touch region from at least two touch regions corresponding to the touch operation; determining a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch region; and compensating the capacitance signal value corresponding to the touch region to be compensated based on the touch signal value compensation matrix.

[0006] In a second aspect, the embodiments of this application provide a touch signal processing apparatus, which includes a determination module and a compensation module. The determination module is configured to, when detecting a multi-finger touch operation, determine a touch region to be compensated and a target touch region from at least two touch regions corresponding to the touch operation, and determine a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch region. The compensation module is configured to compensate the capacitance signal value corresponding to the touch region to be compensated based on the touch signal value compensation matrix determined by the determination module.

[0007] In a third aspect, the embodiments of this application provide an electronic device, which includes a processor and a memory. The memory stores a program or instruction that can run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] Fourthly, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] Fifthly, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method described in the first aspect.

[0010] Sixthly, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.

[0011] In the embodiment of the present application, when the electronic device detects a touch operation of at least two fingers, it can determine a touch area to be compensated and a target touch area from at least two touch areas corresponding to the touch operation, and determine a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area. Thus, the electronic device can compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. Since the electronic device can determine the touch area to be compensated and the target touch area from at least two touch areas when detecting a touch operation of at least two fingers, that is, when the user performs a touch operation of at least two fingers, the electronic device can determine the touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area, and compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. That is to say, adaptively increase the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. Therefore, the accuracy of the electronic device in responding to the touch operation of at least two fingers of the user can be improved. Description of the Drawings

[0012] Figure 1 is a schematic diagram of the capacitance signal value corresponding to the touch area in the related art;

[0013] Figure 2 is one of the flowcharts of the touch signal processing method provided by the embodiment of the present application;

[0014] Figure 3 is another flowchart of the touch signal processing method provided by the embodiment of the present application;

[0015] Figure 4 is one of the schematic diagrams of the capacitance signal value corresponding to the touch area in the touch signal processing method provided by the embodiment of the present application;

[0016] Figure 5This is the third flow chart of the touch signal processing method provided in the embodiment of the present application;

[0017] Figure 6 This is a second schematic diagram of capacitance signal values corresponding to touch areas in the touch signal processing method provided in an embodiment of the present application;

[0018] Figure 7 This is the third flow chart of the touch signal processing method provided in the embodiment of the present application;

[0019] Figure 8 2 is a schematic diagram of capacitance signal values corresponding to the area to be compensated after compensation in the touch signal processing method provided in an embodiment of the present application;

[0020] Figure 9 is a structural diagram of a touch signal processing device provided in an embodiment of the present application;

[0021] Figure 10 This is one of the hardware structure diagrams of the electronic device provided in the embodiment of the present application;

[0022] Figure 11 This is the second hardware structure diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0023] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are 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 are within the scope of protection of this application.

[0024] The following is an explanation of the professional terms used in the embodiments of this application.

[0025] 1. Suspension

[0026] Typically, in the touch circuit sampling loop, the equivalent capacitance between the human hand and the system ground of the electronic device is Cfg. If this capacitance is large, it indicates a serious degree of levitation. If the user wears an insulating protective case and operates with at least two fingers on the screen, varying degrees of levitation will occur. From the capacitance signal value, a large negative value on the screen indicates a serious levitation, such as Figure 1 As shown, the user performs a two-finger touch operation, finger 1 performs a touch operation on area 1 of the touch screen, and finger 2 performs a touch operation on area 2 of the touch screen. If the electronic device is equipped with an insulating protective case, it will be suspended in areas 3 and 4. That is to say, the capacitance signal values corresponding to areas 3 and 4 can be large negative numbers.

[0027] 2. Other terms

[0028] The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0029] The following will combine the accompanying drawings and through specific embodiments and their application scenarios, to elaborate in detail on the touch signal processing method, device and electronic device provided by the embodiments of this application.

[0030] Generally, during the process that a user performs a multi-finger touch operation on at least two touch areas in the touch screen of an electronic device, the electronic device can determine the mutual capacitance signal value corresponding to each touch area, and generate a touch lift event when the mutual capacitance signal value corresponding to a certain touch area is less than a preset threshold. Thus, the electronic device can determine that the touch operation on the certain touch area ends according to the touch lift event. However, since there may be a situation where an insulating protective case is installed outside the electronic device, this may cause the mutual capacitance signal value to become smaller, and thus there may be a situation where during the multi-finger touch operation, the user does not end the touch operation on a certain touch area, but the electronic device determines that the touch operation on the certain touch area ends. Therefore, the electronic device cannot accurately respond to the user's multi-finger touch operation.

[0031] However, in the embodiments of this application, when the electronic device detects a multi-finger touch operation, it can determine a touch area to be compensated and a target touch area from the at least two touch areas corresponding to the touch operation, and determine a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area. Thus, the electronic device can compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. Since the electronic device can determine the touch area to be compensated and the target touch area from at least two touch areas when detecting a multi-finger touch operation, that is, when the user performs a multi-finger touch operation, the electronic device can determine a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area, and compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. That is to say, adaptively increase the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. Therefore, it can enable the electronic device to improve the accuracy of responding to the user's multi-finger touch operation.

[0032] Figure 2 The flowchart shows the touch signal processing method provided by the embodiments of the present application. As Figure 2 shown, the touch signal processing method provided by the embodiments of the present application may include the following steps 101 to 103.

[0033] Step 101: When a touch operation of at least two fingers is detected, the electronic device determines a touch area to be compensated and a target touch area from at least two touch areas corresponding to the touch operation.

[0034] In some embodiments of the present application, the above-mentioned "touch operation of at least two fingers" may be understood as: an operation in which at least two fingers on one or two hands of a user perform touch input on an input device (such as a touch screen on an electronic device).

[0035] In some embodiments of the present application, each of the above-mentioned at least two touch areas may be: an area where one finger performing a touch operation of at least two fingers performs touch input on the above-mentioned input device. It can be understood that the number of the at least two touch areas may be the same as the number of fingers performing the touch operation of at least two fingers.

[0036] In some embodiments of the present application, the above-mentioned touch area to be compensated may be understood as: an area affected by suspension. Among them, the touch area to be compensated may be at least one of the at least two touch areas, or may be a partial area of each of the at least one touch area. The number of the touch areas to be compensated may be at least one.

[0037] In some embodiments of the present application, the above-mentioned target touch area is used to compensate the capacitance signal value corresponding to the touch area to be compensated.

[0038] In some embodiments of the present application, the above-mentioned target touch area includes any one of the following: an area not affected by suspension, an area affected by suspension. The target touch area may be at least one of the at least two touch areas except the touch area to be compensated, or may be a partial area of the at least two touch areas except the touch area to be compensated.

[0039] In some embodiments of the present application, when the electronic device is in a powered-on state and detects a touch operation of a user on the input device, the electronic device may detect the number of fingers corresponding to the touch operation, and when the number is greater than or equal to 2, it is determined that a touch operation of at least two fingers is detected.

[0040] In some embodiments of the present application, the electronic device may detect data corresponding to at least two touch regions to determine a touch region to be compensated and a target touch region. Among them, the data may include at least one of the following: region position, capacitance signal value corresponding to the region, etc., and the capacitance signal value may be a mutual capacitance signal value.

[0041] The following will use different examples to illustrate the specific solutions for the electronic device to determine the touch region to be compensated and the target touch region.

[0042] In some embodiments of the present application, the above touch operation is a three-finger touch operation, and the above at least two touch regions are three touch regions. In some examples, in combination with Figure 2 , such as Figure 3 shown, step 101 above can be specifically implemented by the following step 101a and step 101b.

[0043] Step 101a: When detecting a touch operation of at least two fingers, the electronic device determines the first touch region and the second touch region among the three touch regions as the target touch regions.

[0044] In the embodiments of the present application, there are no identical rows and identical columns in the above first touch region and the second touch region.

[0045] In some examples, the fact that there are no identical rows and identical columns in the above first touch region and the second touch region can be understood as that the first touch region and the second touch region are located in different rows and different columns of the touch screen.

[0046] For example, Figure 4 shows a schematic diagram of the region positions of three touch regions. As Figure 4 shown, the user can perform a three-finger touch operation on the touch screen, and this three-finger touch operation corresponds to three touch regions, such as touch region 10, touch region 11, and touch region 12. The touch region 10 is located in rows 20 to 23 and columns 0 to 3 of the touch screen, the touch region 11 is located in rows 14 to 17 and columns 13 to 15 of the touch screen, and the touch region 12 is located in rows 14 to 17 and columns 0 to 3 of the touch screen. It can be understood that the touch region 10 and the touch region 11 are located in different rows and different columns of the touch screen, that is, there are no identical rows and identical columns in the touch region 10 and the touch region 11. Therefore, the electronic device can determine the touch region 10 and the touch region 11 as the target touch regions.

[0047] In the embodiments of the present application, when a user performs a touch operation on a touch area, the areas in the same row and the same column of the touch area may be affected by suspension. In this case, when the electronic device is equipped with an insulating protective case, the capacitance signal values corresponding to the areas in the same row and the same column may be relatively small. Therefore, if the first touch area and the second touch area do not have the same rows and the same columns, it can be considered that the first touch area and the second touch area may not be affected by suspension or are less affected by suspension. Therefore, the electronic device can determine the first touch area and the second touch area as the target touch areas.

[0048] In some examples, the electronic device can also obtain the minimum capacitance signal value among the capacitance signal values corresponding to the first touch area and the second touch area, and determine the first touch area and the second touch area as the target touch areas when the minimum capacitance signal value is greater than the signal threshold.

[0049] Among them, the signal threshold can be preset or configured by other devices.

[0050] It can be understood that since there may be a situation where the touch area other than the first touch area and the second touch area among the three touch areas (such as the third touch area in the following embodiments) affects the first touch area and the second touch area by suspension, the electronic device can obtain the minimum capacitance signal value among the capacitance signal values corresponding to the first touch area and the second touch area, and when the minimum capacitance signal value is greater than the signal threshold, determine that the capacitance signal values corresponding to the first touch area and the second touch area are both relatively large, that is, determine that the first touch area and the second touch area are less affected by the suspension of the third touch area, and determine the first touch area and the second touch area as the target touch areas.

[0051] For example, in combination with Figure 4, the capacitance signal values corresponding to the touch area 10 include [34, 385, 250, 8, 414, 569, 543, 92, 371, 492, 486, 123, 14, 222, 149, 27], the capacitance signal values corresponding to the touch area 11 include [280, 539, 274, 16, 458, 515, 549, 107, 135, 470, 379, 34], the capacitance signal values corresponding to the touch area 12 include [-103, -202, -157, -14, -5, 58, -94, -35, 56, 53, 103, -22, -12, 14, -44, -11]. The minimum capacitance signal value among the capacitance signal values corresponding to the touch area 10 is 8, which is greater than the signal value threshold (for example, -10). The minimum capacitance signal value among the capacitance signal values corresponding to the touch area 11 is 16, which is greater than the signal value threshold (for example, -10). Therefore, the electronic device can determine the touch area 10 and the touch area 11 as the target touch areas.

[0052] Step 101b: The electronic device determines the third touch area among the three touch areas as the touch area to be compensated.

[0053] In the embodiments of the present application, the above-mentioned third touch area and the first touch area have the same row or the same column, or the third touch area and the second touch area have the same row or the same column.

[0054] In some examples, the above-mentioned third touch area and the first touch area having the same row or the same column can be understood as at least part of the third touch area and the first touch area being located in the same row or the same column of the touch screen.

[0055] In some examples, the above-mentioned third touch area and the second touch area having the same row or the same column can be understood as at least part of the third touch area and the second touch area being located in the same row or the same column of the touch screen.

[0056] For example, in combination with Figure 4 , both the touch area 12 and the touch area 10 are located in columns 0 to 3 of the touch screen. Both the touch area 12 and the touch area 11 are located in rows 14 to 17 of the touch screen. That is to say, all parts of the touch area 12 and the touch area 10 are located in the same column of the touch screen, and all parts of the touch area 12 and the touch area 11 are located in the same row of the touch screen. That is, the touch area 12 and the touch area 10 have the same column, and the touch area 12 and the touch area 10 have the same row. Therefore, the electronic device can determine the touch area 12 as the touch area to be compensated.

[0057] In the embodiments of the present application, when a user performs a touch operation on a touch area, the areas in the same row and the same column of the touch area may be affected by suspension. In this case, when the electronic device is equipped with an insulating protective case, the capacitance signal values corresponding to the areas in the same row and the same column may be relatively small. Therefore, if the third touch area has the same row or the same column as the first touch area and the second touch area, it can be considered that the third touch area may be affected by suspension, that is, the third touch area may be affected by the insulating protective case installed on the electronic device. Therefore, the third touch area can be determined as a touch area to be compensated.

[0058] In some examples, the electronic device can also obtain the minimum capacitance signal value in the capacitance signal values corresponding to the third touch area, and determine the third touch area as a touch area to be compensated when the minimum capacitance signal value is less than or equal to the signal threshold.

[0059] For example, in combination with Figure 4 , the touch area 11 is not a touch area to be compensated. The minimum capacitance signal value in the capacitance signal values corresponding to the touch area 12 is -202, which is less than the signal threshold (such as -10). Therefore, the electronic device can determine the touch area 12 as a touch area to be compensated.

[0060] It can be seen that since the electronic device can determine the first touch area and the second touch area where there are no same rows and same columns among the three touch areas as the target touch areas, and determine the third touch area that has the same row or the same column as the first touch area and has the same row or the same column as the second touch area as the touch area to be compensated. That is to say, the electronic device can accurately determine the target touch area that is not affected by suspension, and accurately determine the touch area to be compensated that is affected by suspension. In subsequent steps, the electronic device can accurately determine the touch signal value compensation matrix according to the capacitance signal values corresponding to the target touch area, and use the touch signal value compensation matrix to compensate the touch area to be compensated to increase the capacitance signal value corresponding to the touch area to be compensated. Therefore, the electronic device can improve the accuracy of accurately responding to the three-finger touch operation of the user.

[0061] In some embodiments of the present application, the above touch operation is a two-finger touch operation, and the at least two touch areas are two touch areas. In some examples, in combination with Figure 2 , such as Figure 5 shown, the above step 101 can be specifically implemented by the following step 101c and step 101d.

[0062] Step 101c: When a touch operation of at least two fingers is detected, the electronic device determines the area parts of the same row or the same column in the two touch areas as the touch areas to be compensated.

[0063] In some examples, the area parts of the same row or the same column in the above two touch areas can be understood as the area parts of the same row or the same column of the touch screen where the two touch areas are located.

[0064] Exemplarily, assume that the two touch areas include a fourth touch area and a fifth touch area, and a first area part of the fourth touch area and a second area part of the fifth touch area are located in the same row or the same column of the touch screen. Then, the electronic device can determine the first area part and the second area part as the touch areas to be compensated.

[0065] For example, Figure 6 shows a schematic diagram of the area positions of two touch areas. As Figure 6 shown, the user can perform a two-finger touch operation on the touch screen. The two-finger touch operation corresponds to two touch areas, such as touch area 13 and touch area 14. Touch area 13 is located in rows 5 to 8 and columns 5 to 9 of the touch screen, and touch area 14 is located in rows 26 to 28 and columns 9 to 11 of the touch screen. Among them, column 9 of touch area 13 and column 9 of touch area 14 are located in the same column of the touch screen. Therefore, the electronic device can determine column 9 of touch area 13 and column 9 of touch area 14 as the touch areas to be compensated.

[0066] In the embodiments of the present application, when the user performs a touch operation on a touch area, the areas of the same row and the same column of the touch area may be affected by suspension. In this case, when the electronic device is installed with an insulating protective case, the capacitance signal values corresponding to the areas of the same row and the same column may be relatively small. Therefore, if some area parts of two touch areas are in the same row or the same column, it can be considered that these area parts may be affected by suspension, that is, these area parts may be affected by the insulating protective case installed on the electronic device. Therefore, the area parts of the same row or the same column in the two touch areas can be determined as the touch areas to be compensated.

[0067] In some examples, the electronic device can also obtain the minimum capacitance signal value among the capacitance signal values corresponding to the area parts of the same row or the same column in the two touch areas, and determine the area part as the touch area to be compensated when the minimum capacitance signal value is less than or equal to the signal threshold.

[0068] Step 101d: The electronic device determines the area parts of the two touch areas other than the touch areas to be compensated as the target touch areas.

[0069] Exemplarily, assume that the two touch areas include a fourth touch area and a fifth touch area, and a first area part of the fourth touch area and a second area part of the fifth touch area are located in the same row or the same column of the touch screen. Then, the electronic device may determine, as the target touch areas, the area parts of the fourth touch area and the fifth touch area except the first area part (e.g., all area parts of the fifth touch area or the second area part in the fifth touch area), and the area parts of the fourth touch area and the fifth touch area except the second area part (e.g., all area parts of the fourth touch area or the first area part in the fourth touch area).

[0070] For example, in combination with Figure 6 , the electronic device may determine, as the target touch areas, touch area 13 (i.e., the area parts of touch area 13 and touch area 14 except the 9th column of touch area 14), and touch area 14 (i.e., the area parts of touch area 13 and touch area 14 except the 9th column of touch area 13).

[0071] As can be seen, since the electronic device may determine the area parts of the two touch areas located in the same row or the same column as the touch areas to be compensated, and determine the area parts of the two touch areas except the touch areas to be compensated as the target touch areas. That is to say, the electronic device can accurately determine the target touch areas not affected by suspension, and accurately determine the touch areas to be compensated affected by suspension. In subsequent steps, the electronic device can accurately determine the touch signal value compensation matrix according to the capacitance signal values corresponding to the target touch areas, and use the touch signal value compensation matrix to compensate the touch areas to be compensated to adapt to increasing the capacitance signal values corresponding to the touch areas to be compensated. Therefore, the electronic device can improve the accuracy of responding to the three-finger touch operation of the user.

[0072] Step 102: The electronic device determines a touch signal value compensation matrix according to the capacitance signal values corresponding to the target touch areas.

[0073] In some embodiments of the present application, the above touch signal value compensation matrix is used to compensate the capacitance signal values corresponding to the touch areas to be compensated.

[0074] In some embodiments of the present application, in combination with Figure 2 , as Figure 7 shown, the above step 102 may be specifically implemented by the following step 102a and step 102b.

[0075] Step 102a: The electronic device determines a first intermediate matrix according to at least one first signal group and at least one second signal group.

[0076] In the embodiments of the present application, each first signal group in the at least one first signal group includes capacitance signal values corresponding to a row region of the first touch region, and each second signal group in the at least one second signal group includes capacitance signal values corresponding to a column region of the second touch region; alternatively, each first signal group in the at least one first signal group includes capacitance signal values corresponding to a column region of the first touch region, and each second signal group in the at least one second signal group includes capacitance signal values corresponding to a row region of the second touch region.

[0077] It can be understood that the capacitance signal values corresponding to the first touch region can form a matrix. Each first signal group includes capacitance signal values corresponding to a row of the matrix, or each first signal group includes capacitance signal values corresponding to a column of the matrix. The capacitance signal values corresponding to the second touch region can form another matrix. Each second signal group includes capacitance signal values corresponding to a column of the matrix, or each second signal group includes capacitance signal values corresponding to a row of the matrix.

[0078] In some examples, the above-mentioned row region can be understood as the region where the touch capacitances are arranged along an edge line on the touch screen. The above-mentioned column region can be understood as the region where the touch capacitances are arranged along another edge line adjacent to the one edge line on the touch screen.

[0079] It can be understood that when each first signal group includes capacitance signal values corresponding to a row region of the first touch region, each capacitance signal value in the first signal group can be the capacitance signal value corresponding to the touch capacitance arranged along an edge line on the touch screen for the first touch region; when each first signal group includes capacitance signal values corresponding to a column region of the first touch region, each capacitance signal value in the first signal group can be the capacitance signal value corresponding to the touch capacitance arranged along another edge line adjacent to the one edge line on the touch screen for the first touch region.

[0080] When each second signal group includes capacitance signal values corresponding to a column region of the second touch region, each capacitance signal value in the second signal group can be the capacitance signal value corresponding to the touch capacitance arranged along an edge line on the touch screen for the second touch region; when each second signal group includes capacitance signal values corresponding to a row region of the second touch region, each capacitance signal value in the second signal group can be the capacitance signal value corresponding to the touch capacitance arranged along another edge line adjacent to the one edge line on the touch screen for the second touch region.

[0081] In some examples, the capacitance signal values included in each of the above-mentioned first signal groups and second signal groups are related to the relative positional relationship between the target touch area and the touch area to be compensated.

[0082] Optionally, the target touch area includes a first touch area and a second touch area, where the first touch area and the second touch area do not have the same rows and the same columns, and the touch area to be compensated is the third touch area among the above three touch areas.

[0083] Among them, when the third touch area and the first touch area have the same row, and the third touch area and the second touch area have the same column, each first signal group includes the capacitance signal values corresponding to a row area of the first touch area (for example, the same row of the first touch area and the third touch area), and each second signal group includes the capacitance signal values corresponding to a column area of the second touch area (for example, the same column of the second touch area and the third touch area).

[0084] In the embodiments of the present application, since the touch areas in the same row on the touch screen will cause mutual floating interference to each other, and the touch areas in the same column will cause mutual floating interference to each other. Therefore, when the third touch area and the first touch area have the same row, and the third touch area and the second touch area have the same column, the capacitance signal values corresponding to the same row area of the first touch area and the third touch area can be determined as the capacitance signal values in a first signal group, so that the capacitance signal values in each first signal group are the capacitance signal values that cause floating interference to the third touch area, and the capacitance signal values corresponding to the same column area of the second touch area and the third touch area are determined as the capacitance signal values in a second signal group, so that the capacitance signal values in each second signal group are the capacitance signal values that cause floating interference to the third touch area. Thus, the electronic device can generate a first intermediate matrix related to the floating interference received by the third touch area based on the at least one first signal group and the at least one second signal group.

[0085] Illustrated by way of example, in combination with Figure 4, both the touch area 12 and the touch area 10 are located in the 1st to 4th columns of the touch screen, and both the touch area 12 and the touch area 11 are located in the 14th to 17th rows of the touch screen. Then the number of the first signal groups is 4. The capacitance signal values in the first first signal group include [34, 385, 250, 8], the capacitance signal values in the second first signal group include [414, 569, 543, 92], the capacitance signal values in the third first signal group include [371, 492, 486, 123], and the capacitance signal values in the fourth first signal group include [14, 222, 149, 27]. The number of the second signal groups is 4. The capacitance signal values in the first second signal group include [280, 458, 135], the capacitance signal values in the second second signal group include [539, 515, 470], the capacitance signal values in the third second signal group include [274, 549, 379], and the capacitance signal values in the fourth second signal group include [16, 107, 34].

[0086] Wherein, when there are the same columns in the third touch area and the first touch area, and there are the same rows in the third touch area and the second touch area, each first signal group includes the capacitance signal values corresponding to one column area of the first touch area (for example, the same column of the first touch area and the third touch area), and each second signal group includes the capacitance signal values corresponding to one row area of the second touch area (for example, the same row of the second touch area and the third touch area).

[0087] In the embodiment of the present application, since the touch areas in the same row on the touch screen will cause mutual floating interference to each other, and the touch areas in the same column will cause mutual floating interference to each other. Therefore, when there are the same columns in the third touch area and the first touch area, and there are the same rows in the third touch area and the second touch area, the capacitance signal values corresponding to the same column area of the first touch area and the third touch area can be determined as the capacitance signal values in a first signal group, so that the capacitance signal values in each first signal group are the capacitance signal values causing floating interference to the third touch area, and the capacitance signal values corresponding to the same row area of the second touch area and the third touch area are determined as the capacitance signal values in a second signal group, so that the capacitance signal values in each second signal group are the capacitance signal values causing floating interference to the third touch area. Thus, the electronic device can generate a first intermediate matrix related to the floating interference received by the third touch area based on the at least one first signal group and the at least one second signal group.

[0088] It can be seen that, since the capacitance signal values in at least one first signal group and the capacitance signal values in at least one second signal group are related to the relative position relationship between the target touch area and the touch area to be compensated, it can be ensured that the electronic device can generate a first intermediate matrix related to the floating influence on the third touch area. Thus, in subsequent steps, the electronic device can obtain a touch signal value compensation matrix related to the floating influence on the third touch area. In this way, the electronic device can accurately compensate the touch area to be compensated based on this touch signal value compensation matrix.

[0089] In some embodiments of the present application, the above step 102a can be specifically implemented by the following steps 102a1 to 102a3.

[0090] Step 102a1: The electronic device determines the sum of the capacitance signal values in each first signal group to obtain a first matrix, and determines the sum of the capacitance signal values in each second signal group to obtain a second matrix.

[0091] Exemplarily, in combination with Figure , the electronic device can add the capacitance signal values [34, 385, 250, 8] in the first first signal group to obtain the first element of the first matrix, that is, 677, and add the capacitance signal values [414, 569, 543, 92] in the second first signal group to obtain the second element of the first matrix, that is, 1618, and add the capacitance signal values [371, 492, 486, 123] in the third first signal group to obtain the third element of the first matrix, that is, 1472, and add the capacitance signal values [14, 222, 149, 27] in the fourth first signal group to obtain the fourth element of the first matrix, that is, 412, so as to obtain the first matrix SumA. And, the electronic device can add the capacitance signal values [280, 458, 135] in the first second signal group to obtain the first element of the second matrix, that is, 873, and add the capacitance signal values [539, 515, 470] in the second second signal group to obtain the second element of the second matrix, that is, 1524, and add the capacitance signal values [274, 549, 379] in the third second signal group to obtain the third element of the second matrix, that is, 1202, and add the capacitance signal values [16, 107, 34] in the fourth second signal group to obtain the fourth element of the second matrix, that is, 157, so as to obtain the second matrix SumB.

[0092] Step 102a2: The electronic device determines a third matrix according to the product of the first matrix and the second matrix.

[0093] In some examples, the electronic device can determine the matrix obtained by multiplying the first matrix and the second matrix as the third matrix.

[0094] Exemplarily, the electronic device may multiply the above first matrix [677, 1618, 1472, 412] and the second matrix [873, 1524, 1202, 157] to obtain the matrix [591021, 1031748, 813754, 106289, 1412514, 2465832, 1944836, 254026, 1285056, 2243328, 1769344, 231104, 359676, 627888, 495224, 64684], and determine it as the third matrix C.

[0095] Step 102a3: The electronic device determines a first intermediate matrix according to the ratio of each element in the third matrix to the first element.

[0096] In the embodiments of the present application, the above first element is the largest element in the third matrix.

[0097] Exemplarily, the first element in the above third matrix [591021, 1031748, 813754, 106289, 1412514, 2465832, 1944836, 254026, 1285056, 2243328, 1769344, 231104, 359676, 627888, 495224, 64684] is 2465832. Thus, the electronic device may determine the ratio of each element in the third matrix to the first element as an element of the first intermediate matrix, and the first intermediate matrix C is [0.239684, 0.418418, 0.330012, 0.043104721, 0.572835, 1, 0.788714, 0.103018373, 0.521145, 0.909765, 0.717544, 0.093722524, 0.145864, 0.254635, 0.200834, 0.02623212].

[0098] It can be seen that the electronic device can calculate the first matrix and the second matrix according to at least one first signal group and at least one second signal group, and accurately determine the third matrix according to the first matrix and the second matrix. Thus, the electronic device can accurately determine the first intermediate matrix according to the third matrix.

[0099] Step 102b: The electronic device determines a touch signal value compensation matrix according to the first intermediate matrix and the suspension amount.

[0100] In some embodiments of the present application, the above suspension amount is the minimum capacitance signal value corresponding to the touch operation.

[0101] In some examples, the above-mentioned floating amount can be any one of the following: the minimum capacitance signal value among the capacitance signal values corresponding to at least two touch areas, the minimum capacitance signal value among the capacitance signal values corresponding to all areas of the touch screen during the touch operation of at least two fingers.

[0102] It can be seen that since the floating amount can be the minimum capacitance signal value corresponding to the touch operation, that is to say, the floating amount is related to the floating influence caused by the touch operation, that is, the floating amount is related to the current floating influence on the touch screen. Therefore, the touch signal value compensation matrix determined by the electronic device according to the first intermediate matrix and the floating amount is also related to the floating influence caused by the touch operation. In this way, the electronic device can accurately compensate the touch area to be compensated based on this touch signal value compensation matrix to reduce the floating influence on the touch area to be compensated, so that the electronic device can improve the accuracy of responding to the touch operation of at least two fingers of the user.

[0103] In some examples, the electronic device can determine the touch signal value compensation matrix according to the product of the first intermediate matrix and the floating amount.

[0104] Optionally, the electronic device can first calculate the product of the first intermediate matrix and the floating amount to obtain an intermediate matrix, and then determine the touch signal value compensation matrix according to the number of elements of the matrix composed of the capacitance signal values corresponding to the touch area to be compensated and this intermediate matrix.

[0105] For example, assuming that the number of elements in the above intermediate matrix is more than the number of elements of the matrix composed of the capacitance signal values corresponding to the touch area to be compensated, the electronic device can determine the touch signal value compensation matrix from the above intermediate matrix according to the number of elements of the matrix composed of the capacitance signal values corresponding to the touch area to be compensated.

[0106] For another example, assuming that the number of elements in the above intermediate matrix is equal to the number of elements of the matrix composed of the capacitance signal values corresponding to the touch area to be compensated, the electronic device can determine this intermediate matrix as the touch signal value compensation matrix.

[0107] It can be understood that the number of elements of the touch signal value compensation matrix is equal to the number of elements of the matrix composed of the capacitance signal values corresponding to the touch area to be compensated. That is to say, each element in the touch signal value compensation matrix corresponds to a capacitance signal value corresponding to the touch area to be compensated respectively.

[0108] Exemplarily, assuming the suspension amount is -260, the product of multiplying each element in the first intermediate matrix [0.239684, 0.418418, 0.330012, 0.043104721, 0.572835, 1, 0.788714, 0.103018373, 0.521145, 0.909765, 0.717544, 0.093722524, 0.145864, 0.254635, 0.200834, 0.02623212] by -260 respectively is determined as an element of the above one intermediate matrix. And when the number of elements in the one intermediate matrix is equal to the number of elements in the matrix composed of the capacitance signal values corresponding to the touch area to be compensated, the one intermediate matrix is determined as the touch signal value compensation matrix, and the touch signal value compensation matrix is [-62.3179, -108.789, -85.8031, -11.2072, -148.937, -260, -205.066, -26.7848, -135.498, -236.539, -186.562, -24.3679, -37.9246, -66.2052, -52.217, -6.82035].

[0109] It can be seen that since the electronic device can also determine the touch signal value compensation matrix according to the product of the first intermediate matrix and the suspension amount, each element in the touch signal value compensation matrix can be associated with the current suspension influence on the touch screen. Therefore, in subsequent steps, the electronic device can use the touch signal value compensation matrix to accurately compensate the touch area to be compensated.

[0110] In summary, the electronic device can accurately determine the first intermediate matrix according to at least one first signal group and at least one second signal group, and accurately determine the touch signal value compensation matrix according to the first intermediate matrix.

[0111] In some embodiments of the present application, step 102 can be specifically implemented by the following step 102c and step 102d.

[0112] Step 102c: The electronic device determines a second intermediate matrix according to at least one third signal group and at least one fourth signal group, and determines a third intermediate matrix according to at least one fifth signal group and at least one sixth signal group.

[0113] In the embodiments of the present application, each of the at least one third signal group includes capacitance values corresponding to a row region of a touch area (such as the fourth touch area above), and each of the at least one fourth signal group includes capacitance signal values corresponding to a column region of another touch area (such as the fifth touch area above); or, each of the at least one third signal group includes capacitance values corresponding to a column region of a touch area (such as the fourth touch area above), and each of the at least one fourth signal group includes capacitance signal values corresponding to a row region of another touch area (such as the fifth touch area above).

[0114] In the embodiments of the present application, each of the at least one fifth signal group includes capacitance values corresponding to a column region of a touch area (such as the fourth touch area above), and each of the at least one sixth signal group includes capacitance signal values corresponding to a row region of another touch area (such as the fifth touch area above); or, each of the at least one fifth signal group includes capacitance values corresponding to a row region of a touch area (such as the fourth touch area above), and each of the at least one sixth signal group includes capacitance signal values corresponding to a column region of another touch area (such as the fifth touch area above).

[0115] Optionally, the two touch areas include a fourth touch area and a fifth touch area. There is the same row or the same column between the first area part of the fourth touch area and the second area part of the fifth touch area. The touch area to be compensated includes the first area part and the second area part.

[0116] Wherein, when there is the same row between the fourth touch area and the fifth touch area, each third signal group includes capacitance signal values corresponding to a row region of the fourth touch area, and each fourth signal group includes capacitance signal values corresponding to a column region of the fifth touch area. Each fifth signal group includes capacitance signal values corresponding to a column region of the fourth touch area, and each sixth signal group includes capacitance signal values corresponding to a row region of the fifth touch area.

[0117] Wherein, when there is the same column between the fourth touch area and the fifth touch area, each third signal group includes capacitance signal values corresponding to a column region of the fourth touch area, and each fourth signal group includes capacitance signal values corresponding to a row region of the fifth touch area. Each fifth signal group includes capacitance signal values corresponding to a row region of the fourth touch area, and each sixth signal group includes capacitance signal values corresponding to a column region of the fifth touch area.

[0118] It can be seen that, since the capacitance signal values in at least one third signal group and the capacitance signal values in at least one fourth signal group are related to the relative position relationship between the target touch area and the touch area to be compensated, it can be ensured that the electronic device can generate a second intermediate matrix related to the influence of suspension on the second area part; and, since the capacitance signal values in at least one fifth signal group and the capacitance signal values in at least one sixth signal group are related to the relative position relationship between the target touch area and the touch area to be compensated, it can be ensured that the electronic device can generate a third intermediate matrix related to the influence of suspension on the first area part; thus, in subsequent steps, the electronic device obtains a touch signal value compensation matrix related to the influence of suspension on the second area part (for example, the first touch signal value compensation sub-matrix in the following embodiments), and obtains another touch signal value compensation matrix related to the influence of suspension on the first area part (for example, the second touch signal value compensation sub-matrix in the following embodiments). In this way, the electronic device can compensate the capacitance signal values corresponding to the second area part based on the first touch signal value compensation sub-matrix, and compensate the capacitance signal values corresponding to the first area part based on the second touch signal value compensation sub-matrix.

[0119] It should be noted that the description of the electronic device determining the second intermediate matrix according to at least one third signal group and at least one fourth signal group, and determining the third intermediate matrix according to at least one fifth signal group and at least one sixth signal group can refer to the specific description of the electronic device determining the first intermediate matrix according to at least one first signal group and at least one second signal group in the above embodiments, and will not be repeated in the embodiments of the present application.

[0120] Step 102d: The electronic device determines a first touch signal value compensation sub-matrix according to the second intermediate matrix and the suspension amount, and determines a second touch signal value compensation sub-matrix according to the third intermediate matrix and the suspension amount.

[0121] It can be understood that, in this example, the above touch signal value compensation matrix may include a first touch signal value compensation sub-matrix (for example, Mb) and a second touch signal value compensation sub-matrix (for example, Ma). The number of elements in the first touch signal value compensation sub-matrix is equal to the number of elements in the matrix formed by the capacitance signal values corresponding to the second area part, and the number of elements in the second touch signal value compensation sub-matrix is equal to the number of elements in the matrix formed by the capacitance signal values corresponding to the first area part.

[0122] It should be noted that for the description of the electronic device determining the first touch signal value compensation sub-matrix according to the second intermediate matrix and the suspension amount, and determining the second touch signal value compensation sub-matrix according to the third intermediate matrix and the suspension amount, reference can be made to the specific description of the electronic device determining the touch signal value compensation matrix according to the first intermediate matrix and the suspension amount in the above embodiments, and the embodiments of the present application will not be elaborated herein.

[0123] In summary, the electronic device can accurately determine the second intermediate matrix and the third intermediate matrix according to at least one third signal group, at least one fourth signal group, at least one fifth signal group, and at least one sixth signal group, and accurately determine the first touch signal value compensation sub-matrix and the second touch signal value compensation sub-matrix according to the second intermediate matrix and the third intermediate matrix, so as to obtain an accurate touch signal value compensation matrix.

[0124] Step 103: The electronic device compensates the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix.

[0125] In some embodiments of the present application, the above touch operation is a three-finger touch operation, the above at least two touch areas are three touch areas, the target touch area includes a first touch area and a second touch area, and the touch area to be compensated is the third touch area. Thus, the electronic device can determine the difference between each capacitance signal value corresponding to the touch area to be compensated (i.e., the third touch area) and an element in the touch signal value compensation matrix as the intermediate capacitance signal value corresponding to the touch area to be compensated, and then round each intermediate capacitance signal value to obtain each final capacitance signal value corresponding to the touch area to be compensated.

[0126] For example, in combination with [[ID=I3]] ​ as ​As shown, the electronic device can use the touch signal value compensation matrix [-62.3179, -108.7886, -85.8031, -11.20723, -148.937, -260, -205.0656, -26.78478, -135.4977, -236.5389, -186.5616, -24.36786, -37.92463, -66.20519, -52.21696, -6.820351] to compensate the capacitance signal value corresponding to touch area 13. The compensated capacitance signal values are [-40.6821, -93.21137, -71.1969, -2.792773, 143.93701, 318, 111.06562, -8.215223, 191.4977, 289.53894, 289.56155, 2.3678564, 25.924627, 80.20519, 8.2169556, -4.179649]. After rounding, the final capacitance signal values are [-41, -93, -71, -3, 144, 318, 111, -8, 191, 290, 290, 2, 26, 80, 8, -4].

[0127] In some embodiments of the present application, the above touch operation is a two-finger touch operation, the above at least two touch areas are two touch areas, the target touch area includes the fourth touch area and the fifth touch area, and the touch area to be compensated is the first area part and the second area part. Thus, the electronic device can determine the intermediate capacitance signal value corresponding to each second area part by taking the difference between each capacitance signal value corresponding to the second area part and an element in the first touch signal value compensation sub-matrix, and then round each intermediate capacitance signal value to obtain each final capacitance signal value corresponding to the second area part. And, the electronic device can determine the intermediate capacitance signal value corresponding to each first area part by taking the difference between each capacitance signal value corresponding to the first area part and an element in the second touch signal value compensation sub-matrix, and then round each intermediate capacitance signal value to obtain each final capacitance signal value corresponding to the first area part.

[0128] It can be understood that the final capacitance signal value corresponding to the touch area to be compensated has been restored to a large extent and can meet the finger recognition entry condition, that is, during the user's touch operation with at least two fingers, the electronic device will not misrecognize the end of the touch operation in the touch area to be compensated.

[0129] In some embodiments of the present application, after the electronic device compensates the capacitance signal value corresponding to the touch area to be compensated in at least two touch areas based on the touch signal value compensation matrix, the electronic device may perform the above steps 101 to 103 again to determine the target touch area and the touch area to be compensated again, determine the touch signal value compensation matrix again, and compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix again.

[0130] In some examples, the electronic device may perform the above steps 101 to 103 again according to a predefined period, or the electronic device may perform the above steps 101 to 103 again after a predefined duration from the moment when step 103 is completed.

[0131] An embodiment of the present application provides a touch signal processing method. When the electronic device detects a touch operation of at least two fingers, it may determine a touch area to be compensated and a target touch area from at least two touch areas corresponding to the touch operation, and determine a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area. Thus, the electronic device may compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. Since the electronic device can determine the touch area to be compensated and the target touch area from at least two touch areas when detecting a touch operation of at least two fingers, that is, when the user performs a touch operation of at least two fingers, the electronic device can determine the touch signal value compensation matrix based on the capacitance signal value corresponding to the target touch area, and compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix, that is, adaptively increase the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. Therefore, the accuracy of the electronic device in responding to the touch operation of at least two fingers of the user can be improved.

[0132] Moreover, it is possible to avoid the disconnection problem that occurs when one finger slides on the touch screen during the process of the user performing a touch operation of at least two fingers. And it is possible to avoid the jitter that occurs when two fingers move coaxially (for example, the touch areas corresponding to the two fingers are in the same row or the same column) during the process of the user performing a touch operation of at least two fingers.

[0133] For the touch signal processing method provided by an embodiment of the present application, the execution subject may be a touch signal processing device. In an embodiment of the present application, taking the touch signal processing device executing the touch signal processing method as an example, the touch signal processing device provided by the embodiment of the present application is described.

[0134] ​ The structural schematic diagram of the touch signal processing device provided by an embodiment of the present application is shown. As ​As shown in the figure, the touch signal processing device 30 provided in the embodiment of the present application may include: a determination module 31 and a compensation module 32.

[0135] Among them, the determination module 31 is configured to, when detecting a touch operation of at least two fingers, determine a touch area to be compensated and a target touch area from at least two touch areas corresponding to the touch operation; and determine a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area. The compensation module 32 is configured to compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix determined by the determination module 31.

[0136] The embodiment of the present application provides a touch signal processing device. Since the touch signal processing device can, when detecting a touch operation of at least two fingers, that is, when the user performs a touch operation of at least two fingers, determine a touch area to be compensated and a target touch area from at least two touch areas, the touch signal processing device can determine a touch signal value compensation matrix based on the capacitance signal value corresponding to the target touch area, and compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix, that is, adaptively increase the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. Therefore, the touch signal processing device can improve the accuracy of responding to the touch operation of at least two fingers of the user.

[0137] In a possible implementation manner, the above touch operation is a three-finger touch operation, and the above at least two touch areas are three touch areas. The determination module 31 is specifically configured to determine the first touch area and the second touch area among the three touch areas as the target touch areas, where the first touch area and the second touch area do not have the same rows and the same columns; and determine the third touch area among the three touch areas as the touch area to be compensated, where the third touch area and the first touch area have the same row or the same column, or the third touch area and the second touch area have the same row or the same column.

[0138] In a possible implementation manner, the determination module 31 is specifically configured to determine a first intermediate matrix according to at least one first signal group and at least one second signal group; and determine a touch signal value compensation matrix according to the first intermediate matrix and the suspension amount; where each first signal group includes the capacitance signal values corresponding to a row area of the first touch area, and each second signal group includes the capacitance signal values corresponding to a column area of the second touch area; or each first signal group includes the capacitance signal values corresponding to a column area of the first touch area, and each second signal group includes the capacitance signal values corresponding to a row area of the second touch area.

[0139] In a possible implementation, the above-mentioned suspension amount is the minimum capacitance signal value corresponding to the touch operation.

[0140] In a possible implementation, the above-mentioned touch operation is a two-finger touch operation, and the above-mentioned at least two touch areas are two touch areas. The determining module 31 is specifically configured to determine, as the touch area to be compensated, the area part where the two touch areas have the same row or the same column; and determine, as the target touch area, the area part other than the touch area to be compensated in the two touch areas.

[0141] The touch signal processing device in the embodiments of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than terminals. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, an in-vehicle electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and may also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.

[0142] The touch signal processing device in the embodiments of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.

[0143] The touch signal processing device provided by the embodiments of the present application can implement ​ each process implemented by the method embodiments. To avoid repetition, it will not be elaborated here.

[0144] In some embodiments of the present application, such as ​As shown in the figure, an embodiment of the present application further provides an electronic device 40, including a processor 41 and a memory 42. A program or instruction that can run on the processor 41 is stored on the memory 42. When the program or instruction is executed by the processor 41, each process step of the above-mentioned touch signal processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.

[0145] It should be noted that the electronic device in the embodiment of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.

[0146] ​ It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.

[0147] The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc.

[0148] Those skilled in the art can understand that the electronic device 100 may further include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. ​ The structure of the electronic device shown in does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0149] Among them, the processor 110 is used to determine a touch area to be compensated and a target touch area from at least two touch areas corresponding to the touch operation when detecting a touch operation of at least two fingers; and determine a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area; and compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix.

[0150] An embodiment of the present application provides an electronic device. Since the electronic device can determine a touch area to be compensated and a target touch area from at least two touch areas when detecting a touch operation of at least two fingers, that is, when the user performs a touch operation of at least two fingers, the electronic device can determine a touch signal value compensation matrix based on the capacitance signal value corresponding to the target touch area, and compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. That is to say, adaptively increase the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix. Therefore, the electronic device can improve the accuracy of responding to the touch operation of at least two fingers of the user.

[0151] In some embodiments of the present application, the above touch operation is a three-finger touch operation, and the above at least two touch regions are three touch regions.

[0152] The processor 110 is specifically configured to determine the first touch region and the second touch region in the three touch regions as target touch regions, where there are no same rows and same columns in the first touch region and the second touch region; and determine the third touch region in the three touch regions as a touch region to be compensated, where the third touch region and the first touch region have the same row or the same column, or the third touch region and the second touch region have the same row or the same column.

[0153] In some embodiments of the present application, the above processor 110 is specifically configured to determine a first intermediate matrix according to at least one first signal group and at least one second signal group; and determine a touch signal value compensation matrix according to the first intermediate matrix and the suspension amount.

[0154] Wherein, each first signal group includes capacitance signal values corresponding to a row region of the first touch region, and each second signal group includes capacitance signal values corresponding to a column region of the second touch region; or, each first signal group includes capacitance signal values corresponding to a column region of the first touch region, and each second signal group includes capacitance signal values corresponding to a row region of the second touch region.

[0155] In some embodiments of the present application, the above touch operation is a two-finger touch operation, and the above at least two touch regions are two touch regions.

[0156] The processor 110 is specifically configured to determine the region part where the two touch regions have the same row or the same column as the touch region to be compensated; and determine the region part other than the touch region to be compensated in the two touch regions as the target touch region.

[0157] It should be understood that in the embodiments of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 processes the image data of static pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. The other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated herein.

[0158] The memory 109 can be used to store software programs and various data. The memory 109 mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 109 can include a volatile memory or a non-volatile memory, or the memory 109 can include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synch link DRAM (SLDRAM), and a direct rambus RAM (DRRAM). The memory 109 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memories.

[0159] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor may not be integrated into the processor 110 either.

[0160] The embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above-mentioned embodiment of the touch signal processing method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0161] Among them, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks, or optical discs, etc.

[0162] The embodiment of the present application further provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or instruction to implement each process of the above-mentioned embodiment of the touch signal processing method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0163] It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.

[0164] The embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above-mentioned embodiment of the touch signal processing method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0165] It should be noted that in this text, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements not only includes those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising a..." does not exclude the presence of additional identical elements in the process, method, article or device comprising such element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0166] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described example methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.

[0167] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.

Claims

1. A touch signal processing method, characterized in that, Including: When detecting a touch operation of at least two fingers, determining a touch area to be compensated and a target touch area from at least two touch areas corresponding to the touch operation; Determining a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area; Compensating the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix.

2. The method according to claim 1, wherein The touch operation is a three-finger touch operation, and the at least two touch areas are three touch areas; The determining the touch area to be compensated and the target touch area from at least two touch areas corresponding to the touch operation includes: Determining a first touch area and a second touch area among the three touch areas as the target touch areas, where the first touch area and the second touch area do not have the same rows and the same columns; Determining a third touch area among the three touch areas as the touch area to be compensated, where the third touch area and the first touch area have the same row or the same column, or the third touch area and the second touch area have the same row or the same column.

3. The method according to claim 2, wherein The determining the touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area includes: Determining a first intermediate matrix according to at least one first signal group and at least one second signal group; Determining the touch signal value compensation matrix according to the first intermediate matrix and the suspension amount; Wherein, each first signal group includes capacitance signal values corresponding to a row area of the first touch area, and each second signal group includes capacitance signal values corresponding to a column area of the second touch area; or, each first signal group includes capacitance signal values corresponding to a column area of the first touch area, and each second signal group includes capacitance signal values corresponding to a row area of the second touch area.

4. The method according to claim 3, wherein The suspension amount is the minimum capacitance signal value corresponding to the touch operation.

5. The method according to claim 1, wherein The touch operation is a two-finger touch operation, and the at least two touch areas are two touch areas; The determining the touch area to be compensated and the target touch area from at least two touch areas corresponding to the touch operation includes: Determining the area part where the two touch areas have the same row or the same column as the touch area to be compensated; Determining the area part of the two touch areas except the touch area to be compensated as the target touch area.

6. A touch signal processing device, characterized in that, The touch signal processing device includes: a determination module and a compensation module; The determination module is configured to, when detecting a touch operation of at least two fingers, determine a touch area to be compensated and a target touch area from at least two touch areas corresponding to the touch operation; and determine a touch signal value compensation matrix according to the capacitance signal value corresponding to the target touch area; The compensation module is configured to compensate the capacitance signal value corresponding to the touch area to be compensated based on the touch signal value compensation matrix determined by the determination module.

7. The device according to claim 6, characterized in that, The touch operation is a three-finger touch operation, and the at least two touch areas are three touch areas; The determining module is specifically configured to determine the first touch area and the second touch area in the three touch areas as target touch areas, where there are no identical rows and identical columns in the first touch area and the second touch area; and determine the third touch area in the three touch areas as the touch area to be compensated, where the third touch area and the first touch area have the same row or the same column, or the third touch area and the second touch area have the same row or the same column.

8. The device according to claim 7, characterized in that, The determining module is specifically configured to determine a first intermediate matrix according to at least one first signal group and at least one second signal group; and determine the touch signal value compensation matrix according to the first intermediate matrix and the suspension amount. Wherein, each first signal group includes capacitance signal values corresponding to a row area of the first touch area, and each second signal group includes capacitance signal values corresponding to a column area of the second touch area; or each first signal group includes capacitance signal values corresponding to a column area of the first touch area, and each second signal group includes capacitance signal values corresponding to a row area of the second touch area.

9. The device according to claim 8, characterized in that, The suspension amount is the minimum capacitance signal value corresponding to the touch operation.

10. The device according to claim 6, characterized in that, The touch operation is a two-finger touch operation, and the at least two touch areas are two touch areas. The determining module is specifically configured to determine the area part where the two touch areas have the same row or the same column as the touch area to be compensated; and determine the area part of the two touch areas except the touch area to be compensated as the target touch area.

11. An electronic device, characterized in that, It includes a processor and a memory, and the memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the touch signal processing method according to any one of claims 1 to 5 are implemented.