CN-120161959-B - Capacitive screen touch point reporting method, electronic equipment and computer readable storage medium
Abstract
The application relates to the technical field of display, and provides a capacitive screen touch point reporting method, electronic equipment and a computer readable storage medium, wherein the method comprises the steps of detecting that a user touches a capacitive screen by a finger, and firstly acquiring a first capacitive set; the first capacitance set corresponds to an electrode array of the capacitive screen and comprises a plurality of capacitance values generated by touching the capacitive screen by a finger. And then, if the sum of the absolute values of all the capacitance values in the first capacitance set reaches the total capacitance threshold, performing capacitance value deduction on the abnormal capacitance value in the first capacitance set to obtain a second capacitance set, wherein the abnormal capacitance value is a capacitance value in an abnormal capacitance range, and the second capacitance set comprises the capacitance value obtained after performing capacitance value deduction on the abnormal capacitance value and the capacitance value which is not subjected to capacitance value deduction. And finally, touch point reporting is carried out according to the second capacitor set. According to the method, the floating degree of the abnormal capacitance value is relieved through buckling and relieving treatment, so that the problems of vanishing of the report point, generation of additional report points and the like are avoided, and normal touch control is ensured.
Inventors
- GAO CONGCONG
- ZHAO ZHE
- ZHAN WENSHU
Assignees
- 荣耀终端股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20231207
Claims (12)
- 1. A capacitive screen touch point reporting method, the method comprising: Detecting that a user touches a capacitive screen by a finger to obtain a first capacitance set, wherein the first capacitance set corresponds to an electrode array of the capacitive screen and comprises a plurality of capacitance values generated by touching the capacitive screen by the finger; If the sum of absolute values of all capacitance values in the first capacitance set reaches a total capacitance threshold, performing capacitance value deduction on the abnormal capacitance values in the first capacitance set to obtain a second capacitance set, wherein the abnormal capacitance values are capacitance values in an abnormal capacitance range; And carrying out touch reporting according to the second capacitance set, wherein the second capacitance set is a second capacitance matrix, and if the sum of absolute values of all capacitance values in the second capacitance matrix reaches the total capacitance threshold, and the product model of the capacitance screen is a preset product model and/or the capacitance screen is positioned in a capacitance whole screen descending scene, carrying out capacitance value deduction on abnormal capacitance values in the second capacitance matrix iteratively until a second capacitance matrix of which the sum of absolute values of all capacitance values does not reach the total capacitance threshold is obtained.
- 2. The method of claim 1, wherein the first set of capacitances is a first capacitance matrix.
- 3. The method of claim 2, wherein the performing capacitance value subtraction on the abnormal capacitance value in the first capacitance set to obtain a second capacitance set includes: traversing each row in the first capacitance matrix, detecting an abnormal capacitance value in each row, and respectively performing capacitance value deduction on the abnormal capacitance value in each row to obtain the second capacitance matrix; or traversing each column in the first capacitance matrix, detecting an abnormal capacitance value in each column, and respectively performing capacitance value deduction on the abnormal capacitance value in each column to obtain the second capacitance matrix; Or traversing each row in the first capacitance matrix, detecting an abnormal capacitance value in each row, respectively performing capacitance value deduction on the abnormal capacitance value in each row, traversing each column in the first capacitance matrix, detecting an abnormal capacitance value in each column, respectively performing capacitance value deduction on the abnormal capacitance value in each column, and obtaining the second capacitance matrix; Or traversing each column in the first capacitance matrix, detecting the abnormal capacitance value in each column, respectively performing capacitance value deduction on the abnormal capacitance value in each column, traversing each row in the first capacitance matrix, detecting the abnormal capacitance value in each row, respectively performing capacitance value deduction on the abnormal capacitance value in each row, and obtaining the second capacitance matrix.
- 4. A method according to claim 2 or 3, wherein capacitance subtraction of the abnormal capacitance value comprises: And dividing the abnormal capacitance values into blocks to obtain at least one abnormal capacitance block, wherein the abnormal capacitance values in the same abnormal capacitance block are subtracted by the same capacitance value, and two adjacent abnormal capacitance values with the capacitance absolute value difference smaller than or equal to a capacitance tolerance threshold value are divided into the same abnormal capacitance block, and the capacitance absolute value difference is the difference of the absolute values of the two adjacent abnormal capacitance values.
- 5. The method of claim 2 or 3, wherein subtracting the abnormal capacitance value from the capacitance value comprises calculating an average value of absolute values of the abnormal capacitance values, the abnormal capacitance value subtracting the average value.
- 6. A method according to any one of claims 1-3, characterized in that, in the iterative capacitive value subtraction, each capacitive value subtraction uses a different abnormal capacitance range to detect an abnormal capacitance value, and the abnormal capacitance range used last time is smaller than the abnormal capacitance range used last time.
- 7. The method of any of claims 1-3, wherein the capacitive full screen descent scenario comprises an area of a touch area of the capacitive screen exceeding an area threshold, a user touching the capacitive screen being in an insulated scenario, wherein the user touching the capacitive screen is determined to be in the insulated scenario when a maximum capacitance value in a capacitive matrix does not exceed an insulated capacitance threshold.
- 8. A method according to claim 2 or 3, wherein if the sum of the absolute values of each capacitance value in the first capacitance matrix reaches a total capacitance threshold, performing capacitance value subtraction on the abnormal capacitance value in the first capacitance matrix to obtain a second capacitance matrix, including: And if the sum of absolute values of all capacitance values in the first capacitance matrix reaches a total capacitance threshold, and the product model of the capacitance screen is a preset product model and/or the capacitance screen is positioned in a capacitance whole screen descending scene, performing capacitance value deduction on the abnormal capacitance values in the first capacitance matrix to obtain a second capacitance matrix.
- 9. A method according to claim 2 or 3, characterized in that the method further comprises: and if the sum of the absolute values of all the capacitance values in the first capacitance matrix does not reach the total capacitance threshold, touch reporting is carried out according to the first capacitance matrix.
- 10. The display module is characterized by comprising a capacitive screen, a display driving chip and a memory, wherein the capacitive screen and the memory are respectively coupled with the display driving chip, one or more computer program codes are stored in the memory, the computer program codes comprise computer instructions, and when the display driving chip executes the computer instructions, the display module is enabled to execute the capacitive screen touch point reporting method according to any one of claims 1-9.
- 11. An electronic device is characterized by comprising a display module, one or more processors and a memory, wherein the display module and the memory are respectively coupled with the processors; The display module comprises one or more capacitive screens and a display driving chip, wherein the display driving chip is used for collecting a first capacitance set and sending the first capacitance set to the processor when a user touches the capacitive screens by fingers; The memory has stored therein one or more computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the capacitive screen touch point-of-report method of any of claims 1-9.
- 12. A computer readable storage medium, having stored thereon a computer program, which, when executed by a processor of an electronic device, causes the electronic device to perform the capacitive screen touch point-of-report method of any of claims 1-9.
Description
Capacitive screen touch point reporting method, electronic equipment and computer readable storage medium Technical Field The embodiment of the application relates to the technical field of display, in particular to a capacitive screen touch point reporting method, electronic equipment and a computer readable storage medium. Background Capacitive screens (which may also be referred to as capacitive touch screens, capacitive touch screens) are typically a four-layer composite glass screen. The inner surface layer and the interlayer of the glass screen are respectively coated with an Indium Tin Oxide (ITO), and the outermost layer is generally a thin silica glass protective layer. The interlayer ITO coating is used as a working surface, four electrodes are led out from four corners, and the inner layer ITO is a shielding layer so as to ensure a good working environment. Briefly, a capacitive screen is a screen in which the location of a touch point is determined by the change in screen capacitance after a user touches. At present, the capacitive screen is deformed under the action of external force, and the corresponding screen capacitance is also changed. However, after the capacitive screen is deformed by compression, the screen capacitance assumes a state gradually decreasing outward with the compression position as the center. Therefore, when the capacitive screen is stressed more severely and the screen deformation is more serious, the problems that the report point of the finger touch point disappears or the additional report point is generated due to the fact that no finger touch exists or the abnormality occurs due to the fact that the capacitance value of the stressed position is too high are easily caused. Disclosure of Invention The embodiment of the application provides a touch point reporting method of a capacitive screen, electronic equipment and a computer readable storage medium, which are used for solving the problem that the point reporting disappears or additional point reporting is generated due to severe compression of the capacitive screen. In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme: The first aspect provides a touch point reporting method of a capacitive screen, which comprises the steps of detecting that a user touches the capacitive screen by a finger, and firstly obtaining a first capacitance set, wherein the first capacitance set corresponds to an electrode array of the capacitive screen and comprises a plurality of capacitance values generated by the finger touching the capacitive screen. And then, if the sum of the absolute values of all the capacitance values in the first capacitance set reaches the total capacitance threshold, performing capacitance value deduction on the abnormal capacitance value in the first capacitance set to obtain a second capacitance set, wherein the abnormal capacitance value is a capacitance value in an abnormal capacitance range, and the second capacitance set comprises the capacitance value obtained after performing capacitance value deduction on the abnormal capacitance value and the capacitance value which is not subjected to capacitance value deduction. And finally, touch point reporting is carried out according to the second capacitor set. In the first aspect, the total capacitance threshold is used for indicating whether the strength of the finger touch of the user causes the screen to be deformed severely. Therefore, when the sum of the absolute values of the capacitance values reaches the total capacitance threshold, the fact that the finger touch force of the user is relatively large at this time and relatively severe screen deformation is caused can be determined. Furthermore, the abnormal capacitance value of the first capacitance set is detected, the abnormal capacitance value is raised or lowered through deduction processing, and the floating degree of the abnormal capacitance value is relieved, so that the problems that the report point is disappeared and an additional report point is generated due to the fact that the capacitance floats severely because of compression deformation are avoided, normal operation of a screen after compression is ensured, and the touch control effect of a product is ensured. In another possible implementation manner of the first aspect, the first set of capacitors may be a first capacitor matrix and the second set of capacitors may be a second capacitor matrix according to a characteristic of a lateral and longitudinal distribution of the electrode array in the capacitive screen. Therefore, in order to improve the accuracy of abnormal capacitance value detection. In this implementation, the detection of the abnormal capacitance value and the capacitance value subtraction process may be performed by traversing each row and/or each column in the first capacitance matrix. Based on the above, the capacitance value deduction is performed o