Touchscreen reporting output methods, devices, storage media and electronic devices
By compensating for the capacitance value of abnormal areas of the capacitive touchscreen, the problem of damaged touchscreens failing to respond to user operations is solved, enabling normal use without replacing the screen and reducing maintenance costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2021-09-14
- Publication Date
- 2026-06-30
Smart Images

Figure CN115808985B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of touch screen technology, and in particular to a touch screen reporting output method, apparatus, storage medium, and electronic device. Background Technology
[0002] In daily life, touchscreens are one of the most frequently interacted devices between users and electronic devices. Touchscreens of electronic devices are often subjected to pressure, drops, or aging, which can cause damage to parts of the touchscreen. This can prevent the touchscreen chip from receiving the signals from the damaged area, thus preventing the electronic device from responding to the user's touch operations on the damaged area and affecting the user's touch experience.
[0003] In related technologies, when a touchscreen is damaged, users can only choose to replace the screen to ensure the touch performance of the electronic device's touchscreen and thus satisfy their own user experience. However, this approach will undoubtedly increase the user's expenses and thus increase the cost of using the electronic device. Summary of the Invention
[0004] To overcome the problems existing in the related technologies, this disclosure provides a touch screen reporting output method, apparatus, storage medium and electronic device.
[0005] According to a first aspect of the present disclosure, a point reporting output method for a touchscreen is provided, wherein the touchscreen is a capacitive touchscreen, the capacitive touchscreen includes a plurality of touch units, and the point reporting output method includes:
[0006] If a touch operation is detected on the touch screen, and an abnormal area exists in the touch area corresponding to the touch operation, the capacitance value of each touch unit in the abnormal area is compensated. The compensation is used to set the capacitance value of each touch unit in the abnormal area to a value that changes compared to the capacitance value of an untouched touch unit. The abnormal area includes touch units in the touch area whose capacitance values have not changed.
[0007] The reporting output is performed based on the capacitance value of each touch unit in the non-abnormal area of the touch area and the compensated capacitance value of each touch unit in the abnormal area.
[0008] Optionally, the step of outputting a reporting point based on the capacitance value of each touch unit in the non-abnormal area of the touch region and the compensated capacitance value of each touch unit in the abnormal area includes:
[0009] The initial reporting point is determined based on the capacitance value of each touch unit in the non-abnormal area of the touch area and the compensated capacitance value of each touch unit in the abnormal area.
[0010] When the initial reporting point is located in the abnormal region, acquire and output multiple historical reporting points prior to the initial reporting point;
[0011] A fitting curve is determined based on multiple historical reporting points, and a predicted reporting point is obtained based on the fitting curve;
[0012] The initial reported point is compared with the predicted reported point, and the initial reported point is corrected based on the comparison result, and the corrected initial reported point is output.
[0013] Optionally, compensating for the capacitance value of each touch unit in the abnormal area includes:
[0014] For each touch unit in the abnormal region, at least two target touch units adjacent to that touch unit are identified, wherein the target touch units are touch units whose capacitance values have changed;
[0015] The capacitance value of the touch unit is compensated based on the capacitance values of the at least two target touch units.
[0016] Optionally, compensating for the capacitance value of the touch unit based on the capacitance values of the at least two target touch units includes:
[0017] When the abnormal area is located in the center of the touch area, the capacitance value of the touch unit is compensated to a first value based on the capacitance values of the at least two target touch units, where the first value is greater than the capacitance value of each target touch unit; or,
[0018] When the abnormal area is located in the center of the touch area, the capacitance value of the touch unit is compensated to a second value based on the capacitance values of the at least two target touch units, and a preset reporting threshold is reduced. The second value is less than the maximum capacitance value among the at least two target touch units, and the touch unit whose capacitance value exceeds the reporting threshold is a reporting point.
[0019] Optionally, the method further includes:
[0020] The touch operation on the touch screen is detected, and the capacitance value of each touch unit in the touch area corresponding to the touch operation is obtained;
[0021] If the capacitance value of any of the touch units within the touch area remains unchanged, it is determined that an abnormal area exists within the touch area corresponding to the touch operation.
[0022] Optionally, the method further includes:
[0023] If an abnormal area is found in the touch area corresponding to the touch operation, an abnormal identifier is set for the touch unit in the abnormal area. The abnormal identifier is used to detect subsequent touch operations on the touch screen and determine that an abnormal area exists in the touch area corresponding to the touch operation.
[0024] Optionally, the reporting output method is applied to an application processor.
[0025] According to a second aspect of the present disclosure, a reporting output device for a touchscreen is provided, wherein the touchscreen is a capacitive touchscreen, and the capacitive touchscreen includes a plurality of touch units, including:
[0026] The compensation module is configured to detect touch operations on the touch screen, and when an abnormal area exists in the touch area corresponding to the touch operation, to compensate the capacitance value of each touch unit in the abnormal area. The compensation is used to set the capacitance value of each touch unit in the abnormal area to a value that changes compared to the capacitance value of an untouched touch unit. The abnormal area includes touch units in the touch area whose capacitance values have not changed.
[0027] The output module is configured to output based on the capacitance value of each touch unit in the non-abnormal area of the touch region and the compensated capacitance value of each touch unit in the abnormal area.
[0028] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, having stored thereon computer program instructions that, when executed by a processor, implement the steps of the touchscreen reporting output method provided in the first aspect of the present disclosure.
[0029] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising:
[0030] A memory on which computer programs are stored;
[0031] A processor; configured to execute the computer program in the memory to implement the steps of the touchscreen reporting output method provided in the first aspect of this disclosure.
[0032] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0033] If a touch operation is detected on the touchscreen, and an abnormal area exists in the corresponding touch area, the capacitance value of each touch unit in the abnormal area is compensated. This compensation sets the capacitance value of each touch unit in the abnormal area to a value that changes compared to the capacitance value of an untouched touch unit. In this way, based on the capacitance values of each touch unit in the non-abnormal area and the compensated capacitance values of each touch unit in the abnormal area, a reporting output can be generated. This avoids situations where the system cannot respond to touch operations performed by the user on a damaged area without replacing the screen, thus satisfying the user's preferred user experience.
[0034] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0035] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0036] Figure 1 This is a flowchart illustrating a touchscreen reporting output method according to an exemplary embodiment.
[0037] Figure 2 This is a schematic diagram illustrating capacitance data when a touchscreen with an abnormal area is touched, according to an exemplary embodiment.
[0038] Figure 3 This is another schematic diagram illustrating capacitance data when a touchscreen with an abnormal area is touched, according to an exemplary embodiment.
[0039] Figure 4 This is another flowchart illustrating a touchscreen reporting output method according to an exemplary embodiment.
[0040] Figure 5 This is a schematic diagram illustrating a correction of initial coordinates according to an exemplary embodiment.
[0041] Figure 6 This is a block diagram illustrating a touchscreen reporting output device according to an exemplary embodiment.
[0042] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0043] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0044] Figure 1 This is a flowchart illustrating a touchscreen reporting output method according to an exemplary embodiment, such as... Figure 1 As shown, the reporting output method is used in electronic devices, such as mobile phones, tablets, etc., and the reporting output method includes the following steps.
[0045] In step S101, a touch operation on the touch screen is detected. If an abnormal area exists in the touch area corresponding to the touch operation, the capacitance value of each touch unit in the abnormal area is compensated. The compensation is used to set the capacitance value of each touch unit in the abnormal area to a value that changes compared to the capacitance value of an untouched touch unit.
[0046] It should be noted that abnormal areas include touch units within the touch area whose capacitance values do not change. Therefore, the presence of abnormal areas in the touch area can be determined by whether the capacitance values of touch units within the touch area change. Specifically: a touch operation on the touchscreen is detected, and the capacitance value of each touch unit within the touch area corresponding to the touch operation is obtained; if the capacitance value of any touch unit within the touch area does not change, an abnormal area is determined to exist in the touch area corresponding to the touch operation.
[0047] by Figure 2 The diagram illustrates the capacitance values of a touchscreen with an abnormal area when touched, assuming the capacitance of untouched touch units is 0. This implies that the capacitance of touch units in the abnormal area is also 0. Figure 2 In the diagram, TX0 to TX6 represent the horizontal direction of the touchscreen, RX0 to RX15 represent the vertical direction, and the intersection of TX and RX represents the touch unit on the touchscreen, such as... Figure 2 As shown, the touch area is the area surrounded by touch units whose capacitance values change at the edge. Since the intersection of RX8 and TX4 is located within this touch area and the capacitance value of this intersection is 0, the area corresponding to this intersection is an abnormal area. This abnormal area is the area corresponding to a single point, which can easily cause sliding offset problems.
[0048] by Figure 3 The diagram shown illustrates another example of capacitance data when a touchscreen with an abnormal area is touched. Figure 3 In the diagram, TX0 to TX7 represent the horizontal direction of the touchscreen, RX0 to RX15 represent the vertical direction, and the intersection of TX and RX represents the touch unit on the touchscreen, such as... Figure 3 As shown, the touch area is the area surrounded by the touch unit whose capacitance value changes at the outermost edge. The capacitance values at the intersections of RX6 and TX4, RX7 and TX4, RX8 and TX4, and RX9 and TX4 are 0. The intersections of RX6 and TX4, RX7 and TX4, RX8 and TX4, and RX9 and TX4 are located within this touch area. That is, the area corresponding to the intersections of RX6 and TX4, RX7 and TX4, RX8 and TX4, and RX9 and TX4 is an abnormal area. This abnormal area is the area corresponding to multiple adjacent points, which can easily cause problems such as sliding breakage and sliding offset.
[0049] by Figure 2 Taking the schematic diagram as an example, if the capacitance value of the untouched touch unit is 0, then the intersection of RX8 and TX4 can be set to other values that produce a change compared to 0, such as 944.
[0050] It should be noted that the capacitance value of an untouched touch unit can be -1. In this case, the intersection of RX8 and TX4 can be set to a value that changes compared to -1, such as 944.
[0051] In step S102, a reporting point is output based on the capacitance value of each touch unit in the non-abnormal area of the touch area and the capacitance value of each touch unit in the abnormal area after compensation.
[0052] It should be noted that when there is a touch operation on the touchscreen, the capacitance value of the touch unit on the touchscreen will change. The specific location of the touch can be determined based on the magnitude of the capacitance value change. For example, the location of the touch unit with the largest capacitance value change is generally selected as the reporting location (the capacitance value of the reporting point exceeds a preset reporting threshold), and the reporting point is output. If the capacitance value of the abnormal area cannot be obtained, the correct reporting location cannot be identified.
[0053] Understandably, to avoid accidental touches, a reporting threshold can be set. The electronic device will only detect and output a report when the capacitance value of the touch unit in the touch area exceeds the reporting threshold. This disclosure describes a scheme for reporting output when a reporting threshold is set.
[0054] By monitoring touch operations on the touchscreen using the above method, if an abnormal area exists in the touch area corresponding to the touch operation, the capacitance value of each touch unit in the abnormal area is compensated. This compensation sets the capacitance value of each touch unit in the abnormal area to a value that changes compared to the capacitance value of an untouched touch unit. In this way, based on the capacitance values of each touch unit in the non-abnormal area and the compensated capacitance values of each touch unit in the abnormal area, point reporting can be performed. This avoids situations where the system cannot respond to touch operations performed by the user on a damaged area without replacing the screen, thus satisfying the user's preferred experience.
[0055] Among the possible approaches, refer to Figure 4 , Figure 1 The step of outputting a reporting point based on the capacitance value of each touch unit in the non-abnormal area of the touch region and the compensated capacitance value of each touch unit in the abnormal area may include the following steps:
[0056] In step S401, the initial reporting point is determined based on the capacitance value of each touch unit in the non-abnormal area of the touch area and the capacitance value of each touch unit in the compensated abnormal area.
[0057] It should be noted that the initial reporting point can be the location corresponding to the touch unit with the largest change in capacitance value in the touch area.
[0058] In step S402, when the initial reporting point is located in an abnormal region, multiple historical reporting points before the output initial reporting point are obtained.
[0059] For example, the location coordinates of the initial reporting point can be compared with the location coordinates of the abnormal area. If the location coordinates of the initial reporting point are within the abnormal area, it can be determined that the initial reporting point is located in the abnormal area.
[0060] For example, the number of historical reporting points can be set according to the actual situation, and this embodiment does not limit it.
[0061] In step S403, a fitting curve is determined based on multiple historical reporting points, and a predicted reporting point is obtained based on the fitting curve.
[0062] For example, a fitting curve can be determined based on the x-coordinate and y-coordinate of historical reporting points. Based on the equation corresponding to the fitting curve, the x-coordinate of the initial reporting point is substituted into the equation to determine the y-coordinate. The x-coordinate and the determined y-coordinate can then be used as the predicted reporting point.
[0063] For example, a fitting curve can be determined based on the x-coordinate and y-coordinate of the historical reporting points, resulting in two fitting curves. The x-coordinate of the predicted reporting point can be determined based on the trend of the fitting curve obtained from the fitting x-coordinate, and the y-coordinate of the predicted reporting point can be determined based on the trend of the fitting curve obtained from the fitting y-coordinate.
[0064] In step S404, the initial reported point and the predicted reported point are compared, and the initial reported point is corrected according to the comparison result, and the corrected initial reported point is output.
[0065] For example, the distances between the initial and predicted reporting points' x and y coordinates can be compared. Based on the relationship between the difference between these distances and a preset value and the preset distance (i.e., the comparison result), it can be determined whether to correct the initial reporting point. For instance, if the difference between the x and y coordinates of the initial and predicted reporting points is greater than or equal to the preset distance, the x and y coordinates of the predicted reporting point are directly replaced with the x and y coordinates of the initial reporting point to obtain the corrected x and y coordinates. Similarly, if the difference between the x and y coordinates of the initial and predicted reporting points is greater than or equal to the preset distance, the y and y coordinates of the predicted reporting point are directly replaced with the y and y coordinates of the initial reporting point to obtain the corrected y and y coordinates. Conversely, if the difference between the x and y coordinates of the initial and predicted reporting points is less than the preset distance, no coordinate replacement is performed.
[0066] Reference Figure 5 This is a schematic diagram illustrating the correction of initial coordinates. (See diagram below.) Figure 5 As shown, Figure 5 The points to the left of the predicted reporting points shown are the historical reporting points. The curve connecting the historical reporting points is the fitted curve. If the initial reporting point is used as the final reporting point, it will cause excessive jitter. Therefore, in order to make the fitted curve smoother, the predicted reporting points are predicted, and the position of the initial reporting point is corrected to the position of the predicted reporting point. This further reduces the deviation between the reporting point position and the actual operation position and improves the accuracy of the reporting points.
[0067] In the possible ways, Figure 1 The step of compensating the capacitance value of each touch unit in the abnormal region may include: for each touch unit in the abnormal region, determining at least two target touch units adjacent to the touch unit, wherein the target touch units are touch units whose capacitance values have changed; and compensating the capacitance value of the touch unit based on the capacitance values of the at least two target touch units.
[0068] by Figure 2Taking the capacitance value data shown as an example, for the touch unit represented by the intersection of RX8 and TX4, the touch unit represented by the intersection of RX8 and TX3, which is adjacent to the intersection of RX8 and TX4, and the touch unit represented by the intersection of RX8 and TX5 can be identified as the target touch unit. Furthermore, the capacitance value of the touch unit represented by the intersection of RX8 and TX4 is compensated according to the capacitance values 893 and 995 corresponding to the target touch unit.
[0069] By using the above method, since the capacitance value of the target touch unit adjacent to the touch unit in the abnormal area is the smallest difference from the capacitance value of the touch unit, selecting the capacitance values corresponding to at least two target touch units adjacent to the touch unit in the abnormal area to compensate for the capacitance value of the touch unit can ensure the accuracy of the numerical compensation.
[0070] In one possible manner, the step of compensating the capacitance value of a touch unit based on the capacitance values of at least two target touch units may include: when the abnormal area is located in the center of the touch area, compensating the capacitance value of the touch unit to a first value based on the capacitance values of at least two target touch units, wherein the first value is greater than the capacitance value of each target touch unit.
[0071] It should be noted that when the abnormal area is located in the center of the touch area, it indicates that the reporting point is most likely to occur within the abnormal area. If the reporting point is actually located in the abnormal area, and the compensation value of the touch unit in the abnormal area is lower than the preset threshold, the electronic device will experience a point loss problem, meaning that no point reporting operation will be performed.
[0072] Considering the above, the capacitance value of the touch unit in the abnormal area can be compensated to be greater than the capacitance value of each target touch unit, thereby increasing the probability of reporting a point and reducing the probability of missing a point.
[0073] In one possible manner, the step of compensating the capacitance value of a touch unit based on the capacitance values of at least two target touch units may include: when the abnormal area is located in the center of the touch area, compensating the capacitance value of the touch unit to a second value based on the capacitance values of at least two target touch units, and reducing a preset reporting threshold, wherein the second value is less than the maximum capacitance value among the at least two target touch units, and the touch unit whose capacitance value exceeds the reporting threshold is a reporting point.
[0074] Based on the same considerations, the capacitance value of the touch unit in the abnormal area can be compensated to be less than the maximum capacitance value among at least two target touch units, while the reporting threshold is lowered to increase the probability of reporting a point and reduce the probability of missing a point.
[0075] For example, the second value can be the average capacitance value of all target touch units.
[0076] In one possible approach, the method further includes: when it is determined that there is an abnormal area in the touch area corresponding to the touch operation, setting an abnormal identifier for the touch unit in the abnormal area, the abnormal identifier being used to subsequently detect touch operations on the touch screen and determine that there is an abnormal area in the touch area corresponding to the touch operation.
[0077] Understandably, if subsequent monitoring detects that the touch area corresponding to a touch operation on the touchscreen includes touch units with an abnormality flag, it can be directly determined that there is an abnormal area in the touch area corresponding to the touch operation, without needing to obtain the unit value of each touch unit in the touch area to determine whether there is an abnormal area, thus improving the efficiency of abnormal area determination.
[0078] Furthermore, it can be understood that if the touch area corresponding to the touch operation on the touchscreen is not included in the touch unit with the abnormality indicator, the presence of an abnormal area in the touch area corresponding to the touch operation can be determined by whether the capacitance value of each touch unit in the touch area corresponding to the touch operation changes.
[0079] For example, touch units with error flags can be saved in the file system to prevent the error flags from being lost after a restart.
[0080] In one possible approach, the point reporting output method can be applied to an application processor. Considering that point reporting algorithms in related technologies are all processed by touch chips, and the processing power of touch chips is relatively weak, this can lead to high latency for computationally complex algorithms. Therefore, using an application processor to execute the point reporting output method can reduce the point reporting latency.
[0081] Figure 6 This is a block diagram illustrating a touchscreen reporting output device according to an exemplary embodiment. (Refer to...) Figure 6 The device includes a compensation module 601 and an output module 602.
[0082] The compensation module 601 is configured to detect touch operations on the touch screen, and when an abnormal area exists in the touch area corresponding to the touch operation, to compensate the capacitance value of each touch unit in the abnormal area. The compensation is used to set the capacitance value of each touch unit in the abnormal area to a value that changes compared to the capacitance value of an untouched touch unit. The abnormal area includes touch units in the touch area whose capacitance values have not changed.
[0083] The output module 602 is configured to output based on the capacitance value of each touch unit in the non-abnormal area of the touch region and the compensated capacitance value of each touch unit in the abnormal area.
[0084] Optionally, the output module 602 includes:
[0085] The determination submodule is configured to determine the initial reporting point based on the capacitance value of each touch unit in the non-abnormal area of the touch area and the compensated capacitance value of each touch unit in the abnormal area.
[0086] The acquisition submodule is configured to acquire and output multiple historical reporting points prior to the initial reporting point when the initial reporting point is located in the abnormal region;
[0087] The fitting submodule is configured to determine a fitting curve based on multiple historical reporting points, and to obtain predicted reporting points based on the fitting curve.
[0088] The output submodule is configured to compare the initial reporting point with the predicted reporting point, correct the initial reporting point based on the comparison result, and output the corrected initial reporting point.
[0089] Optionally, the compensation module 601 includes:
[0090] The target touch unit determination submodule is configured to determine at least two target touch units adjacent to each touch unit in the abnormal region, wherein the target touch units are touch units whose capacitance values have changed.
[0091] The compensation submodule is configured to compensate the capacitance value of the touch unit based on the capacitance values of the at least two target touch units.
[0092] Optionally, the compensation submodule includes:
[0093] The first compensation submodule is configured to, when the abnormal area is located in the center area of the touch area, compensate the capacitance value of the touch unit to a first value based on the capacitance values of the at least two target touch units, wherein the first value is greater than the capacitance value of each of the target touch units;
[0094] The first compensation submodule is configured to, when the abnormal area is located in the center area of the touch area, compensate the capacitance value of the touch unit to a second value based on the capacitance values of the at least two target touch units, and reduce a preset reporting threshold, wherein the second value is less than the maximum capacitance value among the at least two target touch units, and the touch unit whose capacitance value exceeds the reporting threshold is a reporting point.
[0095] Optionally, the device 600 further includes:
[0096] The capacitance value acquisition submodule is configured to detect touch operations on the touch screen and acquire the capacitance value of each touch unit in the touch area corresponding to the touch operation;
[0097] The abnormal area determination submodule is configured to determine that an abnormal area exists in the touch area corresponding to the touch operation if the capacitance value of any of the touch units in the touch area remains unchanged.
[0098] Optionally, the device 600 further includes:
[0099] The setting module is configured to set an abnormal identifier for the touch unit in the abnormal area when it is determined that there is an abnormal area in the touch area corresponding to the touch operation. The abnormal identifier is used to detect touch operations on the touch screen in the future and determine that there is an abnormal area in the touch area corresponding to the touch operation.
[0100] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0101] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the reporting output method provided in this disclosure.
[0102] This disclosure also provides an electronic device, including:
[0103] A memory on which computer programs are stored;
[0104] A processor; configured to execute the computer program in the memory to implement the steps of the reporting output method provided in this disclosure.
[0105] Figure 7 This is a block diagram illustrating an electronic device 700 according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0106] Reference Figure 7 The electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 712, a sensor component 714, and a communication component 716.
[0107] Processing component 702 typically controls the overall operation of electronic device 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-described reporting output method. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
[0108] Memory 704 is configured to store various types of data to support the operation of electronic device 700. Examples of this data include instructions for any application or method operating on electronic device 700, contact data, phonebook data, messages, pictures, videos, etc. Memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0109] Power component 706 provides power to various components of electronic device 700. Power component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 700.
[0110] Multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0111] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when electronic device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
[0112] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0113] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of electronic device 700. For example, sensor assembly 714 can detect the on / off state of electronic device 700, the relative positioning of components such as the display and keypad of electronic device 700, changes in position of electronic device 700 or a component of electronic device 700, the presence or absence of user contact with electronic device 700, orientation or acceleration / deceleration of electronic device 700, and temperature changes of electronic device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0114] Communication component 716 is configured to facilitate wired or wireless communication between electronic device 700 and other devices. Electronic device 700 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0115] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described reporting output method.
[0116] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, which can be executed by a processor 720 of an electronic device 700 to complete the above-described reporting output method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0117] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the above-described reporting output method when executed by the programmable device.
[0118] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of this disclosure. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0119] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for reporting points on a touchscreen, characterized in that, The reporting output method includes: If a touch operation is detected on the touchscreen, and an abnormal area exists in the touch area corresponding to the touch operation, the capacitance value of each touch unit in the abnormal area is compensated. The touchscreen is a capacitive touchscreen, comprising multiple touch units. The compensation sets the capacitance value of each touch unit in the abnormal area to a value that changes compared to the capacitance value of an untouched touch unit. The abnormal area includes touch units within the touch area whose capacitance values have not changed. The compensation of the capacitance value of each touch unit in the abnormal area includes: For each touch unit in the abnormal region, at least two target touch units adjacent to that touch unit are identified, wherein the target touch units are touch units whose capacitance values have changed; Based on the capacitance values of the at least two target touch units, the capacitance value of the touch unit is compensated. This compensation includes: when the abnormal area is located in the center of the touch area, compensating the capacitance value of the touch unit to a first value based on the capacitance values of the at least two target touch units, where the first value is greater than the capacitance value of each target touch unit; or, when the abnormal area is located in the center of the touch area, compensating the capacitance value of the touch unit to a second value based on the capacitance values of the at least two target touch units, and reducing a preset reporting threshold, where the second value is less than the maximum capacitance value among the at least two target touch units, and touch units whose capacitance values exceed the reporting threshold are considered reporting points. The reporting output is performed based on the capacitance value of each touch unit in the non-abnormal area of the touch area and the compensated capacitance value of each touch unit in the abnormal area.
2. The reporting output method according to claim 1, characterized in that, The step of reporting points based on the capacitance value of each touch unit in the non-abnormal area of the touch region and the compensated capacitance value of each touch unit in the abnormal area includes: The initial reporting point is determined based on the capacitance value of each touch unit in the non-abnormal area of the touch area and the compensated capacitance value of each touch unit in the abnormal area. When the initial reporting point is located in the abnormal region, acquire and output multiple historical reporting points prior to the initial reporting point; A fitting curve is determined based on multiple historical reporting points, and a predicted reporting point is obtained based on the fitting curve; The initial reported point is compared with the predicted reported point, and the initial reported point is corrected based on the comparison result, and the corrected initial reported point is output.
3. The reporting output method according to claim 2, characterized in that, The method further includes: The touch operation on the touch screen is detected, and the capacitance value of each touch unit in the touch area corresponding to the touch operation is obtained; If the capacitance value of any of the touch units within the touch area remains unchanged, it is determined that an abnormal area exists within the touch area corresponding to the touch operation.
4. The reporting output method according to claim 3, characterized in that, The method further includes: If an abnormal area is found in the touch area corresponding to the touch operation, an abnormality identifier is set for the touch unit in the abnormal area. The abnormality identifier is used to detect subsequent touch operations on the touch screen and determine that an abnormal area exists in the touch area corresponding to the touch operation.
5. The reporting output method according to any one of claims 1-3, characterized in that, The reporting output method is applied to the application processor.
6. A touchscreen reporting output device, characterized in that, include: A compensation module is configured to detect touch operations on the touchscreen. If an abnormal area exists in the touch area corresponding to the touch operation, the module compensates for the capacitance value of each touch unit in the abnormal area. The touchscreen is a capacitive touchscreen and includes multiple touch units. The compensation sets the capacitance value of each touch unit in the abnormal area to a value that changes compared to the capacitance value of an untouched touch unit. The abnormal area includes touch units within the touch area whose capacitance values have not changed. Compensating for the capacitance value of each touch unit in the abnormal area includes: for each touch unit in the abnormal area, identifying at least two target touch units adjacent to that touch unit, where the target touch units are touch units whose capacitance values have changed. The capacitance value of the touch unit is compensated based on the capacitance values of the at least two target touch units. This compensation includes: when the abnormal area is located in the center of the touch area, compensating the capacitance value of the touch unit to a first value based on the capacitance values of the at least two target touch units, where the first value is greater than the capacitance value of each target touch unit; or, when the abnormal area is located in the center of the touch area, compensating the capacitance value of the touch unit to a second value based on the capacitance values of the at least two target touch units, and reducing a preset reporting threshold, where the second value is less than the maximum capacitance value among the at least two target touch units, and touch units with capacitance values exceeding the reporting threshold are considered reporting points. The output module is configured to output based on the capacitance value of each touch unit in the non-abnormal area of the touch region and the compensated capacitance value of each touch unit in the abnormal area.
7. An electronic device, characterized in that, include: A memory on which computer programs are stored; processor; Used to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When executed by a processor, the program instructions implement the steps of the method described in any one of claims 1 to 5.