Touch screen touch position detection method and device
By performing partitioning and signal processing along vertically arranged scan lines on the touch screen, the problem of slow touch position determination in the prior art is solved, and efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202410635731.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-22
AI Technical Summary
The existing touch screen is slow to determine the touch interaction position based on the capacitive scanning mechanism. It requires multi-channel capacitive scanning processing and a microcontroller to find the touch position pixel by pixel, which consumes a lot of time.
By zoning the scan lines vertically arranged along the first direction and the second direction on the touch screen, the scan line number information is obtained, the touch area is divided into sub-touch areas, and the excitation signal is sequentially applied and the scan signal is acquired, and the target is determined based on the scan signal Sub-touch area, the touch position is determined when the number meets the preset threshold.
The efficiency and accuracy of determining the touch location are improved, and the time to find the touch location is shortened through partitioning and excitation signal processing.
Smart Images

Figure CN118210400B
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of touch display technology and related technical fields, and in particular, to a method and device for detecting a touch position of a touch screen. Background Art
[0002] Nowadays, touch screens have been widely used in various electronic products as input devices. Users only need to trigger the touch screen to realize various inputs on electronic products. Among them, the projection touch screen is a touch screen that uses projected capacitive touch technology. The touch screen surface has electrodes that can be stimulated and received. The touch screen detects the position corresponding to the capacitance change when the finger touches and then determines the finger's location, and then performs touch interactive operations.
[0003] In the prior art, in the method of determining the touch interaction position based on the capacitive scanning mechanism, multi-channel capacitive scanning processing is required, which makes the speed of determining the touch interaction position slow. Specifically, from the perspective of the excitation end, multi-channel scanning is required to perform processing operations, and from the perspective of the sensing end, the microcontroller needs to spend more time searching for each pixel one by one to find the actual touch position, which is very time-consuming. Summary of the invention
[0004] The embodiments described herein provide a touch screen touch position detection method and device, which solve the problems existing in the prior art.
[0005] According to a first aspect of the present disclosure, a touch screen touch position detection method is provided, wherein the touch screen comprises first scan lines arranged in an array along a first direction and second scan lines arranged in an array along a second direction, wherein the first direction is perpendicular to the second direction, and comprises:
[0006] Acquire quantity information of first scan lines and second scan lines included in the touch screen;
[0007] According to the quantity information of the first scanning lines and the second scanning lines, partitioning the touch area of the touch screen into a plurality of sub-touch areas;
[0008] According to the partition result of the touch area of the touch screen in the first direction, sequentially applying the excitation signal to the first scan line included in each of the sub-touch areas, and acquiring the scan signal through the second scan line included in each of the sub-touch areas;
[0009] Determine a target sub-touch area according to a scan signal obtained from a second scan line included in each of the sub-touch areas;
[0010] When the number of the first scan lines or the second scan lines included in the target sub-touch area meets a preset threshold, the touch position is determined according to the scan signal obtained from the second scan line included in the target sub-touch area.
[0011] In some embodiments of the present disclosure, partitioning the touch area of the touch screen to obtain a plurality of sub-touch areas according to the quantity information of the first scan lines and the second scan lines includes:
[0012] According to the quantity information of the first scan lines, performing a first partitioning operation on the touch area of the touch screen in the first direction to obtain a first touch area and a second touch area;
[0013] According to the information about the number of the second scan lines, the first touch area and the second touch area are partitioned for the second time in the second direction to obtain a plurality of sub touch areas.
[0014] In some embodiments of the present disclosure, according to the partition result of the touch area of the touch screen in the first direction, sequentially applying the excitation signal to the first scan line included in each of the sub-touch areas, and acquiring the scan signal through the second scan line included in each of the sub-touch areas, includes:
[0015] Applying an excitation signal to a first scan line included in the first touch area according to a result of partitioning the touch area of the touch screen in the first direction;
[0016] sequentially acquiring scanning signals acquired by second scanning lines included in each sub-touch area in the first touch area;
[0017] Applying an excitation signal to a first scan line included in the second touch area;
[0018] The scanning signals acquired by the second scanning lines included in each sub-touch area in the second touch area are acquired in sequence.
[0019] In some embodiments of the present disclosure, determining the target sub-touch area according to the scan signal obtained from the second scan line included in each of the sub-touch areas includes:
[0020] Determining a scan sum value signal of each of the sub-touch areas according to a scan signal obtained by a second scan line included in each of the sub-touch areas;
[0021] The target sub-touch area is determined according to the scan sum value signals of two adjacent sub-touch areas arranged along the first direction; or, the target sub-touch area is determined according to the scan sum value signals of two adjacent sub-touch areas arranged along the second direction.
[0022] In some embodiments of the present disclosure, determining the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the first direction; or determining the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the second direction includes:
[0023] Calculating a first difference value of scan sum value signals of two adjacent sub-touch areas arranged along a first direction, or calculating a second difference value of scan sum value signals of two adjacent sub-touch areas arranged along a second direction;
[0024] A target sub-touch area is determined according to the first difference or the second difference.
[0025] In some embodiments of the present disclosure, determining the target sub-touch area according to the first difference or the second difference includes:
[0026] When the first difference is greater than zero, the target sub-touch area is a sub-touch area located on the upper side in the first direction, or when the second difference is greater than zero, the target sub-touch area is a sub-touch area located on the left side in the second direction;
[0027] When the first difference is less than zero, the target sub-touch area is a sub-touch area located at the lower side in the first direction, or when the second difference is less than zero, the target sub-touch area is a sub-touch area located at the right side in the second direction.
[0028] In some embodiments of the present disclosure, when the number of the first scan lines or the second scan lines included in the target sub-touch area meets a preset threshold, determining the touch position according to the scan signal obtained from the second scan line included in the target sub-touch area includes:
[0029] When the number of first scan lines or second scan lines included in the target sub-touch area meets a preset threshold, simultaneously applying an excitation signal to any adjacent first scan line included in the target sub-touch area, and acquiring a scan signal acquired by any adjacent second scan line;
[0030] The touch position is determined according to the scan signals acquired from the adjacent second scan lines included in the two adjacent sub-touch areas.
[0031] In some embodiments of the present disclosure, the method further includes:
[0032] When the number of the first scan lines and the second scan lines included in the target sub-touch area do not meet the preset threshold, the target sub-touch area is partitioned into multiple sub-touch areas according to the number information of the first scan lines and the second scan lines included in the target sub-touch area.
[0033] In some embodiments of the present disclosure, when the number of the first scan lines or the second scan lines included in the target sub-touch area meets a preset threshold, before determining the touch position according to the scan signal obtained by the second scan line included in the target sub-touch area, the method further includes:
[0034] Acquire the number of first scan lines or second scan lines included in the target sub-touch area;
[0035] A relationship between the number of the first scan lines or the second scan lines included in the target sub-touch area and a preset threshold is determined.
[0036] According to a second aspect of the present disclosure, a touch screen touch position detection device is provided, comprising:
[0037] An information acquisition module, used to acquire quantity information of the first scan lines and the second scan lines included in the touch screen;
[0038] a partitioning module, configured to partition the touch area of the touch screen into a plurality of sub-touch areas according to the quantity information of the first scan lines and the second scan lines;
[0039] a scanning signal acquisition module, configured to sequentially apply an excitation signal to a first scanning line included in each of the sub-touch areas according to a partition result of the touch area of the touch screen in the first direction, and acquire a scanning signal through a second scanning line included in each of the sub-touch areas;
[0040] a target sub-touch area determination module, configured to determine the target sub-touch area according to a scan signal acquired by a second scan line included in each of the sub-touch areas;
[0041] The touch position determination module is used to determine the touch position according to the scan signal obtained from the second scan line included in the target sub-touch area when the number of the first scan lines or the second scan lines included in the target sub-touch area meets a preset threshold.
[0042] The touch screen touch position detection method and device provided by the embodiment of the present disclosure first obtains the number information of the first scan line and the second scan line included in the touch screen; then, according to the number information of the first scan line and the second scan line, the touch area of the touch screen is partitioned to obtain multiple sub-touch areas; and according to the partition result of the touch area of the touch screen in the first direction, the excitation signal is sequentially applied to the first scan line included in each sub-touch area, and the scan signal is obtained through the second scan line included in each sub-touch area; and the target sub-touch area is determined according to the scan signal obtained by the second scan line included in each sub-touch area; finally, when the number of the first scan line or the second scan line included in the target sub-touch area meets the preset threshold, the touch position is determined according to the scan signal obtained by the second scan line included in the target sub-touch area. Based on the analysis of the scan lines included in the touch screen, the touch screen is partitioned to obtain sub-touch screen areas, and each sub-touch area is stimulated based on the partition result, and then the touch position is determined according to the scan signal received by each sub-touch area under the action of the excitation signal, thereby improving the efficiency of determining the touch position. In addition, by judging the relationship between the first scan line or the second scan line included in each sub-touch area after the partition and the preset threshold, it is determined whether the partition is completed, so as to achieve the accuracy of the determined touch position. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be noted that the drawings described below only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure, wherein:
[0044] Figure 1 It is a flowchart of a touch screen touch position detection method provided by an embodiment of the present disclosure;
[0045] Figure 2 is a schematic diagram of scan lines included in a touch screen provided by an embodiment of the present disclosure;
[0046] Figure 3 It is a structural schematic diagram of a touch screen touch position detection device provided by an embodiment of the present disclosure;
[0047] Figure 4 It is a structural diagram of a computer device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work also fall within the scope of protection of the present disclosure.
[0049] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by a person skilled in the art to which the subject matter of the present disclosure belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the specification and the relevant art, and will not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. As used herein, a statement that two or more parts are "connected" or "coupled" together shall mean that the parts are joined together directly or through one or more intermediate components.
[0050] In all embodiments of the present disclosure, terms such as “first” and “second” are used only to distinguish one component (or a part of a component) from another component (or another part of a component).
[0051] Unless the context clearly indicates otherwise, the singular form of the words used herein and in the appended claims includes the plural and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the words "comprise" and "include" are to be interpreted as inclusive rather than exclusive. Likewise, the terms "include" and "or" should be interpreted as inclusive unless such interpretation is expressly prohibited herein. Where the term "example" is used herein, particularly when it is located after a group of terms, the "example" is merely exemplary and illustrative and should not be considered exclusive or comprehensive.
[0052] In a specific embodiment, Figure 1 is a flow chart of a touch screen touch position detection method provided by an embodiment of the present disclosure, Figure 2 is a schematic diagram of a scan line included in a touch screen provided by an embodiment of the present disclosure, combined with Figure 1 and Figure 2 , a touch screen touch position detection method, comprising:
[0053] S110, obtaining information on the number of first scan lines and second scan lines included in the touch screen.
[0054] The touch screen includes first scan lines 10 arranged in an array along a first direction X and second scan lines 20 arranged in an array along a second direction Y. The first direction X and the second direction Y are perpendicular to each other.
[0055] In a specific embodiment, the first scan lines 10 arranged in an array along a first direction X receive the excitation signal, and the second scan lines 20 arranged in an array along a second direction Y output the scan signal.
[0056] In a specific embodiment, in combination Figure 2 The first scan lines 10 are arranged in an array along the X direction, and the second scan lines 20 are arranged in an array along the Y direction. The X direction is perpendicular to the Y direction. The number of the first scan lines 10 and the second scan lines 20 is [23×41], that is, the number of the first scan lines 10 is 23, and the number of the second scan lines 20 is 41.
[0057] In the touch screen touch position detection method provided by the embodiment of the present disclosure, firstly, the quantity information of the first scan lines and the second scan lines included in the touch screen is obtained.
[0058] S120 . Partition the touch area of the touch screen into a plurality of sub-touch areas according to the quantity information of the first scan lines and the second scan lines.
[0059] After obtaining the number information of the first scan lines and the second scan lines in step S110, the touch area of the touch screen is divided according to the number information of the first scan lines and the second scan lines. Specifically, according to the number information of the first scan lines and the second scan lines, the touch area of the touch screen is partitioned to obtain a plurality of sub-touch areas. An embodiment includes: according to the number information of the first scan lines, the touch area of the touch screen is partitioned for the first time in a first direction to obtain a first touch area and a second touch area; according to the number information of the second scan lines, the first touch area and the second touch area are partitioned for the second time in a second direction to obtain sub-touch areas.
[0060] Exemplarily, the number of first scan lines is 23. According to the number of first scan lines 10, the touch area 100 of the touch screen is divided into a first touch area 01 and a second touch area 02 in the first direction X. The first touch area 01 includes 11 first scan lines 10, and the second touch area 02 includes 12 first scan lines 10. After the touch area of the touch screen is divided into the first touch area 01 and the second touch area 02 in the first direction X, the first touch area 01 and the second touch area 02 are partitioned in the second direction Y according to the number of second scan lines 20 to obtain a plurality of sub-touch areas. The number of second scan lines 20 is 41. Therefore, the sub-touch areas obtained by partitioning the first touch area and the second touch area in the second direction Y are as follows: Figure 2As shown, the first touch area 01 includes a sub-touch area 1A and a sub-touch area 1B, the second touch area 02 includes a sub-touch area 2A and a sub-touch area 2B, the sub-touch area 1A and the sub-touch area 2A each include 20 second scan lines, and the sub-touch area 1B and the sub-touch area 2B each include 21 second scan lines.
[0061] S130. According to the partition result of the touch area of the touch screen in the first direction, sequentially apply the excitation signal to the first scan line included in each sub-touch area, and obtain the scan signal through the second scan line included in each sub-touch area.
[0062] In a specific implementation, according to the partition result of the touch area of the touch screen in the first direction X, the excitation signal is applied to the first scan line 10 included in each sub-touch area in sequence, and the scan signal is acquired through the second scan line 20 included in each sub-touch area, including: according to the partition result of the touch area of the touch screen in the first direction X, the excitation signal is applied to the first scan line X included in the first touch area 01; the scan signal acquired by the second scan line 20 included in each sub-touch area in the first touch area 01 is acquired in sequence; the excitation signal is applied to the first scan line 10 included in the second touch area 02; the scan signal acquired by the second scan line 20 included in each sub-touch area in the second touch area 02 is acquired in sequence.
[0063] Specifically, the touch area is first divided in the first direction X according to the number of the first scan lines 10 to obtain the first touch area 01 and the second touch area 02, and then the first touch area 01 and the second touch area 02 are divided in the second direction Y according to the number of the second scan lines 20. Therefore, the excitation signal is first applied to the first scan line 10 included in the first touch area 01, and then the scan signal received by the second scan line 20 included in the sub-touch area 1A in the first touch area 01 is first obtained, and then the scan signal received by the second scan line 20 included in the sub-touch area 1B in the first touch area 01 is obtained, and then the excitation signal is applied to the first scan line included in the second touch area 02, and then the scan signal received by the second scan line 20 included in the sub-touch area 2A in the second touch area 02 is obtained, and then the scan signal received by the second scan line 20 included in the sub-touch area 2B in the second touch area 02 is obtained.
[0064] For example, the excitation signal is first applied to 1-11 first scan lines included in the first touch area, and then the scan signals received by 1-20 second scan lines corresponding to the sub-touch area 1A are obtained, and then the scan signals received by 21-41 second scan lines corresponding to the sub-touch area 1B are obtained. Then, the excitation signal is applied to 12-23 first scan lines included in the second touch area, and then the scan signals received by 1-20 second scan lines corresponding to the sub-touch area 2A are obtained, and then the scan signals received by 21-41 second scan lines corresponding to the sub-touch area 2B are obtained.
[0065] S140: Determine a target sub-touch area according to a scan signal obtained from a second scan line included in each sub-touch area.
[0066] When a sub-touch area is touched, the scan signal obtained by the second scan line of the sub-touch area will decrease. Therefore, after obtaining the scan signal obtained by the second scan line included in each sub-touch area, the target sub-touch area is determined by comparing the scan signals obtained by the second scan line included in each sub-touch area.
[0067] In a specific embodiment, the target sub-touch area is determined based on the scanning signal obtained by the second scanning line included in each sub-touch area, including: determining the scanning and value signals of each sub-touch area based on the scanning signal obtained by the second scanning line included in each sub-touch area; determining the target sub-touch area based on the scanning and value signals of two adjacent sub-touch areas arranged along the first direction; or, determining the target sub-touch area based on the scanning and value signals of two adjacent sub-touch areas arranged along the second direction.
[0068] Specifically, a first difference of scan sum signals of two adjacent sub touch areas arranged along a first direction X is calculated, or a second difference of scan sum signals of two adjacent sub touch areas arranged along a second direction Y is calculated; and a target sub touch area is determined according to the first difference or the second difference.
[0069] Among them, when the first difference is greater than zero, the target sub-touch area is the sub-touch area located on the upper side in the first direction X, or when the second difference is greater than zero, the target sub-touch area is the sub-touch area located on the left side in the second direction Y; when the first difference is less than zero, the target sub-touch area is the sub-touch area located on the lower side in the first direction X, or when the second difference is less than zero, the target sub-touch area is the sub-touch area located on the right side in the second direction Y.
[0070] Exemplarily, the scan sum value signal of the sub-touch area 1A is the sum of the scan signals received by 1-20 second scan lines included in the sub-touch area 1A when the first scan line corresponding to the first touch area receives the excitation signal, the scan sum value signal of the sub-touch area 1B is the sum of the scan signals received by 21-41 second scan lines included in the sub-touch area 1B when the first scan line corresponding to the first touch area receives the excitation signal, the scan sum value signal of the sub-touch area 2A is the sum of the scan signals received by 1-20 second scan lines included in the sub-touch area 2A when the first scan line corresponding to the second touch area receives the excitation signal, and the scan sum value signal of the sub-touch area 2B is the sum of the scan signals received by 21-41 second scan lines included in the sub-touch area 2B when the first scan line corresponding to the second touch area receives the excitation signal. When the touch area of the touch screen is not touched, the scan sum value signals corresponding to each sub-touch area remain substantially unchanged, and when a sub-touch area is touched, the scan signal received by the second scan line of the sub-touch area will decrease.
[0071] A specific implementation method is: by calculating the first difference between the scanning sum signal of the sub-touch area 2A and the scanning sum signal of the sub-touch area 1A, calculating the first difference between the scanning sum signal of the sub-touch area 2B and the scanning sum signal of the sub-touch area 1B, when the first difference between the scanning sum signal of the sub-touch area 2A and the scanning sum signal of the sub-touch area 1A is greater than zero, it indicates that the scanning sum signal corresponding to the sub-touch area 1A is less than the scanning sum signal corresponding to the sub-touch area 2A, and the scanning sum signal corresponding to the sub-touch area 1A decreases, then the sub-touch area 1A is the target sub-touch area, when the first difference between the scanning sum signal of the sub-touch area 2A and the scanning sum signal of the sub-touch area 1A is less than zero, it indicates that the scanning sum signal corresponding to the sub-touch area 1A is greater than the scanning sum signal corresponding to the sub-touch area 2A, and the scanning sum signal corresponding to the sub-touch area 2A decreases, then the sub-touch area 2A is the target sub-touch area, if the scanning sum signal of the sub-touch area 2A is greater than the scanning sum signal of the sub-touch area 1A, the scanning sum signal corresponding to the sub-touch area 2A decreases, then the sub-touch area 2A is the target sub-touch area When the first difference of the scanning sum value signal of the sub-touch area 2B and the scanning sum value signal of the sub-touch area 1B is zero, the sub-touch area 2A and the sub-touch area 1A are not the target sub-touch area; similarly, when the first difference of the scanning sum value signal of the sub-touch area 2B and the scanning sum value signal of the sub-touch area 1B is greater than zero, it indicates that the scanning sum value signal corresponding to the sub-touch area 1B is less than the scanning sum value signal corresponding to the sub-touch area 2B, the scanning sum value signal corresponding to the sub-touch area 1B decreases, and the sub-touch area 1B is the target sub-touch area; when the first difference of the scanning sum value signal of the sub-touch area 2B and the scanning sum value signal of the sub-touch area 1B is less than zero, it indicates that the scanning sum value signal corresponding to the sub-touch area 1B is greater than the scanning sum value signal corresponding to the sub-touch area 2B, the scanning sum value signal corresponding to the sub-touch area 2B decreases, and the sub-touch area 2B is the target sub-touch area; if the first difference of the scanning sum value signal of the sub-touch area 2B and the scanning sum value signal of the sub-touch area 1B is zero, the sub-touch area 2B and the sub-touch area 1B are not the target sub-touch area.
[0072] Another specific implementation method is: calculating the second difference between the scanning sum signal of the sub-touch area 1B and the scanning sum signal of the sub-touch area 1A, calculating the second difference between the scanning sum signal of the sub-touch area 2B and the scanning sum signal of the sub-touch area 2A, when the second difference between the scanning sum signal of the sub-touch area 1B and the scanning sum signal of the sub-touch area 1A is greater than zero, indicating that the scanning sum signal corresponding to the sub-touch area 1A is less than the scanning sum signal corresponding to the sub-touch area 1B, the scanning sum signal corresponding to the sub-touch area 1A decreases, and the sub-touch area 1A is the target sub-touch area, when the second difference between the scanning sum signal of the sub-touch area 1B and the scanning sum signal of the sub-touch area 1A is less than zero, indicating that the scanning sum signal corresponding to the sub-touch area 1A is greater than the scanning sum signal corresponding to the sub-touch area 1B, the scanning sum signal corresponding to the sub-touch area 1B decreases, and the sub-touch area 1B is the target sub-touch area, if the scanning sum signal of the sub-touch area 1B is less than zero, indicating that the scanning sum signal corresponding to the sub-touch area 1A is greater than the scanning sum signal corresponding to the sub-touch area 1B, the scanning sum signal corresponding to the sub-touch area 1B decreases, and the sub-touch area 1B is the target sub-touch area When the second difference of the scanning sum value signal of the sub-touch area 2B and the scanning sum value signal of the sub-touch area 2A is zero, the sub-touch area 1B and the sub-touch area 1A are not the target sub-touch area; similarly, when the second difference of the scanning sum value signal of the sub-touch area 2B and the scanning sum value signal of the sub-touch area 2A is greater than zero, it indicates that the scanning sum value signal corresponding to the sub-touch area 2A is less than the scanning sum value signal corresponding to the sub-touch area 2B, and the scanning sum value signal corresponding to the sub-touch area 2A decreases, then the sub-touch area 2B is the target sub-touch area; when the second difference of the scanning sum value signal of the sub-touch area 2B and the scanning sum value signal of the sub-touch area 2A is less than zero, it indicates that the scanning sum value signal corresponding to the sub-touch area 2A is greater than the scanning sum value signal corresponding to the sub-touch area 2B, and the scanning sum value signal corresponding to the sub-touch area 2B decreases, then the sub-touch area 2B is the target sub-touch area; if the second difference of the scanning sum value signal of the sub-touch area 2B and the scanning sum value signal of the sub-touch area 2A is zero, then the sub-touch area 2B and the sub-touch area 2A are not the target sub-touch area.
[0073] Through the above two methods, the touch area of the user on the touch screen, that is, the target sub-touch area, is determined.
[0074] S150: When the number of the first scan lines or the second scan lines included in the target sub-touch area meets a preset threshold, determine a touch position according to a scan signal obtained from the second scan line included in the target sub-touch area.
[0075] The preset threshold may be 3, for example.
[0076] Since the touch screen is divided into multiple sub-touch areas based on the first scan line and the second scan line, in order to ensure the accuracy of the determined user's touch position, after the target sub-touch area is determined in step S140, it is determined whether the number of first scan lines or second scan lines included in the target sub-touch area meets the preset threshold. When the target sub-touch area includes less than or equal to 3 first scan lines or second scan lines, the touch position is determined based on the scan signal obtained from the second scan line included in the target sub-touch area.
[0077] When the number of the first scan lines and the second scan lines included in the target sub-touch area does not meet the preset threshold, the target sub-touch area is partitioned into multiple sub-touch areas according to the number information of the first scan lines and the second scan lines included in the target sub-touch area.
[0078] In a specific embodiment, when there is a target sub-touch area including a first scan line or a second scan line whose number satisfies a preset threshold, the touch position is determined according to a scan signal obtained from a second scan line included in the target sub-touch area, including: when there is a target sub-touch area including a first scan line or a second scan line whose number satisfies a preset threshold, simultaneously applying an excitation signal to any adjacent first scan line included in the target sub-touch area, and obtaining a scan signal obtained from any adjacent second scan line; and determining the touch position according to the scan signal obtained from adjacent second scan lines included in two adjacent sub-touch areas.
[0079] For example, if the number of the first scan line and the second scan line is [23×41], the touch area of the touch screen is partitioned through steps S120, S130 and S140, and the target sub-touch area finally determined is the sub-touch area 1A, and the number of the first scan line and the second scan line in the sub-touch area 1A is [11×20]. At this time, the relationship between the first scan line or the second scan line in the sub-touch area 1A and the preset threshold is judged. Since the first scan line and the second scan line in the sub-touch area 1A are both greater than the preset threshold, the sub-touch area 1A is partitioned again. The sub-touch areas obtained after partitioning the sub-touch area 1A are sub-touch area 1AA, sub-touch area 1AB, sub-touch area 2AA and sub-touch area 2A. 2AB, wherein the number of the first scan lines and the second scan lines included in the sub-touch area 1AA is [5×10], the number of the first scan lines and the second scan lines included in the sub-touch area 1AB is [5×10], the number of the first scan lines and the second scan lines included in the sub-touch area 2AA is [6×10], and the number of the first scan lines and the second scan lines included in the sub-touch area 2AB is [6×10], by first applying an excitation signal to the sub-touch area 1AA and the sub-touch area 1AB, and then applying the excitation signal to the sub-touch area 2AA and the sub-touch area 2AB, and sequentially acquiring the scan signal of the second scan line included in the sub-touch area 1AA, the scan signal of the second scan line included in the sub-touch area 1AB, and the scan signal of the sub-touch area 2AB. The scanning signal of the second scanning line included in the sub-touch area 2AA and the scanning signal of the second scanning line included in the sub-touch area 2AB are determined, and the scanning sum value signal of the second scanning line included in the sub-touch area 1AA, the scanning sum value signal of the second scanning line included in the sub-touch area 1AB, the scanning sum value signal of the second scanning line included in the sub-touch area 2AA, and the scanning sum value signal of the second scanning line included in the sub-touch area 2AB are determined, by comparing the relationship between the scanning sum value signal of the second scanning line included in the sub-touch area 1AA and the scanning sum value signal of the second scanning line included in the sub-touch area 1AB, and comparing the scanning sum value signal of the second scanning line included in the sub-touch area 2AA with the scanning sum value signal of the second scanning line included in the sub-touch area 2AB The relationship between the scan and value signals is determined, and the target sub-touch area is determined to be the sub-touch area 1AA. Since the first scan line and the second scan line in the sub-touch area 1AA are both greater than the preset threshold value, the sub-touch area 1AA includes 1-5 first scan lines and 1-10 second scan lines. At this time, the sub-touch area 1AA is partitioned again. The sub-touch areas obtained after the sub-touch area 1AA is partitioned are the sub-touch area 1AAA, the sub-touch area 1ABB, the sub-touch area 2AAA and the sub-touch area 2ABB. The number of the first scan lines and the second scan lines included in the sub-touch area 1AAA is [2×5], and the number of the first scan lines and the second scan lines included in the sub-touch area 1ABB is [2×5].The number of first scan lines and second scan lines included in the sub-touch area 2AAA is [3×5], and the number of first scan lines and second scan lines included in the sub-touch area 2ABB is [3×5]. According to the above judgment method, the target sub-touch area is determined to be the sub-touch area 1AAA. The sub-touch area 1AAA includes 1-2 first scan lines and 1-5 second scan lines. Since the first scan line in the sub-touch area 1AAA is equal to the preset threshold, it can be determined that the touch area of the touch screen has been partitioned into the smallest touch area. At this time, the excitation signal is first applied to the first and second first scan lines, and then the scan signals received by the first and second second scan lines are obtained in sequence. The second and The scanning signal received by the third second scanning line, the scanning signal received by the third and fourth second scanning lines, and the scanning signal received by the fourth and fifth second scanning lines, and finally the touch position is determined by comparing the relationship between the sum signal of the scanning signals received by the first and second second scanning lines and the sum signal of the scanning signals received by the second and third second scanning lines, the relationship between the sum signal of the scanning signals received by the second and third second scanning lines and the sum signal of the scanning signals received by the third and fourth second scanning lines, and the relationship between the sum signal of the scanning signals received by the third and fourth second scanning lines and the sum signal of the scanning signals received by the fourth and fifth second scanning lines.
[0080] In addition, before executing step S150, the number of first scan lines or second scan lines included in the target sub-touch area is obtained; then, the relationship between the number of first scan lines or second scan lines included in the target sub-touch area and a preset threshold is determined based on the number of first scan lines or second scan lines included in the target sub-touch area.
[0081] In the touch position detection method of the touch screen provided by the embodiment of the present disclosure, firstly, the number information of the first scan line and the second scan line included in the touch screen is obtained; then, according to the number information of the first scan line and the second scan line, the touch area of the touch screen is partitioned to obtain multiple sub-touch areas; and according to the partition result of the touch area of the touch screen in the first direction, the excitation signal is sequentially applied to the first scan line included in each sub-touch area, and the scan signal is obtained through the second scan line included in each sub-touch area; and the target sub-touch area is determined according to the scan signal obtained by the second scan line included in each sub-touch area; finally, when the number of the first scan line or the second scan line included in the target sub-touch area meets the preset threshold, the touch position is determined according to the scan signal obtained by the second scan line included in the target sub-touch area. Based on the analysis of the scan lines included in the touch screen, the touch screen is partitioned to obtain sub-touch screen areas, and each sub-touch area is stimulated based on the partition result, and then the touch position is determined according to the scan signal received by each sub-touch area under the action of the excitation signal, thereby improving the efficiency of determining the touch position. In addition, by judging the relationship between the first scan line or the second scan line included in each sub-touch area after the partition and the preset threshold, it is determined whether the partition is completed, so as to achieve the accuracy of the determined touch position.
[0082] Based on the above embodiments, Figure 3 is a structural diagram of a touch screen touch position detection device provided by an embodiment of the present disclosure, such as Figure 3 As shown, the touch screen touch position detection device includes:
[0083] An information acquisition module, used to acquire quantity information of the first scan lines and the second scan lines included in the touch screen;
[0084] A partitioning module, used for partitioning the touch area of the touch screen into a plurality of sub-touch areas according to the quantity information of the first scan lines and the second scan lines;
[0085] a scanning signal acquisition module, configured to sequentially apply an excitation signal to a first scanning line included in each sub-touch area according to a partition result of the touch area of the touch screen in the first direction, and acquire a scanning signal through a second scanning line included in each sub-touch area;
[0086] A target sub-touch area determination module, configured to determine the target sub-touch area according to a scan signal obtained from a second scan line included in each sub-touch area;
[0087] The touch position determination module is used to determine the touch position according to the scan signal obtained from the second scan line included in the target sub-touch area when the number of the first scan lines or the second scan lines included in the target sub-touch area meets the preset threshold.
[0088] The touch position detection device of the touch screen provided by the embodiment of the present disclosure first obtains the number information of the first scan line and the second scan line included in the touch screen; then, according to the number information of the first scan line and the second scan line, the touch area of the touch screen is partitioned to obtain multiple sub-touch areas; and according to the partition result of the touch area of the touch screen in the first direction, the excitation signal is sequentially applied to the first scan line included in each sub-touch area, and the scan signal is obtained through the second scan line included in each sub-touch area; and the target sub-touch area is determined according to the scan signal obtained by the second scan line included in each sub-touch area; finally, when the number of the first scan line or the second scan line included in the target sub-touch area meets the preset threshold, the touch position is determined according to the scan signal obtained by the second scan line included in the target sub-touch area. Based on the analysis of the scan lines included in the touch screen, the touch screen is partitioned to obtain sub-touch screen areas, and each sub-touch area is stimulated based on the partition result, and then the touch position is determined according to the scan signal received by each sub-touch area under the action of the excitation signal, thereby improving the efficiency of determining the touch position. In addition, by judging the relationship between the first scan line or the second scan line included in each sub-touch area after the partition and the preset threshold, it is determined whether the partition is completed, so as to achieve the accuracy of the determined touch position.
[0089] In a specific implementation, the division module includes: a touch area division unit and a sub-touch area division unit;
[0090] A touch area division unit, configured to perform a first partitioning operation on the touch area of the touch screen in a first direction according to the quantity information of the first scan lines to obtain a first touch area and a second touch area;
[0091] The sub-touch area division unit is used to obtain a plurality of sub-touch areas after performing a second partition on the first touch area and the second touch area in the second direction according to the quantity information of the second scan lines.
[0092] In a specific implementation, the scanning signal acquisition module includes: a first excitation unit, a first scanning signal acquisition unit, a second excitation unit, and a second scanning information acquisition unit;
[0093] A first excitation unit, configured to apply an excitation signal to a first scan line included in a first touch area according to a partition result of the touch area of the touch screen in a first direction;
[0094] A first scanning signal acquisition unit, used to sequentially acquire scanning signals acquired by second scanning lines included in each sub-touch area in the first touch area;
[0095] A second excitation unit, used for applying an excitation signal to a first scan line included in the second touch area;
[0096] The second scanning signal acquiring unit is used to sequentially acquire scanning signals acquired by the second scanning lines included in each sub-touch area in the second touch area.
[0097] In a specific implementation, the target sub-touch area determination module includes: a scanning and value signal determination unit and a target sub-touch area determination unit.
[0098] a scanning sum value signal determining unit, configured to determine a scanning sum value signal of each sub-touch area according to a scanning signal acquired by a second scanning line included in each sub-touch area;
[0099] The target sub-touch area determination unit is used to determine the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the first direction; or determine the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the second direction.
[0100] In a specific implementation, the target sub-touch area determination unit includes:
[0101] Calculating a first difference value of scan sum value signals of two adjacent sub-touch areas arranged along a first direction, or calculating a second difference value of scan sum value signals of two adjacent sub-touch areas arranged along a second direction;
[0102] The target sub-touch area is determined according to the first difference or the second difference.
[0103] In a specific implementation, determining the target sub-touch area according to the first difference or the second difference includes:
[0104] When the first difference is greater than zero, the target sub-touch area is the sub-touch area located on the upper side in the first direction, or when the second difference is greater than zero, the target sub-touch area is the sub-touch area located on the left side in the second direction;
[0105] When the first difference is less than zero, the target sub-touch area is the sub-touch area located at the lower side in the first direction, or when the second difference is less than zero, the target sub-touch area is the sub-touch area located at the right side in the second direction.
[0106] In a specific embodiment, the touch position determination module includes: when the number of first scan lines or second scan lines included in the target sub-touch area meets a preset threshold, the excitation signal is simultaneously applied to any adjacent first scan lines included in the target sub-touch area, and the scan signal obtained by any adjacent second scan line is obtained; the touch position is determined according to the scan signals obtained by the adjacent second scan lines included in two adjacent sub-touch areas.
[0107] In a specific implementation, it also includes: a partitioning module;
[0108] The partitioning module is used to partition the target sub-touch area into multiple sub-touch areas according to the information of the number of the first scan lines and the second scan lines included in the target sub-touch area when the number of the first scan lines and the second scan lines included in the target sub-touch area does not meet the preset threshold.
[0109] In a specific implementation, it also includes: a scanning line quantity information acquisition module and a comparison module;
[0110] A scan line quantity information acquisition module, used to acquire the quantity of the first scan lines or the second scan lines included in the target sub-touch area;
[0111] The comparison module is used to determine the relationship between the number of the first scan lines or the second scan lines included in the target sub-touch area and a preset threshold.
[0112] The present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.
[0113] The computer device includes a memory 510 and a processor 520 that are connected to each other through a system bus. It should be noted that the figure only shows a computer device with components 510-520, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0114] Computer devices can be computing devices such as desktop computers, notebooks, PDAs, and cloud servers. Computer devices can interact with users through keyboards, mice, remote controls, touch pads, or voice control devices.
[0115] The memory 510 includes at least one type of readable storage medium, and the readable storage medium includes a non-volatile memory or a volatile memory, such as a flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory, etc.), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc., and the RAM may include a static RAM or a dynamic RAM. In some embodiments, the memory 510 may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory 510 may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, or a flash card (Flash Card), etc., equipped on the computer device. Of course, the memory 510 may also include both an internal storage unit of the computer device and an external storage device thereof. In this embodiment, the memory 510 is generally used to store an operating system and various application software installed on the computer device, such as the program code of the above method, etc. In addition, the memory 510 may also be used to temporarily store various data that have been output or are to be output.
[0116] The processor 520 is generally used to perform the overall operation of the computer device. In this embodiment, the memory 510 is used to store program codes or instructions, the program code includes computer operation instructions, and the processor 520 is used to execute the program codes or instructions stored in the memory 510 or process data, such as running the program code of the above method.
[0117] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus system can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0118] Another embodiment of the present application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads a computer-readable program code stored in the computer-readable medium, so that the processor can execute the functional actions specified in each step or a combination of steps in the above method; and generate a device for implementing the functional actions specified in each block or a combination of blocks in the block diagram.
[0119] Computer-readable media include but are not limited to electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any appropriate combination of the foregoing, the memory is used to store program codes or instructions, the program codes include computer operating instructions, and the processor is used to execute the program codes or instructions of the above methods stored in the memory.
[0120] For the definitions of memory and processor, please refer to the description of the aforementioned computer device embodiment and will not be repeated here.
[0121] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0122] Each functional unit or module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0123] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0124] Unless the context clearly indicates otherwise, the singular form of the words used herein and in the appended claims includes the plural and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the words "comprise" and "include" are to be interpreted as inclusive rather than exclusive. Likewise, the terms "include" and "or" should be interpreted as inclusive unless such interpretation is expressly prohibited herein. Where the term "example" is used herein, particularly when it is located after a group of terms, the "example" is merely exemplary and illustrative and should not be considered exclusive or comprehensive.
[0125] Further aspects and scopes of adaptability become apparent from the description provided herein. It should be understood that various aspects of the present application can be implemented individually or in combination with one or more other aspects. It should also be understood that the description and specific embodiments herein are intended for purposes of illustration only and are not intended to limit the scope of the present application.
[0126] Several embodiments of the present disclosure are described in detail above, but it is obvious that those skilled in the art can make various modifications and variations to the embodiments of the present disclosure without departing from the spirit and scope of the present disclosure. The protection scope of the present disclosure is defined by the attached claims.
Claims
1. A touch screen touch position detection method, wherein the touch screen comprises first scan lines arranged in an array along a first direction and second scan lines arranged in an array along a second direction, wherein the first direction is perpendicular to the second direction, and wherein: include: Acquire quantity information of first scan lines and second scan lines included in the touch screen; According to the quantity information of the first scanning lines and the second scanning lines, partitioning the touch area of the touch screen into a plurality of sub-touch areas; According to the partition result of the touch area of the touch screen in the first direction, sequentially applying the excitation signal to the first scan line included in each of the sub-touch areas, and acquiring the scan signal through the second scan line included in each of the sub-touch areas; Determine a target sub-touch area according to a scan signal obtained from a second scan line included in each of the sub-touch areas; When the number of the first scan lines or the second scan lines included in the target sub-touch area meets a preset threshold, determining the touch position according to the scan signal obtained from the second scan line included in the target sub-touch area; The determining the target sub-touch area according to the scan signal obtained by the second scan line included in each of the sub-touch areas includes: Determining a scan sum value signal of each of the sub-touch areas according to a scan signal obtained by a second scan line included in each of the sub-touch areas; Determine the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the first direction; or determine the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the second direction; The method of determining the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the first direction; or determining the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the second direction, comprises: Calculating a first difference value of scan sum value signals of two adjacent sub-touch areas arranged along a first direction, or calculating a second difference value of scan sum value signals of two adjacent sub-touch areas arranged along a second direction; determining a target sub-touch area according to the first difference or the second difference; The determining the target sub-touch area according to the first difference or the second difference includes: When the first difference is greater than zero, the target sub-touch area is a sub-touch area located on the upper side in the first direction, or when the second difference is greater than zero, the target sub-touch area is a sub-touch area located on the left side in the second direction; When the first difference is less than zero, the target sub-touch area is a sub-touch area located at the lower side in the first direction, or when the second difference is less than zero, the target sub-touch area is a sub-touch area located at the right side in the second direction.
2. The method according to claim 1, characterized in that The partitioning of the touch area of the touch screen to obtain a plurality of sub-touch areas according to the quantity information of the first scan lines and the second scan lines includes: According to the quantity information of the first scan lines, performing a first partitioning operation on the touch area of the touch screen in the first direction to obtain a first touch area and a second touch area; According to the information about the number of the second scan lines, the first touch area and the second touch area are partitioned for the second time in the second direction to obtain a plurality of sub touch areas.
3. The method according to claim 1, characterized in that The step of applying the excitation signal to the first scan lines included in each of the sub-touch areas in sequence according to the partition result of the touch area of the touch screen in the first direction, and acquiring the scan signal through the second scan lines included in each of the sub-touch areas, comprises: Applying an excitation signal to a first scan line included in the first touch area according to a result of partitioning the touch area of the touch screen in the first direction; sequentially acquiring scanning signals acquired by second scanning lines included in each sub-touch area in the first touch area; Applying an excitation signal to a first scan line included in the second touch area; The scanning signals acquired by the second scanning lines included in each sub-touch area in the second touch area are acquired in sequence.
4. The method according to claim 1, characterized in that: When the number of the first scan lines or the second scan lines included in the target sub-touch area meets a preset threshold, determining the touch position according to the scan signal obtained from the second scan line included in the target sub-touch area includes: When the number of first scan lines or second scan lines included in the target sub-touch area meets a preset threshold, simultaneously applying an excitation signal to any adjacent first scan line included in the target sub-touch area, and acquiring a scan signal acquired by any adjacent second scan line; The touch position is determined according to the scan signals acquired from the adjacent second scan lines included in the two adjacent sub-touch areas.
5. The method according to claim 1, characterized in that The method further comprises: When the number of the first scan lines and the second scan lines included in the target sub-touch area do not meet the preset threshold, the target sub-touch area is partitioned into multiple sub-touch areas according to the number information of the first scan lines and the second scan lines included in the target sub-touch area.
6. The method according to claim 1, characterized in that When the number of the first scan lines or the second scan lines included in the target sub-touch area meets a preset threshold, before determining the touch position according to the scan signal obtained from the second scan line included in the target sub-touch area, the method further includes: Acquire the number of first scan lines or second scan lines included in the target sub-touch area; A relationship between the number of the first scan lines or the second scan lines included in the target sub-touch area and a preset threshold is determined.
7. A touch screen touch position detection device, characterized in that: include: An information acquisition module, used to acquire quantity information of the first scan lines and the second scan lines included in the touch screen; a partitioning module, configured to partition the touch area of the touch screen into a plurality of sub-touch areas according to the quantity information of the first scan lines and the second scan lines; a scanning signal acquisition module, configured to sequentially apply an excitation signal to the first scanning lines included in each of the sub-touch areas according to the partition result of the touch area of the touch screen in the first direction, and acquire a scanning signal through the second scanning lines included in each of the sub-touch areas; a target sub-touch area determination module, configured to determine the target sub-touch area according to a scan signal acquired by a second scan line included in each of the sub-touch areas; a touch position determination module, configured to determine the touch position according to a scan signal obtained from a second scan line included in the target sub-touch area when the number of the first scan lines or the second scan lines included in the target sub-touch area meets a preset threshold; The determining the target sub-touch area according to the scan signal obtained by the second scan line included in each of the sub-touch areas includes: Determining a scan sum value signal of each of the sub-touch areas according to a scan signal obtained by a second scan line included in each of the sub-touch areas; Determine the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the first direction; or determine the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the second direction; The method of determining the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the first direction; or determining the target sub-touch area according to the scan sum value signal of two adjacent sub-touch areas arranged along the second direction, comprises: Calculating a first difference value of scan sum value signals of two adjacent sub-touch areas arranged along a first direction, or calculating a second difference value of scan sum value signals of two adjacent sub-touch areas arranged along a second direction; determining a target sub-touch area according to the first difference or the second difference; The determining the target sub-touch area according to the first difference or the second difference includes: When the first difference is greater than zero, the target sub-touch area is a sub-touch area located on the upper side in the first direction, or when the second difference is greater than zero, the target sub-touch area is a sub-touch area located on the left side in the second direction; When the first difference is less than zero, the target sub-touch area is a sub-touch area located at the lower side in the first direction, or when the second difference is less than zero, the target sub-touch area is a sub-touch area located at the right side in the second direction.
Citation Information
Patent Citations
Touch point positioning method and device and electronic device
CN103927042A
