Touch area determination method and electronic device
By setting an antenna unit on the touch panel of an electronic device and using the compensation area to determine the target touch area, the problem of poor screen touch accuracy in the prior art is solved, and higher touch accuracy is achieved.
Patent Information
- Application Number
- CN202110880357.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-02
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2041-08-02
AI Technical Summary
The screen touch accuracy of existing electronic devices is poor, mainly because the antenna cannot sense user touch, resulting in a decrease in touch accuracy.
When the antenna unit is arranged on the touch panel, and when it is detected that the number of triggered touch units is less than or equal to the preset number, the compensation area is determined based on the area of the triggered touch unit, and the target touch area is then determined to improve the touch accuracy.
This method improves the accuracy of touch area determination by compensating for the reduction of touch accuracy caused by the inability of the antenna unit to sense touch, thereby improving touch accuracy.
Smart Images

Figure CN113625898B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of touch technology, and specifically relates to a touch area determination method and an electronic device. Background Art
[0002] Communications (for example, the fifth generation mobile communication technology, etc.) have certain requirements on the directionality of antennas. The beam pointing requirements around and on the back of electronic devices can be achieved through conventional antennas. However, due to the electromagnetic characteristics of the screen of the electronic device, it is difficult to achieve a beam pointing toward the screen of the electronic device.
[0003] Currently, antennas can be set on the screens of electronic devices. However, since the antennas cannot sense user touch, the touch accuracy is easily poor. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a touch area determination method and an electronic device, which can solve the problem of poor screen touch accuracy in existing electronic devices.
[0005] In a first aspect, an embodiment of the present application provides a touch area determination method, which is performed by an electronic device, wherein the electronic device includes a touch panel and at least one antenna unit, wherein a plurality of touch units are arranged at intervals on the touch panel, and the at least one antenna unit is arranged on the touch panel, and each antenna unit is located between at least two touch units among the plurality of touch units;
[0006] The method comprises:
[0007] When it is detected that the number of the triggered touch control units among the plurality of touch control units is less than or equal to a preset number, determining a compensation area based on the area of the triggered touch control units;
[0008] Determining a target touch area according to the compensation area and the area of the triggered touch unit;
[0009] The area of the at least one antenna unit includes the compensation area.
[0010] In a second aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0011] In a third aspect, 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.
[0012] In a fourth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0013] In the touch area determination method of the present embodiment, when it is detected that the number of triggered touch units among multiple touch units is less than or equal to a preset number, it is necessary to determine a compensation area based on the area of the triggered touch unit, and then use the compensation area and the area of the triggered touch unit to determine the target touch area, so as to achieve the determination of the touch area. In this way, the decrease in touch accuracy caused by the inability of the antenna unit on the touch panel to sense touch can be compensated, that is, the compensation area can be determined based on the area of the triggered touch unit, that is, the area of the touched antenna unit among at least one antenna unit, and the target touch area is determined based on the compensation area and the area of the triggered monitoring unit. In this way, the accuracy of the touch area determination can be improved, thereby improving the touch accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is one of the flow charts of the touch area determination method provided in the embodiment of the present application;
[0015] Figure 2 It is one of the distribution diagrams of the touch control unit and the antenna unit in the electronic device provided in the embodiment of the present application;
[0016] Figure 3 This is the second distribution diagram of the touch control unit and the antenna unit in the electronic device provided in the embodiment of the present application;
[0017] Figure 4 This is the third distribution diagram of the touch control unit and the antenna unit in the electronic device provided in the embodiment of the present application;
[0018] Figure 5 is one of the touch relationship diagrams between the touch control unit and the finger in the embodiment of the present application;
[0019] Figure 6 This is the second touch relationship diagram between the touch control unit and the finger in the embodiment of the present application;
[0020] Figure 7 This is the third diagram of the touch relationship between the touch unit and the finger in the embodiment of the present application;
[0021] Figure 8 This is the fourth diagram of the touch relationship between the touch unit and the finger in the embodiment of the present application;
[0022] Fig. 9 This is the second flowchart of the touch area determination method provided in the embodiment of the present application;
[0023] Fig.10is one of the relative position diagrams of the touch unit and the antenna unit in the embodiment of the present application;
[0024] Fig.11 This is the second relative position diagram of the touch unit and the antenna unit in the embodiment of the present application;
[0025] Fig.12 This is the third relative position diagram of the touch unit and the antenna unit in the embodiment of the present application;
[0026] Fig.13 This is the fourth relative position diagram of the touch unit and the antenna unit in the embodiment of the present application;
[0027] Fig.14 This is the third flow chart of the touch area determination method provided in the embodiment of the present application;
[0028] Fig.15 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0029] Fig.16 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0031] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0032] The process of the touch area determination method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
[0033] like Figure 1As shown, the present application provides a touch area determination method according to an embodiment, which is executed by an electronic device, wherein the electronic device includes a touch panel and at least one antenna unit 120, wherein a plurality of touch units 110 are arranged at intervals on the touch panel, and at least one antenna unit 120 is arranged on the touch panel, and each antenna unit 120 is located between at least two touch units 110 among the plurality of touch units 110.
[0034] The screen of an electronic device includes many layers, such as a display layer, a touch layer, etc. The display layer is closer to the inside of the electronic device than the touch layer. The above-mentioned touch panel can be understood as the touch layer of the screen. A plurality of touch units 110 are arranged on the touch panel. The touch units 110 in the touch panel are used to sense the touch of the user on the touch panel. In addition, an antenna unit 120 is also arranged on the touch panel. The number of antenna units 120 can be one (such as Figure 2 as shown) or more (as Figure 3 and Figure 4 As shown), each antenna unit 120 is respectively located between at least two touch control units 110. As an example, if there are multiple antenna units 120, the multiple antenna units 120 are arranged at intervals, and every two adjacent antenna units 120 are separated by at least one touch control unit 110. In this way, there is no need to make a notch on the screen of the electronic device to set the antenna unit 120, but multiple touch control units 110 are arranged on the touch panel, at least one antenna unit 120 is arranged on the touch panel, and each antenna unit 120 is located between at least two touch control units 110 in the multiple touch control units 110, so that the integrity of the screen of the electronic device can be ensured. At the same time, by arranging the antenna unit 120 on the touch panel, the electronic device can form a beam facing the screen, that is, the antenna unit 120 can emit a beam outward through the screen to enhance communication performance, etc.
[0035] In this embodiment, the above method includes:
[0036] Step 101: when it is detected that the number of the triggered touch control units 110 among the plurality of touch control units 110 is less than or equal to a preset number, determining a compensation area based on the area of the triggered touch control units 110;
[0037] Step 102: determining a target touch area according to the compensation area and the area of the triggered touch unit 110;
[0038] The area of at least one antenna unit 120 includes a compensation area.
[0039] It can be understood that when the user touches the touch unit 110, the touch unit 110 will be triggered. When the control unit detects that the number of units triggered among the multiple touch units 110 is less than or equal to the preset number, it can indicate that the user has touched the area of the antenna unit 120 on the touch panel, that is, it can indicate that the antenna area is touched. In this case, the touched area should include the area of one or more antenna units 120 in the at least one antenna unit 120 in addition to the area of the triggered touch unit 110. However, the area of the antenna unit 120 does not have touch sensing. In order to improve the touch accuracy, in this embodiment, the touch area can be compensated, that is, the compensation area is determined based on the area of the triggered touch unit 110. The supplementary area belongs to the area of at least one antenna unit 120, that is, it can include the area of one or more antenna units 120 in the at least one antenna unit 120, which can be understood as the area of the touched antenna unit 120 (one or more). It should be noted that the above-mentioned target touch area can include the compensation area in the touch panel and the area of the triggered touch unit 110.
[0040] In the touch area determination method of the present embodiment, when it is detected that the number of triggered touch units 110 among multiple touch units 110 is less than or equal to a preset number, it is necessary to determine a compensation area according to the area of the triggered touch unit 110, and then use the compensation area and the area of the triggered touch unit 110 to determine the target touch area, so as to achieve the determination of the touch area. In this way, the decrease in touch accuracy caused by the inability of the antenna unit 120 on the touch panel to sense touch (i.e., resulting in the lack of touch in the corresponding area) can be compensated. The compensation area can be determined according to the area of the triggered touch unit 110, that is, the area of the touched antenna unit 120 among at least one antenna unit 120. The target touch area is determined based on the compensation area and the area of the triggered monitoring unit. In this way, the accuracy of the touch area determination can be improved, thereby improving the touch accuracy.
[0041] It should be noted that the preset number is a positive integer. According to empirical statistics, when a user uses an electronic device to touch the screen, the minimum contact area between the human hand and the screen can be a 4mm diameter circle, and the normal contact can be a 9mm diameter circle. The area of the touch unit 110 can be 4*4mm, and the spacing is 0.5mm. The unit of this size can well constitute a 5G (fifth generation mobile communication technology) millimeter wave antenna with a beam facing the positive direction of the screen. According to the geometric relationship, when the user touches the screen with his hand, there will normally be at least four units sensing a single touch. When the antenna unit 120 is set on the touch pad of the screen, the impact on the normal touch of the screen by the human hand is very small in this case, because in the normal contact state, the contact surface can generally reach a 9mm diameter circle, the number of triggered units is large, and the user's feedback requirements for accuracy are smaller. However, there is a certain impact on the user's light touch of the screen (for example, touching the minimum contact area), and the screen touch accuracy in this scenario can be compensated in the manner of this embodiment. If the minimum contact area is touched, the total number of touch unit 110 triggers is only 3 when the antenna unit 120 is touched. It can be judged whether the user has touched the antenna unit 120 by whether the trigger number of the touch unit 110 is 3. If the trigger data of the touch unit 110 is not 3, it can be said that the user has not touched the antenna unit 120 or the user did not touch the screen lightly at this time. There is no need to use the compensation algorithm. If the trigger data of the touch unit 110 is 3, it can be said that the antenna unit 120 is touched. Based on the above experience, the above preset number can be set to 3.
[0042] In one embodiment, each antenna unit 120 is an independent antenna unit 120, and the touch panel is divided into multiple sub-areas, which are distributed in N rows and M columns. Every two adjacent sub-areas are arranged at intervals, and each antenna unit 120 is distributed in a sub-area, and N and M are integers greater than 1.
[0043] That is, the touch panel is divided into sub-areas of N rows and M columns, which can be understood to include N*M sub-areas, and each antenna unit 120 occupies one sub-area. If the number of antenna units 120 is one, the antenna unit 120 can be located in one sub-area of the N*M sub-areas. If the number of antenna units 120 is multiple, every two adjacent antenna units 120 are separated by at least one touch unit 110. This can avoid the problem of low touch accuracy caused by the antenna units 120 being too close. The antenna units 120 are separated, and at least one touch unit 110 is set between adjacent antenna units 120. The touch unit 110 is used to sense the user's touch, thereby improving touch sensitivity and touch accuracy.
[0044] As an example, if there are multiple antenna units 120, the multiple antenna units 120 are distributed in multiple rows of sub-regions or multiple columns of sub-regions, and the number of antenna units 120 distributed in any two rows of sub-regions is the same, or the number of antenna units 120 distributed in any two columns of sub-regions is the same. It should be noted that the sub-region where the antenna unit 120 is located is different from the sub-region where the touch unit 110 is located.
[0045] In one embodiment, the compensation area includes a sub-area, and each touch unit 110 is distributed in a sub-area;
[0046] When it is detected that the number of the triggered touch control units 110 among the plurality of touch control units 110 is less than or equal to a preset number, determining the compensation area based on the area of the triggered touch control units 110 includes:
[0047] When it is detected that the number of the triggered touch control units 110 among the plurality of touch control units 110 is equal to the preset number, if the triggered touch control units 110 are distributed in the i-th row, the i+1-th row, the j-th column and the j+1-th column of the touch panel, the following item is determined as the compensation area:
[0048] The sub-area at the i+1th row and j+1th column of the touch panel;
[0049] The sub-area of the i+1th row and jth column of the touch panel;
[0050] The sub-area of the i-th row and j-th column of the touch panel;
[0051] The sub-area of the i-th row and j+1-th column of the touch panel;
[0052] Among them, 1≤i≤N, 1≤j≤M.
[0053] In this embodiment, when the antenna unit 120 is independently provided, if the number of the triggered touch units 110 is equal to the preset number, it can be considered that the antenna area is touched. When the triggered touch units 110 are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, one of the sub-areas of the i+1-th row and j+1-th column, the sub-area of the i+1-th row and j+1-th column, the sub-area of the i-th row and j-th column and the sub-area of the i-th row and j+1-th column can be used as compensation areas. The target touch area is determined using the compensation area, thereby improving the accuracy of the target touch area.
[0054] In one embodiment, when it is detected that the number of triggered touch units 110 is equal to a preset number, if the number of triggered touch units 110 in the i-th row is greater than the number of triggered touch units 110 in the i+1-th row, and the number of triggered touch units 110 in the j-th column is greater than the number of triggered touch units 110 in the j+1-th column, then the compensation area is the sub-area of the i+1-th row and the j+1-th column of the touch panel, wherein the triggered touch units 110 include the touch units 110 in the sub-area of the i-th row and the j-th column of the touch panel, the touch units 110 in the sub-area of the i-th row and the j+1-th column of the touch panel, and the touch units 110 in the sub-area of the i+1-th row and the j-th column of the touch panel.
[0055] When the antenna unit 120 is independently set, if the number of triggered touch units 110 is equal to the preset number, since the triggered units are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, if the number of touch units 110 triggered in the i-th row is greater than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is greater than the number of touch units 110 triggered in the j+1-th column, it can be indicated that the touch antenna area is in the sub-area of the i+1-th row and the j+1-th column. In this embodiment, the compensation area is determined by comparing the number of touch units 110 triggered in the i-th row with the number of touch units 110 triggered in the i+1-th row, and comparing the number of touch units 110 triggered in the j-th column with the number of touch units 110 triggered in the j+1-th column. When the number of touch units 110 triggered in the i-th row is greater than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is greater than the number of touch units 110 triggered in the j+1-th column, a sub-area of the i+1-th row and the j+1-th column in the touch panel is determined as the compensation area, thereby improving the accuracy of determining the compensation area. The target touch area can be determined through the compensation area, thereby improving the accuracy of the target touch area and providing touch accuracy.
[0056] In one embodiment, when it is detected that the number of triggered touch units 110 is equal to a preset number, if the number of triggered touch units 110 in the i-th row is greater than the number of triggered touch units 110 in the i+1-th row, and the number of triggered touch units 110 in the j-th column is less than the number of triggered touch units 110 in the j+1-th column, then the compensation area is the sub-area of the i+1-th row and the j-th column of the touch panel, wherein the triggered touch units 110 include the touch units 110 in the sub-area of the i-th row and the j-th column of the touch panel, the touch units 110 in the sub-area of the i-th row and the j+1-th column of the touch panel, and the touch units 110 in the sub-area of the i+1-th row and the j+1-th column of the touch panel.
[0057] When the antenna unit 120 is independently set, if the number of triggered units is equal to the preset number, since the triggered units are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, if the number of touch units 110 triggered in the i-th row is greater than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is less than the number of touch units 110 triggered in the j+1-th column, it can be indicated that the touch antenna area is in the sub-area of the i+1-th row and the j-th column. In this embodiment, the compensation area is determined by comparing the number of touch units 110 triggered in the i-th row with the number of touch units 110 triggered in the i+1-th row, and comparing the number of touch units 110 triggered in the j-th column with the number of touch units 110 triggered in the j+1-th column. When the number of touch units 110 triggered in the i-th row is greater than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is less than the number of touch units 110 triggered in the j+1-th column, a sub-area of the i+1-th row and the j-th column in the touch panel is determined as the compensation area, thereby improving the accuracy of determining the compensation area. The target touch area can be determined through the compensation area, thereby improving the accuracy of the target touch area and providing touch precision.
[0058] In one embodiment, when it is detected that the number of triggered touch units 110 is equal to a preset number, if the number of triggered touch units 110 in the i-th row is less than the number of triggered touch units 110 in the i+1-th row, and the number of triggered touch units 110 in the j-th column is greater than the number of triggered touch units 110 in the j+1-th column, then the compensation area is the sub-area of the i-th row and j+1-th column of the touch panel, wherein the triggered touch units 110 include the touch units 110 in the sub-area of the i-th row and j-th column of the touch panel, the touch units 110 in the sub-area of the i+1-th row and j-th column of the touch panel, and the touch units 110 in the sub-area of the i+1-th row and j+1-th column of the touch panel.
[0059] When the antenna unit 120 is independently set, if the number of triggered units is equal to the preset number, since the triggered units are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, if the number of touch units 110 triggered in the i-th row is less than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is greater than the number of touch units 110 triggered in the j+1-th column, it can be indicated that the touch antenna area is in the sub-area of the i-th row and j+1-th column. In this embodiment, the compensation area is determined by comparing the number of touch units 110 triggered in the i-th row with the number of touch units 110 triggered in the i+1-th row, and comparing the number of touch units 110 triggered in the j-th column with the number of touch units 110 triggered in the j+1-th column. When the number of touch units 110 triggered in the i-th row is less than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is greater than the number of touch units 110 triggered in the j+1-th column, a sub-area of the i-th row and the j+1-th column in the touch panel is determined as the compensation area, thereby improving the accuracy of determining the compensation area. The target touch area can be determined through the compensation area, thereby improving the accuracy of the target touch area to provide touch accuracy.
[0060] In one embodiment, when it is detected that the number of triggered touch units 110 is equal to a preset number, if the number of triggered touch units 110 in the i-th row is less than the number of triggered touch units 110 in the i+1-th row, and the number of triggered touch units 110 in the j-th column is less than the number of triggered touch units 110 in the j+1-th column, then the compensation area is the sub-area of the i-th row and the j-th column of the touch panel, wherein the triggered touch units 110 include the touch units 110 in the sub-area of the i-th row and the j+1-th column of the touch panel, the touch units 110 in the sub-area of the i+1-th row and the j+1-th column of the touch panel, and the touch units 110 in the sub-area of the i+1-th row and the j+1-th column of the touch panel.
[0061] When the antenna unit 120 is independently set, if the number of triggered units is equal to the preset number, since the triggered units are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, if the number of touch units 110 triggered in the i-th row is less than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is less than the number of touch units 110 triggered in the j+1-th column, it can be indicated that the touch antenna area is in the sub-area of the i-th row and j-th column. In this embodiment, the compensation area is determined by comparing the number of touch units 110 triggered in the i-th row with the number of touch units 110 triggered in the i+1-th row, and comparing the number of touch units 110 triggered in the j-th column with the number of touch units 110 triggered in the j+1-th column. When the number of touch units 110 triggered in the i-th row is less than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is less than the number of touch units 110 triggered in the j+1-th column, a sub-area of the i-th row and the j-th column in the touch panel is determined as the compensation area, thereby improving the accuracy of determining the compensation area. The target touch area can be determined through the compensation area, thereby improving the accuracy of the target touch area and providing touch precision.
[0062] In one embodiment, at least one antenna unit 120 includes at least one row of antennas or at least one column of antennas, any row of antennas or any column of antennas includes multiple sub-antenna units 120, and multiple sub-antenna units 120 in the same row or the same column of antennas are connected in sequence, the touch panel is divided into multiple sub-areas, the multiple sub-areas are distributed in N rows and M columns, and each two adjacent sub-areas are arranged at intervals, N and M are integers greater than 1, each touch unit 110 is located in a sub-area, any row of antennas or any column of antennas is located in a row or a column of sub-areas of the touch panel, the compensation area includes an area of at least two sub-antenna units 120, and if the number of antenna rows or antenna columns of at least one antenna unit 120 is at least 2, then two adjacent rows of antennas or two adjacent columns of antennas are separated by at least one row or at least one column of touch units 110;
[0063] When it is detected that the number of the triggered touch control units 110 among the plurality of touch control units 110 is less than or equal to a preset number, determining the compensation area based on the area of the triggered touch control units 110 includes:
[0064] In the case where the number of the triggered touch control units 110 is less than the preset number, if the triggered touch control units 110 are distributed in the pth row, the p+1th row and the qth column of the touch panel, a compensation area is determined based on q, and the compensation area includes:
[0065] a sub-region located at the pth row and the q+1th column of the touch panel and a sub-region located at the p+1th row and the q+1th column of the touch panel, or
[0066] A sub-region located at the pth row and the q-1th column of the touch panel and a sub-region located at the p+1th row and the q-1th column of the touch panel;
[0067] Among them, 1≤p≤N, 1≤q≤M.
[0068] It should be noted that q-1 is a positive integer. Since the multiple antenna units 120 are arranged in rows or columns and connected, if the number of triggered units is less than the preset number, it can be indicated that the antenna area is touched, the triggered touch unit 110 is located in the qth column, the right side of which is the q+1th column, and the left side is the q-1th column. The compensation area includes the sub-area located in the pth row and the q+1th column of the touch panel and the sub-area located in the p+1th row and the q+1th column of the touch panel, indicating that the touched antenna area is located on the right side of the triggered touch unit 110, and the compensation area includes the sub-area located in the pth row and the q-1th column of the touch panel and the sub-area located in the p+1th row and the q-1th column of the touch panel, indicating that the touched antenna area is located on the left side of the triggered touch unit 110.
[0069] In this embodiment, when a person's hand lightly touches the touch pad, generally four touch units 110 will sense the touch of the person's hand. When the person's hand touches the antenna unit 120, due to the particularity of the structure, only two touch units 110 will sense the person's hand (and the other two are antennas). Therefore, whether the person's hand has touched the antenna unit 120 can be distinguished by whether the number of the sensed touch units 110 is less than a preset number (for example, it can be 3). For example, if the number of the sensed touch units 110 is less than the preset number, it can be considered that the antenna area is touched, otherwise, it is considered that the touch occurs in the non-antenna area. If the number of the sensed touch units 110 is less than the preset number, when the triggered units are distributed in the pth row, the p+1th row, and the qth column of the touch pad, the compensation area can be determined based on q, that is, the compensation area is determined according to the number of columns in which the triggered units are distributed, so as to improve the accuracy of the compensation area.
[0070] In one embodiment, the row number of a row sub-area where any row antenna is located or the column number of a column sub-area where any column antenna is located is an integer multiple of a preset value. When q-1 is a positive integer multiple of the preset value, the compensation area is the sub-area of the pth row and q-1th column of the touch panel and the sub-area of the p+1th row and q-1th column of the touch panel, where the preset value is a positive integer.
[0071] It should be noted that the row difference between every two adjacent rows of antennas is the same or the column difference between every two adjacent columns of antennas is the same, and the row difference between two adjacent rows of antennas or the column difference between two adjacent columns of antennas is a preset value. For example, the preset value may be 3, and the row difference between two adjacent rows of antennas is 3 or the column difference between two adjacent columns of antennas is 3.
[0072] If q-1 is not an integer multiple of the preset value, it means that q-1 cannot be divided by the preset value. It can be considered that the touch antenna unit 120 is on the right side of the triggered touch unit 110, and the sub-area of the pth row and q+1th column of the touch panel and the sub-area of the p+1th row and q+1th column of the touch panel can be determined as compensation areas, which can improve the accuracy of the compensation area.
[0073] In one embodiment, the row number of a row sub-area where any row antenna is located or the column number of a column sub-area where any column antenna is located is an integer multiple of a preset value. When q-1 is not a positive integer multiple of the preset value, the compensation area is the sub-area of the pth row and q+1th column of the touch panel and the sub-area of the p+1th row and q+1th column of the touch panel, where the preset value is a positive integer.
[0074] If q-1 is an integer multiple of the preset value, it means that q-1 can be divided by the preset value. It can be considered that the touch antenna unit 120 is on the left side of the triggered touch unit 110, and the sub-area of the pth row and q-1th column of the touch panel and the sub-area of the p+1th row and q-1th column of the touch panel can be determined as the compensation area, which can improve the accuracy of the compensation area.
[0075] The following specific embodiment specifically illustrates the process of the above touch area determination method. The above antenna unit 120 may be a millimeter wave antenna, and the touch panel is divided into sub-areas of N rows and M columns, i.e., it includes N*M sub-areas, where * represents a multiplication sign. The electronic device is a mobile phone as an example for illustration.
[0076] With the development of screen technology, full screen has become the mainstream design of current mobile phones. However, the practice of opening a notch on the mobile phone screen to place the antenna not only damages the integrity of the full screen, but also greatly affects the aesthetics of the mobile phone. The electronic device of the embodiment of the present application uses a partial area in the screen to set the antenna unit 120, realizes the antenna with a beam pointing to the forward direction of the screen without destroying the integrity of the screen, and cooperates with the corresponding method to determine the target touch area, so as to compensate for the decrease in touch accuracy caused by the absence of the touch unit 110 in the area where the antenna unit 120 is set, thereby ensuring the touch accuracy.
[0077] In one embodiment, the antenna unit 120 is independently configured, and the number of the antenna unit 120 is one. Figure 2As shown. A plurality of touch units 110 are arranged on the touch panel of the mobile phone screen, each touch unit 110 occupies a sub-area, and an antenna unit 120 is arranged, occupying a sub-area. The area of the touch unit 110 can be 4*4mm or smaller, and the distance between the touch units 110 can be 0.5mm. The touch units 110 of such size can better form a 5G millimeter wave antenna with a beam facing the positive direction of the screen. In addition, when the user uses the touch screen, the minimum contact area between the human hand and the screen is a 4mm diameter circle, such as Figure 1 As shown in the small and medium circles, the normal contact is a 9mm diameter circle, such as Figure 2 As shown in the large circle. Figure 2 As shown in the middle circle, according to the geometric relationship, when a human hand touches the screen, there will normally be at least four units sensing a single touch. When a part of the area is extracted from the touchpad to set the antenna unit 120, as shown in the black square in Figure 2, the impact on the normal touch of the screen by the human hand is very small in this case, because in the normal contact state, the contact surface is a 9mm diameter circle, the number of triggered units is large, and the user's feedback requirements for accuracy are smaller. However, there is a certain impact on the user's light touch of the screen (minimum contact area), and the screen touch accuracy in this scenario can be compensated by the following method, that is, a method for determining the target touch area of an embodiment is provided.
[0078] It should be noted that, in the above-mentioned scenario of lightly touching the screen, the equivalent contact area between the finger and the screen is approximately an equivalent circle with a diameter of 4 mm. Under this premise, the touch relationship between the touch unit 110 and the finger can include at least four types. The first touch relationship is as follows: Figure 5 As shown, a finger touches a touch unit 110, and the second touch relationship is as follows Figure 6 As shown, the finger touches two touch units 110, and the third touch relationship is as follows Figure 7 As shown, the finger touches three touch units 110 and one antenna unit 120. The fourth touch relationship is as follows Figure 8 As shown, the fingers touch four touch units 110 .
[0079] It can be seen that the total number of touch unit 110 triggers is 3 only when the antenna unit 120 (black square) is touched. From the touch compensation algorithm (i.e., the target touch area determination method), it can be determined whether the user has touched the antenna unit 120 by whether the number of touch unit 110 triggers is 3. In this embodiment, if the number of touch unit 110 triggers is not 3, it means that the user has not touched the antenna unit 120 or the user is not lightly touching the screen at this time. In either case, the touch array can operate normally without the need for touch compensation with the help of a supplementary algorithm. It can be understood that the area of the triggered touch unit 110 can be directly used as the target touch area. When the number of touch unit 110 triggers is 3, it can be indicated that the user has touched the antenna unit 120. The target touch area determination method of an embodiment provided in the present application can determine the area of the touched antenna unit 120, i.e., the compensation area, and then determine the target touch area, such as Fig. 9 As shown, the specific process of a method for determining a target touch area in an embodiment provided by the present application is as follows:
[0080] Step 901: Determine whether the number of the triggered touch units 110 is equal to 3;
[0081] If it is not equal to 3, it means that the antenna area is not touched or it is not a light touch. It can be understood that the touch occurs in the non-antenna area or the human hand touches the screen normally. There is no need to perform touch supplement. The area of the sensed touch unit 110 can be directly determined as the target touch area. If it is equal to 3, it means that the antenna area is touched, and step 902 is executed;
[0082] Step 902: determining whether the number of the touch-sensing units 110 triggered in the i-th row is greater than the number of the touch-sensing units 110 triggered in the (i+1)-th row;
[0083] That is, the scan triggered touch units 110 are located in the i-th row and the i+1-th row, and the row in which the touched antenna unit 120 is located can be determined by judging whether the number of touch units 110 triggered in the i-th row is greater than the number of touch units 110 triggered in the i+1-th row.
[0084] If the number of the triggered touch control units 110 in the i-th row is greater than the number of the triggered touch control units 110 in the i+1-th row, it means that the touched antenna unit 120 is located in the i+1-th row, then step 903 is executed;
[0085] Step 903: determining whether the number of the touch-sensing units 110 triggered in the j-th column is greater than the number of the touch-sensing units 110 triggered in the j+1-th column;
[0086] By judging whether the number of the touch control units 110 triggered in the jth column is greater than the number of the touch control units 110 triggered in the j+1th column, it is determined which column the touched antenna unit 120 is located in. If the number of the touch control units 110 triggered in the jth column is greater than the number of the touch control units 110 triggered in the j+1th column, it means that the touched antenna unit 120 is located in the j+1th row, and step 904 can be executed;
[0087] Step 904: Determine the sub-region of the i+1th row and j+1th column in the touch panel as the compensation region.
[0088] That is Fig.10 As shown, the triggered touch unit 110 is the touch unit 110 in the sub-area of the i-th row and j-th column, the touch unit 110 in the sub-area of the i-th row and j+1-th column of the touch panel, and the touch unit 110 in the sub-area of the i+1-th row and j-th column of the touch panel. They are used together with the compensation area as the target touch area to determine the target touch area, that is, to achieve touch accuracy supplement.
[0089] If the number of the triggered touch units 110 in the j-th column is less than the number of the triggered touch units 110 in the j+1-th column, it means that the touched antenna unit 120 is located in the j-th row, and step 909 may be executed;
[0090] Step 905: Determine the sub-region of the i+1th row and jth column in the touch panel as the compensation region.
[0091] That is Fig.11 As shown, the triggered touch unit 110 is the touch unit 110 in the sub-area of the i-th row and j-th column, the touch unit 110 in the sub-area of the i-th row and j+1-th column of the touch panel, and the touch unit 110 in the sub-area of the i+1-th row and j+1-th column of the touch panel. They are used together with the compensation area as the target touch area to determine the target touch area, that is, to achieve touch accuracy supplement.
[0092] If the number of the triggered touch control units 110 in the i-th row is less than the number of the triggered touch control units 110 in the (i+1)-th row, it means that the touched antenna unit 120 is located in the i-th row, and step 906 is executed;
[0093] Step 906: Determine whether the number of the touch-sensing units 110 triggered in the j-th column is greater than the number of the touch-sensing units 110 triggered in the j+1-th column;
[0094] By judging whether the number of the touch control units 110 triggered in the jth column is greater than the number of the touch control units 110 triggered in the j+1th column, it is determined which column the touched antenna unit 120 is located in. If the number of the touch control units 110 triggered in the jth column is greater than the number of the touch control units 110 triggered in the j+1th column, it means that the touched antenna unit 120 is located in the j+1th row, and step 907 can be executed;
[0095] Step 907: Determine the sub-region of the i-th row and the j+1-th column in the touch panel as the compensation region.
[0096] That is Fig.12 As shown, the triggered touch unit 110 is the touch unit 110 in the sub-area of the i-th row and j-th column, the touch unit 110 in the sub-area of the i+1-th row and j-th column of the touch panel, and the touch unit 110 in the sub-area of the i+1-th row and j+1-th column of the touch panel. They are used together with the compensation area as the target touch area to determine the target touch area, that is, to achieve touch accuracy supplement.
[0097] If the number of the triggered touch units 110 in the j-th column is less than the number of the triggered touch units 110 in the j+1-th column, it means that the touched antenna unit 120 is located in the j-th row, and step 908 may be executed;
[0098] Step 908: Determine the sub-region of the i-th row and j-th column in the touch panel as the compensation region.
[0099] That is Fig.13 As shown, the triggered touch unit 110 is the touch unit 110 in the sub-area of the i-th row and j+1-th column, the touch unit 110 in the sub-area of the i+1-th row and j-th column of the touch panel, and the touch unit 110 in the sub-area of the i+1-th row and j+1-th column of the touch panel. They are taken together with the compensation area as the target touch area to determine the target touch area, that is, to achieve touch accuracy supplement.
[0100] That is, the area of the antenna unit 120 that is touched may include four situations, namely: Figure 10-13 The four situations are shown. That is, at this time, the antenna unit 120 may be in four possible relative position relationships with the normal touch unit 110, namely, lower right, lower left, upper right and upper left, wherein i represents the row position information of the triggered touch unit 110, and j represents the column position information of the triggered touch unit 110. In this embodiment, by judging the size relationship of the number of triggered touch units 110 in a row, it can be determined which row the antenna unit 120 is located in. For example, when the number of touch units 110 sensed in row i is greater than that in row i+1, it can be determined that the antenna unit 120 is located in row i+1, and the relative position possibility of the antenna unit 120 is locked. Fig.10 and Fig.11Then, by continuing to determine the magnitude relationship of the number of column touch units 110 triggered, it is possible to distinguish which column the antenna unit 120 is located in. In this way, the row and column where the touched antenna unit 120 is located can be determined, and the area where it is located can be determined. Figure 10-13 The specific usage scenarios are distinguished from the corresponding four scenarios, making up for the reduced touch accuracy caused by extracting part of the touchpad area to set up the antenna area.
[0101] In another embodiment, the antenna unit 120 is independently provided, and the number thereof is multiple. The difference from the above embodiment is that the number of the antenna units 120 is different. In this embodiment, the antenna units 120 can be provided in accordance with Figure 2 By setting multiple antenna units 120 in the manner shown, a millimeter wave array antenna can be implemented in the screen. Since the antenna units 120 are arranged at intervals, it can be seen from the above that the contact area between the human hand and the screen in the light touch scenario is generally a circle with a diameter of 4 mm, so there is no situation where two antenna units 120 are touched at the same time in the light touch scenario. In this embodiment, the scheme for compensating for the touch accuracy of finger light touch can be similar to the compensation scheme of the previous embodiment, and the method of the previous embodiment can also be used for accuracy compensation. In this embodiment, since more sub-areas are extracted to set the antenna units 120, this embodiment can obtain a higher antenna gain. And each antenna unit 120 is independent, and special settings are made in the subsequent circuit feeding amplitude and phase to realize complex functions such as beam scanning in the positive direction of the screen and beam forming.
[0102] In another embodiment, due to the size limitation of the sub-region, a single sub-region can only constitute a millimeter wave antenna or a millimeter wave antenna array. In order to overcome this limitation, in this embodiment, antenna units 120 are arranged in rows or columns of extracted sub-regions. For example, the antenna units 120 are arranged in columns. Figure 3 As shown, the antenna units 120 in the same column can be connected, so that a longer antenna line can be obtained, and a lower frequency resonance can be obtained. The loss of touch accuracy can be compensated by the touch area determination method of this embodiment, such as Fig.14 As shown, the specific process of the touch area determination method of this embodiment is as follows:
[0103] Step 1401: Determine whether the number of the triggered touch units 110 is less than 3;
[0104] If not, it may indicate that the touch occurs in the non-antenna area, and no touch supplement is required, and the area of the sensed touch unit 110 may be directly determined as the target touch area. If it is less than 3, it may indicate that the antenna area is touched, and step 1402 may be executed;
[0105] Step 1402: Determine whether q-1 is divisible by a preset value;
[0106] That is, the scan triggered touch unit 110 is located at the pth row, the p+1th row and the qth column, and the column where the touched antenna unit 120 is located can be determined by judging whether q-1 is divisible by the preset value.
[0107] If it is divisible, it means that the antenna area is on the left side of the triggered touch unit 110, and step 1403 can be executed;
[0108] Step 1403: determining the sub-region of the pth row and the q-1th column of the touch panel and the sub-region of the p+1th row and the q-1th column of the touch panel as compensation regions;
[0109] If it cannot be divided evenly, it means that the antenna area is on the right side of the triggered touch unit 110, and step 1404 can be executed;
[0110] Step 1404: Determine the sub-region of the pth row and the q+1th column of the touch panel and the sub-region of the p+1th row and the q+1th column of the touch panel as compensation regions.
[0111] It can be understood that when a person touches the touch pad of the screen, four touch units 110 normally sense the touch of the person's hand. When the person touches the antenna unit 120, due to the particularity of the structure, only two touch units 110 sense the person's hand at this time, and the other two sub-antenna units 120 are touched. Therefore, it can be determined whether the person's hand touches the antenna unit 120 by whether the number of the sensed touch units 110 (i.e., the number of the triggered touch units 110) is less than 3. When the person's hand touches the antenna unit 120, the row touch information of this embodiment can be obtained through the normal feedback of the touch unit 110. The key is how to distinguish between the two situations of the antenna unit 120 being located on the left or right side of the sensed touch unit 110. The method adopted in this embodiment is to set the antenna unit 120 in the column numbered by a preset value (for example, 3) multiplied by n (n is a positive integer). In this way, the above two situations can be distinguished by using mathematical relationships to compensate for the touch accuracy. In this embodiment, a longer antenna length can be obtained, a lower frequency antenna can be implemented, and touch accuracy can be compensated.
[0112] Alternatively, if Fig.15 As shown, an embodiment of the present application also provides an electronic device 1500, including a processor 1501, a memory 1502, and a program or instruction stored in the memory 1502 and executable on the processor 1501. When the program or instruction is executed by the processor 1501, each process of the above-mentioned touch area determination method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0113] It should be noted that the electronic device 1500 can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application. The electronic device in the embodiments of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
[0114] Fig.16 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0115] The electronic device 1600 includes but is not limited to: a radio frequency unit 1601, a network module 1602, an audio output unit 1603, an input unit 1604, a sensor 1605, a display unit 1606, a user input unit 1607, an interface unit 1608, a memory 1609, and a processor 1610 and other components.
[0116] Those skilled in the art will appreciate that the electronic device 1600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.16 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0117] The process is performed by an electronic device, which includes a touch panel and at least one antenna unit 120 . A plurality of touch units 110 are arranged at intervals on the touch panel. At least one antenna unit 120 is arranged on the touch panel, and each antenna unit 120 is located between at least two touch units 110 among the plurality of touch units 110 .
[0118] The screen of an electronic device includes many layers, such as a display layer, a touch layer, etc. The display layer is closer to the inside of the electronic device than the touch layer. The above-mentioned touch panel can be understood as the touch layer of the screen. A plurality of touch units 110 are arranged on the touch panel. The touch units 110 in the touch panel are used to sense the touch of the user on the touch panel. In addition, an antenna unit 120 is also arranged on the touch panel. The number of antenna units 120 can be one (such as Figure 2 as shown) or more (as Figure 3 and Figure 4 As shown), each antenna unit 120 is respectively located between at least two touch control units 110. As an example, if there are multiple antenna units 120, the multiple antenna units 120 are arranged at intervals, and every two adjacent antenna units 120 are separated by at least one touch control unit 110. In this way, there is no need to make a notch on the screen of the electronic device to set the antenna unit 120, but multiple touch control units 110 are arranged on the touch panel, at least one antenna unit 120 is arranged on the touch panel, and each antenna unit 120 is located between at least two touch control units 110 in the multiple touch control units 110, so that the integrity of the screen of the electronic device can be ensured. At the same time, by arranging the antenna unit 120 on the touch panel, the electronic device can form a beam facing the screen, that is, the antenna unit 120 can emit a beam outward through the screen to enhance communication performance, etc.
[0119] In this embodiment, the above method includes:
[0120] Step 101: when it is detected that the number of the triggered touch control units 110 among the plurality of touch control units 110 is less than or equal to a preset number, determining a compensation area based on the area of the triggered touch control units 110;
[0121] Step 102: determining a target touch area according to the compensation area and the area of the triggered touch unit 110;
[0122] The area of at least one antenna unit 120 includes a compensation area.
[0123] It can be understood that when the user touches the touch unit 110, the touch unit 110 will be triggered. When the control unit detects that the number of units triggered among the multiple touch units 110 is less than or equal to the preset number, it can indicate that the user has touched the area of the antenna unit 120 on the touch panel, that is, it can indicate that the antenna area is touched. In this case, the touched area should include the area of one or more antenna units 120 in the at least one antenna unit 120 in addition to the area of the triggered touch unit 110. However, the area of the antenna unit 120 does not have touch sensing. In order to improve the touch accuracy, in this embodiment, the touch area can be compensated, that is, the compensation area is determined based on the area of the triggered touch unit 110. The supplementary area belongs to the area of at least one antenna unit 120, that is, it can include the area of one or more antenna units 120 in the at least one antenna unit 120, which can be understood as the area of the touched antenna unit 120 (one or more). It should be noted that the above-mentioned target touch area can include the compensation area in the touch panel and the area of the triggered touch unit 110.
[0124] In the touch area determination method of the present embodiment, when it is detected that the number of triggered touch units 110 among multiple touch units 110 is less than or equal to a preset number, it is necessary to determine a compensation area according to the area of the triggered touch unit 110, and then use the compensation area and the area of the triggered touch unit 110 to determine the target touch area, so as to achieve the determination of the touch area. In this way, the decrease in touch accuracy caused by the inability of the antenna unit 120 on the touch panel to sense touch (i.e., resulting in the lack of touch in the corresponding area) can be compensated. The compensation area can be determined according to the area of the triggered touch unit 110, that is, the area of the touched antenna unit 120 among at least one antenna unit 120. The target touch area is determined based on the compensation area and the area of the triggered monitoring unit. In this way, the accuracy of the touch area determination can be improved, thereby improving the touch accuracy.
[0125] It should be noted that the preset number is a positive integer. According to empirical statistics, when a user uses an electronic device to touch the screen, the minimum contact area between the human hand and the screen can be a 4mm diameter circle, and the normal contact can be a 9mm diameter circle. The area of the touch unit 110 can be 4*4mm, and the spacing is 0.5mm. The unit of this size can well constitute a 5G (fifth generation mobile communication technology) millimeter wave antenna with a beam facing the positive direction of the screen. According to the geometric relationship, when the user touches the screen with his hand, there will normally be at least four units sensing a single touch. When the antenna unit 120 is set on the touch pad of the screen, the impact on the normal touch of the screen by the human hand is very small in this case, because in the normal contact state, the contact surface can generally reach a 9mm diameter circle, the number of triggered units is large, and the user's feedback requirements for accuracy are smaller. However, there is a certain impact on the user's light touch of the screen (for example, touching the minimum contact area), and the screen touch accuracy in this scenario can be compensated in the manner of this embodiment. If the minimum contact area is touched, the total number of touch unit 110 triggers is only 3 when the antenna unit 120 is touched. It can be judged whether the user has touched the antenna unit 120 by whether the trigger number of the touch unit 110 is 3. If the trigger data of the touch unit 110 is not 3, it can be said that the user has not touched the antenna unit 120 or the user did not touch the screen lightly at this time. There is no need to use the compensation algorithm. If the trigger data of the touch unit 110 is 3, it can be said that the antenna unit 120 is touched. Based on the above experience, the above preset number can be set to 3.
[0126] In one embodiment, each antenna unit 120 is an independent antenna unit 120, and the touch panel is divided into multiple sub-areas, which are distributed in N rows and M columns. Every two adjacent sub-areas are arranged at intervals, and each antenna unit 120 is distributed in a sub-area, and N and M are integers greater than 1.
[0127] That is, the touch panel is divided into sub-areas of N rows and M columns, which can be understood to include N*M sub-areas, and each antenna unit 120 occupies one sub-area. If the number of antenna units 120 is one, the antenna unit 120 can be located in one sub-area of the N*M sub-areas. If the number of antenna units 120 is multiple, every two adjacent antenna units 120 are separated by at least one touch unit 110. This can avoid the problem of low touch accuracy caused by the antenna units 120 being too close. The antenna units 120 are separated, and at least one touch unit 110 is set between adjacent antenna units 120. The touch unit 110 is used to sense the user's touch, thereby improving touch sensitivity and touch accuracy.
[0128] As an example, if there are multiple antenna units 120, the multiple antenna units 120 are distributed in multiple rows of sub-regions or multiple columns of sub-regions, and the number of antenna units 120 distributed in any two rows of sub-regions is the same, or the number of antenna units 120 distributed in any two columns of sub-regions is the same. It should be noted that the sub-region where the antenna unit 120 is located is different from the sub-region where the touch unit 110 is located.
[0129] In one embodiment, the compensation area includes a sub-area, and each touch unit 110 is distributed in a sub-area;
[0130] When it is detected that the number of the triggered touch control units 110 among the plurality of touch control units 110 is less than or equal to a preset number, determining the compensation area based on the area of the triggered touch control units 110 includes:
[0131] When it is detected that the number of the triggered touch control units 110 among the plurality of touch control units 110 is equal to the preset number, if the triggered touch control units 110 are distributed in the i-th row, the i+1-th row, the j-th column and the j+1-th column of the touch panel, the following item is determined as the compensation area:
[0132] The sub-area at the i+1th row and j+1th column of the touch panel;
[0133] The sub-area of the i+1th row and jth column of the touch panel;
[0134] The sub-area of the i-th row and j-th column of the touch panel;
[0135] The sub-area of the i-th row and j+1-th column of the touch panel;
[0136] Among them, 1≤i≤N, 1≤j≤M.
[0137] In this embodiment, when the antenna unit 120 is independently provided, if the number of the triggered touch units 110 is equal to the preset number, it can be considered that the antenna area is touched. When the triggered touch units 110 are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, one of the sub-areas of the i+1-th row and j+1-th column, the sub-area of the i+1-th row and j+1-th column, the sub-area of the i-th row and j-th column and the sub-area of the i-th row and j+1-th column can be used as compensation areas. The target touch area is determined using the compensation area, thereby improving the accuracy of the target touch area.
[0138] In one embodiment, when it is detected that the number of triggered touch units 110 is equal to a preset number, if the number of triggered touch units 110 in the i-th row is greater than the number of triggered touch units 110 in the i+1-th row, and the number of triggered touch units 110 in the j-th column is greater than the number of triggered touch units 110 in the j+1-th column, then the compensation area is the sub-area of the i+1-th row and the j+1-th column of the touch panel, wherein the triggered touch units 110 include the touch units 110 in the sub-area of the i-th row and the j-th column of the touch panel, the touch units 110 in the sub-area of the i-th row and the j+1-th column of the touch panel, and the touch units 110 in the sub-area of the i+1-th row and the j-th column of the touch panel.
[0139] When the antenna unit 120 is independently set, if the number of triggered touch units 110 is equal to the preset number, since the triggered units are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, if the number of touch units 110 triggered in the i-th row is greater than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is greater than the number of touch units 110 triggered in the j+1-th column, it can be indicated that the touch antenna area is in the sub-area of the i+1-th row and the j+1-th column. In this embodiment, the compensation area is determined by comparing the number of touch units 110 triggered in the i-th row with the number of touch units 110 triggered in the i+1-th row, and comparing the number of touch units 110 triggered in the j-th column with the number of touch units 110 triggered in the j+1-th column. When the number of touch units 110 triggered in the i-th row is greater than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is greater than the number of touch units 110 triggered in the j+1-th column, a sub-area of the i+1-th row and the j+1-th column in the touch panel is determined as the compensation area, thereby improving the accuracy of determining the compensation area. The target touch area can be determined through the compensation area, thereby improving the accuracy of the target touch area and providing touch accuracy.
[0140] In one embodiment, when it is detected that the number of triggered touch units 110 is equal to a preset number, if the number of triggered touch units 110 in the i-th row is greater than the number of triggered touch units 110 in the i+1-th row, and the number of triggered touch units 110 in the j-th column is less than the number of triggered touch units 110 in the j+1-th column, then the compensation area is the sub-area of the i+1-th row and the j-th column of the touch panel, wherein the triggered touch units 110 include the touch units 110 in the sub-area of the i-th row and the j-th column of the touch panel, the touch units 110 in the sub-area of the i-th row and the j+1-th column of the touch panel, and the touch units 110 in the sub-area of the i+1-th row and the j+1-th column of the touch panel.
[0141] When the antenna unit 120 is independently set, if the number of triggered units is equal to the preset number, since the triggered units are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, if the number of touch units 110 triggered in the i-th row is greater than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is less than the number of touch units 110 triggered in the j+1-th column, it can be indicated that the touch antenna area is in the sub-area of the i+1-th row and the j-th column. In this embodiment, the compensation area is determined by comparing the number of touch units 110 triggered in the i-th row with the number of touch units 110 triggered in the i+1-th row, and comparing the number of touch units 110 triggered in the j-th column with the number of touch units 110 triggered in the j+1-th column. When the number of touch units 110 triggered in the i-th row is greater than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is less than the number of touch units 110 triggered in the j+1-th column, a sub-area of the i+1-th row and the j-th column in the touch panel is determined as the compensation area, thereby improving the accuracy of determining the compensation area. The target touch area can be determined through the compensation area, thereby improving the accuracy of the target touch area and providing touch precision.
[0142] In one embodiment, when it is detected that the number of triggered touch units 110 is equal to a preset number, if the number of triggered touch units 110 in the i-th row is less than the number of triggered touch units 110 in the i+1-th row, and the number of triggered touch units 110 in the j-th column is greater than the number of triggered touch units 110 in the j+1-th column, then the compensation area is the sub-area of the i-th row and j+1-th column of the touch panel, wherein the triggered touch units 110 include the touch units 110 in the sub-area of the i-th row and j-th column of the touch panel, the touch units 110 in the sub-area of the i+1-th row and j-th column of the touch panel, and the touch units 110 in the sub-area of the i+1-th row and j+1-th column of the touch panel.
[0143] When the antenna unit 120 is independently set, if the number of triggered units is equal to the preset number, since the triggered units are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, if the number of touch units 110 triggered in the i-th row is less than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is greater than the number of touch units 110 triggered in the j+1-th column, it can be indicated that the touch antenna area is in the sub-area of the i-th row and j+1-th column. In this embodiment, the compensation area is determined by comparing the number of touch units 110 triggered in the i-th row with the number of touch units 110 triggered in the i+1-th row, and comparing the number of touch units 110 triggered in the j-th column with the number of touch units 110 triggered in the j+1-th column. When the number of touch units 110 triggered in the i-th row is less than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is greater than the number of touch units 110 triggered in the j+1-th column, a sub-area of the i-th row and the j+1-th column in the touch panel is determined as the compensation area, thereby improving the accuracy of determining the compensation area. The target touch area can be determined through the compensation area, thereby improving the accuracy of the target touch area to provide touch accuracy.
[0144] In one embodiment, when it is detected that the number of triggered touch units 110 is equal to a preset number, if the number of triggered touch units 110 in the i-th row is less than the number of triggered touch units 110 in the i+1-th row, and the number of triggered touch units 110 in the j-th column is less than the number of triggered touch units 110 in the j+1-th column, then the compensation area is the sub-area of the i-th row and the j-th column of the touch panel, wherein the triggered touch units 110 include the touch units 110 in the sub-area of the i-th row and the j+1-th column of the touch panel, the touch units 110 in the sub-area of the i+1-th row and the j+1-th column of the touch panel, and the touch units 110 in the sub-area of the i+1-th row and the j+1-th column of the touch panel.
[0145] When the antenna unit 120 is independently set, if the number of triggered units is equal to the preset number, since the triggered units are distributed in the i-th row, i+1-th row, j-th column and j+1-th column of the touch panel, if the number of touch units 110 triggered in the i-th row is less than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is less than the number of touch units 110 triggered in the j+1-th column, it can be indicated that the touch antenna area is in the sub-area of the i-th row and j-th column. In this embodiment, the compensation area is determined by comparing the number of touch units 110 triggered in the i-th row with the number of touch units 110 triggered in the i+1-th row, and comparing the number of touch units 110 triggered in the j-th column with the number of touch units 110 triggered in the j+1-th column. When the number of touch units 110 triggered in the i-th row is less than the number of touch units 110 triggered in the i+1-th row, and the number of touch units 110 triggered in the j-th column is less than the number of touch units 110 triggered in the j+1-th column, a sub-area of the i-th row and the j-th column in the touch panel is determined as the compensation area, thereby improving the accuracy of determining the compensation area. The target touch area can be determined through the compensation area, thereby improving the accuracy of the target touch area and providing touch precision.
[0146] In one embodiment, at least one antenna unit 120 includes at least one row of antennas or at least one column of antennas, any row of antennas or any column of antennas includes multiple sub-antenna units 120, and multiple sub-antenna units 120 in the same row or the same column of antennas are connected in sequence, the touch panel is divided into multiple sub-areas, the multiple sub-areas are distributed in N rows and M columns, and each two adjacent sub-areas are arranged at intervals, N and M are integers greater than 1, each touch unit 110 is located in a sub-area, any row of antennas or any column of antennas is located in a row or a column of sub-areas of the touch panel, the compensation area includes an area of at least two sub-antenna units 120, and if the number of antenna rows or antenna columns of at least one antenna unit 120 is at least 2, then two adjacent rows of antennas or two adjacent columns of antennas are separated by at least one row or at least one column of touch units 110;
[0147] When it is detected that the number of the triggered touch control units 110 among the plurality of touch control units 110 is less than or equal to a preset number, determining the compensation area based on the area of the triggered touch control units 110 includes:
[0148] In the case where the number of the triggered touch control units 110 is less than the preset number, if the triggered touch control units 110 are distributed in the pth row, the p+1th row and the qth column of the touch panel, a compensation area is determined based on q, and the compensation area includes:
[0149] a sub-region located at the pth row and the q+1th column of the touch panel and a sub-region located at the p+1th row and the q+1th column of the touch panel, or
[0150] A sub-region located at the pth row and the q-1th column of the touch panel and a sub-region located at the p+1th row and the q-1th column of the touch panel;
[0151] Among them, 1≤p≤N, 1≤q≤M.
[0152] It should be noted that q-1 is a positive integer. Since the multiple antenna units 120 are arranged in rows or columns and connected, if the number of triggered units is less than the preset number, it can be indicated that the antenna area is touched, the triggered touch unit 110 is located in the qth column, the right side of which is the q+1th column, and the left side is the q-1th column. The compensation area includes the sub-area located in the pth row and the q+1th column of the touch panel and the sub-area located in the p+1th row and the q+1th column of the touch panel, indicating that the touched antenna area is located on the right side of the triggered touch unit 110, and the compensation area includes the sub-area located in the pth row and the q-1th column of the touch panel and the sub-area located in the p+1th row and the q-1th column of the touch panel, indicating that the touched antenna area is located on the left side of the triggered touch unit 110.
[0153] In this embodiment, when a person's hand lightly touches the touch pad, generally four touch units 110 will sense the touch of the person's hand. When the person's hand touches the antenna unit 120, due to the particularity of the structure, only two touch units 110 will sense the person's hand (and the other two are antennas). Therefore, whether the person's hand has touched the antenna unit 120 can be distinguished by whether the number of the sensed touch units 110 is less than a preset number (for example, it can be 3). For example, if the number of the sensed touch units 110 is less than the preset number, it can be considered that the antenna area is touched, otherwise, it is considered that the touch occurs in the non-antenna area. If the number of the sensed touch units 110 is less than the preset number, when the triggered units are distributed in the pth row, the p+1th row, and the qth column of the touch pad, the compensation area can be determined based on q, that is, the compensation area is determined according to the number of columns in which the triggered units are distributed, so as to improve the accuracy of the compensation area.
[0154] In one embodiment, the row number of a row sub-area where any row antenna is located or the column number of a column sub-area where any column antenna is located is an integer multiple of a preset value. When q-1 is a positive integer multiple of the preset value, the compensation area is the sub-area of the pth row and q-1th column of the touch panel and the sub-area of the p+1th row and q-1th column of the touch panel, where the preset value is a positive integer.
[0155] It should be noted that the row difference between every two adjacent rows of antennas is the same or the column difference between every two adjacent columns of antennas is the same, and the row difference between two adjacent rows of antennas or the column difference between two adjacent columns of antennas is a preset value. For example, the preset value may be 3, and the row difference between two adjacent rows of antennas is 3 or the column difference between two adjacent columns of antennas is 3.
[0156] If q-1 is not an integer multiple of the preset value, it means that q-1 cannot be divided by the preset value. It can be considered that the touch antenna unit 120 is on the right side of the triggered touch unit 110, and the sub-area of the pth row and q+1th column of the touch panel and the sub-area of the p+1th row and q+1th column of the touch panel can be determined as compensation areas, which can improve the accuracy of the compensation area.
[0157] In one embodiment, the row number of a row sub-area where any row antenna is located or the column number of a column sub-area where any column antenna is located is an integer multiple of a preset value. When q-1 is not a positive integer multiple of the preset value, the compensation area is the sub-area of the pth row and q+1th column of the touch panel and the sub-area of the p+1th row and q+1th column of the touch panel, where the preset value is a positive integer.
[0158] If q-1 is an integer multiple of the preset value, it means that q-1 can be divided by the preset value. It can be considered that the touch antenna unit 120 is on the left side of the triggered touch unit 110, and the sub-area of the pth row and q-1th column of the touch panel and the sub-area of the p+1th row and q-1th column of the touch panel can be determined as the compensation area, which can improve the accuracy of the compensation area.
[0159] It should be understood that in the embodiment of the present application, the input unit 1604 may include a graphics processor (Graphics Processing Unit, GPU) 16041 and a microphone 16042, and the graphics processor 16041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1606 may include a display panel 16061, and the display panel 16061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1607 includes a touch panel 16071 and other input devices 16072. The touch panel 16071 is also called a touch screen. The touch panel 16071 may include two parts: a touch detection device and a touch controller. Other input devices 16072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1610.
[0160] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned touch area determination method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0161] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0162] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned touch area determination method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0163] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0164] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the 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, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0165] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0166] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for determining a touch area, characterized in that: The method is performed by an electronic device, wherein the electronic device includes a touch panel and at least one antenna unit, wherein a plurality of touch units are arranged at intervals on the touch panel, and the at least one antenna unit is arranged on the touch panel, and each antenna unit is located between at least two touch units among the plurality of touch units; The method comprises: When it is detected that the number of the triggered touch control units among the plurality of touch control units is less than or equal to a preset number, determining a compensation area based on the area of the triggered touch control units; Determining a target touch area according to the compensation area and the area of the triggered touch unit; wherein the area of the at least one antenna unit includes the compensation area; The at least one antenna unit includes at least one column of antennas, any one column of antennas includes a plurality of sub-antenna units, and the plurality of sub-antenna units in the same column of antennas are sequentially connected, the touch panel is divided into a plurality of sub-areas, the plurality of sub-areas are distributed in N rows and M columns, and are arranged at intervals between every two adjacent sub-areas, N and M are integers greater than 1, each touch unit is located in a sub-area, any one column of antennas is located in a sub-area of a column of the touch panel, and the compensation area includes an area of at least two sub-antenna units; The method of determining the compensation area based on the area of the triggered touch control units when it is detected that the number of the triggered touch control units among the plurality of touch control units is less than or equal to a preset number includes: In the case that the number of the triggered touch units is less than the preset number, if the triggered touch units are distributed in the pth row, the p+1th row and the qth column of the touch panel, the compensation area is determined based on q, and the compensation area includes: a sub-region located at the pth row and the q+1th column of the touch panel and a sub-region located at the p+1th row and the q+1th column of the touch panel, or a sub-region located at the pth row and the q-1th column of the touch panel and a sub-region located at the p+1th row and the q-1th column of the touch panel; Among them, 1≤p≤N, 1≤q≤M; The column number of a column sub-region where any column of antennas is located is an integer multiple of a preset value, wherein the preset value is an integer greater than or equal to 3; When q-1 is a positive integer multiple of the preset value, the compensation area is the sub-area of the pth row and q-1th column of the touchpad and the sub-area of the p+1th row and q-1th column of the touchpad; and / or, when q-1 is not a positive integer multiple of the preset value, the compensation area is the sub-area of the pth row and q+1th column of the touchpad and the sub-area of the p+1th row and q+1th column of the touchpad.
2. The method according to claim 1, characterized in that Each antenna unit is an independent antenna unit. The touch panel is divided into multiple sub-areas. The multiple sub-areas are distributed in N rows and M columns. Every two adjacent sub-areas are arranged at intervals. Each antenna unit is distributed in a sub-area. N and M are integers greater than 1.
3. The method according to claim 2, characterized in that The compensation area includes a sub-area, and each touch unit is distributed in a sub-area; The method of determining the compensation area based on the area of the triggered touch control units when it is detected that the number of the triggered touch control units among the plurality of touch control units is less than or equal to a preset number includes: When it is detected that the number of the triggered touch units among the plurality of touch units is equal to the preset number, if the triggered touch units are distributed in the i-th row, the i+1-th row, the j-th column and the j+1-th column of the touch panel, the following item is determined as the compensation area: The sub-region of the i+1th row and j+1th column of the touch panel; The sub-region of the i+1th row and jth column of the touch panel; The sub-region of the i-th row and j-th column of the touch panel; The sub-region of the i-th row and j+1-th column of the touch panel; Among them, 1≤i≤N, 1≤j≤M.
4. The method according to claim 3, characterized in that When it is detected that the number of triggered touch units is equal to the preset number, if the number of triggered touch units in the i-th row is greater than the number of triggered touch units in the i+1-th row, and the number of triggered touch units in the j-th column is greater than the number of triggered touch units in the j+1-th column, then the compensation area is the sub-area of the i+1-th row and the j+1-th column of the touch panel, wherein the triggered touch units include the touch units in the sub-area of the i-th row and the j-th column of the touch panel, the touch units in the sub-area of the i-th row and the j+1-th column of the touch panel, and the touch units in the sub-area of the i+1-th row and the j-th column of the touch panel.
5. The method according to claim 3, characterized in that: When it is detected that the number of triggered touch units is equal to the preset number, if the number of triggered touch units in the i-th row is greater than the number of triggered touch units in the i+1-th row, and the number of triggered touch units in the j-th column is less than the number of triggered touch units in the j+1-th column, then the compensation area is the sub-area of the i+1-th row and the j-th column of the touch panel, wherein the triggered touch units include the touch units in the sub-area of the i-th row and the j-th column of the touch panel, the touch units in the sub-area of the i-th row and the j+1-th column of the touch panel, and the touch units in the sub-area of the i+1-th row and the j+1-th column of the touch panel.
6. The method according to claim 3, characterized in that When it is detected that the number of triggered touch units is equal to the preset number, if the number of triggered touch units in the i-th row is less than the number of triggered touch units in the i+1-th row, and the number of triggered touch units in the j-th column is greater than the number of triggered touch units in the j+1-th column, then the compensation area is the sub-area of the i-th row and the j+1-th column of the touch panel, wherein the triggered touch units include the touch units in the sub-area of the i-th row and the j-th column of the touch panel, the touch units in the sub-area of the i+1-th row and the j-th column of the touch panel, and the touch units in the sub-area of the i+1-th row and the j+1-th column of the touch panel.
7. The method according to claim 3, characterized in that When it is detected that the number of triggered touch units is equal to the preset number, if the number of triggered touch units in the i-th row is less than the number of triggered touch units in the i+1-th row, and the number of triggered touch units in the j-th column is less than the number of triggered touch units in the j+1-th column, then the compensation area is the sub-area of the i-th row and the j-th column of the touch panel, wherein the triggered touch units include the touch units in the sub-area of the i-th row and the j+1-th column of the touch panel, the touch units in the sub-area of the i+1-th row and the j+1-th column of the touch panel, and the touch units in the sub-area of the i+1-th row and the j+1-th column of the touch panel.
8. An electronic device, characterized in that: The method comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the touch area determination method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Touch display device
CN107450788A
Touch screen dead zone compensation method and device, electronic equipment and storage medium
CN108363507A
Display panel and display device
CN111857430A