CN117130502A - Touch sampling rate adjusting method, TPIC, touch screen and electronic device - Google Patents

Touch sampling rate adjusting method, TPIC, touch screen and electronic device Download PDF

Info

Publication number
CN117130502A
CN117130502A CN202310342683.8A CN202310342683A CN117130502A CN 117130502 A CN117130502 A CN 117130502A CN 202310342683 A CN202310342683 A CN 202310342683A CN 117130502 A CN117130502 A CN 117130502A
Authority
CN
China
Prior art keywords
touch
area
target
sampling rate
screen
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202310342683.8A
Other languages
Chinese (zh)
Inventor
杨明阳
田正
韩林宏
贺海明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310342683.8A priority Critical patent/CN117130502A/en
Publication of CN117130502A publication Critical patent/CN117130502A/en
Pending legal-status Critical Current

Links

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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • G06F3/0446Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using a grid-like structure of electrodes in at least two directions, e.g. using row and column electrodes

Abstract

The embodiment of the application provides a method for adjusting a touch sampling rate, a TPIC (thermoplastic polymer integrated circuit), a touch screen and electronic equipment. Controlling to collect touch data in the AA area at a first touch sampling rate; receiving a first instruction, wherein the first instruction is used for indicating and adjusting the touch sampling rate of a target area to be a second touch sampling rate, and the target area is a partial area in the AA area; and driving the driving electrode in the target area at a second touch sampling rate in response to the first instruction so as to adjust the touch sampling rate of the target area to the second touch sampling rate. The method can carry out partition adjustment on the touch sampling rate of the touch screen, and gives consideration to the touch sensitivity of the touch screen and the endurance capacity of the electronic equipment.

Description

Touch sampling rate adjusting method, TPIC, touch screen and electronic device
Technical Field
The application relates to the technical field of electronics, in particular to a touch sampling rate adjusting method, a TPIC, a touch screen and electronic equipment.
Background
For electronic devices with touch screens, touch sensitivity and cruising ability are two important factors affecting the user experience. The touch sensitivity and the cruising ability are related to the touch sampling rate of the touch screen: the higher the touch sampling rate is, the higher the touch sensitivity of the touch screen is, but the higher the power consumption of the touch screen is, the worse the cruising ability of the electronic equipment is; the lower the touch sampling rate is, the lower the power consumption of the touch screen is, the stronger the cruising ability of the electronic equipment is, but the lower the touch sensitivity of the touch screen is.
Therefore, in practical application, how to adjust the touch sampling rate to give consideration to the touch sensitivity of the touch screen and the cruising ability of the electronic device is a problem to be solved.
Disclosure of Invention
The application provides a touch sampling rate adjusting method, a TPIC, a touch screen and electronic equipment, which can conduct partition adjustment on the touch sampling rate of the touch screen and give consideration to touch sensitivity of the touch screen and cruising ability of the electronic equipment.
In a first aspect, the present application provides a method for adjusting a touch sampling rate, performed by a touch panel integrated circuit (touch panelintegrated circuit, TPIC), the TPIC being applied to a touch screen, the touch screen having an active area (AA area), the touch screen including a plurality of driving electrodes disposed in the AA area, the method comprising: controlling the AA area to be subjected to touch sampling at a first touch sampling rate; receiving a first instruction; the first instruction is used for indicating and adjusting the touch sampling rate of a target area to be a second touch sampling rate, and the target area is a partial area in the AA area; and driving the driving electrode in the target area at a second touch sampling rate in response to the first instruction so as to adjust the touch sampling rate of the target area to the second touch sampling rate.
Specifically, the touch screen may include a touch panel having an AA area and a TPIC, the touch panel including a plurality of driving electrodes and a plurality of sensing electrodes disposed in the AA area. The plurality of driving electrodes and the plurality of sensing electrodes are electrically connected with the TPIC. The TPIC can control the driving electrode and the sensing electrode to work so as to realize touch sampling on all or part of the AA area, namely, the TPIC can collect touch data of all or part of the AA area.
In the above steps, "controlling to perform touch sampling on the AA area at the first touch sampling rate" means that the TPIC controls the relevant devices of the touch panel to collect touch data in the AA area. Specifically, the TPIC may control driving electrodes in the AA region, and control sensing electrodes to collect sensing signals. The TPIC determines touch data based on the sense signals. Touch data includes, but is not limited to, touch location and the like.
The first instruction is also referred to as a sample rate adjustment instruction. The first instruction may be sent by an application processor (application processor, AP) of the electronic device to the TPIC. Specifically, when the touch demand of the target area changes, a first instruction is sent to the TPIC. Optionally, the first instruction may carry location information of the target area. The target area is the area needing to adjust the touch sampling rate.
Optionally, the second touch sampling rate may be greater than the first touch sampling rate, or may be less than the first touch sampling rate. When the second touch sampling rate is smaller than the first touch sampling rate, the TPIC controls to reduce the touch sampling rate of the target area; when the second touch sampling rate is larger than the first touch sampling rate, the TPIC controls to increase the touch sampling rate of the target area.
In the touch sampling rate adjustment method provided in the first aspect, when a part of the area (target area) in the AA area needs to be adjusted in touch sampling rate, the target area is only adjusted in touch sampling rate, and the area (i.e., non-target area) outside the target area is not adjusted. In this way, under the condition that the second touch sampling rate is smaller than the first touch sampling rate, the touch sampling rate of the target area is reduced, the power consumption of the target area can be reduced, and the touch sensitivity of the non-target area is not affected; under the condition that the second touch sampling rate is larger than the first touch sampling rate, only the touch sampling rate of the target area is improved, the touch sensitivity of the target area can be ensured, and the power consumption of the non-target area is kept at a lower level. In summary, the method can adjust the touch sampling rate in a partitioning way, achieves the effect of considering touch sensitivity and power consumption of the screen, and improves user experience. Meanwhile, in the method, the frequency of the driving electrode in the driving target area is controlled to realize the adjustment of the touch sampling rate of the target area. Therefore, the scheme for adjusting the touch sampling rate in the specific partition is provided, and compared with a mode for adjusting the touch sampling rate in the partition by adopting different inter-frame touch driving modes, the method can be used for adjusting the touch sampling rate more simply and rapidly, and the target area can be positioned more accurately by driving the electrode, so that the adjustment result of the touch sampling rate is more accurate, and the user experience is improved.
In a possible implementation manner, the target area includes at least one target sub-area, the second touch sampling rate includes at least one sub-sampling rate, and the at least one sub-sampling rate corresponds to the at least one target sub-area one to one; the first instruction is used for indicating and adjusting the touch sampling rate of each target subarea to be the corresponding sub-sampling rate.
That is, the first instruction may instruct to adjust the touch sampling rate of the target area to the same value, or may instruct to divide the target area into a plurality of target sub-areas, where the touch sampling rates adjusted by the respective target sub-areas are different. For example, the target area may comprise a target sub-area 1, a target sub-area 2. Then the AA area may comprise a non-target area, a target sub-area 1 and a target sub-area 2. For a non-target area, the touch sampling rate is not adjusted; for the target sub-region 1, the first instruction may instruct to adjust the touch sampling rate of the target sub-region 1 to a sub-sampling rate 1; for the target sub-region 2, the first instruction may instruct to adjust the touch sampling rate of the target sub-region 2 to a sub-sampling rate 2. The sub-sampling rate 1 and the sub-sampling rate 2 may be greater than the first touch sampling rate or greater than the second touch sampling rate.
In the implementation manner, different target subareas in the target area can be adjusted to different touch sampling rates, so that flexibility and practicability of adjusting the touch sampling rates in a partition mode are improved, and user experience is further improved.
In one possible implementation, the plurality of driving electrodes are arranged in the AA region along the first direction, and each target sub-region is one of regions obtained by dividing the AA region along the first direction.
Alternatively, when the touch screen is a straight panel screen (non-folding screen), the first direction may be a longitudinal direction when the touch screen is vertical, that is, the plurality of driving electrodes are arranged in the AA area along the longitudinal direction to form a plurality of rows. In this case, the AA area is divided into a plurality of areas arranged up and down in the longitudinal direction, and each target sub-area is one of the plurality of areas.
When the touch screen is a folding screen, the first direction may be a lateral direction when the touch screen is erected, that is, the driving electrodes are arranged in the AA area along a lateral direction, so as to form a plurality of columns. In this case, the AA area is divided into a plurality of areas arranged left and right in the lateral direction, and each target sub-area is one of the plurality of areas.
In the implementation mode, the AA area is divided along the first direction, the target area is obtained, and the target subarea is conveniently selected through the driving electrode accurately, so that the touch sampling rate of the target subarea is accurately adjusted, the accuracy of touch sampling rate adjustment is improved, and the user experience is further improved.
In one possible implementation, driving the driving electrode in the target area at the second touch sampling rate includes: driving the driving electrodes in the first region in each target period, and driving the driving electrodes in the second region in each target period of k-1 intervals; the target period is a touch sampling period corresponding to a maximum sampling rate, the maximum sampling rate is the largest one of the first touch sampling rate and at least one sub-sampling rate, the maximum sampling rate is k times of the touch sampling rate corresponding to the second area, and k is a number larger than 1; the first area is at least one target sub-area and one non-target area, the touch sampling rate is the area with the maximum sampling rate, the second area is at least one target sub-area and one non-target area, and the non-target area is any one of the areas except the first area, and the non-target area is an area except the target area in the AA area.
That is, in this implementation, for the first region with the touch sampling rate being the maximum touch sampling rate, all driving electrodes in the first region are driven with the target period, so as to perform touch sampling on the first region according to the maximum touch sampling rate. For any region, namely the second region, with the touch sampling rate smaller than the maximum touch sampling rate, if the maximum touch sampling rate is k times of the touch sampling rate corresponding to the second region, driving each driving electrode in the second region once every interval of k-1 target periods so as to increase the driving period of the driving electrode in the second region to k times of the target period, thereby reducing the touch sampling rate of the second region to 1/k of the maximum touch sampling rate.
Taking the maximum touch sampling rate of 120Hz, the touch sampling rate of the second area is 30Hz as an example, and k is 4. Driving the respective driving electrodes in the first region every target period (1/120 Hz); the driving electrodes of the second region are driven once every 3 target periods. Thus, the driving electrode of the first region is driven once every target period, and the driving electrode of the second region is driven once every 4 target periods. In this way, the touch sampling rate of the second area is 120Hz, and the touch sampling rate of the second area is reduced to 1/4 of the maximum touch sampling rate and changed to 30Hz, so that the reduction of the touch sampling rate of the second area is realized.
In the implementation manner, the touch sampling rate of the second area can be adjusted more simply and rapidly by increasing the time interval of driving the driving electrode in the second area, namely, increasing the duration of the touch sampling period of the driving electrode in the second area, so that the operation complexity of the algorithm is reduced, and the operation efficiency of the algorithm is improved.
In a possible implementation manner, the target area includes a target sub-area, the number of driving electrodes in the AA area is n, the first area includes n1 driving electrodes, n and n1 are integers greater than 1, n1 is less than n, k is an integer greater than 1, and the touch screen further includes a plurality of sensing electrodes disposed in the AA area; driving the respective driving electrodes in the first region every target period, and driving the respective driving electrodes in the second region every interval of k-1 target periods, comprising: respectively executing n times of first coding operation in a kx+1th target period, wherein the first coding operation is based on a code division multiple access technology, and simultaneously transmitting first coding signals to n driving electrodes in an AA area; after each time of first coding operation is executed, a plurality of induction electrodes are controlled to respectively collect first induction signals; determining a touch position according to the first code printing signal and the first sensing signal; respectively executing n1 second coding operations in each of the kx+2 target periods to the kx+k target periods, wherein the second coding operations are operations based on a code division multiple access technology, and simultaneously transmitting second coding signals to n1 driving electrodes in the first area; after the second coding operation is executed each time, controlling the plurality of sensing electrodes to respectively acquire second sensing signals; and determining the touch position according to the second coding signal and the second sensing signal.
The target area comprises one target sub-area, i.e. the AA area is divided into a target area and a non-target area. The one of the target area and the non-target area with the higher touch sampling rate is the first area. For example, if the second touch sampling rate of the target area is smaller than the first touch sampling rate, that is, if the touch sampling rate of the target area is reduced, the first area is the target area; if the second touch sampling rate of the target area is greater than the first touch sampling rate, that is, if the touch sampling rate of the target area is increased, the first area is the non-target area.
Taking k as 4 and x as 0 as an example, in the 1 st target period, performing n times of first coding operation, namely based on the code division multiple access technology, simultaneously transmitting coding signals to n driving electrodes in the AA area, and transmitting n times in total so as to perform mutual capacity coding on each driving electrode in the AA area. After each time of first coding operation is executed, a group of first induction signals are acquired through the induction electrodes. Thus, n groups of first sensing signals can be obtained, and the touch control positions are determined based on n times of first code printing signals and n groups of first sensing signals.
And in the 2 nd to 4 th target periods, performing n1 second coding operations, namely transmitting second coding signals to n1 driving electrodes in the first area based on the horse dung multiple technologies, and transmitting n1 times in total. For areas other than the first area, the second coding operation is not performed. And so on.
Thus, the driving electrode of the first region is driven every target period, and the driving electrode of the other region is driven every 4 target periods. Thus, the touch sampling rate of the first region is the maximum sampling rate, and the touch sampling rate of the region outside the first region is 1/4 of the maximum touch sampling rate.
In the implementation manner, first, in each of the kx+2th target period to the kx+k target period, the driving signals are sent to only n1 driving electrodes in the first area, so that the number of the driving electrodes can be reduced, power consumption is saved, and the cruising ability of the electronic equipment is improved. Second, n driving electrodes in the AA region are driven in the kx+1th target period, and only n1 driving electrodes in the first region are driven in each of the kx+2th to kx+k target periods, that is, all driving electrodes are driven in the 1 st, 4 th, 8 th and 12 … … th target periods, and only driving electrodes in the first region are driven in other target periods, so that the algorithm of the TPIC is simplified, and the algorithm running efficiency is improved. Thirdly, the driving is performed based on the code division multiple access technology, so that the signal-to-noise ratio (signal to interference plus noise ratio, SNR) of touch sampling can be improved, and the accuracy of acquired touch data is further improved. Fourth, in each target period, after each time a coding signal is sent to the driving electrode, the TPIC controls each sensing electrode to collect signals, so that sensing data of each driven driving electrode can be obtained, all touch data in a region corresponding to the driven electrode can be obtained, accuracy of touch sampling of the touch screen is guaranteed, and touch sensitivity is guaranteed.
In a possible implementation manner, the plurality of driving electrodes and the plurality of sensing electrodes intersect to form a plurality of mutual capacitances, and determining the touch position according to the second coding signal and the second sensing signal includes: according to the second coding signals, respectively determining driving voltages corresponding to all driving electrodes in the first area when the second coding operation is executed each time; decoding a second induction signal acquired after each second coding operation is executed, and determining the charge quantity of each mutual capacitor in the first area after each second coding operation is executed according to the decoded signal; determining the detection capacitance value of each mutual capacitor in the first area according to the driving voltage corresponding to each driving electrode in the first area and the charge quantity of each mutual capacitor in the first area; obtaining reference capacitance values of all mutual capacitances in a first area; and determining the touch position according to the detection capacitance value and the reference capacitance value of each mutual capacitance in the first area.
In a possible implementation manner, the reference capacitance value of each mutual capacitance in the first area is obtained by sending only the third coding signal to the driving electrode in the first area based on the code division multiple access technology and performing capacitance value detection under the condition that the first area has no touch operation.
The capacitance detection means that after each driving electrode in the first area is driven, sensing signals are collected through each sensing electrode, and a reference capacitance is determined according to the sensing signals.
It can be understood that in the process of performing mutual capacity coding based on the code division multiple access technology, the number and the range of the driving electrodes for simultaneously transmitting coding signals are different, and the signal to noise ratio is different. In the implementation manner, based on the code division multiple access technology, the driving electrodes in the first area are independently subjected to mutual capacitance coding to obtain the reference capacitance of each mutual capacitance in the first area, so that the accuracy of the obtained reference capacitance is higher, and when the touch position is determined according to the detection capacitance value and the reference capacitance value of each mutual capacitance in the first area, the accuracy of determining the touch position can be improved, and further user experience is improved.
In a possible implementation manner, the method further includes:
and before driving the driving electrodes, controlling the self-capacity detection of each driving electrode and each sensing electrode in the AA area respectively in each target period.
That is, every target period, self-contained detection is performed. Self-contained detection may be used to determine whether a touch operation is present. The working mode of the touch screen can be controlled according to the self-contained detection result. Therefore, in the implementation manner, the self-capacitance detection is performed in each target period without increasing the time interval of the self-capacitance detection, that is, without reducing the frequency of the self-capacitance detection, so that the accuracy of the control of the working mode of the touch screen can be improved.
In a possible implementation manner, the touch screen is a folding touch screen, the touch screen includes a first screen and a second screen, the AA area includes a first partition and a second partition, the first partition corresponds to the first screen, and the second partition corresponds to the second screen, and the method further includes: if no touch operation of the target partition is detected within a preset duration under the condition that the working mode of the target partition is an active mode, setting the working mode of the target partition as an idle mode; the target is divided into a first partition, a second partition or both the first partition and the second partition; and under the condition that the working mode of the target partition is an idle mode, if the touch operation exists in the target partition through self-contained detection, setting the working mode of the target partition as an active mode.
In the implementation manner, the working modes of the first partition and the second partition of the folding screen are respectively controlled, so that the working modes of the two partitions are not influenced by each other, normal touch of the first partition and/or the second partition can be ensured, and under the condition that a user does not perform touch operation for a long time, the partition which is not touched can enter an idle mode, the power consumption of the screen is reduced, and the cruising ability of the electronic equipment is improved.
In a possible implementation manner, the touch screen further comprises a plurality of sensing electrodes arranged in the AA area, and the TPIC is a single chip; setting the working mode of the target partition to an idle mode includes: TPIC controls to carry out self-capacitance detection on each driving electrode and each sensing electrode in the target zone; setting the working mode of the target partition to an active mode includes: TPIC controls to carry out self-capacitance detection on each driving electrode and each sensing electrode in the target zone; the TPIC drives the driving electrode in the target partition and controls the sensing electrode in the target partition to collect the sensing signal.
In a possible implementation manner, the TPIC includes a first chip and a second chip, where the first chip is used to control the driving electrode and the sensing electrode in the first partition, and the second chip is used to control the driving electrode and the sensing electrode in the second partition; setting the working mode of the target partition to an idle mode includes: the target chip controls the self-capacity detection of each driving electrode and each sensing electrode in the target partition; the target chip is a chip used for controlling a driving electrode and an induction electrode in the target area in the first chip and the second chip; setting the working mode of the target partition to an active mode includes: the target chip controls the self-capacity detection of each driving electrode and each sensing electrode in the target partition; the target chip drives the driving electrode in the target partition and controls the sensing electrode in the target partition to collect the sensing signal.
That is, for the folding screen, whether the folding screen is a single-chip TPIC or a two-chip cascaded TPIC, the driving electrodes and the sensing electrodes for driving different partitions can be controlled to respectively control different partition modes, so that the working modes of the two partitions are not affected by each other, normal touch control of the first partition and/or the second partition can be ensured, and the partitions which are not touched can enter an idle mode under the condition that a user does not perform touch control operation for a long time, thereby reducing the power consumption of the screen and improving the endurance of the electronic equipment.
In a second aspect, the present application provides a method for adjusting a touch sampling rate, where the method is performed by an electronic device, a screen of the electronic device includes a touch screen, the touch screen includes an AA area, the touch screen includes a plurality of driving electrodes disposed in the AA area, and the method includes: displaying a first interface in the screen, and performing touch sampling on the AA area by the touch screen at a first touch sampling rate; responding to a first operation of a user, and displaying a second interface in a screen; under the condition that a second interface is displayed in the screen, the touch control requirement of a target area is changed, and the target area is a partial area in the AA area; the touch screen drives the driving electrode in the target area at a second touch sampling rate so as to adjust the touch sampling rate of the target area to the second touch sampling rate.
Alternatively, the touch demand of the target area may be changed by increasing the touch demand or by decreasing the touch demand. If the touch demand increases, the second touch sampling rate is greater than the first touch sampling rate; if the touch demand is reduced, the second touch sampling rate is smaller than the first touch sampling rate.
In the method for adjusting the touch sampling rate provided in the second aspect, when the touch requirement of the target area changes, only the touch sampling rate of the target area is adjusted, and the touch sampling rate of the non-target area is not adjusted. Thus, the touch sampling rate is reduced for the area with reduced touch demand, or the touch sampling rate is increased for the area with higher touch demand. Therefore, a lower touch sampling rate is adopted for the area with low touch requirement so as to reduce the power consumption of the screen; and a higher touch sampling rate is adopted for a region with high touch requirement, so that the touch sensitivity of the region is ensured, and the heel chirality of a screen is improved. In summary, the method can simultaneously give consideration to touch sensitivity and power consumption of the screen, and improve user experience. Meanwhile, in the method, the touch sampling rate is adjusted in a partition mode by controlling the frequency of the mutual capacity coding of the driving electrodes in the target area, so that a scheme for adjusting the touch sampling rate in a specific partition mode is provided, and compared with a mode of adjusting the touch sampling rate in a partition mode by adopting different inter-frame touch driving modes, the method can adjust the touch sampling rate more simply and rapidly, and the positioning of the area is more accurate, so that the adjustment result of the touch sampling rate is more accurate, and the user experience is improved.
In a possible implementation manner, the target area includes at least one target sub-area, and the second touch sampling rate includes at least one sub-sampling rate, where the at least one sub-sampling rate corresponds to the at least one target sub-area one to one.
In a possible implementation manner, the plurality of driving electrodes are arranged along the first direction, and each target sub-region is one of regions obtained by dividing the AA region along the first direction.
In a possible implementation manner, the second interface includes a plurality of sub-interfaces, and each sub-interface corresponds to one target sub-area or one non-target area; the non-target area is an area other than the target area in the AA area.
In one possible implementation, a touch screen drives a driving electrode in a target area at a second touch sampling rate, including: the touch screen drives the driving electrode in the target area at a second touch sampling rate, comprising: in each target period, the touch screen drives each driving electrode in the first area, and each driving electrode in the second area is driven every interval of k-1 target periods; the target period is a touch sampling period corresponding to a maximum sampling rate, the maximum sampling rate is the largest one of the first touch sampling rate and at least one sub-sampling rate, the maximum sampling rate is k times of the touch sampling rate corresponding to the second area, and k is a number larger than 1; the first area is at least one target sub-area and one non-target area, the touch sampling rate is the area with the maximum sampling rate, the second area is at least one target sub-area and one non-target area, and the non-target area is any one of the areas except the first area, and the non-target area is an area except the target area in the AA area.
In a possible implementation manner, the electronic device further includes an AP, and the method further includes: determining touch demand change of the target area according to at least one of the content of the second interface and the historical touch times; the historical touch times are the touch times of the user to each area of the touch screen in a historical time period; the AP sends a first instruction to the touch screen, wherein the first instruction is used for indicating to adjust the touch sampling rate of the target area to be a second touch sampling rate.
Alternatively, the content of the second interface may include, but is not limited to, a type of the second interface, an application to which the interface belongs, and the like.
Optionally, the AP of the electronic device may obtain historical touch data from the TPIC in the touch screen, and further determine the historical touch times according to the historical touch data.
According to the implementation mode, according to at least one of the content of the second interface and the historical touch times, the touch frequency of the user to each area of the touch screen can be accurately predicted, namely the touch demand of the user is accurately predicted, and therefore the accuracy of touch sampling rate adjustment is improved.
A possible implementation manner, the method further includes: the touch screen sends historical touch data to the AP; and the AP determines the historical touch times according to the historical touch data.
The beneficial effects of the above several implementations may be referred to in the first aspect, and will not be described in detail. The method for adjusting the touch sampling rate according to the second aspect may further include other implementations of the first aspect, which are not described in detail herein.
In a third aspect, the present application provides an apparatus, which is included in an electronic device, the apparatus having a function of implementing the electronic device behavior in the first aspect and possible implementations of the first aspect. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above. Such as a receiving module or unit, a processing module or unit, etc.
In a fourth aspect, the present application provides a chip comprising a processor. The processor is configured to read and execute a computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
Alternatively, the chip may be a TPIC.
In a fifth aspect, the present application provides a touch screen, including a touch panel and a TPIC, where the touch panel has an operable area AA, and the touch panel includes a plurality of driving electrodes disposed in the AA. The TPIC is adapted to perform the method of the first aspect and any possible implementation thereof.
In a sixth aspect, the present application provides a screen, including a display screen, a touch screen in any possible implementation manner of the fifth aspect, and a cover plate, which are sequentially stacked.
In a seventh aspect, the present application provides an electronic device, including: a processor, a memory, and an interface; the screen of the electronic equipment comprises a touch screen, wherein the touch screen is provided with an AA area, and the touch screen comprises a plurality of driving electrodes arranged in the AA area; the processor, the memory and the interface cooperate with each other such that the electronic device performs any one of the methods of the second aspect. The electronic device may comprise a screen as in the sixth aspect described above and any possible implementation thereof.
In an eighth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, which when executed by a processor causes the processor to perform any one of the methods of the first aspect or any one of the methods of the second aspect.
In a ninth aspect, the present application provides a computer program product comprising: computer program code which, when run on an electronic device, causes the electronic device to perform any one of the methods of the first aspect or any one of the methods of the second aspect.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an example touch screen according to an embodiment of the present application;
fig. 3 is a schematic application scenario diagram of an example of a method for adjusting a touch sampling rate according to an embodiment of the present application;
fig. 4 is a flowchart illustrating an exemplary method for adjusting a touch sampling rate according to an embodiment of the present application;
fig. 5 is a schematic view of a scenario illustrating an exemplary method for adjusting a touch sampling rate according to an embodiment of the present application;
fig. 6 is a signal waveform diagram of self-capacitance detection and mutual capacitance coding in a touch sampling period Ta11 according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating statistics of self-contained detection and mutual-capacity coding data according to an embodiment of the present application;
fig. 8 is a schematic view of a scenario illustrating an exemplary method for adjusting a touch sampling rate according to an embodiment of the present application;
fig. 9 is a signal waveform diagram of a touch sampling period Ta22 self-capacitance detection and mutual capacitance coding according to an embodiment of the present application;
FIG. 10 is a schematic diagram of another example of self-contained detection and mutual-capacity coding data according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a touch screen with an example of a folding screen according to an embodiment of the present application;
Fig. 12 is a schematic view of a scenario in which an exemplary touch sampling rate adjustment method provided by an embodiment of the present application is applied to a folding screen;
fig. 13 is a schematic diagram of an example of switching operation modes of a folding screen according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first," "second," "third," and the like, are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or a third "may explicitly or implicitly include one or more such feature.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
For a better understanding of embodiments of the present application, terms or concepts that may be referred to in the embodiments are explained below.
1. Screen panel
A screen refers to a component of an electronic device that is used to display images and colors. The screen may be classified into a screen having a touch function and a screen not having a touch function. The embodiment of the application mainly relates to a screen with a touch control function.
Screens with touch functions include display screens and touch screens (also referred to as touch screens, touch modules, etc.) that are stacked. The display screen is used for realizing a display function, and the touch screen is used for realizing a touch function.
2. Touch sampling rate
The touch sampling rate is also called touch sampling speed or touch sampling frequency, and refers to the frequency of the touch screen for collecting touch data. The unit of touch sampling rate may be hertz (Hz). In general, the touch sampling rate of the touch screen may be, for example, 10Hz, 30Hz, 60Hz, 120Hz, 240Hz, etc.
The higher the touch sampling rate is, the higher the frequency of the touch screen for collecting touch data is, the shorter the period for collecting the touch data is, the lower the touch delay of the touch screen is, the higher the touch sensitivity is, and the stronger the handiness is.
It should be noted that, the touch sampling rate of the screen is substantially the touch sampling rate of the touch screen. Therefore, in the embodiment of the present application, the touch sampling rate may be described as a touch sampling rate of a touch screen, or may be described as a touch sampling rate of a screen.
3. CDMA technology
The code division multiple access (code division multiple access, CDMA) technology is a communication technology for realizing the same frequency and simultaneous transmission of different transmission objects by coding information for distinguishing different transmission objects.
The technical problems and application of the present application will be described below.
The endurance of the electronic device directly affects the user experience, so developers have considered reducing the power consumption of the electronic device from various aspects to improve the endurance. Among them, the screen is an important aspect to be considered for reducing power consumption.
In the related art, power consumption of a screen is generally reduced by adjusting a refresh rate of the screen. However, for a screen with touch function, its power consumption is related to not only the refresh rate but also the touch sampling rate. Specifically, the screen with the touch function includes a display screen and a touch screen. Adjusting the refresh rate of the screen is essentially adjusting the refresh rate of the display screen. When the touch screen detects touch operation, touch data sampling (touch sampling for short) is also performed according to a certain period, so that the power consumption of the screen can be reduced by adjusting the touch sampling rate of the touch screen.
However, the adjustment of the touch sampling rate may affect not only the power consumption but also the touch sensitivity. The higher the touch sampling rate is, the higher the screen power consumption is, and the higher the touch sensitivity is; the lower the touch sampling rate, the lower the screen power consumption and the lower the touch sensitivity. Therefore, how to adjust the touch sampling rate to achieve both the power consumption and the touch sensitivity of the screen is a problem to be solved.
In view of this, an embodiment of the present application provides a method for adjusting a touch sampling rate, which divides a screen into a plurality of areas along an arrangement direction of driving electrodes in the touch screen according to at least one of display content of the screen and information such as a historical touch number of times of a user, and reduces the touch sampling rate for an area with reduced touch demand in the plurality of areas, or increases the touch sampling rate for an area with increased touch demand. In this way, a lower touch sampling rate is adopted for the area with low touch requirement so as to reduce the power consumption of the screen; and a higher touch sampling rate is adopted for a region with high touch requirement, so that the touch sensitivity of the region is ensured, and the heel chirality of a screen is improved. Therefore, touch sensitivity and power consumption of the screen can be considered simultaneously, and user experience is improved.
The method for adjusting the touch sampling rate provided by the embodiment of the application can be applied to electronic equipment with a touch screen, such as mobile phones, tablet computers, wearable equipment, vehicle-mounted equipment, augmented reality (augmented reality, AR)/Virtual Reality (VR) equipment, personal digital assistants (personal digital assistant, PDA) and the like, and the embodiment of the application does not limit the specific type of the electronic equipment.
Fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch panel 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The electronic device 100 implements display functions through a GPU, a display screen 194, an AP, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the AP. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display 194, an AP, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, so that the electrical signal is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The touch panel 180K is also referred to as a "touch sensor". The touch panel 180K is a part of a touch screen. The touch panel 180K may constitute a touch screen with a TPIC or the like. The touch panel 180K, the TPIC, and the like may be disposed on the display 194, and form a display with a touch function with the display 194. The touch panel 180K is used to detect a touch operation acting thereon or thereabout. The touch panel may transmit the detected signal to the TPIC, determine a touch operation by the TPIC, and communicate the touch operation to the AP to determine a touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch panel 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display 194.
In the embodiment of the present application, the touch panel 180K may be a capacitive touch panel. Alternatively, the touch panel may be a self-capacitance touch panel or a mutual capacitance touch panel.
Fig. 2 is a schematic structural diagram of an exemplary touch screen according to an embodiment of the present application. The touch panel in the touch screen is taken as a mutual capacitance touch panel for illustration. As shown in fig. 2, the touch screen includes a touch panel 180K and a TPIC 203. The touch panel 180K may include a plurality of driving electrodes (Tx) 201, a plurality of sensing electrodes (Rx) 202. The sweep frequency of the TPIC 203 is configurable.
Specifically, the touch panel 180K has an AA area 200. In the embodiment of the application, the AA area of the touch panel is also referred to as the AA area of the touch screen or the AA area of the screen. The plurality of driving electrodes 201 and the plurality of sensing electrodes 202 are arranged in the AA area 200. As shown in fig. 2, the touch panel 180K includes n driving electrodes 201 and m sensing electrodes 202, the n driving electrodes 201 are arranged in n rows in the longitudinal direction, and the plurality of sensing electrodes 202 are arranged in m columns in the lateral direction. Wherein n driving electrodes 201 are electrically connected to the TPIC 203, respectively. In fig. 2, n driving electrodes 201 are shown as Tx1, tx2 … … Tx (n-1), and Txn, respectively. The m sensing electrodes 202 are electrically connected to the TPIC 203, respectively. In FIG. 2, m sense electrodes 202 are shown as Rx1, rx2 … … Rx (m-1) and Rxm, respectively.
Mutual capacitance is formed at the position where the driving electrode 201 crosses the sensing electrode 202. In fig. 2, n driving electrodes 201 and m sensing electrodes 202 form n×m mutual capacitances. The position of the mutual capacitance with the changed capacitance is determined by detecting the capacitance change of each mutual capacitance, so that the touch position can be determined.
It should be noted that fig. 2 is only an example of a touch screen structure, and does not limit the present application. In some other embodiments, the touch screen may have other structures, for example, the driving electrodes 201 in the touch panel 180K may be arranged in columns along the lateral direction, and the sensing electrodes 202 may be arranged in rows along the longitudinal direction. For another example, the shapes of the driving electrode 201 and the sensing electrode 202 may be other shapes, such as an elongated shape including a diamond-shaped electrode sheet, an elongated shape including a circular-shaped electrode sheet, and the like.
In addition, the TPIC 203 may be communicatively coupled to a main controller of the electronic device. The host controller may include, for example, one or more of a system on chip (SoC), an AP, a general purpose processor, and the like. The main controller may transmit an interrupt signal, a reset signal, a synchronization signal (sync), etc. to the TPIC 203 through an interface in the form of a serial peripheral interface (Serial Peripheral Interface, SPI), an I2C interface, etc. In an embodiment of the present application, the main controller may also send a sample rate adjustment instruction (i.e., a first instruction) to the TPIC 203. The sampling rate adjustment instruction is used to instruct the TPIC 203 to adjust the touch sampling rate of a partial area of the touch screen. In the following embodiments, the TPIC 203 is in communication connection with an AP, and the AP transmits a sampling adjustment instruction to the TPIC will be described as an example.
For easy understanding, the following embodiments of the present application will take an electronic device and a touch screen with structures shown in fig. 1 and fig. 2 as an example, and specifically describe a method for adjusting a touch sampling rate provided by the embodiments of the present application in combination with the drawings and application scenarios.
Fig. 3 is a schematic diagram of an application scenario of an exemplary touch sampling rate adjustment method according to an embodiment of the present application. As shown in fig. 3 (a), at a first moment, a user views a short video through a short video Application (APP) in an electronic device, and a full-screen video playback interface 301 is displayed in a screen of the electronic device. In this scenario, the screen performs touch sampling on all parts of the AA area at a preset touch sampling rate a (e.g., 120 Hz).
At a second moment, the user clicks the comment control 302 in the full-screen video playing interface 301, and the short video APP, in response to the clicking operation of the user, displays the split-screen video playing interface 303 and the comment area interface 304 in a split-screen manner in the screen, wherein the split-screen video playing interface 303 is displayed in the upper half of the screen (about 1/3 of the screen), and the comment area interface 304 is displayed in the lower half of the screen (about 2/3 of the screen), as shown in (b) of fig. 3. It can be understood that, in this scenario, the user mainly performs a touch operation in the comment area interface 304 to view the comment content, or input the comment content, so that the number of times of touch of the user on the comment area interface 304 is relatively large; for the touch operation of the split-screen video playing interface 303, only when the full-screen video playing interface 301 needs to be returned, the clicking operation may be performed in the split-screen video playing interface 303, so that the number of times of the touch operation of the split-screen video playing interface 303 by the user is relatively small. That is, in this scenario, the touch demand of the comment area interface 304 is higher, the touch demand of the split-screen video playback interface 303 is lower, and the touch demand in the split-screen video playback interface 303 is reduced compared to the full-screen video playback interface 301. Therefore, in this scenario, the touch sampling rate a (120 Hz) can be maintained for the region where the comment area interface 304 is located, and the touch sampling rate is reduced for the interface where the split-screen video playing interface 303 is located, for example, the touch sampling rate can be reduced to a×1/4 (30 Hz), so as to reduce the power consumption of the electronic device and improve the cruising ability of the device.
At the third moment, the user clicks the split-screen video playing interface 303, or returns to the full-screen video playing interface by clicking a return control or the like, and the full-screen video playing interface 305 is displayed in the screen of the electronic device, as shown in fig. 3 (c). At this time, the screen again performs touch sampling on all the parts of the AA area at a preset touch sampling rate a.
It should be noted that, fig. 3 is only an example of an application scenario of the method provided by the embodiment of the present application, and in other scenarios, the method provided by the embodiment of the present application may also be used to adjust the touch sampling rate. For example, in a scenario that a user uses instant messaging APP for chat, if a chat dialog box is displayed in full screen, the screen performs touch sampling at a preset touch sampling rate a; if the user clicks the text input box, the input method is opened, the lower half of the screen displays the input method interface, the touch sampling rate of the upper half of the screen is reduced to b, and the lower half of the screen maintains the touch sampling rate a. For another example, in a scene that a user opens a game APP through a transverse screen, before starting a game, the screen performs touch sampling at a preset touch sampling rate a; after the game is started, the touch sampling rate of the middle area with lower user touch frequency in the game interface can be reduced to b, and the left half part and the right half part with higher user touch frequency maintain the touch sampling rate a.
The implementation process of the touch sampling rate adjustment method provided by the embodiment of the present application is described below by taking an application scenario shown in fig. 3 as an example. Fig. 4 is a flowchart illustrating an example of a method for adjusting a touch sampling rate according to an embodiment of the present application, and as shown in fig. 4, the method for adjusting a touch sampling rate may include:
s101, at a first moment, a screen (display screen) of the electronic equipment displays a full-screen video playing interface, and a touch screen of the electronic equipment performs touch sampling on all AA areas at a touch sampling rate a (for example, 120 Hz).
For convenience of explanation, in the following embodiments, a touch sampling period corresponding to the touch sampling rate a is denoted as Ta, ta=1/a. After a first time, the first touch sampling period Ta is denoted as Ta11, the second touch sampling period Ta is denoted as Ta12 … …, and so on. After the second time, the first touch sampling period Ta is denoted as Ta21, the second touch sampling period Ta22 … …, and so on.
Referring to fig. 5, when a full-screen video playing interface is displayed in the screen, the touch screen performs touch sampling on the whole AA area 501 at a touch sampling rate of 120 Hz.
Specifically, when the touch sampling rate a is 120Hz, the duration of the corresponding touch sampling period Ta is 8.33ms, that is, the touch screen performs touch sampling once every 8.33 ms. In any touch sampling period Ta, the touch screen can perform touch sampling on all AA areas according to the following process:
1-1) self-contained detection is performed on all the drive electrodes and the sense electrodes in the AA area.
And performing self-capacitance detection on all the driving electrodes and the sensing electrodes in the AA area, namely performing self-capacitance detection on the touch panel. Specifically, the TPIC sends driving signals for self-capacitance detection to each driving electrode and each sensing electrode in the AA region, respectively, and detects self-capacitance signals of each driving electrode and each sensing electrode. When a user touches the touch screen, self-capacitance signals of the driving electrode and the sensing electrode change. Therefore, by detecting the self-capacitance signals of the driving electrodes and the sensing electrodes, it is possible to determine whether a touch signal exists in the AA area, that is, whether a user performs a touch operation on the AA area. Optionally, the touch screen may switch the working modes according to the self-contained detection result, which is described in the following embodiments.
1-2) performing mutual capacity coding on all driving electrodes in the AA area based on the code division multiple access technology.
Specifically, the code-division multiple access technology-based mutual capacity coding refers to that the TPIC simultaneously sends coding signals to a plurality of driving electrodes based on the code-division multiple access technology, and the coding signals are sent for a plurality of times. The coding signal is also called mutual capacitance signal or mutual capacitance driving signal. Each transmitted coded signal corresponds to a different chip sequence to drive one of the plurality of drive electrodes. Alternatively, the code signal may be a square wave signal. Code-division multiple access technology is adopted to simultaneously send code-coding signals to each driving electrode, so that the signal-to-noise ratio during touch sampling can be improved.
In this embodiment, the TPIC simultaneously transmits the code signal (i.e., the first code signal) to the driving electrodes Tx1 to Txn in the AA region based on the code division multiple access technology, and transmits the code signal n times in total. Each time the TPIC simultaneously transmits the code-coded signal to the driving electrodes Tx1 to Txn within the AA region based on the code division multiple access technology, it may be referred to as performing the first code-coding operation once. Each transmitted first coded signal corresponds to a different chip sequence to drive one of the drive electrodes Tx1 to Txn.
It should be noted that, the driving electrodes are mutually coded, that is, driven. In some other embodiments, the driving electrodes may be driven in other manners, for example, driving signals are sequentially sent to each driving electrode, that is, the driving signals are sent to 1 driving electrode at a time, and n driving electrodes are sent n times in total. The embodiment of the application does not limit the driving mode of the driving electrode. The following description will be given by taking code division multiple access technology as an example.
In this way, the TPIC realizes driving of all the driving electrodes after simultaneously transmitting the code signal n times to the driving electrodes Tx1 to Txn. Meanwhile, the TPIC can determine the driving voltage of each driving electrode during each code printing according to the code printing signals sent each time, and n.m driving voltages are obtained, so that a driving voltage matrix of the driving electrodes is obtained.
In a specific embodiment, the driving voltage matrix of all driving electrodes within the AA region is expressed as:
wherein t is 1 ……t n Representing the order in which the coded signals are transmitted, e.g. t 1 The 1 st transmission code signal is represented, and t2 represents the 2 nd transmission code signal. T (T) x1 ……T xn Representing the code of the driving electrode, e.g. T x1 Representing the drive electrode T x1 ,T x2 Representing the drive electrode T x2 。V(t 1 ,T x1 )……V(t i ,T xj ) The driving voltage of each driving electrode when the coding signal is sent at a time is represented by i, i is an integer, i is more than or equal to 1 and less than or equal to n, j is an integer, and j is more than or equal to 1 and less than or equal to n. For example, V (t 1 ,T x1 ) Driving electrode T when coding signal is sent for 1 st time x1 Is set to be V (t) 2 ,T x1 ) Driving electrode T when coding signal is transmitted for the 2 nd time x1 Is set to be V (t) 1 ,T x2 ) Driving electrode T when coding signal is sent for 1 st time x2 Is set to the driving voltage of the driving circuit.
Taking a touch panel including 36 driving electrodes as an example, the driving voltage array of the driving electrodes is expressed as:
1-3) after each time of sending the code signal (first code signal), collecting the sensing signal (i.e. first sensing signal) through each sensing electrode.
Specifically, each time after the coded signal is sent to the driving electrode, the TPIC collects the sensing signals through the Rx1 to Rxm sensing electrodes, respectively. As analyzed above, the TPIC transmits the coded signal each time to realize driving of one driving electrode, and thus, each time the TPIC can acquire m sensing signals through the Rx1 to Rxm sensing electrodes. Thus, the TPIC obtains n×m sensing signals after n signal acquisitions through the Rx1 to Rxm sensing electrodes.
Alternatively, the sensing signal collected by the TPIC through the sensing electrode may be a current signal.
1-4) decoding the sense signal (first sense signal).
After the TPIC obtains the induction signals, the induction signals (current signals) are decoded, and calculation is performed based on the decoded signals to obtain the electric charge quantity corresponding to each induction signal, so as to obtain an electric charge quantity matrix.
In a specific embodiment, the charge amount matrix is expressed as:
wherein t is 1 ……t n And (5) representing a signal acquisition sequence, wherein the signal acquisition sequence is consistent with the coding sequence. For example, t 1 The 1 st signal acquisition is represented, and t2 the 2 nd signal acquisition is represented. R is R x1 ……R xm Representing the code of the sensing electrode, e.g. R x1 Indicating the induction electrode R x1 ,R x2 Representing the drive electrode R x2 。Q(t 1 ,R x1 )……Q(t n ,R xm ) Representing the amount of charge corresponding to the sensing signal acquired by each sensing electrode at each signal acquisition, e.g., Q (t 1 ,R x1 ) Induction electrode R for 1 st signal acquisition x1 The charge quantity corresponding to the collected sensing signal, Q (t 2 ,R x1 ) The induction electrode R in the process of collecting the 2 nd signal x1 The charge quantity corresponding to the collected sensing signal, Q (t 1 ,R x2 ) Induction electrode R for 1 st signal acquisition x2 The charge quantity corresponding to the collected induction signal.
Taking the touch panel including 18 sensing electrodes and 36 driving electrodes (the number of times of sending the coded signal and collecting the signal is 36) as an example, the charge amount matrix is expressed as follows:
1-5) determining the detected capacitance value of all mutual capacitances within the AA region.
TPIC determines the capacitance value of each mutual capacitance in AA area according to the coding signal sent to the drive electrode in AA area at the same time and the decoded signal corresponding to the sensing signal collected by each sensing electrode after the coding signal is sent each time. Specifically, the TPIC determines the capacitance value of each mutual capacitor according to the driving voltage matrix and the charge amount matrix based on the following formula, and obtains a detection capacitance value matrix:
wherein,a matrix of sensed capacitances representing the mutual capacitance. T (T) x1 ……T xn The code number of the drive electrode is indicated. R is R x1 ……R xm The code number of the sensing electrode is indicated. C (T) x1 ,R x1 )……C(T xn ,R xm ) Representing the detected capacitance of each mutual capacitance formed by the drive electrode and the sense electrode, e.g. C (T) x1 ,R x1 ) Representing the drive electrode T x1 And a sense electrode R x1 The detection capacitance value, C (T x2 ,R x2 ) Representing the drive electrode T x2 And a sense electrode R x2 The detection capacitance of the formed mutual capacitance.
The detection capacity values of the m mutual capacitances can be determined by the code signal sent once and the induction signal acquired by the signal once. According to the code signal transmitted by the s-th time (any one of n code transmitting signals) and the acquired induction signal acquired by the s-th time signal, the detection capacitance value of each mutual capacitance of the s-th time can be determined according to the following formula:
C(T xi ,R xj ) And any one of m mutual capacitances for the s-th transmission coding signal and the s-th signal acquisition is adopted.
Taking the code signal sent for the first time and the acquired sensing signal acquired for the first time as an example, the detection capacitance value C (T) of any one of the m mutual capacitances can be determined according to the following formula xi ,R xj ):
Taking the touch panel comprising 36 driving electrodes and 18 sensing electrodes as examples, the detection capacitance value of each mutual capacitance is determined according to the following formula:
1-6) determining the touch position according to the detection capacity values of all the mutual capacitances in the AA area.
Specifically, the calculated detection capacitance value of each mutual capacitance in the AA area is compared with the reference capacitance value, and if the detection value of the mutual capacitance is smaller than the reference capacitance value, the existence of touch operation at the mutual capacitance is determined. And determining the position of the mutual capacitance, and determining the touch position according to the position of the mutual capacitance.
Optionally, under the condition that the screen is not touched, driving all driving electrodes in the AA area based on the code division multiple access technology and detecting the capacitance value to obtain the reference capacitance value of each mutual capacitance in the AA area, and storing the reference capacitance value in the electronic equipment, so that the detected capacitance value of each mutual capacitance in the AA area is compared with the reference capacitance value in step 1-6).
It will be appreciated that in the next touch sampling period Ta, the touch screen repeats the above 1-1) to 1-6) processes to determine the touch position of the next period.
Fig. 6 is a signal waveform diagram of self-capacitance detection and mutual capacitance coding in a touch sampling period Ta11 according to an embodiment of the present application. As shown in fig. 6, at the start time t1 of the touch sampling period Ta11, self-capacitance detection of the touch panel is started. After the self-capacity detection is finished, entering a mutual capacity coding stage. The touch panel is described by taking an example in which the touch panel includes 6 driving electrodes (Tx 1 to Tx 6). After the self-capacity detection is completed, the TPIC simultaneously transmits 6 times of code signals to Tx1 to Tx 6. The waveform of the 6-time code signal is shown in fig. 6.
It should be noted that the number of driving electrodes, the waveform of the signal, the amplitude of the signal, the number of signals, and the duration of the signal in fig. 6 are only for illustration, and do not represent actual values, nor are they any limitations.
Fig. 7 is a schematic diagram illustrating statistics of self-capacitance detection and mutual-capacitance coding data in a touch sampling process according to an embodiment of the present application. Taking the touch panel including n driving electrodes as an example, as shown in fig. 7, at a start time t1 of a touch sampling period Ta11, self-capacitance detection is started to form self-capacitance detection data; after the self-capacitance detection is finished, code coding signals are sent to n driving electrodes, and n groups of mutually-capacitance code coding data are formed. At the initial moment of the touch sampling period Ta12, carrying out self-capacitance detection on the touch panel again to form self-capacitance detection data; after the self-capacity detection is finished, the n coding signals are sent again to form n groups of mutual capacity coding data. And by analogy, the touch screen starts self-capacitance detection at the starting moment of each touch sampling period Ta to form self-capacitance detection data, and after the self-capacitance detection is finished, n times of coding signals are sent to form n groups of mutual capacitance coding data.
S102, at a second moment, responding to the operation of opening the comment area by a user, and displaying a split-screen video playing interface and the comment area interface on a screen (display screen) of the electronic equipment in a split-screen mode.
S103, determining that the touch demand of the split-screen video playing interface is reduced by the AP of the electronic equipment according to at least one of the content displayed by the screen and the historical touch times, and dividing the AA area into an area A and an area B along the arrangement direction (longitudinal direction) of the driving electrodes by the AP.
Alternatively, the AP of the electronic device may periodically determine the content displayed on the screen and obtain the historical touch data from the TPIC in the touch screen. And the AP determines the historical touch times of each area in the touch screen according to the historical touch data. The historical touch times refer to the touch times of a user on the touch screen in a historical time period. The content of the screen display includes, but is not limited to, the type of interface of the screen display, and the APP to which the interface belongs. And the AP determines whether to adjust the touch sampling rate in a partition mode according to at least one of the content displayed by the screen and the historical touch times. If so, the AP divides the AA area into a plurality of (at least two) areas along the arrangement direction of the driving electrodes, and determines the area in the plurality of areas, the touch sampling rate of which needs to be adjusted, so as to obtain a target area. And then, the AP sends a sampling rate adjustment instruction to the TPIC, wherein the sampling rate adjustment instruction is used for indicating to adjust the touch sampling rate of the target area.
In this embodiment, the AP determines that the touch requirement of the split-screen video playing interface is reduced according to at least one of the content displayed on the screen and the historical touch times, so as to determine that the touch sampling rate needs to be adjusted. Therefore, the AP divides the AA region into a region a and a region B in the arrangement direction (longitudinal direction) of the driving electrodes. The area a may correspond to an area occupied by the split-screen video playing interface in the screen, and the area B corresponds to an area occupied by the comment area interface in the screen. Moreover, since the touch requirement of the split-screen video playing interface is reduced, the touch sampling rate of the area a corresponding to the split-screen video playing interface can be reduced, and the following step S104 is executed.
And S104, the AP sends a sampling rate adjustment instruction 1 to the touch screen, wherein the sampling rate adjustment instruction 1 is used for indicating that the touch sampling rate of the touch screen adjustment area A is b (for example, 30 Hz), and the touch sampling rate b is smaller than the touch sampling rate a.
The sampling rate adjustment instruction 1 may carry the position information of the area a. The positional information of the region a may include, for example, coordinate values of diagonal vertices (e.g., upper left vertex and lower right vertex) of the region a, and the like.
S105, responding to the sampling rate adjusting instruction 1, performing touch sampling on the area A according to the touch sampling rate B, and performing touch sampling on the area B according to the touch sampling rate a.
Referring to fig. 8, the AA area 501 is divided into an area a 801 and an area B802, a split-screen video playing interface is displayed at a position corresponding to the area a 801 in the display screen, and an comment area interface is displayed at a position corresponding to the area B802. The touch screen performs touch sampling on the area A801 at a touch sampling rate of 30Hz, and performs touch sampling on the area B802 at 120 Hz.
Specifically, when the touch sampling rate a of the area B is 120Hz, the duration of the corresponding touch sampling period Ta is 1/120 hz=8.33 ms, that is, the touch screen performs sampling on the area B once every 8.33 ms. When the touch sampling rate b of the area a is 30Hz, the duration of the corresponding touch sampling period (denoted as Tb) is 1/30 hz=3.33 ms, that is, the touch screen performs sampling on the area a every 3.33 intervals.
In a specific embodiment, the touch screen is executed according to the following procedure to implement touch sampling for the area a according to the touch sampling rate B (30 Hz), and touch sampling for the area B according to the touch sampling rate a (120 Hz):
the touch screen may perform touch sampling according to the following procedure in the first touch sampling period Ta21 after the second time:
2-1) carrying out self-capacitance detection on all driving electrodes and sensing electrodes in the AA area;
2-2) performing mutual capacity coding on all driving electrodes in the AA area based on a code division multiple access technology;
2-3) after each time of sending the code signal (first code signal), collecting the induction signal (first induction signal) through each induction electrode;
2-4) decoding the sense signal (first sense signal);
2-5) determining the detection capacity values of all mutual capacitances in the AA area;
2-6) determining the touch position according to the detection capacity values of all the mutual capacitances in the AA area.
The above process is the same as the implementation process of 1-1) to 1-6) in step S101, and will not be repeated.
After the second time, the second touch sampling period Ta22, the third touch sampling period Ta23 and the fourth touch sampling period Ta24, the touch screen may perform touch sampling according to the following procedures:
3-1) self-contained detection is performed on all the driving electrodes and the sensing electrodes in the AA area.
3-2) performing mutual capacitance coding on the driving electrodes in the area B based on the code division multiple access technology.
In the step, the touch screen only performs mutual capacitance coding on the driving electrodes in the area B, and does not perform mutual capacitance coding on the driving electrodes in the area A. Specifically, the TPIC only transmits the coding signal (i.e., the second coding signal) to the driving electrode in the region B simultaneously, and transmits the coding signal to the driving electrode in the region a for n2 times in total. The number of times of n2 sending the code signal to the touch screen is the same as the number of driving electrodes in the area B. Each time the TPIC simultaneously transmits a coding signal to the driving electrodes in region B based on the code division multiple access technique, it may be referred to as performing a second coding operation.
Taking the touch panel including n driving electrodes Tx1 to Txn, the region a includes driving electrodes Txs to Txn, the region B includes Tx1 to Tx (s-1) as an example, the TPIC performs mutual capacitance coding only on the driving electrodes Tx1 to Tx (s-1), and does not perform mutual capacitance coding on the driving electrodes Txs to Txn.
3-3) after each time of sending the code signal (first code signal), collecting the sensing signal (i.e. second sensing signal) through each sensing electrode.
In this step, the number of sensing signals collected by the sensing electrodes is the same as the number of driving electrodes in the region B.
3-4) decoding the sense signal (second sense signal).
This step is similar to the above steps 1-4) and will not be described again.
3-5) determining the detected capacitance value of each mutual capacitance in the region B.
This step is similar to the above steps 1-5) and will not be described again.
3-6) determining the touch position according to the detection capacitance value of each mutual capacitance in the area B.
Optionally, the driving electrode in the area B may be driven and the capacitance value detected based on the cdma technology in advance under the condition that the screen is not touched, so as to obtain the reference capacitance value of each mutual capacitance in the area B, and store the reference capacitance value in the electronic device. In the step 3-6), the detected capacitance value of each mutual capacitance in the area B is compared with the reference capacitance value, and whether touch operation exists at each mutual capacitance is determined. If touch operation exists, determining a touch position according to the position of the mutual capacitance. Alternatively, the difference between the detected capacitance value of each mutual capacitance and the corresponding reference capacitance value may be calculated, and whether the difference is greater than a preset threshold value may be determined. If yes, determining that touch operation exists at the mutual capacitance.
It can be understood that in the process of performing mutual capacity coding based on the cdma technology, the number and range of driving electrodes for simultaneously transmitting coding signals are different, the signal to noise ratio is different, and the obtained reference capacity value may be different. In this embodiment, the mutual capacitance coding and the reference capacitance value detection are performed on the driving electrode in the area B in advance, and the results are stored respectively, so that when the touch position in the area B is determined according to the needs, the calculation is performed only according to the detection results of the mutual capacitance coding and the reference capacitance value in the area B, the accuracy of determining the touch position is improved, and the user experience is further improved. It can be understood that according to the commonly used division result of the AP to the AA area, the mutual capacity coding and the reference capacity value detection can be performed on the driving electrodes of other areas under the condition that the screen is not touched in advance, and the detection result is stored. Therefore, when the touch position of the area is determined later, the independent reference capacitance detection result of the area is acquired, and the accuracy of determining the touch position is improved.
In summary, after the second time, the second touch sampling period Ta22, the third touch sampling period Ta23, and the fourth touch sampling period Ta24, the touch screen repeats the above 3-1) to 3-6), and only the driving electrodes in the area B are subjected to mutual capacitance coding, and the driving electrodes in the area a are not subjected to mutual capacitance coding. Therefore, the power consumption of the touch screen can be reduced, so that the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.
Repeating steps 2-1) through 2-6) above during a touch sampling period Ta25, repeating steps 3-1) through 3-6) above during a touch sampling period Ta26 through a touch sampling period Ta 28), and so on. Thus, the touch sampling period of the area B is Ta, that is, the area B is touch-sampled once in each touch sampling period Ta. The touch sampling period of the area a is ta×4, i.e., the area a is only touch sampled once every 4 touch sampling periods Ta. That is, the touch sampling rate of the area B is still 1/Ta (i.e. the touch sampling rate a, for example, 120 Hz), and the touch sampling rate for the area a is reduced to 1/Tb, tb=ta×1/4 (i.e. the touch sampling rate B, for example, 30 Hz).
In this embodiment, when the touch sampling rate of the area a is B and the touch sampling rate of the area B is a, the signal waveform diagram of self-contained detection and mutual-contained coding in the touch sampling period Ta21 may be the same as that of fig. 6, and will not be described again. In the touch sampling period Ta22, the signal waveform diagram of self-capacitance detection and mutual capacitance coding can refer to fig. 9. As shown in fig. 9, at the start time t3 of the touch sampling period Ta22, self-capacitance detection of the touch panel is started. After the self-capacity detection is finished, entering a mutual capacity coding stage. The description will be continued taking the touch panel including 6 driving electrodes (Tx 1 to Tx 6) as an example. Wherein Tx1 to Tx4 are laid out in the region B, and Tx5 and Tx6 are laid out in the region a. After the self-capacitance detection is completed, the touch screen simultaneously transmits coding signals to Tx1 to Tx4 for 4 times to drive the driving electrodes Tx1 to Tx4, and the waveform diagram of the coding signals transmitted for 4 times is shown in fig. 9. That is, in the touch sampling period Ta22, the touch screen performs mutual capacitance coding only on the driving electrodes Tx1 to Tx4 in the region B, and does not perform mutual capacitance coding on the driving electrodes Tx5 and Tx6 in the region a.
In the touch sampling period Ta23 and the touch sampling period Ta24, signal waveforms of self-capacity detection and mutual capacity coding are shown in fig. 9, and are not repeated. Referring to fig. 6, signal waveforms of self-capacitance detection and mutual capacitance coding in the touch sampling period Ta25 are shown in fig. 9, and signal waveforms of self-capacitance detection and mutual capacitance coding in the touch sampling period Ta26, the touch sampling period Ta27 and the touch sampling period Ta28 are shown in the drawings. And so on.
It should be noted that the number of driving electrodes, the waveform of the signal, the amplitude of the signal, the number of signals, and the duration of the signal in fig. 9 are only for illustrative purposes, and do not represent actual values, nor are they any limitations.
Fig. 10 is a schematic diagram illustrating statistics of self-capacitance detection and mutual-capacitance coding data in a touch sampling process according to another embodiment of the present application. Taking the touch panel as an example, the touch panel includes n driving electrodes, where n1 driving electrodes are located in the area a, n2 driving electrode areas are located in the area B, and n1+n2=n. As shown in fig. 10, at a start time t2 of the touch sampling period Ta21, self-capacitance detection is started on the touch panel to form self-capacitance detection data; after the self-capacitance detection is finished, the touch screen mutually capacitance codes n driving electrodes in the AA area, and simultaneously sends code coding signals to the n driving electrodes for n times to form n groups of mutually capacitance code coding data. In the touch sampling period Ta22, the touch sampling period Ta23 and the touch sampling period Ta24, respectively performing self-capacitance detection on the touch panel to form self-capacitance detection data; after the self-capacitance detection is finished, the touch screen mutually capacitance codes n2 driving electrodes in the area B, each touch sampling period simultaneously transmits coding signals to the n2 driving electrodes, and each touch period totally transmits n2 times to form n2 groups of mutually capacitance coding data.
At the initial moment of the touch sampling period Ta25, carrying out self-capacitance detection on the touch panel again to form self-capacitance detection data; after the self-capacitance detection is completed, the touch screen mutually capacitance codes n driving electrodes in the AA area, and n times of coding signals are sent to form n groups of mutually capacitance coding data. In the touch sampling period Ta26, the touch sampling period Ta27 and the touch sampling period Ta28, respectively performing self-capacitance detection on the touch panel to form self-capacitance detection data; after the self-capacitance detection is finished, the touch screen mutually capacitance codes n2 driving electrodes of the area B, and each touch sampling period transmits n2 coding signals to form n2 groups of mutually capacitance coding data. And so on. The touch sampling period Ta25 and the following self-capacitance detection and mutual capacitance coding data statistics are not shown in fig. 10, and reference may be made to the touch sampling period Ta21 to the touch sampling period Ta23.
As can be seen from fig. 10, a touch sampling period Tb is formed from a start time t2 of the touch sampling period Ta21 to an end time of the touch sampling period Ta24, which is denoted as a touch sampling period Tb1 in the drawing. It can be seen that the duration of the touch sampling period Tb of the area a is equal to 4 times Ta. Therefore, the touch sampling rate of the area A is 1/4 of that of the area B, so that the power consumption of the touch screen can be reduced, and the endurance capacity of the electronic equipment is improved.
And S106, at a third moment, responding to the operation of the user exiting the comment area, and displaying a full-screen video playing interface on a screen (display screen) of the electronic equipment.
S107, the AP of the electronic equipment determines that the touch requirements of all areas in the screen are consistent according to at least one of the content displayed by the screen and the historical touch times.
The implementation process of this step is similar to step S103, and will not be described again.
S108, the AP sends a sampling rate adjustment instruction 2 to the touch screen. The sampling rate adjustment instruction 2 is configured to instruct the touch sampling rate of the touch screen adjustment area a to be a (e.g. 120 Hz). The sampling rate adjustment instruction 2 may carry the position information of the area a.
S109, the touch screen responds to the sampling rate adjustment instruction 2 to perform touch sampling on all AA areas at a touch sampling rate a (for example, 120 Hz).
The implementation process of this step is similar to that of step S101, and will not be described again.
In the above embodiments, the touch sampling rate adjustment method of the area a is described by taking the touch sampling rate reduction as an example. It can be understood that in some scenarios, according to the display content of the screen, the historical touch times of the user, the current touch sampling rate of the touch screen, and other information, if it is determined that the touch requirement of the user on some areas in the screen increases, the AP may also send a sampling rate adjustment instruction to the TPIC, to instruct the TPIC to increase the touch sampling rate of the target area by n times. For example, the AP may instruct the TPIC to increase the touch sampling rate of the target area from 120Hz to 240Hz, i.e., by a factor of 2. In this scenario, the method for adjusting the touch sampling rate is similar to the above-mentioned process, and the difference is that if the touch sampling period corresponding to the adjusted touch sampling rate (i.e. higher sampling rate, 240 Hz) is recorded as Tc, the driving electrode of the target area performs mutual capacitance coding in each touch sampling period Tc, and the driving electrodes of other areas outside the target area in the AA area need to perform mutual capacitance coding once at intervals of n-1 touch sampling periods Tc.
According to the method for adjusting the touch sampling rate, according to at least one of the display content of the screen, the historical touch times of the user and the like, the AA area of the screen is divided into a plurality of areas along the arrangement direction of the driving electrodes in the touch panel, the touch sampling rate is reduced for the area with reduced touch requirements in the plurality of areas, or the touch sampling rate is increased for the area with increased touch requirements. In this way, a lower touch sampling rate is adopted for the area with low touch requirement so as to reduce the power consumption of the screen; and a higher touch sampling rate is adopted for a region with high touch requirement, so that the touch sensitivity of the region is ensured, and the heel chirality of a screen is improved. Therefore, touch sensitivity and power consumption of the screen can be considered simultaneously, and user experience is improved. Meanwhile, in the method, the touch sampling rate is adjusted in a partition mode by controlling the time intervals of the mutual capacity coding of the driving electrodes in different areas, so that a scheme for adjusting the touch sampling rate in a specific partition mode is provided, and compared with a mode of adjusting the touch sampling rate in a partition mode by adopting different inter-frame touch driving modes, the method can adjust the touch sampling rate more simply and rapidly, and the positioning of the areas is more accurate, so that the adjustment result of the touch sampling rate is more accurate, and the user experience is improved.
In addition, in the above embodiment, the AA area is divided into two areas, and the two areas respectively correspond to one touch sampling rate. It will be appreciated that in some embodiments, the AA region may be divided into more than two regions, each region corresponding to one touch sample rate, and the touch sample rates corresponding to each region may be different. For example, the AA area may be divided into an area C, an area D, and an area E arranged up and down, where the sampling rate adjustment instruction is used to instruct to adjust the touch sampling rate of the area C to C, adjust the touch sampling rate of the area D to D, and adjust the touch sampling rate of the area E to E. In this manner, the process of the embodiment of fig. 4 is similar, except that:
driving the respective driving electrodes in the first region every target period;
for the second region, each driving electrode in the second region is driven every interval of k-1 target cycles.
The first area is an area with the touch sampling rate being the maximum sampling rate in the divided areas, and the second area is any one of the divided areas except the first area. The maximum sampling rate is the largest one of the touch sampling rates corresponding to the divided multiple areas, the target period is the touch sampling period corresponding to the maximum sampling rate, the maximum sampling rate is k times of the touch sampling rate corresponding to the second area, and k is a number larger than 1.
In one embodiment, the method provided by the embodiment of the application can also be applied to the electronic equipment with the screen being a folding screen. The following description is made with reference to the accompanying drawings.
Fig. 11 is a schematic structural diagram of a touch screen of an example of a folding screen according to an embodiment of the present application. As shown in fig. 2, the folding screen may include a first screen (right half screen in fig. 11) and a second screen (left half screen in fig. 11). Correspondingly, in the touch panel of the touch screen, an area corresponding to the AA area of the first screen is called a first partition 1101, and an area corresponding to the AA area of the second screen is called a second partition 1102. In the first partition 1101, n driving electrodes (Txa) and m sensing electrodes (Rxa) are arranged, and in the second partition 1102, n driving electrodes (Txb) and m sensing electrodes (Rxb) are also arranged. The respective drive and sense electrodes within the first and second partitions 1101 and 1102 are electrically connected to the TPIC, respectively. The sweep frequency of the TPIC is configurable.
Alternatively, the TPIC of the touch screen of the folded screen may be a single chip, or may be formed by cascading two chips. When the TPIC is a single chip, the TPIC is connected with each driving electrode and each driving sensing electrode respectively. When the TPIC is a dual chip cascade, one chip (first chip) of the two chips is connected to the driving electrode Txa and the sensing electrode Rxa in the first partition 1101, respectively, and is used for controlling the driving electrode Txa and the sensing electrode Rxa in the first partition 1101. The other chip (second chip) is connected to the driving electrode Txb and the sensing electrode Rxb in the second partition 1102, respectively, for controlling the driving electrode Txb and the sensing electrode Rxb in the second partition 1102.
As shown in fig. 11, n driving electrodes Txa in the first partition 1101 are respectively shown as Txa1, txa2 … … Txa (n-1), and Txan, and the n driving electrodes Txa may be arranged in n columns in a lateral direction; the m sensing electrodes Rxa within the first partition 1101 are shown as Rxa1, rxa2 … … Rxa (m-1), and Rxa m, respectively, and the m sensing electrodes Rxa may be arranged in m rows in the longitudinal direction. The n driving electrodes Txb within the second partition 1102 are respectively shown as Txb1, txb2 … … Txb (n-1), and Txbn, which may be arranged in n columns in the lateral direction; the m sense electrodes within the second partition 1102 are shown as Rxb1, rxb2 … … Rxb (m-1) and Rxbm, respectively, and the m sense electrodes Rxb may be arranged in m rows longitudinally.
Similar to the touch screen of the flat panel screen (non-folding screen), the mutual capacitance is formed at the position where the driving electrode and the sensing electrode of the touch panel of the folding screen cross.
It should be noted that fig. 11 is only an example of a touch screen structure of the folding screen, and does not limit the present application. In some other embodiments, the touch panel of the folding screen may have other structures, for example, the driving electrodes may be arranged in rows along the longitudinal direction, and the sensing electrodes may be arranged in columns along the transverse direction. For another example, the shapes of the driving electrode and the sensing electrode may be other shapes, such as an elongated shape including a diamond-shaped electrode sheet, an elongated shape including a circular-shaped electrode sheet, and the like.
Based on the touch screen structure of the folding screen shown in fig. 11, the method for adjusting the touch sampling rate according to the embodiment of the present application may refer to the process described in the foregoing embodiment, divide the folding screen into a plurality of areas along the arrangement direction of the driving electrodes in the touch panel according to at least one of the content displayed by the folding screen and the history touch frequency, reduce the touch sampling rate for the area with reduced touch requirements in the plurality of areas, or increase the touch sampling rate for the area with increased touch requirements. The difference from the above embodiment is that:
first, in fig. 11, the driving electrodes are arranged in a plurality of columns in the lateral direction, and thus, in dividing the region, the first and second partitions of the folding screen may be divided into several regions arranged in the lateral direction, for example, the first and second partitions may be divided into three regions of left, middle, and right.
And the second folding screen comprises a first screen and a second screen, and the first screen and the second screen can jointly display the same interface, and can also display different interfaces in a split screen mode. Therefore, when the area division and the touch sampling rate adjustment are performed, the area division and the touch sampling rate adjustment can be performed only on the AA area (i.e., the first partition) in the first screen, the area division and the touch sampling rate adjustment can be performed only on the AA area (i.e., the second partition) in the second screen, and the area division and the touch sampling rate adjustment can be performed on the AA areas of the first screen and the second screen at the same time. The specific implementation principle is the same as that of the non-folding screen, and will not be described again.
Third, the sensing electrodes of the first and second screens of the folding screen shown in fig. 11 are not connected, so if the AA area is divided into the area a and the area B during the division, and the area a and the area B correspond to the first and second screens respectively, the sensing signals in the first and second screens can be acquired respectively through the sensing electrodes during the process of acquiring the sensing signals, that is: in one touch sampling period, the TPIC only controls the operation of the sensing electrode in the area where the driving electrode for mutual capacitance coding is located. Therefore, the driving electrodes which do not perform mutual capacitance coding do not need to acquire induction signals, the power consumption of the electronic equipment is further reduced, the cruising ability is improved, and the user experience is further improved.
Fig. 12 is a schematic view of a scenario in which an exemplary touch sampling rate adjustment method according to an embodiment of the present application is applied to a folding screen. The folding screen includes a first screen 1201 and a second screen 1202. Under the condition that the first screen 1201 displays a video call interface, the second screen 1202 displays a shopping APP interface, and the touch sampling rates of the first screen 1201 and the second screen 1202 are 120Hz, the electronic device can determine that the touch demand of a user on the first screen is reduced and the touch demand on the second screen is increased according to at least one of the content displayed in the current screen and the historical touch times based on the method provided by the embodiment of the application. Therefore, the electronic device reduces the touch sampling rate of the first screen 1201 to 30Hz, so as to save the power consumption of the electronic device and improve the cruising ability, as shown in fig. 12.
As another possible implementation manner, the method for adjusting the touch sampling rate provided by the application can also control the working modes of the first screen and the second screen in the folding screen. The following detailed description refers to the accompanying drawings.
It will be appreciated that the touch screen may have different modes of operation, including sleep mode (sleep mode), idle mode (idle mode), normal mode (also known as active mode or active mode), and so forth. Generally, after the screen enters a screen off state, the touch screen enters a sleep mode. In the sleep mode, the touch screen may not perform any operation of touch sampling, that is, the touch screen does not perform the operations of self-capacitance detection, mutual capacitance coding, sensing data acquisition, capacitance value detection determination, touch position determination and the like described in the above embodiments. In the idle mode, the touch screen only executes the self-contained detection process, and does not execute other subsequent processes. In the normal mode, the touch screen sequentially executes the processes to perform touch sampling.
In the related art, a touch screen of a folding screen uniformly controls working modes of a first partition and a second partition, and the working modes of the first partition and the second partition are always consistent. For example, at a certain moment, the working mode of the touch screen is set to be a normal mode, and then both the first partition and the second partition are in the normal mode. In this way, under the application scene that the user divides the screen display through the first screen and the second screen of folding screen, there is the problem that the consumption is high.
In order to solve the problem, in this embodiment, the operation modes of the first partition and the second partition of the touch screen are controlled respectively, so as to reduce the power consumption of the screen, thereby reducing the power consumption of the electronic device. Specifically, the method for adjusting the touch sampling rate provided in this embodiment further includes:
under the condition that the working mode of the target partition is a normal mode, if the TPIC determines that the target partition does not have touch operation within the preset duration, the working mode of the target partition is switched to an idle mode;
under the condition that a target partition is in an idle mode, if the TPIC determines that touch operation exists in the target partition through self-contained detection, switching the working mode of the target partition into a normal mode;
the target partition is a first partition, a second partition, or both the first partition and the second partition.
That is, if the first partition does not have touch operation within the preset time period under the condition that the working mode of the first partition is the normal mode, the working mode of the first partition is switched from the working mode to the idle mode. Specifically, for a first partition in an idle mode, the TPIC only controls the driving electrode and the sensing electrode in the first partition to perform self-capacitance detection operation, and for the first partition, operations such as mutual capacitance coding, sensing data acquisition, capacitance detection value determination, touch position determination and the like are not performed, and the first partition enters the idle mode. Under the condition that the first partition is in an idle mode, if the touch operation is detected in the first partition through self-capacitance detection in a certain period, the working mode of the first partition is switched from the idle mode to a normal mode, and the TPIC controls the driving electrode and the sensing electrode in the first partition to execute the operations of self-capacitance detection, mutual capacitance coding, sensing data acquisition, capacitance detection value determination, touch position determination and the like.
Similarly, under the condition that the second partition is in the normal mode, if the second partition does not have touch operation within a preset time period, the working mode of the second partition is switched from the normal mode to the idle mode. And under the condition that the working mode of the second partition is an idle mode, if the touch operation exists in the second partition through self-contained detection, switching the working mode of the second partition from the idle mode to a normal mode.
Under the condition that the working modes of the first partition and the second partition are normal modes, if the first partition and the second partition have no touch operation within a preset time period, the working modes of the first partition and the second partition are switched from the normal mode to an idle mode. Under the condition that the working modes of the first partition and the second partition are idle modes, if the self-contained detection is adopted, and touch operation is determined to exist in the first partition and the second partition, the working modes of the first partition and the second partition are switched from the idle mode to the normal mode.
Optionally, the preset duration may be set according to actual requirements. In a specific embodiment, the predetermined time period is greater than 1s and less than 5s.
It can be understood that whether the folding screen adopts a single-chip TPIC or a double-chip cascade TPIC, the respective control of the working modes of the two partitions can be realized by controlling the driving electrodes and the sensing electrodes in the first partition and the second partition. The difference is that the TPIC is used for controlling the driving electrode and the sensing electrode of two partitions at the same time by adopting a single-chip TPIC, and the driving electrode and the sensing electrode in a first partition are controlled by a first chip and the driving electrode and the sensing electrode in a second partition are controlled by a second chip by adopting a double-chip cascaded TPIC.
In the implementation manner, the working modes of the first partition and the second partition in the touch panel of the folding screen are respectively controlled, so that the working modes of the two partitions are not affected by each other, normal touch of the first partition and/or the second partition can be ensured, and under the condition that a user does not perform touch operation for a long time, the partitions without touch can enter an idle mode, the power consumption of the screen is reduced, and the cruising ability of the electronic equipment is improved.
Fig. 13 is a schematic diagram of an application scenario of switching a working mode of a folding screen according to an embodiment of the present application. As shown in fig. 13 (a), at a certain time a, the user browses a web page using the mobile phone with a folding screen, and thus, the folding screen displays a browser interface and a video call interface in a split screen, the first screen 1301 displays a video call interface, and the second screen 1302 displays a browser interface. At this time, the first partition corresponding to the first screen 1301 and the second partition corresponding to the second screen 1302 are both operated in the normal mode, and touch sampling is performed at a preset touch sampling rate (for example, 120 Hz). After that, the user performs only the touch operation on the second screen 1302 within a preset period of time (for example, 4 s), and does not perform any touch operation on the first screen 1301. Therefore, after 4s of the time a, the touch screen switches the operation mode of the first partition corresponding to the first screen 1301 to the idle mode, and the operation mode of the second partition corresponding to the second screen 1302 remains in the operation mode, as shown in (b) of fig. 13. At a later time b, when the user performs a touch operation on the first screen 1301, the operation mode of the first partition corresponding to the first screen 1301 is switched from the idle mode to the normal mode, as shown in fig. 13 (b).
As can be seen from fig. 13, in a period of time when the user does not perform the touch operation on the first screen 1301, the touch screen switches the operation mode of the first partition corresponding to the first screen 1301 to the idle mode, so as to reduce the power consumption of the first partition, further reduce the power consumption of the electronic device, improve the cruising ability of the electronic device, and improve the user experience.
The power consumption benefits brought by the touch sampling rate adjustment method provided by the embodiment of the application are described below.
First, as analyzed above, the touch screen may include different modes of operation. The touch screen is in different working modes, and the power consumption of the screen is different.
Second, the default touch sampling rate may be different for different touch screens in the normal mode. For example, some touch screens may have a default touch sampling rate of 120Hz, some may have a default touch sampling rate of 240Hz, and some may also have a default touch sampling rate of between 120Hz and 240 Hz. The touch sampling rate of the touch screen in the normal mode is different, and the power consumption of the screen is also different.
In addition, the touch operation of the user on the screen may be a single-finger (1 finger) touch operation, a two-finger (2 finger) touch operation, or a multi-finger touch operation (refer to a touch operation of two or more fingers). The types of touch operations of users are different, and the power consumption of the screen is also different.
In one embodiment, for a straight panel screen, when the number of driving electrodes of the touch panel is 17 and the number of sensing electrodes is 37, the power consumption of the screen under different operation modes/sampling frequencies/touch operations is shown in table 1:
TABLE 1
Note that the power consumption shown in table 1 is only an example, and is not limited in any way.
According to table 1, through testing and reasoning, it can be obtained that the method provided by the embodiment of the application is adopted to adjust the touch sampling rate, and the power consumption benefits under the following scenes are as follows:
1) Before adjustment, all AA areas of the touch screen are subjected to touch sampling at a touch sampling rate of 120 Hz. Under the condition that a user performs touch operation by one finger, the method provided by the embodiment of the application reduces the touch sampling rate of a 1/3 area of the screen from 120Hz to 30Hz, and the power consumption gain of the screen is 30mW, namely the power consumption of the screen is reduced by 30mW.
2) Under the condition that a user performs touch operation by one finger, the touch sampling rate of all areas of the straight panel screen is reduced from 240Hz to 120Hz, and the power consumption gain of the screen is 38.9mW, namely, the power consumption of the screen is reduced by 38.9mW. Therefore, for a folding screen with the driving electrode and the sensing electrode being 2 times of that of a straight screen, the method provided by the embodiment of the application is adopted to adjust the touch sampling rate, and the touch sampling rate of any one of the first screen and the second screen is reduced from 240Hz to 120Hz, so that 38.9mW of power consumption benefit can be obtained. In the case that the power consumption is proportional to the frequency, the touch sampling rate of any one of the first screen and the second screen is reduced from 120Hz to 30Hz, and the power consumption benefit of 30mW is obtained.
3) Under the condition that a user performs touch operation by single finger, the working mode of the straight panel screen with the touch sampling rate of 120Hz is switched from the normal mode to the idle mode, and the power consumption gain of the screen is 60.33mW. Therefore, for a folding screen with the driving electrode and the sensing electrode being 2 times of that of a straight screen, the method provided by the embodiment of the application is adopted to adjust the touch sampling rate, and the working mode of any one of the first screen and the second screen is switched from the normal mode to the idle mode, so that 60.33mW of power consumption benefit can be obtained.
The power consumption benefits in other application scenarios can be determined by referring to table 1, and will not be described again.
According to the analysis, the touch sampling rate of the screen is adjusted by the method provided by the embodiment of the application, so that higher power consumption benefits can be obtained, and the cruising ability of the electronic equipment is effectively improved.
The above describes in detail an example of the method for adjusting the touch sampling rate provided by the embodiment of the present application. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application provides a TPIC (thermoplastic polymer integrated circuit) for executing relevant steps of the TPIC in the method for adjusting the touch sampling rate.
The embodiment of the application provides a touch screen, which is used for executing relevant steps of the touch screen in the method for adjusting the touch sampling rate.
The embodiment of the application provides electronic equipment, which is used for executing the method for adjusting the touch sampling rate.
The method and the device for dividing the function modules of the TPIC, the touch screen or the electronic equipment can divide the function modules into the function modules corresponding to the functions, such as a detection unit, a processing unit, a display unit and the like, and can integrate two or more functions into one module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The electronic device provided in this embodiment is configured to execute the above-mentioned method for adjusting a touch sampling rate, so that the same effect as that of the above-mentioned implementation method can be achieved.
In case an integrated unit is employed, the electronic device may further comprise a processing module, a storage module and a communication module. The processing module can be used for controlling and managing the actions of the electronic equipment. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 1.
The embodiment of the application also provides a computer readable storage medium, in which a computer program is stored, which when executed by a processor, causes the processor to execute the method for adjusting the touch sampling rate in any of the above embodiments.
The embodiment of the application also provides a computer program product, which when running on a computer, causes the computer to execute the related steps so as to realize the method for adjusting the touch sampling rate in the embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be embodied as a chip, component or module, which may include a processor and a memory coupled to each other; the memory is used for storing computer executing instructions, and when the device runs, the processor can execute the computer executing instructions stored in the memory, so that the chip executes the touch sampling rate adjusting method in the method embodiments.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (22)

1. A method for adjusting a touch sampling rate, the method being performed by a touch panel integrated circuit TPIC, the TPIC being applied to a touch screen, the touch screen having an operable area AA, the touch screen including a plurality of drive electrodes disposed in the AA, the method comprising:
controlling the AA area to be subjected to touch sampling at a first touch sampling rate;
receiving a first instruction; the first instruction is used for indicating to adjust the touch sampling rate of a target area to be a second touch sampling rate, and the target area is a partial area in the AA area;
and responding to the first instruction, and driving the driving electrode in the target area at the second touch sampling rate so as to adjust the touch sampling rate of the target area to the second touch sampling rate.
2. The method of claim 1, wherein the target area comprises at least one target sub-area, and the second touch sampling rate comprises at least one sub-sampling rate, the at least one sub-sampling rate being in one-to-one correspondence with the at least one target sub-area; the first instruction is used for indicating and adjusting the touch sampling rate of each target subarea to be the corresponding sub-sampling rate.
3. The method of claim 2, wherein the plurality of driving electrodes are arranged in the AA area along a first direction, and each of the target sub-areas is one of areas obtained by dividing the AA area along the first direction.
4. A method according to claim 2 or 3, wherein said driving the driving electrode within the target area at the second touch sampling rate comprises:
driving each of the driving electrodes in the first region every target period, and driving each of the driving electrodes in the second region every interval of k-1 target periods;
the target period is a touch sampling period corresponding to a maximum sampling rate, the maximum sampling rate is the largest one of the first touch sampling rate and the at least one sub-sampling rate, the maximum sampling rate is k times of the touch sampling rate corresponding to the second area, and k is a number larger than 1;
The first area is one of the at least one target sub-area and a non-target area, the touch sampling rate is the area with the maximum sampling rate, the second area is one of the at least one target sub-area and the non-target area, except the first area, and the non-target area is one of the AA area except the target area.
5. The method of claim 4, wherein the target area comprises one of the target sub-areas, the number of the driving electrodes in the AA area is n, the first area comprises n1 of the driving electrodes, n and n1 are integers greater than 1, n1 is less than n, and k is an integer greater than 1, and the touch screen further comprises a plurality of sensing electrodes disposed in the AA area;
said driving each of said driving electrodes in the first region at each target period and driving each of said driving electrodes in the second region at each interval of k-1 target periods, comprising:
respectively executing n first code printing operations in the Kx+1 target period, wherein the first code printing operations are operations based on a code division multiple access technology, and simultaneously transmitting first code printing signals to n driving electrodes in the AA area;
After the first coding operation is executed each time, the plurality of sensing electrodes are controlled to respectively collect first sensing signals;
determining a touch position according to the first code signal and the first sensing signal;
respectively executing n1 second coding operations in each of the Kx+2 target periods to the Kx+k target periods, wherein the second coding operations are operations based on a code division multiple access technology, and simultaneously transmitting second coding signals to n1 driving electrodes in the first area;
after the second coding operation is executed each time, controlling the plurality of induction electrodes to respectively acquire second induction signals;
and determining a touch position according to the second coding signal and the second sensing signal.
6. The method of claim 5, wherein the plurality of driving electrodes and the plurality of sensing electrodes intersect to form a plurality of mutual capacitances, and wherein determining the touch position based on the second coding signal and the second sensing signal comprises:
according to the second coding signals, respectively determining driving voltages corresponding to the driving electrodes in the first area when the second coding operation is executed each time;
Decoding the second induction signals acquired after the second coding operation is executed each time, and determining the charge quantity of each mutual capacitor in the first area after the second coding operation is executed each time according to the decoded signals;
determining detection capacitance values of all the mutual capacitances in the first area according to the driving voltages corresponding to all the driving electrodes in the first area and the charge amounts of all the mutual capacitances in the first area;
obtaining reference capacitance values of all mutual capacitances in the first area;
and determining a touch position according to the detection capacitance value and the reference capacitance value of each mutual capacitance in the first area.
7. The method of claim 6, wherein the reference capacitance value of each mutual capacitance in the first area is obtained by sending only a third code signal to a driving electrode in the first area based on a code division multiple access technology and performing capacitance value detection when the first area has no touch operation.
8. The method according to any one of claims 5 to 7, further comprising:
and before driving the driving electrodes, controlling the self-capacitance detection of each driving electrode and each sensing electrode in the AA area respectively in each target period.
9. The method of any of claims 1-8, wherein the touch screen is a folded touch screen, the touch screen comprising a first screen and a second screen, the AA zone comprising a first partition and a second partition, the first partition corresponding to the first screen and the second partition corresponding to the second screen, the method further comprising:
if no touch operation of the target partition is detected within a preset duration under the condition that the working mode of the target partition is an active mode, setting the working mode of the target partition as an idle mode; the target is divided into the first partition, the second partition or the first partition and the second partition;
and if the touch operation exists in the target partition through self-contained detection under the condition that the working mode of the target partition is an idle mode, setting the working mode of the target partition as an active mode.
10. The method of claim 9, wherein the touch screen further comprises a plurality of sensing electrodes disposed in the AA region, the TPIC being a single chip;
the setting the working mode of the target partition to be an idle mode includes:
The TPIC control performs self-capacitance detection on each driving electrode and each sensing electrode in the target zone;
the setting the working mode of the target partition to be an active mode comprises the following steps:
the TPIC control performs self-capacitance detection on each driving electrode and each sensing electrode in the target zone;
the TPIC drives the driving electrode in the target partition and controls the sensing electrode in the target partition to collect sensing signals.
11. The method of claim 9, wherein the TPIC comprises a cascaded first chip for controlling the drive electrode and the sense electrode within the first partition and a second chip for controlling the drive electrode and the sense electrode within the second partition;
the setting the working mode of the target partition to be an idle mode includes:
the target chip controls the self-contained detection of each driving electrode and each induction electrode in the target partition; the target chip is one of the first chip and the second chip, and is used for controlling the driving electrode and the sensing electrode in the target area;
The setting the working mode of the target partition to be an active mode comprises the following steps:
the target chip controls self-contained detection of each driving electrode and each sensing electrode in the target partition;
the target chip drives the driving electrode in the target partition and controls the sensing electrode in the target partition to collect sensing signals.
12. A method for adjusting a touch sampling rate, the method being performed by an electronic device, a screen of the electronic device including a touch screen, the touch screen having an AA area, the touch screen including a plurality of driving electrodes disposed in the AA area, the method comprising:
displaying a first interface in the screen, and performing touch sampling on the AA area by the touch screen at a first touch sampling rate;
responding to a first operation of a user, and displaying a second interface in the screen; under the condition that the second interface is displayed in the screen, the touch control requirement of a target area is changed, wherein the target area is a partial area in the AA area;
the touch screen drives the driving electrode in the target area at a second touch sampling rate so as to adjust the touch sampling rate of the target area to the second touch sampling rate.
13. The method of claim 12, wherein the target area comprises at least one target sub-area, and wherein the second touch sample rate comprises at least one sub-sample rate that is one-to-one with the at least one target sub-area.
14. The method of claim 13, wherein the plurality of drive electrodes are arranged along a first direction, and each of the target sub-regions is one of regions obtained by dividing the AA region along the first direction.
15. The method according to claim 13 or 14, wherein the second interface comprises a plurality of sub-interfaces, each of the sub-interfaces corresponding to one of the target sub-areas or non-target areas; the non-target area is an area of the AA area other than the target area.
16. The method of any of claims 13 to 15, wherein the touch screen driving the drive electrodes within the target area at a second touch sampling rate, comprising:
in each target period, the touch screen drives each driving electrode in a first area, and drives each driving electrode in a second area every interval of k-1 target periods;
The target period is a touch sampling period corresponding to a maximum sampling rate, the maximum sampling rate is the largest one of the first touch sampling rate and the at least one sub-sampling rate, the maximum sampling rate is k times of the touch sampling rate corresponding to the second area, and k is a number larger than 1;
the first area is one of the at least one target sub-area and a non-target area, the touch sampling rate is the area with the maximum sampling rate, the second area is one of the at least one target sub-area and the non-target area, except the first area, and the non-target area is one of the AA area except the target area.
17. The method according to any one of claims 12 to 16, wherein the electronic device further comprises an application processor AP, the method further comprising:
the AP determines the touch demand change of the target area according to at least one of the content of the second interface and the historical touch times; the historical touch times are the touch times of a user to each region of the touch screen in a historical time period;
the AP sends a first instruction to the touch screen, wherein the first instruction is used for indicating and adjusting the touch sampling rate of the target area to be the second touch sampling rate.
18. The method of claim 17, wherein the method further comprises:
the touch screen sends historical touch data to the AP;
and the AP determines the historical touch times according to the historical touch data.
19. A TPIC applied to a touch screen, the touch screen comprising a touch panel having an AA area, the touch panel comprising a plurality of drive electrodes disposed in the AA area, wherein the TPIC is configured to perform the method of any one of claims 1 to 11.
20. A touch screen comprising a touch panel and the TPIC of claim 19, the touch panel having an AA region, the touch panel comprising a plurality of drive electrodes disposed in the AA region.
21. An electronic device, comprising: a processor, a memory, and an interface;
the screen of the electronic equipment comprises a touch screen, wherein the touch screen is provided with an AA area and comprises a plurality of driving electrodes arranged in the AA area;
the processor, the memory and the interface cooperate to cause the electronic device to perform the method of any of claims 12 to 18.
22. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, causes the processor to perform the method of any of claims 1 to 18.
CN202310342683.8A 2023-03-24 2023-03-24 Touch sampling rate adjusting method, TPIC, touch screen and electronic device Pending CN117130502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310342683.8A CN117130502A (en) 2023-03-24 2023-03-24 Touch sampling rate adjusting method, TPIC, touch screen and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310342683.8A CN117130502A (en) 2023-03-24 2023-03-24 Touch sampling rate adjusting method, TPIC, touch screen and electronic device

Publications (1)

Publication Number Publication Date
CN117130502A true CN117130502A (en) 2023-11-28

Family

ID=88857029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310342683.8A Pending CN117130502A (en) 2023-03-24 2023-03-24 Touch sampling rate adjusting method, TPIC, touch screen and electronic device

Country Status (1)

Country Link
CN (1) CN117130502A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107636596A (en) * 2017-08-01 2018-01-26 深圳市汇顶科技股份有限公司 Determination method, capacitance touch-control device and the capacitance touching control terminal of position of touch
CN110362225A (en) * 2019-06-18 2019-10-22 腾讯科技(成都)有限公司 Touch screen sample frequency control method, device, medium and electronic equipment
CN115202520A (en) * 2021-04-13 2022-10-18 三星显示有限公司 Touch sensor
CN115705231A (en) * 2021-08-10 2023-02-17 荣耀终端有限公司 Screen display method and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107636596A (en) * 2017-08-01 2018-01-26 深圳市汇顶科技股份有限公司 Determination method, capacitance touch-control device and the capacitance touching control terminal of position of touch
CN110362225A (en) * 2019-06-18 2019-10-22 腾讯科技(成都)有限公司 Touch screen sample frequency control method, device, medium and electronic equipment
CN115202520A (en) * 2021-04-13 2022-10-18 三星显示有限公司 Touch sensor
CN115705231A (en) * 2021-08-10 2023-02-17 荣耀终端有限公司 Screen display method and terminal equipment

Similar Documents

Publication Publication Date Title
CN112717370B (en) Control method and electronic equipment
WO2020177585A1 (en) Gesture processing method and device
CN111782102B (en) Window display method and related device
CN114338952B (en) Image processing method based on vertical synchronous signal and electronic equipment
CN108471234B (en) A kind of voltage control circuit and its control method, mobile terminal
CN111553846B (en) Super-resolution processing method and device
CN113986002B (en) Frame processing method, device and storage medium
CN113115439B (en) Positioning method and related equipment
CN115552916B (en) Refresh rate adjusting method and electronic equipment
CN113919390A (en) Method for identifying touch operation and electronic equipment
CN110830645B (en) Operation method, electronic equipment and computer storage medium
CN111783375A (en) Chip system and related device
CN113115460B (en) Time slot selection method and related equipment
CN111988798B (en) Method and device for detecting SSB sequence number
WO2024032124A1 (en) Method for folding and unfolding scroll screen and related product
CN109164917A (en) Control method of electronic device, storage medium and electronic equipment
CN117130502A (en) Touch sampling rate adjusting method, TPIC, touch screen and electronic device
CN109074211A (en) The method and relevant device of adjustment interface rolling speed, computer program product
CN114422686A (en) Parameter adjusting method and related device
WO2023045806A1 (en) Method for calculating location information in touch-control screen, and electronic device
WO2021170062A1 (en) Method for adjusting air gesture and terminal
CN115079822B (en) Alternate gesture interaction method and device, electronic chip and electronic equipment
CN114510192B (en) Image processing method and related device
CN111459271B (en) Gaze offset error determination method and device
CN117971059A (en) Touch sensing module and touch fingerprint identification device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination