WO2023046108A1 - Panel parameter adjustment method and apparatus, and electronic device - Google Patents

Panel parameter adjustment method and apparatus, and electronic device Download PDF

Info

Publication number
WO2023046108A1
WO2023046108A1 PCT/CN2022/121023 CN2022121023W WO2023046108A1 WO 2023046108 A1 WO2023046108 A1 WO 2023046108A1 CN 2022121023 W CN2022121023 W CN 2022121023W WO 2023046108 A1 WO2023046108 A1 WO 2023046108A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
touch
data
value
adjustment
Prior art date
Application number
PCT/CN2022/121023
Other languages
French (fr)
Chinese (zh)
Inventor
龚德强
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023046108A1 publication Critical patent/WO2023046108A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a screen parameter adjustment method, device and electronic equipment.
  • CTP capacitive Touch Panel
  • the self-mutual capacitance value of the touch screen changes, and the capacitance sensing value (Rawdata) obtained by the touch IC through row and column scanning sampling will change, and the coordinates of the touch point are calculated by detecting the change in Rawdata, and Report the coordinate data to the electronic device.
  • the capacitance difference data (diffdata) representing the variation of the Rawdata is obtained.
  • the diffdata is used as input to obtain the touch through a complex touch algorithm. The coordinates of the point.
  • the temperature change of the touch screen environment will cause the Rawdata obtained by IC scanning to be abnormal (for example, lifted), resulting in problems such as false alarm points, no function, and insensitive clicks on the touch screen.
  • the currently commonly used optimization method is: when the finger touches the touch screen, update the baseline data (Baseline) to offset the abnormal lifting value of diffdata in the non-touch area, and then when the finger leaves the touch screen After that, update the Baseline again to restore the Baseline again.
  • the touch IC Since the above method updates the Baseline when the touch screen receives touch input, and the touch IC will not calculate the coordinates when updating the base, so when the touch input is received In the case of updating the Baseline, the accuracy of the current touch input reporting points will be low, such as missing points or disconnection, resulting in poor user experience.
  • the purpose of the embodiments of the present application is to provide a screen parameter adjustment method, device and electronic equipment, which can solve the problem of poor user experience due to low accuracy of touch input reporting.
  • the embodiment of the present application provides a screen parameter adjustment method, the method includes: acquiring the first reference data of the screen, the above-mentioned screen includes N areas, and the above-mentioned first reference data includes: the first reference data corresponding to each area Touch response reference value, N is a positive integer; in the case of meeting the first predetermined condition, obtain the second reference data of the screen; the second reference data includes: the second touch response reference value corresponding to each area; based on The amount of change between the first touch response reference value and the second touch response reference value corresponding to each area adjusts the target parameters of the screen; wherein, the first reference data is the reference data acquired at the first time, and the second The reference data is reference data acquired at a second time, and the second time is later than the first time; the target parameters include at least one of the following: update rate of reference data, noise threshold, and response threshold.
  • the embodiment of the present application provides a device for adjusting screen parameters, the device includes: an acquisition module and an adjustment module, wherein: the acquisition module is used to acquire the first reference data of the screen, the screen includes N areas,
  • the above-mentioned first reference data includes: a first touch response reference value corresponding to each area, and N is a positive integer; the above-mentioned obtaining module is also used to obtain the second reference data of the screen when the first predetermined condition is met;
  • the above-mentioned second reference data includes: a second touch response reference value corresponding to each area; value, adjust the target parameters of the screen; wherein, the above-mentioned first reference data is the reference data obtained at the first time, and the above-mentioned second reference data is the reference data obtained at the second time, and the above-mentioned second time is later At the first time;
  • the target parameter includes at least one of the following: an update rate of reference data, a noise threshold, and a response threshold.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • an embodiment of the present application provides a computer program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect.
  • the screen parameter adjustment device acquires the first reference data of the screen, the screen includes N areas, the first reference data includes: the first touch response reference value corresponding to each area, and N is a positive integer , and when the first predetermined condition is met, acquire the second reference data of the screen, the second reference data includes: the second touch response reference value corresponding to each area, and then, based on the first touch response reference value corresponding to each area
  • the change amount between the touch response reference value and the second touch response reference value adjusts target parameters of the screen, and the target parameters include at least one of the following: update rate of reference data, noise threshold, and response threshold.
  • the screen parameter adjustment device can adjust the update rate, noise threshold, response threshold, etc.
  • Fig. 1 is one of the experimental data schematic diagrams of a screen parameter adjustment method provided in the embodiment of the present application
  • Fig. 2 is the second schematic diagram of experimental data of a screen parameter adjustment method provided in the embodiment of the present application.
  • Fig. 3 is one of the flowcharts of the screen parameter adjustment method provided by the embodiment of the present application.
  • Fig. 4 is the second flow chart of the screen parameter adjustment method provided by the embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a screen parameter adjustment device provided in an embodiment of the present application.
  • FIG. 6 is one of the schematic diagrams of the hardware structure of an electronic device provided in the embodiment of the present application.
  • FIG. 7 is a second schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • Capacitive touch detects fingers by detecting changes in self-mutual capacitance caused by finger touches.
  • the capacitance value of the self-mutual capacitance changes, and the capacitive sensing data (that is, Rawdata) obtained by the touch IC through row and column scanning sampling will change, and the coordinates of the touch point are calculated by detecting the variation of Rawdata, and then the coordinate data is passed through SPI/I2C reports to the terminal IC, which is the whole process of touch event sampling.
  • the touch IC After the touch IC acquires Rawdata through scanning and sampling, it will establish a baseline data (Baseline). The touch IC will establish a Baseline with a frame of Rawdata with no touch event and a high level of full-screen data. The capacitance difference of each frame of data The value data (diffdata) is obtained by subtracting the Baseline from the Rawdata collected in each frame scan, and the diffdata goes through a series of filtering, center of gravity, and smoothing algorithms to obtain the actual coordinates of the touch point. As shown in (a) in Figure 1, it is the diffdata data obtained when a single finger is touched. When a touch event occurs, the envelope of the touch area (dotted line box) can be clearly captured on the diffdata plane (that is, a frame of difference data is obtained). Area).
  • the processing effect of existing touch screen algorithms is poor.
  • the capacitive touch IC detects the finger by detecting the self-mutual capacitance value change caused by the finger touch, so the temperature change will cause the signal amount detected by the IC That is, the Rawdata changes, especially in the self-capacitance scanning mode.
  • the self-capacitance scanning detects the finger by detecting the change of the coupling capacitance of the sensor to the ground, which is more affected by the temperature.
  • the Rawdata obtained by IC scanning sampling will be relatively small, and in the high temperature mode, the Rawdata obtained by IC scanning will be relatively large, and the lower the temperature, the smaller the Rawdata, and the higher the temperature, the larger the Rawdata.
  • Rawdata When the electronic device is switched from a low-temperature environment to a high-temperature environment, Rawdata will increase as a whole. If the update of the Baseline plane is slow or stops, the value of the Rawdata plane will increase relative to the value of the Baseline plane as a whole, showing that the diffdata in most areas is A positive value, as shown in (b) in Figure 1, is the diffdata data obtained when switching from low temperature to high temperature without touch. If the diffdata of the non-touch area exceeds the reporting point threshold, it will display false alarm points and reduce user experience;
  • the Rawdata When the electronic device switches from a high temperature environment to a low temperature environment, the Rawdata will decrease as a whole, and the value of the Rawdata plane will decrease as a whole relative to the value of the Baseline plane, showing that the diffdata in most areas is a negative value, as shown in Figure 1 As shown in (c), it is the diffdata data obtained when there is no touch at high temperature and low temperature.
  • the negative value in the touch area will offset the sensing amount generated by the finger.
  • the sensing amount of the finger When the sensing amount of the finger is lower than the reporting threshold, the touch screen will show no function , The click is not sensitive, reducing the user experience.
  • the baseline data is strengthened when the finger is touched, and the abnormal lifting value of the diffdata in the non-touch area is removed, and then the baseline data is updated again after the hand is raised, and the Baseline including the finger touch sensing amount will be restored to the Baseline under the five-touch state, but Since the diffdata is obtained by subtracting the Baseline from the Rawdata, the touch IC will not calculate the coordinates and report points when updating the baseline data, so updating the baseline data when there is a touch will lead to missing points and disconnection problems , affecting user experience;
  • the electronic device host After the electronic device host monitors the temperature information, it will notify the touch IC in real time through SPI/I2C, and the IC detects the high and low temperature environment change information to perform related algorithm preprocessing.
  • This processing also has two disadvantages.
  • the main control detection of electronic equipment The temperature is the internal temperature, which has a certain difference from the temperature of the touch screen node capacitance.
  • the software implementation effect may not be good.
  • increasing the interaction information between the main control and the touch IC will increase the hardware power consumption and software development costs, and it is not easy to deliver the effect of the whole machine. .
  • the present application proposes a method for optimizing the touch effect of switching between high and low temperatures according to the differences in temperature sensitivity of node capacitances in different areas of the touch screen. Based on the external structure of electronic equipment, it is realized to analyze the sensitivity difference of the touch screen capacitance node to the temperature difference change, and to detect the ambient temperature according to the difference of the Rawdata data collected by the nodes in different regions brought about by the temperature difference change.
  • the relevant algorithms are quickly switched for data processing, avoiding false positives, non-functional and insensitive problems, and improving user experience.
  • FIG. 2 Taking a mobile phone whose electronic device is a single speaker hole at the bottom of the full screen as an example, its appearance is shown in (a) in FIG. 2 . Since the bottom of the electronic device is equipped with USB ports, speakers, earphone holes, and microphone holes, compared with the top area (camera area), the bottom area of the touch screen has a larger contact area with the air and is more affected by temperature changes, especially the right The lower corner area is most sensitive to temperature changes.
  • FIG. 2 is a schematic diagram of the detected node Baseline data in a normal temperature (25°C) environment and no touch input on the screen of the electronic device. It can be seen from (b) in Figure 2 that the rectangular The overall data difference between the Baseline data in the frame 21a and the Baseline data in the rectangular frame 22a is small, that is, the overall difference in the capacitance value between the upper right corner area of the screen and the lower right corner area of the screen is small.
  • FIG. 2 is a schematic diagram of the detected node Baseline data in a low temperature (minus 15°C) environment, and the screen of the electronic device has no touch input, as can be seen from (c) in Figure 2,
  • the overall data difference between the Baseline data in the rectangular frame 21b and the Baseline data in the rectangular frame 22b is relatively large, that is, the overall difference in capacitance values between the upper right corner area of the screen and the lower right corner area of the screen is relatively large.
  • FIG. 2 is a schematic diagram of the detected node Baseline data in a high temperature (50°C) environment, and the screen of the electronic device has no touch input. It can be seen from (d) in Figure 2 that the rectangular frame The overall data difference between the Baseline data in 21c and the Baseline data in the rectangular frame 22c is relatively large, that is, the capacitance values in the upper right corner area of the screen and the lower right corner area of the screen are generally different.
  • the touch chip (that is, the touch IC) can scan each node of the screen through row scanning or column scanning, obtain the capacitive sensing data (Rawdata) of each node of the screen, and further determine the benchmark Value (Baseline). That is to say, the arrangement of the data in FIG. 2 is consistent with the arrangement order of the nodes on the screen of the electronic device, and there is a corresponding relationship between the area where the data is located in FIG. 2 and the screen area. For example, the area where the rectangular frame 21a in FIG. 2 is located corresponds to the upper right corner area of the screen.
  • the Baseline data is determined based on the Rawdata data obtained by scanning the touch IC, the Baseline data can reflect the data characteristics of the corresponding Rawdata data.
  • the reason for switching from a low-temperature environment to a high-temperature environment is that it is easy to misreport points: the Baseline value in the bottom area of the screen is small in a low-temperature environment, and the node capacitance in the bottom area returns to temperature faster after the low temperature returns to high temperature. The value of Rawdata at the bottom rises rapidly, and the value of diffdata at the bottom of the screen increases to a positive value. At this time, if the touch screen is in the touch state for a long time, the Baseline has not been updated or the update is slow. The diffdata value of the non-touch area rises too high and reaches the reporting threshold, so the key to processing is to include two points:
  • FIG. 3 shows a flow chart of the method for adjusting screen parameters provided by the embodiment of the present application.
  • the screen parameter adjustment method provided by the embodiment of the present application may include the following steps 201 to 203:
  • Step 201 Acquiring first reference data of the screen.
  • the above-mentioned screen includes N areas
  • the above-mentioned first reference data includes: a first touch response reference value corresponding to each area, and N is a positive integer.
  • the above-mentioned first reference data may be one frame of reference data of the screen.
  • the above-mentioned one frame of first reference data includes at least one piece of data.
  • the above-mentioned first reference data includes M*N node data.
  • the above-mentioned first detection data may be benchmark data Baseline, which is used for the current obtained third detection data (Rawdata) when the screen currently receives touch input. Do the difference to get the capacitance difference data (diffdata).
  • the screen parameter adjustment device may acquire a frame of third detection data of the screen.
  • capacitance difference data is used to determine the coordinates of the touch point of the touch input.
  • the above-mentioned first touch response reference value is the value of the above-mentioned first reference data.
  • the first touch response reference value of area 1 is the touch response reference value of the lower right corner of the screen
  • the first touch response reference value of area 2 is the touch response reference value of the upper right corner of the screen.
  • the capacitive sensing data of the screen area in the lower right corner is more susceptible to the influence of the temperature difference of the external environment than the capacitive sensing data of the screen area in the upper right corner. Therefore, based on these two The sensing data of the area is used to judge the temperature difference outside.
  • the screen parameter adjustment device may establish a Baseline matrix corresponding to the first benchmark data, so as to calculate or process the benchmark data through the Baseline matrix .
  • the above-mentioned Baseline matrix can also be called a Baseline plane, and the Baseline plane can be a rectangular plane, and the benchmark data in the plane corresponds to the benchmark data of the entire area of the screen, and is used to represent a frame of benchmark data of the screen overall volatility.
  • the device for adjusting screen parameters may acquire the reference data of the upper right corner area of the Baseline plane, so as to obtain the reference data of the upper right corner area of the screen.
  • Step 202 Acquiring second reference data of the screen when the first predetermined condition is met.
  • the above-mentioned second reference data includes: a second touch response reference value corresponding to each area.
  • the first reference data is reference data obtained at a first time
  • the second reference data is reference data obtained at a second time
  • the second time is later than the first time
  • the above-mentioned first predetermined condition includes: the capacitance sensing value in a frame of third detection data fluctuates, that is, the capacitance sensing value changes as a whole.
  • the screen parameter adjustment device after the screen parameter adjustment device acquires the third detection data, it can obtain the difference data diffdata based on the third detection data and the above-mentioned first reference data, and determine the value of the third detection data by detecting the change amount of the diffdata whether fluctuations occur. Further, if the value of diffdata changes, the value representing the third detection data changes. For example, if the overall diffdata tends to 0, then the numerical value representing the third detection data does not fluctuate; when the overall diffdata data is large, the numerical value representing the third detection data fluctuates.
  • the above-mentioned second reference data may be an updated frame of second reference data.
  • the above-mentioned first reference data may be currently obtained updated data for the first reference data.
  • the screen parameter adjustment may obtain the second reference data of the screen at any time (ie, the second time) after the first reference data of the screen is obtained. Since the benchmark data of the screen can be updated slowly, the second benchmark data acquired at the second time may be different from the first benchmark data acquired before, that is, the second benchmark data acquired at the second time may be updated After the first benchmark data.
  • the screen parameter adjustment device will obtain the current capacitive sensing data (ie Rawdata), if external factors such as temperature cause the acquisition If the value of the current capacitive sensing data rises or falls abnormally, the current baseline data (ie, Baseline) will also change accordingly to offset the abnormal value of the capacitive sensing data, so as to obtain a more accurate report of the touch input.
  • the current capacitive sensing data ie Rawdata
  • the current baseline data ie, Baseline
  • the screen parameter adjustment device may establish a Rawdata matrix corresponding to the Rawdata, so as to calculate or process the capacitive sensing data through the Rawdata matrix.
  • the aforementioned Rawdata matrix may also be called a Rawdata plane.
  • the device for adjusting screen parameters may obtain updated second reference data of a frame when it detects data fluctuations in the current capacitive sensing data (ie, Rawdata).
  • the screen parameter adjustment device acquires the current Baseline plane when it detects that the data of the current Rawdata plane fluctuates.
  • Step 203 Adjust the target parameter of the screen based on the variation between the first touch response reference value and the second touch response reference value corresponding to each area.
  • the above-mentioned target parameters include at least one of the following: an update rate of reference data, a noise threshold, and a response threshold, and the above-mentioned response threshold may be a reporting threshold of a screen.
  • the above N areas may include the first area and the second area
  • step 203 may include the following steps 203a to 203c:
  • Step 203a The screen parameter adjustment device acquires the first variation between the first touch response reference value of the first area and the second touch response reference value of the first area, and the first touch response reference value of the second area The second variation between the value and the second touch response reference value.
  • Step 203b The screen parameter adjustment device determines the first value according to the first variation and the second variation.
  • Step 203c the screen parameter adjustment device adjusts the target parameter of the screen according to the above-mentioned first value.
  • the above-mentioned first area and second area may be symmetrical areas on the screen.
  • the first area is the upper right area of the screen, and the second area is the lower right area of the screen.
  • the first area is the upper half area of the screen, and the second area is the lower half area of the screen.
  • the above-mentioned first change amount may be the difference between the first touch response reference value corresponding to the first area and the second touch response reference value; the above-mentioned second change amount may be the second touch response reference value corresponding to the second area.
  • the above-mentioned first numerical value may be a ratio between the above-mentioned first change amount and the above-mentioned second change amount.
  • the screen parameter adjustment device may adjust the target parameter of the screen based on the ratio between the above-mentioned change amounts corresponding to each area.
  • step 203c may include the following steps 203c1 and 203c2:
  • Step 203c1 The screen parameter adjustment device determines an adjustment strategy according to the target value range of the first value.
  • Step 203c2 The screen parameter adjustment device adjusts the target parameter of the screen based on the above adjustment strategy.
  • the device for adjusting screen parameters may determine the target value range of the ratio in at least one preset value range, and then adjust the target parameter of the screen. Further, a preset value range corresponds to an adjustment strategy.
  • the screen parameter adjustment device may determine the first difference between the first touch response reference value and the second touch response reference value of the first area, and determine the first touch response reference value of the second area value and the second touch response reference value, then calculate the ratio of the first difference to the second difference, and determine the numerical range of the ratio, and finally, according to the numerical value of the ratio
  • the adjustment strategy corresponding to the range is used to adjust the target parameters of the screen in a targeted manner.
  • step 203c1 may include the following step 204a or step 204b:
  • Step 204a When the first numerical value is in the first numerical range, determine the adjustment strategy as the first adjustment strategy.
  • the above-mentioned first adjustment strategy includes: adjusting the update rate of the reference data of the screen to the first update rate, and adjusting the noise threshold to the first noise threshold, the above-mentioned first update rate is greater than the update rate before adjustment, and the above-mentioned first The noise threshold is greater than the noise threshold before adjustment.
  • Step 204b When the first numerical value is in the second numerical range, determine that the adjustment strategy is the second adjustment strategy.
  • the second adjustment strategy includes: adjusting the update rate of the reference data of the screen to the second update rate, and adjusting the response threshold to the first response threshold, and the first response threshold is smaller than the response threshold before adjustment.
  • the apparatus for adjusting screen parameters may determine the adjustment strategy according to the value range of the first value and the magnitudes of the first change amount and the second change amount.
  • the above-mentioned first numerical range and the above-mentioned second numerical range can be [ ⁇ , + ⁇ ), the above-mentioned first variation (that is, the first difference) can be represented by ⁇ R1, and the above-mentioned second variation ( That is, the second difference) can be represented by ⁇ R2, and the above-mentioned first value (ie, the ratio) can be represented by ⁇ R1/ ⁇ R2.
  • the following is the adjustment strategy for the target parameters of the screen according to the value range of the first value and the size of the first change amount and the second change amount:
  • the screen parameter adjustment device acquires a frame of first reference data of the screen, the screen includes N areas, and the first reference data includes: the first touch corresponding to each area Response reference value, N is a positive integer, and if the first predetermined condition is met, acquire the updated second reference data of a frame of the screen, the second reference data includes: the second touch response corresponding to each area The reference value, and then, based on the variation between the first touch response reference value and the second touch response reference value corresponding to each area, adjust the target parameters of the screen, and the target parameters include at least one of the following: Update rate of benchmark data, noise threshold, and reporting threshold.
  • the Baseline update speed is increased in advance to ensure that the low temperature and high temperature Baseline speed can catch up with the Rawdata change speed brought by the temperature, and the Noise threshold is increased to ensure that the filter algorithm can reduce diffdata abnormalities when the temperature is low and high temperature Lift the data filtering; when the current ambient temperature is identified as high temperature, the Baseline update speed will be increased in advance, and the reporting threshold will be lowered, thereby improving the sensitivity of the screen.
  • the foregoing target parameters include: an update rate of reference data of the screen.
  • the screen parameter adjustment method provided in the embodiment of the present application further includes the following step A1:
  • Step A1 Update the reference data of the screen according to the adjusted update rate.
  • the screen parameter adjustment device may update the reference data of the screen at a first update rate when the first value is in the first value range, or, when the first value is in the second value range, update the reference data at the first update rate.
  • the Baseline update speed is increased in advance to ensure that the low temperature and high temperature Baseline speed can catch up with the Rawdata change speed caused by the temperature; when the current ambient temperature is recognized as high temperature, the Baseline update speed is increased in advance, and reduced Reporting threshold, so as to ensure the sensitivity of the screen and the accuracy of the touch screen in high temperature and low temperature scenes.
  • the above step 201 may include the following step 201a:
  • Step 201a Acquiring N frames of first detection data of the screen.
  • the above-mentioned one frame of first reference data is: among the above-mentioned N frames of first detection data, one frame of first detection data collected when no touch input from the user is received.
  • the touch IC scans to obtain several frames of first detection data (Rawdata), and when it detects that a certain frame of Rawdata is relatively stable and no touch occurs, the frame of Rawdata is determined as the first reference Data (Baseline), and establish a Baseline plane with a frame of Rawdata with higher flatness.
  • first detection data Rawdata
  • Baseline first reference Data
  • the screen parameter adjustment method provided in the embodiment of the present application further includes the following steps B1 to B3:
  • Step B1 Obtain a frame of third detection data of the screen.
  • Step B2 Determine the target difference between the capacitive sensing value in the above-mentioned frame of third detection data and the touch response reference value in the currently acquired frame of detection data.
  • Step B3 Based on the target difference, determine whether a touch input is received on the screen.
  • the above-mentioned third detection data includes: a capacitance sensing value in the screen.
  • the screen parameter adjustment device can scan the screen nodes through the touch IC to obtain the third detection data of the screen.
  • the above-mentioned frame of detection data includes: currently acquired baseline data (Baseline).
  • the above-mentioned target difference is used to characterize the variation of the capacitance data of the screen.
  • the apparatus for adjusting screen parameters may determine whether a touch input is currently received based on the aforementioned target difference. For example, in a case where the above-mentioned target difference is greater than the reporting threshold, it is determined that a touch input is currently received.
  • step B3 may include the following step C1:
  • Step C1 When it is determined that the screen receives a touch input, in response to the touch input, determine the coordinates of the touch point corresponding to the touch input according to the target difference.
  • the screen parameter processing device may obtain the coordinates of the touch point corresponding to the touch input after calculating the above target difference through a touch algorithm, and report the coordinates.
  • step 202 may include the following step 202a:
  • Step 202a If it is determined that the screen does not receive a touch input, if it is detected that the value of the third detection data fluctuates, acquire updated second reference data of a frame of the screen.
  • the device for determining the screen parameter may judge whether the value of the currently sampled third detection data fluctuates according to the capacitance difference data (diffdata).
  • the above capacitance difference data is determined based on the above third detection data and updated baseline data (Baseline).
  • the currently detected capacitive sensing value (Rawdata) of the screen is basically consistent with the baseline value (Baseline), that is, the difference between the capacitive sensing value and the baseline value
  • Baseline the baseline value
  • the value will tend to 0 (that is, the 0 plane), and in the case of a sudden change in the ambient temperature (for example, from an environment of 25°C to an environment of 5°C), it will have an impact on the currently acquired capacitive sensing value.
  • the difference between the capacitive sensing value and the reference value is relatively large, and it is considered that the currently acquired capacitive sensing value generates data fluctuations.
  • FIG. 4 is a flow chart of the screen parameter processing method provided by the embodiment of the present application:
  • Step1 After the touch IC is powered on or wakes up from sleep, scan to obtain several frames of Rawdata. When it is detected that the Rawdata is relatively stable and no touch occurs, an initial Baseline plane is established with a frame of Rawdata with higher flatness;
  • Step2 Calculate the mean value R10 of the Baseline of M*N nodes in the lower right corner area of the initial Baseline plane, and calculate the mean value R20 of the Baseline of the symmetrical area in the upper right corner.
  • M is the number of rows and can be 5, and N is The number of columns can be 9;
  • Step3 After establishing the initial Baseline plane, the touch IC scans to obtain Rawdata, calculates the current diffdata data, and obtains the diffdata plane after filtering;
  • Setp4 Detect whether there is a touch on the diffdata plane, if so, calculate the touch coordinates through a series of algorithms, and then report the point, if no touch occurs, judge whether the Rawdata sampled in Step3 has changed through the diffdata plane, that is, whether there is a data offset , if there is no change, return to Setp3 to start the next frame of Rawdata sampling, and enter Step5 if there is data offset;
  • Step5 After detecting that the data of the current Rawdata plane has changed, obtain the current Baseline plane, calculate the mean value R11 of the Baseline of the M*N nodes in the lower right corner area of the current Baseline plane and the mean value R21 of the Baseline of the symmetrical area in the upper right corner, and calculate the current Baseline plane
  • the difference between the mean value of the lower right corner area of the initial Baseline plane and the mean value of the lower right corner area of the initial Baseline plane ⁇ R1 R11-R10, and calculate the mean value of the upper right corner area of the current Baseline plane and the mean value of the upper right corner area of the initial Baseline plane
  • ⁇ R2 R21-R20;
  • Step6 Determine the relationship between the ratio ⁇ R1/ ⁇ R2 between the above difference ⁇ R1 and the difference ⁇ R2 and the preset threshold ⁇ , and then enter different processing procedures:
  • the value of ⁇ can be 5, and return to Setp3 after processing to start the next frame of Rawdata sampling.
  • the screen parameter adjustment method provided in the embodiment of the present application may be executed by a screen parameter adjustment device, or a control module in the screen parameter adjustment device for executing the screen parameter adjustment method.
  • the method for adjusting the screen parameter performed by the screen parameter adjusting device is taken as an example to illustrate the screen parameter adjusting device provided in the embodiment of the present application.
  • the screen parameter adjustment device 600 includes: an acquisition module 601 and an adjustment module 602, wherein: the acquisition module 601 is used to acquire the first reference of the screen data, the screen includes N areas, the first reference data includes: a first touch response reference value corresponding to each of the areas, N is a positive integer; the acquisition module 601 is further configured to meet the first In the case of a predetermined condition, acquire second reference data of the screen; the second reference data includes: a second touch response reference value corresponding to each of the regions; the adjustment module 602 is configured to The change amount between the first touch response reference value and the second touch response reference value corresponding to each of the regions obtained by the acquisition module is used to adjust the target parameters of the screen; wherein, the first touch response reference value A reference data is the reference data obtained at the first time, and the second reference data is the reference data obtained at the second time, and the second time is later than the first time; the target parameters include at least one of the following Items: update
  • the N areas include a first area and a second area; the device further includes: a determination module; and the acquisition module is further configured to acquire the first area of the first area A first change amount between a touch response reference value and the second touch response reference value of the first area, and the first touch response reference value and the second touch response reference value of the second area
  • the second change amount between; the determination module is used to determine the first value according to the first change amount and the second change amount acquired by the acquisition module; the adjustment module is specifically used to determine the first value according to the obtained
  • the first value determined by the determination module is used to adjust the target parameter of the screen.
  • the determination module is further configured to determine an adjustment strategy according to the target value range of the first value determined by the determination module;
  • the adjustment module is specifically configured to adjust the target parameter of the screen based on the adjustment strategy determined by the determination module.
  • the determining module is specifically configured to determine that the adjustment strategy is a first adjustment strategy when the first value is in a first value range;
  • the first adjustment The strategy includes: adjusting the update rate of the benchmark data of the screen to a first update rate, and adjusting the noise threshold to a first noise threshold, the first update rate being greater than the update rate before adjustment, and the first noise threshold greater than the noise threshold before adjustment;
  • the determination module is specifically configured to determine that the adjustment strategy is a second adjustment strategy when the first value is in a second value range, and the second adjustment strategy includes: The update rate of the reference data of the screen is adjusted to the second update rate, and the response threshold is adjusted to the first response threshold, and the first response threshold is smaller than the response threshold before adjustment.
  • the target parameter includes: an update rate of reference data of the screen; after the target parameter of the screen is adjusted, the device further includes: an update module; the update module, It is used for updating the reference data of the screen according to the update rate adjusted by the adjustment module.
  • the screen parameter adjustment device acquires the first reference data of the screen, the screen includes N areas, and the first reference data includes: the first touch response reference corresponding to each area value, N is a positive integer, and when the first predetermined condition is met, acquire the second reference data of the screen, the second reference data includes: the second touch response reference value corresponding to each area, and then, based on each The amount of change between the first touch response reference value and the second touch response reference value corresponding to each area, adjust the target parameters of the screen, and the target parameters include at least one of the following: update rate of reference data, noise threshold, and response threshold .
  • the screen parameter adjustment device can adjust the update rate, noise threshold, response threshold, etc.
  • the device for adjusting screen parameters in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the device for adjusting screen parameters in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the screen parameter adjustment device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, and programs or instructions stored in the memory 702 and operable on the processor 701,
  • the program or instruction is executed by the processor 701
  • the various processes of the above screen parameter adjustment method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
  • the electronic device 100 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 110 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the processor 110 is configured to acquire first reference data of the screen, the screen includes N areas, and the first reference data includes: a first touch response reference value corresponding to each of the areas, N is a positive integer; the processor 110 is further configured to acquire the second reference data of the screen when the first predetermined condition is met; the second reference data includes: the second reference data corresponding to each of the regions A touch response reference value; the processor 110 is configured to obtain, based on the difference between the first touch response reference value and the second touch response reference value corresponding to each of the regions obtained by the acquiring module The amount of change is to adjust the target parameters of the screen; wherein, the first reference data is the reference data obtained at the first time, the second reference data is the reference data obtained at the second time, and the second time Later than the first time; the target parameter includes at least one of the following: an update rate of reference data, a noise threshold, and a response threshold.
  • the N areas include a first area and a second area; the processor 110 is further configured to acquire the first touch response reference value and the first touch response reference value of the first area. a first change amount between the second touch response reference value of the first area, and a second change amount between the first touch response reference value and the second touch response reference value of the second area;
  • the processor 110 is configured to determine a first value according to the acquired first variation and the second variation; the adjustment module is specifically configured to determine the first value according to the determination module, Adjust the target parameters of the screen.
  • the processor 110 is further configured to determine an adjustment strategy according to the target value range of the first value; the processor 110 is specifically configured to determine an adjustment strategy based on the determined The adjustment strategy determined by the module adjusts the target parameters of the screen.
  • the processor 110 is specifically configured to determine that the adjustment strategy is a first adjustment strategy when the first value is in a first value range; the first The adjustment strategy includes: adjusting the update rate of the benchmark data of the screen to a first update rate, and adjusting the noise threshold to the first noise threshold, the first update rate being greater than the update rate before adjustment, and the first noise threshold The threshold is greater than the noise threshold before adjustment; the processor 110 is specifically configured to determine that the adjustment strategy is a second adjustment strategy when the first value is in a second value range, and the second adjustment strategy includes : Adjust the update rate of the reference data of the screen to a second update rate, and adjust the response threshold to a first response threshold, where the first response threshold is smaller than the response threshold before adjustment.
  • the target parameters include: the update rate of the reference data of the screen; after the adjustment of the target parameters of the screen, the processor 110 is configured to adjust After the update rate, update the baseline data of the screen.
  • the electronic device acquires the first reference data of the screen, and the screen includes N areas.
  • the first reference data includes: the first touch response reference value corresponding to each area, and N is positive integer, and when the first predetermined condition is met, obtain the second reference data of the screen, the second reference data includes: the second touch response reference value corresponding to each area, and then, based on the corresponding
  • the variation between the first touch response reference value and the second touch response reference value adjusts target parameters of the screen, and the target parameters include at least one of the following: update rate of reference data, noise threshold, and response threshold.
  • the electronic device can adjust the update rate, noise threshold, and response threshold of the reference data of the screen according to the difference of the detection data collected in different areas, so that when the temperature changes in the touch screen environment, through detection Changes in the touch response reference value quickly switch to relevant algorithms for data processing, avoiding false alarm points, non-functional and insensitive problems, and improving user experience.
  • the input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used by the image capturing device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 109 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above screen parameter adjustment method embodiment is realized, and can achieve The same technical effects are not repeated here to avoid repetition.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the screen parameter adjustment method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application provides a computer program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the various processes of the above screen parameter adjustment method embodiment, and can achieve Same technical effect.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

Disclosed in the present application are a panel parameter adjustment method and apparatus, and an electronic device. The method comprises: acquiring a first baseline of a panel, wherein the panel comprises N regions, and the first baseline comprises a first touch-control response baseline corresponding to each region, N being a positive integer; when a first predetermined condition is met, acquiring a second baseline of the panel, wherein the second baseline comprises a second touch-control response baseline corresponding to each region; and on the basis of the amount of variation between the first touch-control response baseline and the second touch-control response baseline which correspond to each region, adjusting a target parameter of the panel, wherein the first baseline is a baseline that is acquired at a first time, the second baseline is a baseline that is acquired at a second time, the second time is later than the first time, and the target parameter comprises at least one of the following: an update rate, a noise threshold value and a response threshold value of a baseline.

Description

屏幕参数调整方法、装置及电子设备Screen parameter adjustment method, device and electronic equipment
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年09月24日在中国提交的中国专利申请号No.202111122334.2的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111122334.2 filed in China on September 24, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种屏幕参数调整方法、装置及电子设备。The present application belongs to the technical field of communication, and in particular relates to a screen parameter adjustment method, device and electronic equipment.
背景技术Background technique
随着智能电子设备市场的快速发展,电容触控面板出货量呈现快速增长趋势,触屏特别是电容屏作为人机交互的最重要的交互方式,其性能的好坏直接影响触屏的操作体验,对整机的使用体验影响极大。。With the rapid development of the smart electronic equipment market, the shipments of capacitive touch panels are showing a rapid growth trend. Touch screens, especially capacitive screens, are the most important way of human-computer interaction, and their performance directly affects the operation of touch screens. Experience has a great impact on the experience of using the whole machine. .
目前,触摸屏多为电容式触摸屏(Capacitive Touch Panel,CTP)。用户在触摸电容式触摸屏时,触摸屏的自互电容容值发生变化,触控IC通过行列扫描采样得到的电容感应值(Rawdata)会发生变化,通过检测Rawdata的变化量计算得到触摸点坐标,并将坐标数据上报给电子设备,具体的,通过计算Rawdata与基准值(Baseline)的差值,得到表征Rawdata的变化量的电容差值数据(diffdata),diffdata作为输入经过复杂的触控算法得到触摸点的坐标。At present, most touch screens are capacitive touch panels (Capacitive Touch Panel, CTP). When the user touches the capacitive touch screen, the self-mutual capacitance value of the touch screen changes, and the capacitance sensing value (Rawdata) obtained by the touch IC through row and column scanning sampling will change, and the coordinates of the touch point are calculated by detecting the change in Rawdata, and Report the coordinate data to the electronic device. Specifically, by calculating the difference between the Rawdata and the baseline value (Baseline), the capacitance difference data (diffdata) representing the variation of the Rawdata is obtained. The diffdata is used as input to obtain the touch through a complex touch algorithm. The coordinates of the point.
在相关技术中,触屏环境的温度变化会导致IC扫描得到的Rawdata异常(如,抬起),导致触屏误报点、无功能、点击不灵敏等问题。针对上述问题,目前常用的优化方法为:在手指对触摸屏进行触控输入的情况下,对基准数据(Baseline)进行更新,以抵消非触控区域diffdata的异常抬起值,然后在手指离开触摸屏后,再次更新Baseline,以重新恢复Baseline,由于上述方式是在触摸屏接收到触控输入的情况下更新Baseline的,而更新基准时触控IC不会计算坐标报点,因此在接收到触控输入的情况下更新Baseline,会导致对当前的触控输入的报点的准确性低,如,出现漏点或者断线等问题,导致用户体验差。In the related technology, the temperature change of the touch screen environment will cause the Rawdata obtained by IC scanning to be abnormal (for example, lifted), resulting in problems such as false alarm points, no function, and insensitive clicks on the touch screen. In view of the above problems, the currently commonly used optimization method is: when the finger touches the touch screen, update the baseline data (Baseline) to offset the abnormal lifting value of diffdata in the non-touch area, and then when the finger leaves the touch screen After that, update the Baseline again to restore the Baseline again. Since the above method updates the Baseline when the touch screen receives touch input, and the touch IC will not calculate the coordinates when updating the base, so when the touch input is received In the case of updating the Baseline, the accuracy of the current touch input reporting points will be low, such as missing points or disconnection, resulting in poor user experience.
发明内容Contents of the invention
本申请实施例的目的是提供一种屏幕参数调整方法、装置及电子设备,能够解决对触控输入的报点的准确性低,导致用户体验差的问题。The purpose of the embodiments of the present application is to provide a screen parameter adjustment method, device and electronic equipment, which can solve the problem of poor user experience due to low accuracy of touch input reporting.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above-mentioned technical problems, the application is implemented as follows:
第一方面,本申请实施例提供了一种屏幕参数调整方法,该方法包括:获取屏幕的第一基准数据,上述屏幕包括N个区域,上述第一基准数据包括:每个区域对应的第一触控响应基准值,N为正整数;在满足第一预定条件的情况下,获取屏幕的第二 基准数据;该第二基准数据包括:每个区域对应的第二触控响应基准值;基于每个区域对应的第一触控响应基准值与第二触控响应基准值之间的变化量,调整屏幕的目标参数;其中,第一基准数据为在第一时间获取的基准数据,第二基准数据为在第二时间获取的基准数据,上述第二时间晚于第一时间;上述目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值。In the first aspect, the embodiment of the present application provides a screen parameter adjustment method, the method includes: acquiring the first reference data of the screen, the above-mentioned screen includes N areas, and the above-mentioned first reference data includes: the first reference data corresponding to each area Touch response reference value, N is a positive integer; in the case of meeting the first predetermined condition, obtain the second reference data of the screen; the second reference data includes: the second touch response reference value corresponding to each area; based on The amount of change between the first touch response reference value and the second touch response reference value corresponding to each area adjusts the target parameters of the screen; wherein, the first reference data is the reference data acquired at the first time, and the second The reference data is reference data acquired at a second time, and the second time is later than the first time; the target parameters include at least one of the following: update rate of reference data, noise threshold, and response threshold.
第二方面,本申请实施例提供了一种屏幕参数调整装置,该装置包括:获取模块和调整模块,其中:上述获取模块,用于获取屏幕的第一基准数据,该屏幕包括N个区域,上述第一基准数据包括:每个区域对应的第一触控响应基准值,N为正整数;上述获取模块,还用于在满足第一预定条件的情况下,获取屏幕的第二基准数据;上述第二基准数据包括:每个区域对应的第二触控响应基准值;上述调整模块,用于基于获取模块获取的每个区域对应的第一触控响应基准值与第二触控响应基准值之间的变化量,调整屏幕的目标参数;其中,上述第一基准数据为在第一时间获取的基准数据,上述第二基准数据为在第二时间获取的基准数据,上述第二时间晚于第一时间;上述目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值。In the second aspect, the embodiment of the present application provides a device for adjusting screen parameters, the device includes: an acquisition module and an adjustment module, wherein: the acquisition module is used to acquire the first reference data of the screen, the screen includes N areas, The above-mentioned first reference data includes: a first touch response reference value corresponding to each area, and N is a positive integer; the above-mentioned obtaining module is also used to obtain the second reference data of the screen when the first predetermined condition is met; The above-mentioned second reference data includes: a second touch response reference value corresponding to each area; value, adjust the target parameters of the screen; wherein, the above-mentioned first reference data is the reference data obtained at the first time, and the above-mentioned second reference data is the reference data obtained at the second time, and the above-mentioned second time is later At the first time; the target parameter includes at least one of the following: an update rate of reference data, a noise threshold, and a response threshold.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在非易失的存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,屏幕参数调整装置获取屏幕的第一基准数据,该屏幕包括N个区域,上述第一基准数据包括:每个区域对应的第一触控响应基准值,N为正整数,并在满足第一预定条件的情况下,获取屏幕的第二基准数据,该第二基准数据包括:每个区域对应的第二触控响应基准值,然后,基于每个区域对应的第一触控响应基准值与第二触控响应基准值间的变化量,调整屏幕的目标参数,该目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值。通过该方法,屏幕参数调整装置可以根据在不同区域采集的检测数据的差异性,对屏幕的基准数据的更新速率、噪声阈值、响应阈值等进行调整,从而在当触屏环境发生温度变化,通过侦测触控响应基准值的变化快速切换相关算法进行数据处理,避免发生误报点、无功能和不灵敏等问题,提升用户体验。In the embodiment of the present application, the screen parameter adjustment device acquires the first reference data of the screen, the screen includes N areas, the first reference data includes: the first touch response reference value corresponding to each area, and N is a positive integer , and when the first predetermined condition is met, acquire the second reference data of the screen, the second reference data includes: the second touch response reference value corresponding to each area, and then, based on the first touch response reference value corresponding to each area The change amount between the touch response reference value and the second touch response reference value adjusts target parameters of the screen, and the target parameters include at least one of the following: update rate of reference data, noise threshold, and response threshold. Through this method, the screen parameter adjustment device can adjust the update rate, noise threshold, response threshold, etc. of the reference data of the screen according to the difference of the detection data collected in different areas, so that when the temperature changes in the touch screen environment, through Detect changes in touch response reference values and quickly switch to relevant algorithms for data processing, avoiding false alarm points, non-functional and insensitivity problems, and improving user experience.
附图说明Description of drawings
图1是本申请实施例提供的一种屏幕参数调整方法的实验数据示意图之一;Fig. 1 is one of the experimental data schematic diagrams of a screen parameter adjustment method provided in the embodiment of the present application;
图2是本申请实施例提供的一种屏幕参数调整方法的实验数据示意图之二;Fig. 2 is the second schematic diagram of experimental data of a screen parameter adjustment method provided in the embodiment of the present application;
图3是本申请实施例提供的屏幕参数调整方法的流程图之一;Fig. 3 is one of the flowcharts of the screen parameter adjustment method provided by the embodiment of the present application;
图4是本申请实施例提供的屏幕参数调整方法的流程图之二;Fig. 4 is the second flow chart of the screen parameter adjustment method provided by the embodiment of the present application;
图5是本申请实施例提供的一种屏幕参数调整装置的结构示意图;FIG. 5 is a schematic structural diagram of a screen parameter adjustment device provided in an embodiment of the present application;
图6是本申请实施例提供的一种电子设备的硬件结构示意图之一;FIG. 6 is one of the schematic diagrams of the hardware structure of an electronic device provided in the embodiment of the present application;
图7是本申请实施例提供的一种电子设备的硬件结构示意图之二。FIG. 7 is a second schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的屏幕数据处理方法进行详细地说明。The method for processing screen data provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
首先,对屏幕的触摸事件采样的流程进行详细说明,电容式触控是通过检测手指触摸引起的自互电容容值变化来侦测手指的。当手指触摸时,自互电容容值发生变化,触控IC通过行列扫描采样得到的电容感应数据(即,Rawdata)会变化,通过检测Rawdata的变化量计算得到触摸点坐标,然后将坐标数据通过SPI/I2C上报给终端IC,这就是触摸事件采样的整个流程。First, the process of sampling touch events on the screen will be described in detail. Capacitive touch detects fingers by detecting changes in self-mutual capacitance caused by finger touches. When the finger touches, the capacitance value of the self-mutual capacitance changes, and the capacitive sensing data (that is, Rawdata) obtained by the touch IC through row and column scanning sampling will change, and the coordinates of the touch point are calculated by detecting the variation of Rawdata, and then the coordinate data is passed through SPI/I2C reports to the terminal IC, which is the whole process of touch event sampling.
在触控IC通过扫描采样获取Rawdata后,会建立基准数据(Baseline),触控IC会以没有触摸事件发生且全屏数据平整度较高的一帧Rawdata来建立Baseline,而每帧数据的电容差值数据(diffdata)正是通过每帧扫描采集的Rawdata减去Baseline得到的,diffdata再进过一系列的滤波、重心、平滑算法来获取触摸点的实际坐标。如图1中的(a)所示,为单指触摸时获取的diffdata数据,当发生触摸事件时,在diffdata平面(即,得到一帧差值数据)能清晰捕捉touch区域包络(虚线框的区域)。需要说明的是,触控IC在建立基准数据后基准数据并非一成不变,因为触控扫描的频率、环境温度等是变化的,这些变化都会造成Rawdata变化,为了保证触控不会误报点,Baseline需要随着Rawdata的变化趋势进行缓慢动态更新。After the touch IC acquires Rawdata through scanning and sampling, it will establish a baseline data (Baseline). The touch IC will establish a Baseline with a frame of Rawdata with no touch event and a high level of full-screen data. The capacitance difference of each frame of data The value data (diffdata) is obtained by subtracting the Baseline from the Rawdata collected in each frame scan, and the diffdata goes through a series of filtering, center of gravity, and smoothing algorithms to obtain the actual coordinates of the touch point. As shown in (a) in Figure 1, it is the diffdata data obtained when a single finger is touched. When a touch event occurs, the envelope of the touch area (dotted line box) can be clearly captured on the diffdata plane (that is, a frame of difference data is obtained). Area). It should be noted that the benchmark data of the touch IC is not static after the benchmark data is established, because the frequency of touch scanning and the ambient temperature change, and these changes will cause changes in Rawdata. In order to ensure that touch points will not be falsely reported, Baseline It needs to be slowly and dynamically updated with the changing trend of Rawdata.
其次,基于上述触摸事件采样的整个流程,目前,面对一些复杂的场景,现有的 触屏算法的处理效果较差。例如高低温环境切换,电容容值是随温度变化而变化的,电容触控IC是通过检测手指触摸引起的自互电容容值变化来检测手指的,所以温度变化会引起IC检测到的信号量即Rawdata发生变化,特别是自容扫描模式,自容扫描是通过检测sensor对地耦合电容容值变化来检测手指,受温度影响更大。在低温模式下IC扫描采样得到Rawdata会偏小,在高温模式下IC扫描的Rawdata会偏大,而且温度越低Rawdata越小,温度越高Rawdata越大。Secondly, based on the entire process of touch event sampling mentioned above, currently, in the face of some complex scenarios, the processing effect of existing touch screen algorithms is poor. For example, high and low temperature environment switching, the capacitance value changes with the temperature change, the capacitive touch IC detects the finger by detecting the self-mutual capacitance value change caused by the finger touch, so the temperature change will cause the signal amount detected by the IC That is, the Rawdata changes, especially in the self-capacitance scanning mode. The self-capacitance scanning detects the finger by detecting the change of the coupling capacitance of the sensor to the ground, which is more affected by the temperature. In the low temperature mode, the Rawdata obtained by IC scanning sampling will be relatively small, and in the high temperature mode, the Rawdata obtained by IC scanning will be relatively large, and the lower the temperature, the smaller the Rawdata, and the higher the temperature, the larger the Rawdata.
由于温度变化会带来Rawdata的变化,而Rawdata的变化会使Baseline处于动态更新状态,这就带来两个问题,一是温度变化引起的Rawdata变化要比基准数据(Baseline)更新的速度快,二是因为touch发生时,触控IC是不会更新Baseline的,如果此时环境温度发生较大变化,Rawdata平面(即,一帧电容感应数据)会和Baseline平面(即,一帧基准数据)会产生较大偏移:Because temperature changes will bring about changes in Rawdata, and changes in Rawdata will cause Baseline to be in a dynamic update state, which brings about two problems. One is that the changes in Rawdata caused by temperature changes are faster than the update speed of the baseline data (Baseline). The second reason is that when a touch occurs, the touch IC will not update the Baseline. If the ambient temperature changes greatly at this time, the Rawdata plane (that is, one frame of capacitive sensing data) will be different from the Baseline plane (that is, one frame of reference data) Will produce a large offset:
以下列举了两种温度切换场景下的数据变化:The data changes in the two temperature switching scenarios are listed below:
1)当电子设备从低温环境切换至高温环境下时,Rawdata会整体增大,若Baseline平面更新缓慢或者停止,则Rawdata平面的数值相对于Baseline平面的数值整体上升,表现为大部分区域diffdata为正值,如图1中的(b)所示,为低温切换高温无触摸时获取的diffdata数据,若无触摸区域的diffdata超过报点阈值时,就会表现误报点,降低用户体验;1) When the electronic device is switched from a low-temperature environment to a high-temperature environment, Rawdata will increase as a whole. If the update of the Baseline plane is slow or stops, the value of the Rawdata plane will increase relative to the value of the Baseline plane as a whole, showing that the diffdata in most areas is A positive value, as shown in (b) in Figure 1, is the diffdata data obtained when switching from low temperature to high temperature without touch. If the diffdata of the non-touch area exceeds the reporting point threshold, it will display false alarm points and reduce user experience;
2)当电子设备从高温环境切换至低温环境下时,Rawdata会整体减小,Rawdata平面的数值相对于Baseline平面的数值整体减小,表现为大部分区域diffdata为负值,如图1中的(c)所示,为高温切低温无触摸时获取的diffdata数据,触摸区域出现的负值会抵消手指产生的感应量,当手指感应量低于报点阈值时,就会表现触屏无功能、点击不灵敏,降低用户体验。2) When the electronic device switches from a high temperature environment to a low temperature environment, the Rawdata will decrease as a whole, and the value of the Rawdata plane will decrease as a whole relative to the value of the Baseline plane, showing that the diffdata in most areas is a negative value, as shown in Figure 1 As shown in (c), it is the diffdata data obtained when there is no touch at high temperature and low temperature. The negative value in the touch area will offset the sensing amount generated by the finger. When the sensing amount of the finger is lower than the reporting threshold, the touch screen will show no function , The click is not sensitive, reducing the user experience.
在相关技术中,针对上述高低温切换导致触屏误报点、无功能、点击不灵敏等问题,目前一些常用的优化方法有:In related technologies, in view of the above-mentioned problems such as high and low temperature switching that cause false alarm points on the touch screen, no function, and insensitive clicks, some commonly used optimization methods are:
1)手指触摸时强更基准数据,去掉非触摸区域diffdata异常抬起值,然后在抬手后再次更新基准数据,将把包括手指触摸感应量的Baseline重新恢复为五触摸状态下的Baseline,但是由于diffdata是根据Rawdata减去Baseline得到的,因此,在更新基准数据的时候触控IC并不会计算坐标报点的,所以在有触摸的时候强更基准数据,会导致漏点、断线问题,影响用户体验;1) The baseline data is strengthened when the finger is touched, and the abnormal lifting value of the diffdata in the non-touch area is removed, and then the baseline data is updated again after the hand is raised, and the Baseline including the finger touch sensing amount will be restored to the Baseline under the five-touch state, but Since the diffdata is obtained by subtracting the Baseline from the Rawdata, the touch IC will not calculate the coordinates and report points when updating the baseline data, so updating the baseline data when there is a touch will lead to missing points and disconnection problems , affecting user experience;
2)检测温度切换后全屏diffdata的抬起速率(或者下降速率),根据Rawdata的变化,增加Baseline的更新速度,在用户抬手或者闲置无触碰时,让Baseline更新速度能快速适配温度变化带来的Rawdata变化。但是该方法同样以下两个问题,一方面当检测到全屏diffdata抬起后,再去加快Baseline更新速度,实时性差,如果用户在回温后一直在使用触屏终端,则Baseline会停止更新,容易出现误报点影响用户使用,另一方面,回温后全屏diffdata抬起数据特征与全屏大面积手掌按压相似,这两种状 态比较容易混淆,当误确认当前状态为大面积按压状态时,触屏会触发大面积抑制,表现为触屏无功能,用户体验差;2) Detect the lift rate (or drop rate) of full-screen diffdata after temperature switching, increase the update speed of Baseline according to the change of Rawdata, and let the update speed of Baseline quickly adapt to temperature changes when the user raises his hand or is idle without touching Rawdata changes brought about. However, this method also has the following two problems. On the one hand, when the full-screen diffdata is lifted, the update speed of the Baseline is accelerated, and the real-time performance is poor. If the user has been using the touch-screen terminal after warming up, the Baseline will stop updating, which is easy. False alarm points affect the user’s use. On the other hand, after warming up, the full-screen diffdata lifting data features are similar to full-screen large-area palm pressing. These two states are easy to confuse. When the current state is mistakenly confirmed as large-area pressing The screen will trigger a large area of suppression, which means that the touch screen has no function and the user experience is poor;
3)电子设备Host监测温度信息后,通过SPI/I2C实时告知触控IC,IC检测到高低温环境变化信息进行相关算法预处理,这种处理同样存在两个弊端,一方面电子设备主控检测温度是内部温度,与触屏节点电容温度有一定差异,软件实现效果可能不佳,另一方面增加主控与触控IC交互信息会提高硬件功耗以及软件开发成本,不易于整机交付效果。3) After the electronic device host monitors the temperature information, it will notify the touch IC in real time through SPI/I2C, and the IC detects the high and low temperature environment change information to perform related algorithm preprocessing. This processing also has two disadvantages. On the one hand, the main control detection of electronic equipment The temperature is the internal temperature, which has a certain difference from the temperature of the touch screen node capacitance. The software implementation effect may not be good. On the other hand, increasing the interaction information between the main control and the touch IC will increase the hardware power consumption and software development costs, and it is not easy to deliver the effect of the whole machine. .
本申请提出了一种根据触控屏不同区域节点电容对温度敏感的差异性来优化高低温切换触控效果的方法。实现了基于电子设备外部结构,来分析触屏电容节点对温差变化敏感的差异性,并且根据温差变化带来的不同区域节点采集Rawdata数据的差异性来侦测环境温度,当触屏环境发生温度变化时,通过侦测基准数据Baseline平面变化快速切换相关算法进行数据处理,避免发生误报点、无功能和不灵敏等问题,提升用户体验。The present application proposes a method for optimizing the touch effect of switching between high and low temperatures according to the differences in temperature sensitivity of node capacitances in different areas of the touch screen. Based on the external structure of electronic equipment, it is realized to analyze the sensitivity difference of the touch screen capacitance node to the temperature difference change, and to detect the ambient temperature according to the difference of the Rawdata data collected by the nodes in different regions brought about by the temperature difference change. When the temperature of the touch screen environment occurs When changing, by detecting changes in the baseline data Baseline plane, the relevant algorithms are quickly switched for data processing, avoiding false positives, non-functional and insensitive problems, and improving user experience.
以下结合具体的应用场景对本申请的触屏环境温度侦测方法进行说明:The method for detecting the ambient temperature of the touch screen of the present application is described below in combination with specific application scenarios:
以电子设备为全面屏底部单边喇叭孔的手机为例,其外观图如图2中的(a)所示。由于电子设备的地步设置有USB口、喇叭、耳机孔以及麦克风孔,因此,相比顶部区域(摄像头区域),触屏底部区域与空气接触面积更大,受温度变化影响更大,特别是右下角区域,对温度变化敏感度最高。Taking a mobile phone whose electronic device is a single speaker hole at the bottom of the full screen as an example, its appearance is shown in (a) in FIG. 2 . Since the bottom of the electronic device is equipped with USB ports, speakers, earphone holes, and microphone holes, compared with the top area (camera area), the bottom area of the touch screen has a larger contact area with the air and is more affected by temperature changes, especially the right The lower corner area is most sensitive to temperature changes.
由于电子设备的触屏模组出厂时会做节点电容容值校验,因此,在常温环境下,远近端节点容值相差不大,触控IC扫描采集的Rawdata矩阵平整度较高。图2中的(b)为在常温(25℃)环境,且电子设备的屏幕无触控输入情况下,检测到的节点Baseline数据的示意图,从图2的(b)中可以看出,矩形框21a中的Baseline数据和矩形框22a中的Baseline数据的数据整体差异较小,即,屏幕右上角区域和屏幕右下角区域的电容容值整体差异较小。Because the touch screen module of electronic equipment will check the capacitance value of the node when it leaves the factory, therefore, under normal temperature environment, the difference between the capacitance value of the far and near end nodes is not large, and the Rawdata matrix collected by the touch IC scan has a high flatness. (b) in Figure 2 is a schematic diagram of the detected node Baseline data in a normal temperature (25°C) environment and no touch input on the screen of the electronic device. It can be seen from (b) in Figure 2 that the rectangular The overall data difference between the Baseline data in the frame 21a and the Baseline data in the rectangular frame 22a is small, that is, the overall difference in the capacitance value between the upper right corner area of the screen and the lower right corner area of the screen is small.
当从高温切换至低温环境,相比顶部区域,触屏底部区域降温会更快,节点电容受温度影响更大,触控IC扫描采集的底部区域节点Rawdata会更小。图2中的(c)为在低温(零下15℃)环境,且电子设备的屏幕无触控输入情况下,检测到的节点Baseline数据的示意图,从图2的(c)中可以看出,矩形框21b中的Baseline数据和矩形框22b中的Baseline数据的数据整体差异较大,即,屏幕右上角区域和屏幕右下角区域的电容容值整体差异较大。When switching from a high temperature environment to a low temperature environment, compared with the top area, the bottom area of the touch screen will cool down faster, the node capacitance is more affected by temperature, and the raw data of the bottom area node collected by the touch IC scan will be smaller. (c) in Figure 2 is a schematic diagram of the detected node Baseline data in a low temperature (minus 15°C) environment, and the screen of the electronic device has no touch input, as can be seen from (c) in Figure 2, The overall data difference between the Baseline data in the rectangular frame 21b and the Baseline data in the rectangular frame 22b is relatively large, that is, the overall difference in capacitance values between the upper right corner area of the screen and the lower right corner area of the screen is relatively large.
当从低温切换至高温环境,相比顶部区域,触屏底部区域升温会更快,触控IC扫描采集的底部区域节点Rawdata会更大。图2中的(d)为高温(50℃)环境,且电子设备的屏幕无触控输入情况下,检测到的节点Baseline数据的示意图,从图2的(d)中可以看出,矩形框21c中的Baseline数据和矩形框22c中的Baseline数据的数据整体差异较大,即,屏幕右上角区域和屏幕右下角区域的电容容值整体差异较大。When switching from a low temperature to a high temperature environment, the bottom area of the touch screen will heat up faster than the top area, and the Rawdata of the bottom area node collected by the touch IC scan will be larger. (d) in Figure 2 is a schematic diagram of the detected node Baseline data in a high temperature (50°C) environment, and the screen of the electronic device has no touch input. It can be seen from (d) in Figure 2 that the rectangular frame The overall data difference between the Baseline data in 21c and the Baseline data in the rectangular frame 22c is relatively large, that is, the capacitance values in the upper right corner area of the screen and the lower right corner area of the screen are generally different.
需要说明的是,触控芯片(即触控ic)可以通过行扫描或者列扫描的方式,对屏幕的每个节点扫描,获取屏幕的每个节点的电容感应数据(Rawdata),并进一步确定基准值(Baseline)。也就是说,图2中的数据的排布方式和电子设备屏幕中节点的排布顺序一致,图2中数据所在的区域和屏幕区域存在对应关系。例如,图2中的矩形框21a所在的区域对应屏幕的右上角区域。It should be noted that the touch chip (that is, the touch IC) can scan each node of the screen through row scanning or column scanning, obtain the capacitive sensing data (Rawdata) of each node of the screen, and further determine the benchmark Value (Baseline). That is to say, the arrangement of the data in FIG. 2 is consistent with the arrangement order of the nodes on the screen of the electronic device, and there is a corresponding relationship between the area where the data is located in FIG. 2 and the screen area. For example, the area where the rectangular frame 21a in FIG. 2 is located corresponds to the upper right corner area of the screen.
需要说明的是,由于Baseline数据是基于触控IC扫描获取的Rawdata数据确定的,因此,Baseline数据可以反映相应的Rawdata数据的数据特性。It should be noted that since the Baseline data is determined based on the Rawdata data obtained by scanning the touch IC, the Baseline data can reflect the data characteristics of the corresponding Rawdata data.
根据上述实验数据可以看出,1)从低温环境切换到高温环境容易误报点的原因是:低温环境下屏幕底部区域Baseline数值较小,低温回高温后底部区域节点电容回温更快,屏幕底部的Rawdata的数值快速上升,在屏幕底部区域的diffdata的数值增大变为正值,此时如果触屏较长时间处于触摸状态,Baseline一直处于不更新状态或者更新较慢的状态,可能出现无触摸区域的diffdata数值上升过高达到报点阈值,所以处理的关键是包括两点:According to the above experimental data, it can be seen that 1) the reason for switching from a low-temperature environment to a high-temperature environment is that it is easy to misreport points: the Baseline value in the bottom area of the screen is small in a low-temperature environment, and the node capacitance in the bottom area returns to temperature faster after the low temperature returns to high temperature. The value of Rawdata at the bottom rises rapidly, and the value of diffdata at the bottom of the screen increases to a positive value. At this time, if the touch screen is in the touch state for a long time, the Baseline has not been updated or the update is slow. The diffdata value of the non-touch area rises too high and reaches the reporting threshold, so the key to processing is to include two points:
i.低温环境下当检测到屏幕底部区域Baseline平面的数值整体减小,提前增加Baseline更新速度,保证低温切高温无touch时Baseline更新速度不会滞后温度引起Rawdata的变化速度;i. In a low temperature environment, when it is detected that the value of the Baseline plane in the bottom area of the screen decreases as a whole, increase the Baseline update speed in advance to ensure that the Baseline update speed will not lag behind the Rawdata change speed caused by the temperature;
ii.提高Noise阈值,采用行列均值滤波算法滤除因温度变化引起的数据抬起,避免由于底部区域diffdata有节点数据突增至报点阈值出现误报点。ii. Increase the Noise threshold, and use the row-column average filter algorithm to filter out data lifts caused by temperature changes, so as to avoid false alarm points due to the sudden increase of node data in the bottom area diffdata to the reporting point threshold.
2)从高温环境切换到低温环境容易无功能和灵敏度低的原因是高温环境下底部区域Baseline平面的数值偏大,高温回低温后底部区域节点电容降温更快,Rawdata平面底部区域的数值快速下降,diffdata在平面底部区域出现负值,此时如果触屏较长时间处于使用或者触摸状态,Baseline一直处于不更新状态或者更新较慢的状态,diffdata可能出现较大区域的负值,影响灵敏度,处理方法包括两点:2) Switching from a high temperature environment to a low temperature environment is easy to have no function and low sensitivity. The reason is that the value of the Baseline plane in the bottom area is too large in the high temperature environment. After the high temperature returns to low temperature, the node capacitance in the bottom area cools down faster, and the value in the bottom area of the Rawdata plane drops rapidly. , the diffdata has a negative value in the bottom area of the plane. At this time, if the touch screen is in use or touched for a long time, the Baseline has been in a state of not updating or updating slowly, and the diffdata may have a negative value in a large area, which affects the sensitivity. The processing method includes two points:
i.同低温切换,增加Baseline更新速度;i. Switch with low temperature, increase the update speed of Baseline;
ii.降低报点阈值,避免因为手指感应量削弱造成触屏无功能和划线点击不灵敏等问题,待温度稳定Baseline平面平整度恢复后将报点阈值恢复。ii. Reduce the reporting threshold to avoid problems such as no function of the touch screen and insensitive scribing and clicking due to weakened finger sensing. After the temperature stabilizes and the flatness of the Baseline plane is restored, the reporting threshold will be restored.
本申请实施例提供了一种屏幕参数调整方法,该屏幕参数调整方法可以应用于电子设备,图3示出了本申请实施例提供的屏幕参数调整方法的流程图。如图3所示,本申请实施例提供的屏幕参数调整方法可以包括如下步骤201至步骤203:An embodiment of the present application provides a method for adjusting screen parameters, which can be applied to electronic devices. FIG. 3 shows a flow chart of the method for adjusting screen parameters provided by the embodiment of the present application. As shown in FIG. 3 , the screen parameter adjustment method provided by the embodiment of the present application may include the following steps 201 to 203:
步骤201:获取屏幕的第一基准数据。Step 201: Acquiring first reference data of the screen.
其中,上述屏幕包括N个区域,上述第一基准数据包括:每个区域对应的第一触控响应基准值,N为正整数。Wherein, the above-mentioned screen includes N areas, and the above-mentioned first reference data includes: a first touch response reference value corresponding to each area, and N is a positive integer.
在本申请实施例中,上述第一基准数据可以为屏幕的一帧基准数据。In the embodiment of the present application, the above-mentioned first reference data may be one frame of reference data of the screen.
在本申请实施例中,上述一帧第一基准数据包括至少一个数据。示例性地,在屏幕包括M*N个节点的情况下,上述第一基准数据包括M*N个节点数据。In this embodiment of the present application, the above-mentioned one frame of first reference data includes at least one piece of data. Exemplarily, in the case that the screen includes M*N nodes, the above-mentioned first reference data includes M*N node data.
可选地,在本申请实施例中,上述第一检测数据可以为基准数据Baseline,该基准数据用于在屏幕当前接收到触控输入的情况下,和当前获取的第三检测数据(Rawdata)做差,得到电容差值数据(diffdata)。Optionally, in the embodiment of the present application, the above-mentioned first detection data may be benchmark data Baseline, which is used for the current obtained third detection data (Rawdata) when the screen currently receives touch input. Do the difference to get the capacitance difference data (diffdata).
示例性地,在获取屏幕的第一基准数据之后,屏幕参数调整装置可以获取屏幕的一帧第三检测数据。Exemplarily, after acquiring the first reference data of the screen, the screen parameter adjustment device may acquire a frame of third detection data of the screen.
需要说明的是,上述电容差值数据用于确定触控输入的触控点的坐标。It should be noted that the above capacitance difference data is used to determine the coordinates of the touch point of the touch input.
可选地,在本申请实施例中,上述第一触控响应基准值为上述第一基准数据的数值。Optionally, in the embodiment of the present application, the above-mentioned first touch response reference value is the value of the above-mentioned first reference data.
举例说明,以N个区域包括屏幕右下角的区域1和右上角的区域2为例。则区域1的第一触控响应基准值为屏幕右下角区域的触控响应基准值,区域2的第一触控响应基准值为屏幕右上角区域的触控响应基准值。For example, take N areas including area 1 at the lower right corner of the screen and area 2 at the upper right corner as an example. Then the first touch response reference value of area 1 is the touch response reference value of the lower right corner of the screen, and the first touch response reference value of area 2 is the touch response reference value of the upper right corner of the screen.
需要说明的是,因为电子设备的构造,其右下角的屏幕区域的电容感应数据相比于右上角的屏幕区域的电容感应数据,更容易受到外界环境温差的影响,因此,可以基于这两个区域的感应数据来判断外界的温差。It should be noted that due to the structure of the electronic device, the capacitive sensing data of the screen area in the lower right corner is more susceptible to the influence of the temperature difference of the external environment than the capacitive sensing data of the screen area in the upper right corner. Therefore, based on these two The sensing data of the area is used to judge the temperature difference outside.
可选地,在本申请实施例中,在获取屏幕的一帧第一基准数据之后,屏幕参数调整装置可以建立第一基准数据对应的Baseline矩阵,以通过该Baseline矩阵对基准数据进行计算或处理。Optionally, in this embodiment of the present application, after acquiring a frame of first benchmark data of the screen, the screen parameter adjustment device may establish a Baseline matrix corresponding to the first benchmark data, so as to calculate or process the benchmark data through the Baseline matrix .
示例性地,上述Baseline矩阵也可以称为Baseline平面,该Baseline平面可以为一个矩形平面,该平面中的基准数据和屏幕的整个区域的基准数据一一对应,用于表征屏幕的一帧基准数据的整体波动情况。Exemplarily, the above-mentioned Baseline matrix can also be called a Baseline plane, and the Baseline plane can be a rectangular plane, and the benchmark data in the plane corresponds to the benchmark data of the entire area of the screen, and is used to represent a frame of benchmark data of the screen overall volatility.
示例性地,屏幕参数调整装置可以获取Baseline平面的右上角区域的基准数据,以得到屏幕右上角区域的基准数据。Exemplarily, the device for adjusting screen parameters may acquire the reference data of the upper right corner area of the Baseline plane, so as to obtain the reference data of the upper right corner area of the screen.
步骤202:在满足第一预定条件的情况下,获取屏幕的第二基准数据。Step 202: Acquiring second reference data of the screen when the first predetermined condition is met.
其中,上述第二基准数据包括:每个区域对应的第二触控响应基准值。Wherein, the above-mentioned second reference data includes: a second touch response reference value corresponding to each area.
其中,上述第一基准数据为在第一时间获取的基准数据,上述第二基准数据为在第二时间获取的基准数据,上述第二时间晚于上述第一时间。Wherein, the first reference data is reference data obtained at a first time, and the second reference data is reference data obtained at a second time, and the second time is later than the first time.
在本申请实施例中,上述第一预定条件包括:一帧第三检测数据中的电容感应值发生波动,即,电容感应值整体发生变化。In the embodiment of the present application, the above-mentioned first predetermined condition includes: the capacitance sensing value in a frame of third detection data fluctuates, that is, the capacitance sensing value changes as a whole.
示例性地,屏幕参数调整装置在获取第三检测数据后,可以基于第三检测数据和上述第一基准数据得到差值数据diffdata,并通过检测diffdata的变化量,来确定第三检测数据的数值是否发生波动。进一步地,若diffdata的数值发生变化,则表征第三检测数据的数值发生变化。例如,diffdata数据整体趋于0,则表征第三检测数据的数值没有发生波动,在diffdata数据整体较大的情况下,则表征第三检测数据的数值发生波动。Exemplarily, after the screen parameter adjustment device acquires the third detection data, it can obtain the difference data diffdata based on the third detection data and the above-mentioned first reference data, and determine the value of the third detection data by detecting the change amount of the diffdata whether fluctuations occur. Further, if the value of diffdata changes, the value representing the third detection data changes. For example, if the overall diffdata tends to 0, then the numerical value representing the third detection data does not fluctuate; when the overall diffdata data is large, the numerical value representing the third detection data fluctuates.
在本申请实施例中,上述第二基准数据可以为更新后的一帧第二基准数据,示例 性地,上述第一基准数据可以为当前获取的对第一基准数据更新后的数据。In the embodiment of the present application, the above-mentioned second reference data may be an updated frame of second reference data. Exemplarily, the above-mentioned first reference data may be currently obtained updated data for the first reference data.
示例性地,屏幕参数调整可以在获取屏幕的第一基准数据之后的任意时间(即,第二时间),获取屏幕的第二基准数据。由于,屏幕的基准数据可以进行缓慢地更新,因此,在第二时间获取的第二基准数据可能与之前获取的第一基准数据不同,即,在第二时间获取的第二基准数据可以为更新后的第一基准数据。Exemplarily, the screen parameter adjustment may obtain the second reference data of the screen at any time (ie, the second time) after the first reference data of the screen is obtained. Since the benchmark data of the screen can be updated slowly, the second benchmark data acquired at the second time may be different from the first benchmark data acquired before, that is, the second benchmark data acquired at the second time may be updated After the first benchmark data.
需要说明的是,在获取屏幕的一帧第一基准数据之后,在用户进行触控输入的情况下,屏幕参数调整装置会获取当前的电容感应数据(即Rawdata),若温度等外界因素导致获取的当前的电容感应数据的值异常抬起或者下降,则当前的基准数据(即Baseline)也会随之变化,抵消电容感应数据的异常值,以得到触控输入比较准确的报点。It should be noted that after obtaining the first reference data of one frame of the screen, when the user performs touch input, the screen parameter adjustment device will obtain the current capacitive sensing data (ie Rawdata), if external factors such as temperature cause the acquisition If the value of the current capacitive sensing data rises or falls abnormally, the current baseline data (ie, Baseline) will also change accordingly to offset the abnormal value of the capacitive sensing data, so as to obtain a more accurate report of the touch input.
可选地,在本申请实施例中,在获取屏幕当前的电容感应数据之后,屏幕参数调整装置可以建立Rawdata对应的Rawdata矩阵,以通过该Rawdata矩阵对电容感应数据进行计算或处理。Optionally, in this embodiment of the present application, after acquiring the current capacitive sensing data of the screen, the screen parameter adjustment device may establish a Rawdata matrix corresponding to the Rawdata, so as to calculate or process the capacitive sensing data through the Rawdata matrix.
需要说明的是,上述Rawdata矩阵也可以称为Rawdata平面。It should be noted that the aforementioned Rawdata matrix may also be called a Rawdata plane.
可选地,在本申请实施例中,屏幕参数调整装置可以在检测到当前电容感应数据(即,Rawdata)发生数据发生波动的情况下,获取更新后的一帧第二基准数据。Optionally, in the embodiment of the present application, the device for adjusting screen parameters may obtain updated second reference data of a frame when it detects data fluctuations in the current capacitive sensing data (ie, Rawdata).
示例性地,屏幕参数调整装置在检测到当前Rawdata平面的数据发生波动的情况下,获取当前Baseline平面。Exemplarily, the screen parameter adjustment device acquires the current Baseline plane when it detects that the data of the current Rawdata plane fluctuates.
步骤203:基于每个区域对应的第一触控响应基准值与第二触控响应基准值间的变化量,调整屏幕的目标参数。Step 203: Adjust the target parameter of the screen based on the variation between the first touch response reference value and the second touch response reference value corresponding to each area.
其中,上述目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值,上述响应阈值可以为屏幕的报点阈值。Wherein, the above-mentioned target parameters include at least one of the following: an update rate of reference data, a noise threshold, and a response threshold, and the above-mentioned response threshold may be a reporting threshold of a screen.
可选地,在本申请实施例中,上述N个区域可以包括第一区域和第二区域;Optionally, in the embodiment of the present application, the above N areas may include the first area and the second area;
示例性地,上述步骤203可以包括如下步骤203a至步骤203c:Exemplarily, the above step 203 may include the following steps 203a to 203c:
步骤203a:屏幕参数调整装置获取第一区域的第一触控响应基准值和第一区域的第二触控响应基准值之间的第一变化量,以及第二区域的第一触控响应基准值和第二触控响应基准值之间的第二变化量。Step 203a: The screen parameter adjustment device acquires the first variation between the first touch response reference value of the first area and the second touch response reference value of the first area, and the first touch response reference value of the second area The second variation between the value and the second touch response reference value.
步骤203b:屏幕参数调整装置根据上述第一变化量和第二变化量确定第一数值。Step 203b: The screen parameter adjustment device determines the first value according to the first variation and the second variation.
步骤203c:屏幕参数调整装置根据上述第一数值,调整屏幕的目标参数。Step 203c: the screen parameter adjustment device adjusts the target parameter of the screen according to the above-mentioned first value.
示例性地,上述第一区域和第二区域可以为屏幕上对称的区域。例如,第一区域为屏幕的右上角区域,第二区域为屏幕的右下角区域,再例如,第一区域为屏幕的上半部分区域,第二区域为屏幕的下半部分区域。Exemplarily, the above-mentioned first area and second area may be symmetrical areas on the screen. For example, the first area is the upper right area of the screen, and the second area is the lower right area of the screen. For another example, the first area is the upper half area of the screen, and the second area is the lower half area of the screen.
示例性地,上述第一变化量可以为第一区域对应的第一触控响应基准值与第二触控响应基准值之间的差值;上述第二变化量可以为第二区域对应的第一触控响应基准值与第二触控响应基准值之间的差值。Exemplarily, the above-mentioned first change amount may be the difference between the first touch response reference value corresponding to the first area and the second touch response reference value; the above-mentioned second change amount may be the second touch response reference value corresponding to the second area. A difference between a touch response reference value and a second touch response reference value.
示例性地,上述第一数值可以为上述第一变化量和上述第二变化量之间的比值。Exemplarily, the above-mentioned first numerical value may be a ratio between the above-mentioned first change amount and the above-mentioned second change amount.
示例性地,屏幕参数调整装置可以基于上述每个区域对应的变化量之间的比值,来调整屏幕的目标参数。Exemplarily, the screen parameter adjustment device may adjust the target parameter of the screen based on the ratio between the above-mentioned change amounts corresponding to each area.
进一步可选地,在本申请实施例中,上述步骤203c可以包括如下步骤203c1和步骤203c2:Further optionally, in the embodiment of the present application, the above step 203c may include the following steps 203c1 and 203c2:
步骤203c1:屏幕参数调整装置根据第一数值所处的目标数值范围,确定调整策略。Step 203c1: The screen parameter adjustment device determines an adjustment strategy according to the target value range of the first value.
步骤203c2:屏幕参数调整装置基于上述调整策略,调整屏幕的目标参数。Step 203c2: The screen parameter adjustment device adjusts the target parameter of the screen based on the above adjustment strategy.
示例性地,屏幕参数调整装置可以判断至少一个预设数值范围中,上述比值所处的目标数值范围,然后对屏幕的目标参数进行调整。进一步地,一个预设数值范围对应一种调整策略。Exemplarily, the device for adjusting screen parameters may determine the target value range of the ratio in at least one preset value range, and then adjust the target parameter of the screen. Further, a preset value range corresponds to an adjustment strategy.
在具体的实现中,屏幕参数调整装置可以确定第一区域的第一触控响应基准值和第二触控响应基准值的第一差值,以及,确定第二区域的第一触控响应基准值和第二触控响应基准值的第二差值,然后,计算上述第一差值和第二差值的比值,并确定该比值所处的数值范围,最后,根据该比值所处的数值范围对应的调整策略,来针对性地调整屏幕的目标参数。In a specific implementation, the screen parameter adjustment device may determine the first difference between the first touch response reference value and the second touch response reference value of the first area, and determine the first touch response reference value of the second area value and the second touch response reference value, then calculate the ratio of the first difference to the second difference, and determine the numerical range of the ratio, and finally, according to the numerical value of the ratio The adjustment strategy corresponding to the range is used to adjust the target parameters of the screen in a targeted manner.
进一步可选地,在本申请实施例中,上述步骤203c1可以包括如下步骤204a或步骤204b:Further optionally, in the embodiment of the present application, the above step 203c1 may include the following step 204a or step 204b:
步骤204a:在第一数值处于第一数值范围的情况下,确定调整策略为第一调整策略。Step 204a: When the first numerical value is in the first numerical range, determine the adjustment strategy as the first adjustment strategy.
其中,上述第一调整策略包括:将屏幕的基准数据的更新速率调整为第一更新速率,并将噪声阈值调整为第一噪声阈值,上述第一更新速率大于调整前的更新速率,上述第一噪声阈值大于调整前的噪声阈值。Wherein, the above-mentioned first adjustment strategy includes: adjusting the update rate of the reference data of the screen to the first update rate, and adjusting the noise threshold to the first noise threshold, the above-mentioned first update rate is greater than the update rate before adjustment, and the above-mentioned first The noise threshold is greater than the noise threshold before adjustment.
步骤204b:在第一数值处于第二数值范围的情况下,确定调整策略为第二调整策略。Step 204b: When the first numerical value is in the second numerical range, determine that the adjustment strategy is the second adjustment strategy.
其中,上述第二调整策略包括:将屏幕的基准数据的更新速率调整为第二更新速率,并将响应阈值调整为第一响应阈值,上述第一响应阈值小于调整前的响应阈值。Wherein, the second adjustment strategy includes: adjusting the update rate of the reference data of the screen to the second update rate, and adjusting the response threshold to the first response threshold, and the first response threshold is smaller than the response threshold before adjustment.
示例性地,屏幕参数调整装置可以根据第一数值所处的数值范围,以及,第一变化量和第二变化量的大小,来确定调整策略。Exemplarily, the apparatus for adjusting screen parameters may determine the adjustment strategy according to the value range of the first value and the magnitudes of the first change amount and the second change amount.
示例性地,以上述第一数值范围和上述第二数值范围可以为[Φ,+∞),上述第一变化量(即,第一差值)可以用△R1表示,上述第二变化量(即,第二差值)可以用△R2表示,上述第一数值(即,比值)可以用△R1/△R2表示。Exemplarily, the above-mentioned first numerical range and the above-mentioned second numerical range can be [Φ, +∞), the above-mentioned first variation (that is, the first difference) can be represented by ΔR1, and the above-mentioned second variation ( That is, the second difference) can be represented by ΔR2, and the above-mentioned first value (ie, the ratio) can be represented by ΔR1/ΔR2.
以下为根据在第一数值所处的数值范围以及第一变化量和第二变化了量的大小,对屏幕的目标参数的调整策略:The following is the adjustment strategy for the target parameters of the screen according to the value range of the first value and the size of the first change amount and the second change amount:
1)当△R1/△R2在[-Φ,Φ]区间时,表征当前环境的温差较小,缓慢随着Rawdata 变化趋势更新Baseline;1) When △R1/△R2 is in the interval [-Φ, Φ], the temperature difference representing the current environment is small, and the Baseline is slowly updated with the changing trend of Rawdata;
2)当△R1/△R2在[Φ,+∞)区间且△R1<0、△R2<0时,表征当前环境温度在降低,为了避免低温切换到高温出现触屏误跳点,提高基准数据的更新速率,并提高Noise阈值,采用均值滤波算法进行数据滤波;2) When △R1/△R2 is in the interval [Φ, +∞) and △R1<0, △R2<0, it means that the current ambient temperature is decreasing. In order to avoid the false jump point of the touch screen when switching from low temperature to high temperature, increase the benchmark The data update rate is increased, and the Noise threshold is increased, and the average filtering algorithm is used for data filtering;
3)当△R1/△R2在[Φ,+∞)区间且△R1>0、△R2>0时,表征当前环境温度在升高,为了避免高切换到低温出现触屏无功能和灵敏度低,提高Baseline更新的速度,并降低报点阈值;3) When △R1/△R2 is in the [Φ, +∞) interval and △R1>0, △R2>0, it means that the current ambient temperature is rising, in order to avoid switching from high to low temperature, the touch screen has no function and low sensitivity , increase the speed of Baseline update, and reduce the reporting threshold;
4)若△R1/△R2均不满足(1)(2)(3)则认为上述流程异常,重新获取第一基准数据并建立Baseline平面。4) If none of △R1/△R2 satisfies (1)(2)(3), the above process is considered to be abnormal, and the first baseline data is reacquired and the Baseline plane is established.
在本申请实施例提供的屏幕参数调整方法中,屏幕参数调整装置获取屏幕的一帧第一基准数据,该屏幕包括N个区域,上述第一基准数据包括:每个区域对应的第一触控响应基准值,N为正整数,并在满足第一预定条件的情况下,获取屏幕的更新后的一帧第二基准数据,该第二基准数据包括:每个区域对应的第二触控响应基准值,然后,基于每个区域对应的所述第一触控响应基准值与所述第二触控响应基准值间的变化量,调整屏幕的目标参数,该目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,报点阈值。通过该方法,当识别当前环境温度为低温时,预先提高Baseline更新速度保证低温切高温Baseline速度能追上温度带来的Rawdata变化速度,并提高Noise阈值保证低温切高温时滤波算法能够将diffdata异常抬起数据滤除;当识别当前环境温度为高温时,预先提高Baseline更新速度,并降低报点阈值,从而提高了屏幕的灵敏性。In the screen parameter adjustment method provided in the embodiment of the present application, the screen parameter adjustment device acquires a frame of first reference data of the screen, the screen includes N areas, and the first reference data includes: the first touch corresponding to each area Response reference value, N is a positive integer, and if the first predetermined condition is met, acquire the updated second reference data of a frame of the screen, the second reference data includes: the second touch response corresponding to each area The reference value, and then, based on the variation between the first touch response reference value and the second touch response reference value corresponding to each area, adjust the target parameters of the screen, and the target parameters include at least one of the following: Update rate of benchmark data, noise threshold, and reporting threshold. Through this method, when it is recognized that the current ambient temperature is low temperature, the Baseline update speed is increased in advance to ensure that the low temperature and high temperature Baseline speed can catch up with the Rawdata change speed brought by the temperature, and the Noise threshold is increased to ensure that the filter algorithm can reduce diffdata abnormalities when the temperature is low and high temperature Lift the data filtering; when the current ambient temperature is identified as high temperature, the Baseline update speed will be increased in advance, and the reporting threshold will be lowered, thereby improving the sensitivity of the screen.
可选地,在本申请实施例中,上述目标参数包括:屏幕的基准数据的更新速率。Optionally, in this embodiment of the present application, the foregoing target parameters include: an update rate of reference data of the screen.
示例性地,上述步骤203中调整屏幕的目标参数之后,本申请实施例提供的屏幕参数调整方法还包括如下步骤A1:Exemplarily, after the target parameter of the screen is adjusted in step 203 above, the screen parameter adjustment method provided in the embodiment of the present application further includes the following step A1:
步骤A1:按照调整后的更新速率,更新屏幕的基准数据。Step A1: Update the reference data of the screen according to the adjusted update rate.
示例性地,屏幕参数调整装置可以在第一数值处于第一数值范围的情况下,以第一更新速率更新屏幕的基准数据,或者,在第一数值处于第二数值范围的情况下,以第二更新速率更新屏幕的基准数据。由于第一更新速率和第二更新速率均大于更新前的更新速率,因此,可以在当前发生较大的温度切换的情况下,预先提高屏幕的基准数据的更新速率,以避免后续的温度切换导致屏幕不灵敏或者无功能的问题。Exemplarily, the screen parameter adjustment device may update the reference data of the screen at a first update rate when the first value is in the first value range, or, when the first value is in the second value range, update the reference data at the first update rate. 2 Update Rate Updates the benchmark data of the screen. Since both the first update rate and the second update rate are greater than the update rate before the update, the update rate of the reference data of the screen can be increased in advance in the case of a large temperature switch currently occurring, so as to avoid the subsequent temperature switch from causing The screen is not sensitive or does not function.
例如,当识别当前环境温度为低温时,预先提高Baseline更新速度保证低温切高温Baseline速度能追上温度带来的Rawdata变化速度;当识别当前环境温度为高温时,预先提高Baseline更新速度,并降低报点阈值,从而保证高温切低温场景下屏幕的灵敏性和触屏准确性。For example, when it is recognized that the current ambient temperature is low temperature, the Baseline update speed is increased in advance to ensure that the low temperature and high temperature Baseline speed can catch up with the Rawdata change speed caused by the temperature; when the current ambient temperature is recognized as high temperature, the Baseline update speed is increased in advance, and reduced Reporting threshold, so as to ensure the sensitivity of the screen and the accuracy of the touch screen in high temperature and low temperature scenes.
可选地,在本申请实施例中,上述步骤201可以包括如下步骤201a:Optionally, in this embodiment of the application, the above step 201 may include the following step 201a:
步骤201a:获取屏幕的N帧第一检测数据。Step 201a: Acquiring N frames of first detection data of the screen.
其中,上述一帧第一基准数据为:上述N帧第一检测数据中,在未接收到用户的触控输入的情况下所采集的一帧第一检测数据。Wherein, the above-mentioned one frame of first reference data is: among the above-mentioned N frames of first detection data, one frame of first detection data collected when no touch input from the user is received.
示例性地,触控IC上电或者休眠唤醒后,扫描获取若干帧第一检测数据(Rawdata),当检测到某一帧Rawdata比较稳定且无触摸发生,则将该帧Rawdata确定为第一基准数据(Baseline),并以该平整度较高的一帧Rawdata建立Baseline平面。Exemplarily, after the touch IC is powered on or wakes up from sleep, it scans to obtain several frames of first detection data (Rawdata), and when it detects that a certain frame of Rawdata is relatively stable and no touch occurs, the frame of Rawdata is determined as the first reference Data (Baseline), and establish a Baseline plane with a frame of Rawdata with higher flatness.
可选地,在本申请实施例中,上述步骤201之后,本申请实施例提供的屏幕参数调整方法还包括如下步骤B1至步骤B3:Optionally, in the embodiment of the present application, after the above step 201, the screen parameter adjustment method provided in the embodiment of the present application further includes the following steps B1 to B3:
步骤B1:获取屏幕的一帧第三检测数据。Step B1: Obtain a frame of third detection data of the screen.
步骤B2:确定上述一帧第三检测数据中的电容感应值与当前获取到的一帧检测数据中的触控响应基准值间的目标差值。Step B2: Determine the target difference between the capacitive sensing value in the above-mentioned frame of third detection data and the touch response reference value in the currently acquired frame of detection data.
步骤B3:基于目标差值,确定所述屏幕上是否接收到触控输入。Step B3: Based on the target difference, determine whether a touch input is received on the screen.
其中,上述第三检测数据包括:屏幕中的电容感应值。Wherein, the above-mentioned third detection data includes: a capacitance sensing value in the screen.
示例性地,屏幕参数调整装置在建立Baseline平面后,可以通过触控IC对屏幕节点进行扫描,以获取屏幕的第三检测数据。Exemplarily, after the screen parameter adjustment device establishes the Baseline plane, it can scan the screen nodes through the touch IC to obtain the third detection data of the screen.
示例性地,上述一帧检测数据包括:当前获取的基准数据(Baseline)。Exemplarily, the above-mentioned frame of detection data includes: currently acquired baseline data (Baseline).
示例性地,上述目标差值用于表征屏幕的电容数据的变化量。Exemplarily, the above-mentioned target difference is used to characterize the variation of the capacitance data of the screen.
示例性地,屏幕参数调整装置可以判断基于上述目标差值判断当前是否接收到触控输入。例如,在上述目标差值大于报点阈值的情况下,确定当前接收到触控输入。Exemplarily, the apparatus for adjusting screen parameters may determine whether a touch input is currently received based on the aforementioned target difference. For example, in a case where the above-mentioned target difference is greater than the reporting threshold, it is determined that a touch input is currently received.
进一步可选地,在本申请实施例中,上述步骤B3可以包括如下步骤C1:Further optionally, in the embodiment of the present application, the above step B3 may include the following step C1:
步骤C1:在确定屏幕接收到触控输入的情况下,响应于触控输入,根据目标差值,确定触控输入对应的触控点的坐标。Step C1: When it is determined that the screen receives a touch input, in response to the touch input, determine the coordinates of the touch point corresponding to the touch input according to the target difference.
示例性地,屏幕参数处理装置可以对上述目标差值,经过触控算法算法计算后,得到触控输入对应的触控点的坐标,并针对该坐标进行报点。Exemplarily, the screen parameter processing device may obtain the coordinates of the touch point corresponding to the touch input after calculating the above target difference through a touch algorithm, and report the coordinates.
进一步可选地,在本申请实施例中,上述步骤202可以包括如下步骤202a:Further optionally, in the embodiment of the present application, the above step 202 may include the following step 202a:
步骤202a:在确定屏幕未接收到触控输入的情况下,若检测到第三检测数据的数值发生波动,则获取屏幕的更新后的一帧第二基准数据。Step 202a: If it is determined that the screen does not receive a touch input, if it is detected that the value of the third detection data fluctuates, acquire updated second reference data of a frame of the screen.
示例性地,屏幕参数的确定装置可以通过电容差值数据(diffdata)判断当前采样的第三检测数据的数值是否发生波动。Exemplarily, the device for determining the screen parameter may judge whether the value of the currently sampled third detection data fluctuates according to the capacitance difference data (diffdata).
示例性地,上述电容差值数据是基于上述第三检测数据和更新后的基准数据(Baseline)确定的。Exemplarily, the above capacitance difference data is determined based on the above third detection data and updated baseline data (Baseline).
需要说明的是,若屏幕未接收到触控输入,则正常情况下,当前检测到的屏幕的电容感应值(Rawdata)与基准值(Baseline)基本一致,即,电容感应值和基准值的差值会趋于0(即0平面),而在环境温度发生突变(如,从25℃的环境进入5℃的环境中)的情况下,会对当前获取的电容感应值产生影响,在这种情况下,电容感应 值和基准值的差值会较大,则认为当前获取的电容感应值产生数据波动。It should be noted that if the screen does not receive touch input, under normal circumstances, the currently detected capacitive sensing value (Rawdata) of the screen is basically consistent with the baseline value (Baseline), that is, the difference between the capacitive sensing value and the baseline value The value will tend to 0 (that is, the 0 plane), and in the case of a sudden change in the ambient temperature (for example, from an environment of 25°C to an environment of 5°C), it will have an impact on the currently acquired capacitive sensing value. In some cases, the difference between the capacitive sensing value and the reference value is relatively large, and it is considered that the currently acquired capacitive sensing value generates data fluctuations.
以下为本申请实施例提供的屏幕参数调整方法的一种实施步骤的示例,如图4所示为本申请实施例提供的屏幕参数的处理方法的流程图:The following is an example of an implementation step of the screen parameter adjustment method provided by the embodiment of the present application, as shown in FIG. 4, which is a flow chart of the screen parameter processing method provided by the embodiment of the present application:
以基准数据(第一基准数据,第二基准数据)为Baseline,检测数据(第一检测数据,第三检测数据)为Rawdata为例。Take baseline data (first benchmark data, second benchmark data) as Baseline, and detection data (first detection data, third detection data) as Rawdata as an example.
Step1:触控IC上电或者休眠唤醒后,扫描获取若干帧Rawdata,当检测到Rawdata比较稳定且无触摸发生,以平整度较高的一帧Rawdata建立初始Baseline平面;Step1: After the touch IC is powered on or wakes up from sleep, scan to obtain several frames of Rawdata. When it is detected that the Rawdata is relatively stable and no touch occurs, an initial Baseline plane is established with a frame of Rawdata with higher flatness;
Step2:计算初始Baseline平面右下角区域M*N个节点Baseline的均值R10,计算右上角对称区域Baseline的均值R20,以18Tx*32Rx的触控模组为例,M为行数可取5,N为列数可取9;Step2: Calculate the mean value R10 of the Baseline of M*N nodes in the lower right corner area of the initial Baseline plane, and calculate the mean value R20 of the Baseline of the symmetrical area in the upper right corner. Taking the touch module of 18Tx*32Rx as an example, M is the number of rows and can be 5, and N is The number of columns can be 9;
Step3:建立初始Baseline平面后,触控IC扫描获取Rawdata,计算当前diffdata数据,并经过滤波处理得到diffdata平面;Step3: After establishing the initial Baseline plane, the touch IC scans to obtain Rawdata, calculates the current diffdata data, and obtains the diffdata plane after filtering;
Setp4:检测diffdata平面是否有触摸发生,若有则经过一系列算法计算触摸坐标,然后报点,若无触摸发生则通过diffdata平面判断Step3中采样的Rawdata是否发生变化,即,是否有数据偏移,若未发生变化则回到Setp3开启下一帧Rawdata采样,若有数据偏移则进入Step5;Setp4: Detect whether there is a touch on the diffdata plane, if so, calculate the touch coordinates through a series of algorithms, and then report the point, if no touch occurs, judge whether the Rawdata sampled in Step3 has changed through the diffdata plane, that is, whether there is a data offset , if there is no change, return to Setp3 to start the next frame of Rawdata sampling, and enter Step5 if there is data offset;
Step5:检测到当前Rawdata平面的数据发生变化后,获取当前Baseline平面,计算当前Baseline平面右下角区域M*N个节点的Baseline的均值R11和右上角对称区域Baseline的均值R21,并计算当前Baseline平面的右下角区域的均值与初始Baseline平面的右下角区域的均值之间的差值△R1=R11-R10,以及,计算当前Baseline平面的右上角区域的均值与初始Baseline平面的右上角区域的均值之间的差值△R2=R21-R20;Step5: After detecting that the data of the current Rawdata plane has changed, obtain the current Baseline plane, calculate the mean value R11 of the Baseline of the M*N nodes in the lower right corner area of the current Baseline plane and the mean value R21 of the Baseline of the symmetrical area in the upper right corner, and calculate the current Baseline plane The difference between the mean value of the lower right corner area of the initial Baseline plane and the mean value of the lower right corner area of the initial Baseline plane △R1=R11-R10, and calculate the mean value of the upper right corner area of the current Baseline plane and the mean value of the upper right corner area of the initial Baseline plane The difference between △R2=R21-R20;
Step6:判断上述差值△R1和差值△R2之间的比值△R1/△R2与预设阈值Φ的关系,然后进入不同处理流程:Step6: Determine the relationship between the ratio △R1/△R2 between the above difference △R1 and the difference △R2 and the preset threshold Φ, and then enter different processing procedures:
1)当△R1/△R2在[-Φ,Φ]区间时,表征虽然Rawdata与Baseline平面存在数据偏移,但偏移程度较小,即,当前环境温差较小,则缓慢随着Rawdata变化趋势更新Baseline;1) When △R1/△R2 is in the interval [-Φ, Φ], it indicates that although there is a data offset between the Rawdata and the Baseline plane, the offset degree is small, that is, the current ambient temperature difference is small, and it slowly changes with the Rawdata Trend update Baseline;
2)当△R1/△R2在[Φ,+∞)区间且△R1<0、△R2<0时,表征当前环境温度在降低,为了避免低温切换到高温出现触屏误跳点,提高Baseline更新的速度,并提高Noise阈值,以及,采用均值滤波算法进行数据滤波;2) When △R1/△R2 is in the interval [Φ, +∞) and △R1<0, △R2<0, it indicates that the current ambient temperature is decreasing. In order to avoid the false jump point of the touch screen when switching from low temperature to high temperature, increase the Baseline Update speed, and increase the Noise threshold, and use the mean filtering algorithm for data filtering;
3)当△R1/△R2在[Φ,+∞)区间且△R1>0、△R2>0时,认为当前环境温度在升高,为了避免高切换到低温出现触屏无功能和灵敏度低,提高Baseline更新的速度,并降低报点阈值;3) When △R1/△R2 is in the [Φ, +∞) interval and △R1>0, △R2>0, it is considered that the current ambient temperature is rising, in order to avoid switching from high to low temperature, the touch screen has no function and low sensitivity , increase the speed of Baseline update, and reduce the reporting threshold;
4)若△R1/△R2均不满足(1)(2)(3)则认为当前获取的Baseline有误,重新回到Step1获取Rawdata建立Baseline。4) If neither △R1/△R2 satisfies (1)(2)(3), then it is considered that the currently obtained Baseline is wrong, and return to Step 1 to obtain Rawdata to establish a Baseline.
需要说明的是,考虑触控电容屏全屏电容节点会有远近端差距,Φ的取值可以为5,在处理结束后回到Setp3开启下一帧Rawdata采样。It should be noted that, considering that there will be a gap between the far and near ends of the full-screen capacitive nodes of the touch capacitive screen, the value of Φ can be 5, and return to Setp3 after processing to start the next frame of Rawdata sampling.
需要说明的是,本申请实施例提供的屏幕参数调整方法,执行主体可以为屏幕参数调整装置,或者该屏幕参数调整装置中的用于执行屏幕参数调整方法的控制模块。本申请实施例中以屏幕参数调整装置执行屏幕参数调整方法为例,说明本申请实施例提供的屏幕参数调整装置。It should be noted that, the screen parameter adjustment method provided in the embodiment of the present application may be executed by a screen parameter adjustment device, or a control module in the screen parameter adjustment device for executing the screen parameter adjustment method. In the embodiment of the present application, the method for adjusting the screen parameter performed by the screen parameter adjusting device is taken as an example to illustrate the screen parameter adjusting device provided in the embodiment of the present application.
本申请实施例提供一种屏幕参数调整装置,如图5所示,该屏幕参数调整装置600包括:获取模块601和调整模块602,其中:所述获取模块601,用于获取屏幕的第一基准数据,所述屏幕包括N个区域,所述第一基准数据包括:每个所述区域对应的第一触控响应基准值,N为正整数;所述获取模块601,还用于在满足第一预定条件的情况下,获取所述屏幕的第二基准数据;所述第二基准数据包括:每个所述区域对应的第二触控响应基准值;所述调整模块602,用于基于所述获取模块获取的每个所述区域对应的所述第一触控响应基准值与所述第二触控响应基准值之间的变化量,调整所述屏幕的目标参数;其中,所述第一基准数据为在第一时间获取的基准数据,所述第二基准数据为在第二时间获取的基准数据,所述第二时间晚于所述第一时间;所述目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值。An embodiment of the present application provides a screen parameter adjustment device. As shown in FIG. 5 , the screen parameter adjustment device 600 includes: an acquisition module 601 and an adjustment module 602, wherein: the acquisition module 601 is used to acquire the first reference of the screen data, the screen includes N areas, the first reference data includes: a first touch response reference value corresponding to each of the areas, N is a positive integer; the acquisition module 601 is further configured to meet the first In the case of a predetermined condition, acquire second reference data of the screen; the second reference data includes: a second touch response reference value corresponding to each of the regions; the adjustment module 602 is configured to The change amount between the first touch response reference value and the second touch response reference value corresponding to each of the regions obtained by the acquisition module is used to adjust the target parameters of the screen; wherein, the first touch response reference value A reference data is the reference data obtained at the first time, and the second reference data is the reference data obtained at the second time, and the second time is later than the first time; the target parameters include at least one of the following Items: update rate of benchmark data, noise threshold, response threshold.
可选地,在本申请实施例中,所述N个区域包括第一区域和第二区域;所述装置还包括:确定模块;所述获取模块,还用于获取所述第一区域的第一触控响应基准值和所述第一区域的第二触控响应基准值之间的第一变化量,以及所述第二区域的第一触控响应基准值和第二触控响应基准值之间的第二变化量;所述确定模块,用于根据所述获取模块获取的所述第一变化量和所述第二变化量确定第一数值;所述调整模块,具体用于根据所述确定模块确定的所述第一数值,调整所述屏幕的目标参数。Optionally, in this embodiment of the present application, the N areas include a first area and a second area; the device further includes: a determination module; and the acquisition module is further configured to acquire the first area of the first area A first change amount between a touch response reference value and the second touch response reference value of the first area, and the first touch response reference value and the second touch response reference value of the second area The second change amount between; the determination module is used to determine the first value according to the first change amount and the second change amount acquired by the acquisition module; the adjustment module is specifically used to determine the first value according to the obtained The first value determined by the determination module is used to adjust the target parameter of the screen.
可选地,在本申请实施例中,所述确定模块,还用于根据所述确定模块确定的所述第一数值所处的目标数值范围,确定调整策略;Optionally, in the embodiment of the present application, the determination module is further configured to determine an adjustment strategy according to the target value range of the first value determined by the determination module;
所述调整模块,具体用于基于所述确定模块确定的所述调整策略,调整所述屏幕的目标参数。The adjustment module is specifically configured to adjust the target parameter of the screen based on the adjustment strategy determined by the determination module.
可选地,在本申请实施例中,所述确定模块,具体用于在所述第一数值处于第一数值范围的情况下,确定所述调整策略为第一调整策略;所述第一调整策略包括:将屏幕的基准数据的更新速率调整为第一更新速率,并将所述噪声阈值调整为第一噪声阈值,所述第一更新速率大于调整前的更新速率,所述第一噪声阈值大于调整前的噪声阈值;所述确定模块,具体用于在所述第一数值处于第二数值范围的情况下,确定所述调整策略为第二调整策略,所述第二调整策略包括:将屏幕的基准数据的更新速率调整为第二更新速率,并将所述响应阈值调整为第一响应阈值,所述第一响应阈值小于调整前的响应阈值。Optionally, in the embodiment of the present application, the determining module is specifically configured to determine that the adjustment strategy is a first adjustment strategy when the first value is in a first value range; the first adjustment The strategy includes: adjusting the update rate of the benchmark data of the screen to a first update rate, and adjusting the noise threshold to a first noise threshold, the first update rate being greater than the update rate before adjustment, and the first noise threshold greater than the noise threshold before adjustment; the determination module is specifically configured to determine that the adjustment strategy is a second adjustment strategy when the first value is in a second value range, and the second adjustment strategy includes: The update rate of the reference data of the screen is adjusted to the second update rate, and the response threshold is adjusted to the first response threshold, and the first response threshold is smaller than the response threshold before adjustment.
可选地,在本申请实施例中,所述目标参数包括:屏幕的基准数据的更新速率; 所述调整所述屏幕的目标参数之后,所述装置还包括:更新模块;所述更新模块,用于按照所述调整模块调整后的更新速率,更新所述屏幕的基准数据。Optionally, in this embodiment of the present application, the target parameter includes: an update rate of reference data of the screen; after the target parameter of the screen is adjusted, the device further includes: an update module; the update module, It is used for updating the reference data of the screen according to the update rate adjusted by the adjustment module.
在本申请实施例提供的屏幕参数调整装置中,屏幕参数调整装置获取屏幕的第一基准数据,该屏幕包括N个区域,上述第一基准数据包括:每个区域对应的第一触控响应基准值,N为正整数,并在满足第一预定条件的情况下,获取屏幕的第二基准数据,该第二基准数据包括:每个区域对应的第二触控响应基准值,然后,基于每个区域对应的第一触控响应基准值与第二触控响应基准值间的变化量,调整屏幕的目标参数,该目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值。通过该方法,屏幕参数调整装置可以根据在不同区域采集的检测数据的差异性,对屏幕的基准数据的更新速率、噪声阈值、响应阈值等进行调整,从而在当触屏环境发生温度变化,通过侦测触控响应基准值的变化快速切换相关算法进行数据处理,避免发生误报点、无功能和不灵敏等问题,提升用户体验。In the screen parameter adjustment device provided in the embodiment of the present application, the screen parameter adjustment device acquires the first reference data of the screen, the screen includes N areas, and the first reference data includes: the first touch response reference corresponding to each area value, N is a positive integer, and when the first predetermined condition is met, acquire the second reference data of the screen, the second reference data includes: the second touch response reference value corresponding to each area, and then, based on each The amount of change between the first touch response reference value and the second touch response reference value corresponding to each area, adjust the target parameters of the screen, and the target parameters include at least one of the following: update rate of reference data, noise threshold, and response threshold . Through this method, the screen parameter adjustment device can adjust the update rate, noise threshold, response threshold, etc. of the reference data of the screen according to the difference of the detection data collected in different areas, so that when the temperature changes in the touch screen environment, through Detect changes in touch response reference values and quickly switch to relevant algorithms for data processing, avoiding false alarm points, non-functional and insensitivity problems, and improving user experience.
本申请实施例中的屏幕参数调整装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The device for adjusting screen parameters in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的屏幕参数调整装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The device for adjusting screen parameters in this embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的屏幕参数调整装置能够实现图1至图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。The screen parameter adjustment device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
可选的,如图6所示,本申请实施例还提供一种电子设备700,包括处理器701,存储器702,存储在存储器702上并可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述屏幕参数调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 6 , the embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, and programs or instructions stored in the memory 702 and operable on the processor 701, When the program or instruction is executed by the processor 701, the various processes of the above screen parameter adjustment method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比 如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 100 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 110 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
其中,所述处理器110,用于获取屏幕的第一基准数据,所述屏幕包括N个区域,所述第一基准数据包括:每个所述区域对应的第一触控响应基准值,N为正整数;所述处理器110,还用于在满足第一预定条件的情况下,获取所述屏幕的第二基准数据;所述第二基准数据包括:每个所述区域对应的第二触控响应基准值;所述处理器110,用于基于所述获取模块获取的每个所述区域对应的所述第一触控响应基准值与所述第二触控响应基准值之间的变化量,调整所述屏幕的目标参数;其中,所述第一基准数据为在第一时间获取的基准数据,所述第二基准数据为在第二时间获取的基准数据,所述第二时间晚于所述第一时间;所述目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值。Wherein, the processor 110 is configured to acquire first reference data of the screen, the screen includes N areas, and the first reference data includes: a first touch response reference value corresponding to each of the areas, N is a positive integer; the processor 110 is further configured to acquire the second reference data of the screen when the first predetermined condition is met; the second reference data includes: the second reference data corresponding to each of the regions A touch response reference value; the processor 110 is configured to obtain, based on the difference between the first touch response reference value and the second touch response reference value corresponding to each of the regions obtained by the acquiring module The amount of change is to adjust the target parameters of the screen; wherein, the first reference data is the reference data obtained at the first time, the second reference data is the reference data obtained at the second time, and the second time Later than the first time; the target parameter includes at least one of the following: an update rate of reference data, a noise threshold, and a response threshold.
可选地,在本申请实施例中,所述N个区域包括第一区域和第二区域;所述处理器110,还用于获取所述第一区域的第一触控响应基准值和所述第一区域的第二触控响应基准值之间的第一变化量,以及所述第二区域的第一触控响应基准值和第二触控响应基准值之间的第二变化量;所述处理器110,用于根据获取的所述第一变化量和所述第二变化量确定第一数值;所述调整模块,具体用于根据所述确定模块确定的所述第一数值,调整所述屏幕的目标参数。Optionally, in this embodiment of the present application, the N areas include a first area and a second area; the processor 110 is further configured to acquire the first touch response reference value and the first touch response reference value of the first area. a first change amount between the second touch response reference value of the first area, and a second change amount between the first touch response reference value and the second touch response reference value of the second area; The processor 110 is configured to determine a first value according to the acquired first variation and the second variation; the adjustment module is specifically configured to determine the first value according to the determination module, Adjust the target parameters of the screen.
可选地,在本申请实施例中,所述处理器110,还用于根据所述第一数值所处的目标数值范围,确定调整策略;所述处理器110,具体用于基于所述确定模块确定的所述调整策略,调整所述屏幕的目标参数。Optionally, in the embodiment of the present application, the processor 110 is further configured to determine an adjustment strategy according to the target value range of the first value; the processor 110 is specifically configured to determine an adjustment strategy based on the determined The adjustment strategy determined by the module adjusts the target parameters of the screen.
可选地,在本申请实施例中,所述处理器110,具体用于在所述第一数值处于第一数值范围的情况下,确定所述调整策略为第一调整策略;所述第一调整策略包括:将屏幕的基准数据的更新速率调整为第一更新速率,并将所述噪声阈值调整为第一噪声阈值,所述第一更新速率大于调整前的更新速率,所述第一噪声阈值大于调整前的噪声阈值;所述处理器110,具体用于在所述第一数值处于第二数值范围的情况下,确定所述调整策略为第二调整策略,所述第二调整策略包括:将屏幕的基准数据的更新速率调整为第二更新速率,并将所述响应阈值调整为第一响应阈值,所述第一响应阈值小于调整前的响应阈值。Optionally, in the embodiment of the present application, the processor 110 is specifically configured to determine that the adjustment strategy is a first adjustment strategy when the first value is in a first value range; the first The adjustment strategy includes: adjusting the update rate of the benchmark data of the screen to a first update rate, and adjusting the noise threshold to the first noise threshold, the first update rate being greater than the update rate before adjustment, and the first noise threshold The threshold is greater than the noise threshold before adjustment; the processor 110 is specifically configured to determine that the adjustment strategy is a second adjustment strategy when the first value is in a second value range, and the second adjustment strategy includes : Adjust the update rate of the reference data of the screen to a second update rate, and adjust the response threshold to a first response threshold, where the first response threshold is smaller than the response threshold before adjustment.
可选地,在本申请实施例中,所述目标参数包括:屏幕的基准数据的更新速率;所述调整所述屏幕的目标参数之后,所述处理器110,用于按照所述调整模块调整后的更新速率,更新所述屏幕的基准数据。Optionally, in the embodiment of the present application, the target parameters include: the update rate of the reference data of the screen; after the adjustment of the target parameters of the screen, the processor 110 is configured to adjust After the update rate, update the baseline data of the screen.
在本申请实施例提供的电子设备中,电子设备获取屏幕的第一基准数据,该屏幕包括N个区域,上述第一基准数据包括:每个区域对应的第一触控响应基准值,N为 正整数,并在满足第一预定条件的情况下,获取屏幕的第二基准数据,该第二基准数据包括:每个区域对应的第二触控响应基准值,然后,基于每个区域对应的第一触控响应基准值与第二触控响应基准值间的变化量,调整屏幕的目标参数,该目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值。通过该方法,电子设备可以根据在不同区域采集的检测数据的差异性,对屏幕的基准数据的更新速率、噪声阈值、响应阈值等进行调整,从而在当触屏环境发生温度变化,通过侦测触控响应基准值的变化快速切换相关算法进行数据处理,避免发生误报点、无功能和不灵敏等问题,提升用户体验。In the electronic device provided in the embodiment of the present application, the electronic device acquires the first reference data of the screen, and the screen includes N areas. The first reference data includes: the first touch response reference value corresponding to each area, and N is positive integer, and when the first predetermined condition is met, obtain the second reference data of the screen, the second reference data includes: the second touch response reference value corresponding to each area, and then, based on the corresponding The variation between the first touch response reference value and the second touch response reference value adjusts target parameters of the screen, and the target parameters include at least one of the following: update rate of reference data, noise threshold, and response threshold. Through this method, the electronic device can adjust the update rate, noise threshold, and response threshold of the reference data of the screen according to the difference of the detection data collected in different areas, so that when the temperature changes in the touch screen environment, through detection Changes in the touch response reference value quickly switch to relevant algorithms for data processing, avoiding false alarm points, non-functional and insensitive problems, and improving user experience.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。It should be understood that, in the embodiment of the present application, the input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used by the image capturing device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 109 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述屏幕参数调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above screen parameter adjustment method embodiment is realized, and can achieve The same technical effects are not repeated here to avoid repetition.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述屏幕参数调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the screen parameter adjustment method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例提供一种计算机程序产品,该程序产品被存储在非易失的存储介质中,该程序产品被至少一个处理器执行以实现上述屏幕参数调整方法实施例的各个过程,且能达到相同的技术效果。The embodiment of the present application provides a computer program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the various processes of the above screen parameter adjustment method embodiment, and can achieve Same technical effect.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵 盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (15)

  1. 一种屏幕参数调整方法,所述方法包括:A screen parameter adjustment method, the method comprising:
    获取屏幕的第一基准数据,所述屏幕包括N个区域,所述第一基准数据包括:每个所述区域对应的第一触控响应基准值,N为正整数;Acquire first reference data of the screen, the screen includes N areas, the first reference data includes: a first touch response reference value corresponding to each of the areas, N is a positive integer;
    在满足第一预定条件的情况下,获取所述屏幕的第二基准数据;所述第二基准数据包括:每个所述区域对应的第二触控响应基准值;If the first predetermined condition is met, acquiring second reference data of the screen; the second reference data includes: a second touch response reference value corresponding to each of the regions;
    基于每个所述区域对应的所述第一触控响应基准值与所述第二触控响应基准值之间的变化量,调整所述屏幕的目标参数;Adjusting target parameters of the screen based on a variation between the first touch response reference value and the second touch response reference value corresponding to each of the regions;
    其中,所述第一基准数据为在第一时间获取的基准数据,所述第二基准数据为在第二时间获取的基准数据,所述第二时间晚于所述第一时间;所述目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值。Wherein, the first benchmark data is benchmark data acquired at a first time, the second benchmark data is benchmark data acquired at a second time, and the second time is later than the first time; the target The parameters include at least one of the following: an update rate of reference data, a noise threshold, and a response threshold.
  2. 根据权利要求1所述的方法,其中,所述N个区域包括第一区域和第二区域;The method according to claim 1, wherein the N regions include a first region and a second region;
    所述基于每个所述区域对应的所述第一触控响应基准值与所述第二触控响应基准值之间的变化量,调整所述屏幕的目标参数,包括:The adjusting the target parameters of the screen based on the variation between the first touch response reference value and the second touch response reference value corresponding to each of the regions includes:
    获取所述第一区域的第一触控响应基准值和所述第一区域的第二触控响应基准值之间的第一变化量,以及所述第二区域的第一触控响应基准值和第二触控响应基准值之间的第二变化量;Obtaining a first variation between the first touch response reference value of the first area and the second touch response reference value of the first area, and the first touch response reference value of the second area and a second variation between the second touch response reference value;
    根据所述第一变化量和所述第二变化量确定第一数值;determining a first value according to the first variation and the second variation;
    根据所述第一数值,调整所述屏幕的目标参数。Adjust the target parameter of the screen according to the first value.
  3. 根据权利要求2所述的方法,其中,所述根据所述第一数值,调整所述屏幕的目标参数,包括:The method according to claim 2, wherein the adjusting the target parameter of the screen according to the first value comprises:
    根据所述第一数值所处的目标数值范围,确定调整策略;determining an adjustment strategy according to the target numerical range in which the first numerical value is located;
    基于所述调整策略,调整所述屏幕的目标参数。Based on the adjustment policy, the target parameter of the screen is adjusted.
  4. 根据权利要求3所述的方法,其中,所述根据所述第一数值所处的目标数值范围,确定调整策略,包括:The method according to claim 3, wherein said determining the adjustment strategy according to the target numerical range in which the first numerical value is located comprises:
    在所述第一数值处于第一数值范围的情况下,确定所述调整策略为第一调整策略;When the first numerical value is in a first numerical range, determining that the adjustment strategy is a first adjustment strategy;
    所述第一调整策略包括:将屏幕的基准数据的更新速率调整为第一更新速率,并将所述噪声阈值调整为第一噪声阈值,所述第一更新速率大于调整前的更新速率,所述第一噪声阈值大于调整前的噪声阈值;The first adjustment strategy includes: adjusting the update rate of the benchmark data of the screen to a first update rate, and adjusting the noise threshold to the first noise threshold, the first update rate being greater than the update rate before adjustment, so The first noise threshold is greater than the noise threshold before adjustment;
    在所述第一数值处于第二数值范围的情况下,确定所述调整策略为第二调整策略,所述第二调整策略包括:将屏幕的基准数据的更新速率调整为第二更新速率,并将所述响应阈值调整为第一响应阈值,所述第一响应阈值小于调整前的响应阈值。In the case where the first numerical value is in a second numerical range, the adjustment strategy is determined to be a second adjustment strategy, and the second adjustment strategy includes: adjusting the update rate of the reference data of the screen to a second update rate, and The response threshold is adjusted to a first response threshold, and the first response threshold is smaller than the response threshold before adjustment.
  5. 根据权利要求1至4任一项所述的方法,其中,所述目标参数包括:屏幕的基准数据的更新速率;所述调整所述屏幕的目标参数之后,所述方法还包括:The method according to any one of claims 1 to 4, wherein the target parameter comprises: an update rate of reference data of the screen; after adjusting the target parameter of the screen, the method further comprises:
    按照调整后的更新速率,更新所述屏幕的基准数据。The reference data of the screen is updated according to the adjusted update rate.
  6. 一种屏幕参数调整装置,所述装置包括:获取模块和调整模块,其中:A screen parameter adjustment device, said device comprising: an acquisition module and an adjustment module, wherein:
    所述获取模块,用于获取屏幕的第一基准数据,所述屏幕包括N个区域,所述第一基准数据包括:每个所述区域对应的第一触控响应基准值,N为正整数;The acquisition module is configured to acquire first reference data of the screen, the screen includes N regions, the first reference data includes: a first touch response reference value corresponding to each of the regions, and N is a positive integer ;
    所述获取模块,还用于在满足第一预定条件的情况下,获取所述屏幕的第二基准数据;所述第二基准数据包括:每个所述区域对应的第二触控响应基准值;The acquisition module is further configured to acquire second reference data of the screen when the first predetermined condition is satisfied; the second reference data includes: a second touch response reference value corresponding to each of the regions ;
    所述调整模块,用于基于所述获取模块获取的每个所述区域对应的所述第一触控响应基准值与所述第二触控响应基准值之间的变化量,调整所述屏幕的目标参数;The adjustment module is configured to adjust the screen based on the variation between the first touch response reference value and the second touch response reference value corresponding to each of the regions acquired by the acquisition module the target parameters;
    其中,所述第一基准数据为在第一时间获取的基准数据,所述第二基准数据为在第二时间获取的基准数据,所述第二时间晚于所述第一时间;所述目标参数包括以下至少一项:基准数据的更新速率,噪声阈值,响应阈值。Wherein, the first benchmark data is benchmark data acquired at a first time, the second benchmark data is benchmark data acquired at a second time, and the second time is later than the first time; the target The parameters include at least one of the following: an update rate of reference data, a noise threshold, and a response threshold.
  7. 根据权利要求6所述的装置,其中,所述N个区域包括第一区域和第二区域;所述装置还包括:确定模块;The device according to claim 6, wherein the N regions include a first region and a second region; the device further comprises: a determination module;
    所述获取模块,还用于获取所述第一区域的第一触控响应基准值和所述第一区域的第二触控响应基准值之间的第一变化量,以及所述第二区域的第一触控响应基准值和第二触控响应基准值之间的第二变化量;The acquisition module is further configured to acquire a first change amount between the first touch response reference value of the first area and the second touch response reference value of the first area, and the second area A second variation between the first touch response reference value and the second touch response reference value;
    所述确定模块,用于根据所述获取模块获取的所述第一变化量和所述第二变化量确定第一数值;The determination module is configured to determine a first value according to the first change amount and the second change amount acquired by the acquisition module;
    所述调整模块,具体用于根据所述确定模块确定的所述第一数值,调整所述屏幕的目标参数。The adjusting module is specifically configured to adjust the target parameter of the screen according to the first value determined by the determining module.
  8. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein,
    所述确定模块,还用于根据所述确定模块确定的所述第一数值所处的目标数值范围,确定调整策略;The determination module is further configured to determine an adjustment strategy according to the target value range where the first value determined by the determination module is located;
    所述调整模块,具体用于基于所述确定模块确定的所述调整策略,调整所述屏幕的目标参数。The adjustment module is specifically configured to adjust the target parameter of the screen based on the adjustment strategy determined by the determination module.
  9. 根据权利要求8所述的装置,其中,The apparatus according to claim 8, wherein,
    所述确定模块,具体用于在所述第一数值处于第一数值范围的情况下,确定所述调整策略为第一调整策略;所述第一调整策略包括:将屏幕的基准数据的更新速率调整为第一更新速率,并将所述噪声阈值调整为第一噪声阈值,所述第一更新速率大于调整前的更新速率,所述第一噪声阈值大于调整前的噪声阈值;The determining module is specifically configured to determine that the adjustment strategy is the first adjustment strategy when the first value is in the first value range; the first adjustment strategy includes: changing the update rate of the benchmark data of the screen to Adjusting to a first update rate, and adjusting the noise threshold to a first noise threshold, the first update rate is greater than the update rate before adjustment, and the first noise threshold is greater than the noise threshold before adjustment;
    所述确定模块,具体用于在所述第一数值处于第二数值范围的情况下,确定所述调整策略为第二调整策略,所述第二调整策略包括:将屏幕的基准数据的更新速率调整为第二更新速率,并将所述响应阈值调整为第一响应阈值,所述第一响应阈值小于调整前的响应阈值。The determining module is specifically configured to determine that the adjustment strategy is a second adjustment strategy when the first value is in a second value range, and the second adjustment strategy includes: changing the update rate of the benchmark data of the screen to Adjust to the second update rate, and adjust the response threshold to the first response threshold, where the first response threshold is smaller than the response threshold before adjustment.
  10. 根据权利要求6至9任一项所述的装置,其中,所述目标参数包括:屏幕的基准数据的更新速率;所述装置还包括:更新模块;The device according to any one of claims 6 to 9, wherein the target parameters include: an update rate of reference data of the screen; the device further includes: an update module;
    所述更新模块,用于按照所述调整模块调整后的更新速率,更新所述屏幕的基准数据。The update module is configured to update the reference data of the screen according to the update rate adjusted by the adjustment module.
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的屏幕参数调整方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1-5 are realized The steps of any one of the screen parameter adjustment methods.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的屏幕参数调整方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, and implementing the steps of the method for adjusting screen parameters according to any one of claims 1-5 when the programs or instructions are executed by a processor.
  13. 一种屏幕参数调整装置,包括所述装置被配置成用于执行如权利要求1至5中任一项所述的屏幕参数调整方法。A screen parameter adjustment device, comprising the device configured to execute the screen parameter adjustment method according to any one of claims 1-5.
  14. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5任一项所述的屏幕参数调整方法。A computer program product, the computer program product is executed by at least one processor to implement the screen parameter adjustment method according to any one of claims 1 to 5.
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的屏幕参数调整方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the screen as described in any one of claims 1 to 5 Parameter tuning method.
PCT/CN2022/121023 2021-09-24 2022-09-23 Panel parameter adjustment method and apparatus, and electronic device WO2023046108A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111122334.2A CN113835558A (en) 2021-09-24 2021-09-24 Screen parameter adjusting method and device and electronic equipment
CN202111122334.2 2021-09-24

Publications (1)

Publication Number Publication Date
WO2023046108A1 true WO2023046108A1 (en) 2023-03-30

Family

ID=78969934

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/121023 WO2023046108A1 (en) 2021-09-24 2022-09-23 Panel parameter adjustment method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN113835558A (en)
WO (1) WO2023046108A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117453111A (en) * 2023-12-25 2024-01-26 合肥联宝信息技术有限公司 Touch response method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835558A (en) * 2021-09-24 2021-12-24 维沃移动通信有限公司 Screen parameter adjusting method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107817925A (en) * 2016-09-12 2018-03-20 敦泰电子有限公司 Method for adjusting baseline value of capacitive touch pad
CN110824378A (en) * 2019-10-31 2020-02-21 中电海康无锡科技有限公司 Touch key detection method
CN112540703A (en) * 2019-09-19 2021-03-23 华为技术有限公司 Touch screen control method and electronic equipment
CN113835558A (en) * 2021-09-24 2021-12-24 维沃移动通信有限公司 Screen parameter adjusting method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107817925A (en) * 2016-09-12 2018-03-20 敦泰电子有限公司 Method for adjusting baseline value of capacitive touch pad
CN112540703A (en) * 2019-09-19 2021-03-23 华为技术有限公司 Touch screen control method and electronic equipment
CN110824378A (en) * 2019-10-31 2020-02-21 中电海康无锡科技有限公司 Touch key detection method
CN113835558A (en) * 2021-09-24 2021-12-24 维沃移动通信有限公司 Screen parameter adjusting method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117453111A (en) * 2023-12-25 2024-01-26 合肥联宝信息技术有限公司 Touch response method and device, electronic equipment and storage medium
CN117453111B (en) * 2023-12-25 2024-03-15 合肥联宝信息技术有限公司 Touch response method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113835558A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
WO2023046108A1 (en) Panel parameter adjustment method and apparatus, and electronic device
US10955980B2 (en) Terminal and method for touchscreen input correction
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
US9965086B2 (en) Method for enabling function module of terminal, and terminal device
TW201432526A (en) Adaptive analog-front-end to optimize touch processing
US10739927B2 (en) Operation detection method and apparatus, and mobile terminal
CN107463290B (en) Response control method and device for touch operation, storage medium and mobile terminal
CN110968228B (en) Display method of application program icon and electronic equipment
CN116257836B (en) Fingerprint unlocking method and terminal
WO2022257882A1 (en) Method and apparatus for preventing accidental touch, and electronic device
US20210012086A1 (en) Fingerprint scanning method and mobile terminal
WO2021129147A1 (en) Proximity sensor anomaly detection method and apparatus and mobile terminal
CN110045807A (en) A kind of voltage control method and terminal
CN108008859A (en) A kind of screen control method and mobile terminal
US20120120024A1 (en) Touch system and optical touch system with power-saving mechanism
US20190245362A1 (en) Charging Protection Method, Terminal, and Charger
CN108388400B (en) Operation processing method and mobile terminal
US20160098190A1 (en) Intelligent Terminal and Method for Displaying Input Operation Interface Thereof
CN110471808B (en) Pressure key detection method and device and mobile terminal
CN112199005A (en) Content display method, content display device, storage medium and mobile terminal
CN114661515B (en) Alarm information convergence method and device, electronic equipment and storage medium
CN110851014A (en) Touch identification method and device, storage medium and terminal equipment
WO2022247745A1 (en) Touch control method, touch-control apparatus, and electronic device
US20210333922A1 (en) Touch display panel and drive method thereof, and touch display device
CN111083288B (en) Screen control method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22872152

Country of ref document: EP

Kind code of ref document: A1