Touch detection method and apparatus, communication device, and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2022-06-16
- Publication Date
- 2026-06-05
Smart Images

Figure CN117597660B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to, but is not limited to, the field of display and touch technology, and particularly to a touch detection method and apparatus, communication equipment and storage medium. Background Technology
[0002] As the performance of smart terminal devices gradually improves, users' demands for touch sensitivity on these devices are also increasing. For example, in interactive scenarios such as games, there are often high requirements for touch reporting rate and / or touch detection time. Since improving the touch reporting rate often requires increasing the frame scanning frequency of the touch sensor, and the scanning frequency of the touch sensor is limited by the sensor load, it is usually difficult to exceed 240Hz. Therefore, the touch reporting rate in related technologies is relatively low and limited by hardware conditions, and the touch detection response time is also relatively long, making it difficult to meet users' ever-increasing demands for touch sensitivity. Summary of the Invention
[0003] This disclosure provides a touch detection method and apparatus, a communication device and a storage medium.
[0004] The first aspect of this disclosure provides a touch detection method, including:
[0005] Get the first area that was touched;
[0006] The location information of the touched position is determined in the first area based on the mutual capacitance scanning method;
[0007] The reporting operation is performed based on the location information.
[0008] A second aspect of this disclosure provides a touch detection device, comprising:
[0009] The acquisition unit is configured to acquire the first area that is touched.
[0010] The determining unit is configured to determine the location information of the touched position in the first area based on mutual capacitance scanning.
[0011] The execution unit is configured to perform reporting operations based on location information.
[0012] A third aspect of this disclosure provides a communication device including a processor, a memory, and an executable program stored in the memory and capable of being executed by the processor, wherein the processor executes the touch detection method as described in the first aspect above when running the executable program.
[0013] A fourth aspect of this disclosure provides a computer storage medium storing an executable program; the executable program, when executed by a processor, can implement the touch detection method provided in the first aspect.
[0014] The technical solution provided in this disclosure involves acquiring a first touch-sensitive area; determining the location information of the touch-sensitive position within the first area based on a mutual capacitance scanning method; and performing a reporting operation based on the location information. In this way, by determining the approximate touch-sensitive area and then further scanning that area using a mutual capacitance scanning method, the scanning of points formed by channels within the approximate area can be more targeted. Therefore, by first locating the approximate area and then performing precise point scanning within that area, the slow reporting speed caused by performing a complete one-frame scan of all points across multiple channels of the touchscreen can be reduced, thereby improving the detection and response speed of touch operations and enhancing the sensitivity of touch operations.
[0015] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the embodiments of this disclosure. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the embodiments of the invention.
[0017] Figure 1 This is a schematic diagram illustrating the structure of a wireless communication system according to an exemplary embodiment;
[0018] Figure 2 This is a flowchart illustrating a touch detection method according to an exemplary embodiment;
[0019] Figure 3 This is a schematic diagram illustrating a touch screen according to an exemplary embodiment;
[0020] Figure 4 This is a flowchart illustrating a touch detection method according to an exemplary embodiment;
[0021] Figure 5 This is a flowchart illustrating a touch detection method according to an exemplary embodiment;
[0022] Figure 6 This is a flowchart illustrating a touch detection method in the related art according to an exemplary embodiment;
[0023] Figure 7 This is a flowchart illustrating a touch detection method according to an exemplary embodiment;
[0024] Figure 8This is a schematic diagram of the structure of a touch detection device according to an exemplary embodiment;
[0025] Figure 9 This is a schematic diagram of the structure of a terminal according to an exemplary embodiment. Detailed Implementation
[0026] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of the present invention.
[0027] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments disclosed herein. The singular forms “a,” “the,” and “the” used herein are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0028] It should be understood that although the terms first, second, third, etc., may be used to describe various information in embodiments of this disclosure, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first information may also be referred to as second information without departing from the scope of embodiments of this disclosure, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."
[0029] Please refer to Figure 1 This illustration shows a schematic diagram of the structure of a wireless communication system provided in an embodiment of this disclosure. Figure 1 As shown, the wireless communication system is a communication system based on cellular mobile communication technology. The wireless communication system may include: a number of terminals 11 and a number of access devices 12.
[0030] Terminal 11 can be a device that provides voice and / or data connectivity to a user. Terminal 11 can communicate with one or more core networks via a Radio Access Network (RAN). Terminal 11 can be an Internet of Things (IoT) terminal, such as a sensor device, a mobile phone (or "cellular" phone), and a computer with an IoT terminal. For example, it can be a fixed, portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted device. Examples include a station (STA), subscriber unit, subscriber station, mobile station, mobile station, remote station, access point, remote terminal, access terminal, user terminal, user agent, user device, or user equipment. Alternatively, Terminal 11 can also be a device from an unmanned aerial vehicle (UAV). Alternatively, Terminal 11 can also be a vehicle-mounted device, such as a vehicle computer with wireless communication capabilities, or a wireless communication device connected to an external vehicle computer. Alternatively, terminal 11 can also be a roadside device, such as a street light, traffic light, or other roadside device with wireless communication capabilities.
[0031] Access device 12 can be a network-side device in a wireless communication system. This wireless communication system can be a 4G system (also known as Long Term Evolution, LTE); or it can be a 5G system (also known as a New Radio, NR, or 5G NR system). Alternatively, it can be the next generation after 5G. In this case, the access network in the 5G system can be called NG-RAN (New Generation-Radio Access Network). Alternatively, it can be an MTC system.
[0032] The access device 12 can be an evolved NB (eNB) used in a 4G system. Alternatively, the access device 12 can also be a gNB (gNB) using a centralized-distributed architecture in a 5G system. When the access device 12 adopts a centralized-distributed architecture, it typically includes a central unit (CU) and at least two distributed units (DUs). The central unit is equipped with a protocol stack of the Packet Data Convergence Protocol (PDCP) layer, the Radio Link Control (RLC) layer, and the Media Access Control (MAC) layer; the distributed units are equipped with a physical (PHY) layer protocol stack. This disclosure does not limit the specific implementation of the access device 12.
[0033] Access device 12 and terminal 11 can establish a wireless connection via a wireless air interface. In different implementations, the wireless air interface is a wireless air interface based on the fourth-generation mobile communication network technology (4G) standard; or, the wireless air interface is a wireless air interface based on the fifth-generation mobile communication network technology (5G) standard, such as a new air interface; or, the wireless air interface can also be a wireless air interface based on a next-generation mobile communication network technology standard based on 5G.
[0034] Optionally, the aforementioned wireless communication system may further include a network management device 13. A plurality of access devices 12 are respectively connected to the network management device 13. The network management device 13 may be a core network device in the wireless communication system, such as a Mobility Management Entity (MME) in an Evolved Packet Core (EPC). Alternatively, the network management device may be other core network devices, such as a Serving Gateway (SGW), a Public Data Network Gateway (PGW), a Policy and Charging Rules Function (PCRF), or a Home Subscriber Server (HSS). The implementation of the network management device 13 is not limited in this embodiment.
[0035] like Figure 2 As shown, this disclosure provides a touch detection method, including:
[0036] S110: Acquire the first area that has been touched;
[0037] S120: Determine the location information of the touched position in the first area based on mutual capacitance scanning;
[0038] S130: Perform reporting operations based on location information.
[0039] In this embodiment, the touchscreen can be a screen on an electronic device used to respond to user touch operations and perform corresponding display interaction operations, such as the touchscreen on a mobile phone, tablet computer, smartwatch, or smart home appliance. The touch detection method provided in this embodiment can be applied to the touch integrated circuit chip (TIC) of the touchscreen, or to a touch system composed of a TIC and a processor, such as a touch processing system composed of a TIC and an application processor (AP).
[0040] In one embodiment, the touchscreen may include multiple channels, each corresponding to an electrode in the touchscreen. The touchscreen may include a first channel and a second channel, where the electrode direction corresponding to the first channel may be perpendicular to the electrode direction corresponding to the second channel. For example, the first channel may correspond to vertically arranged electrodes, and the second channel may correspond to horizontally arranged electrodes. The multiple vertically arranged electrodes and the multiple horizontally arranged electrodes constitute the touch detection matrix of the touchscreen.
[0041] The self-capacitance scanning method involves detecting the self-capacitance of each electrode corresponding to each channel of the touchscreen individually, i.e., detecting each channel once. When a touch occurs at the electrode position corresponding to a channel, the self-capacitance of that electrode will change. For example, by detecting the change in the self-capacitance formed between the electrode corresponding to each channel and ground, the number of detections required to scan the touchscreen using the self-capacitance scanning method is equal to the total number of channels in the touchscreen.
[0042] The mutual capacitance scanning method involves detecting the capacitance at each intersection point of a channel with other channels, meaning the number of detections for each channel equals the number of intersection points between that channel and other channels. When a touch operation occurs at an intersection point of a channel with other channels or within a certain range of that intersection point, the mutual capacitance between the vertical and horizontal electrodes corresponding to that intersection point will change. For example, a mutual capacitance scan of a first channel can be performed by scanning the intersection points of that first channel with all second channels, specifically detecting the mutual capacitance at the intersection points formed by the vertical electrode corresponding to the first channel and the horizontal electrodes corresponding to all second channels.
[0043] In related technologies, the reporting operation is performed only after a complete one-frame scan of all points corresponding to the multi-channel of the touch screen. That is, after scanning all intersection points formed by all channels contained in the touch screen, the touch points are determined and the reporting operation is performed.
[0044] In one embodiment, the multiple channels included in the touchscreen can be as follows: Figure 3 As shown, for example, the touch screen can include N first channels, for example, N=18, then Tx1, Tx2, Tx3…Tx18 can represent the 1st to 18th first channels corresponding to the vertical electrodes. The touch screen can also include M second channels, for example, M=36, then Rx1, Rx2…Rx36 can represent the 1st to 36th second channels corresponding to the horizontal electrodes.
[0045] In one embodiment, step S110 may be: determining a first touchable region based on the touchable channel. For example, determining the region formed by the channel where capacitance changes occur among all channels included in the touchscreen as the first region. Alternatively, it may be determining the outermost point of each channel where capacitance changes occur, and determining the contour edge of the first region based on these points across all channels.
[0046] In one embodiment, step S110 may include: scanning the touchscreen based on a self-capacitive scanning method to determine whether the touchscreen is touched; if the touchscreen is touched, then acquiring the first touched area. Determining whether the touchscreen is touched may include checking for capacitance changes that meet preset conditions in at least one first channel and / or second channel of the touchscreen. If at least one first channel and / or second channel exhibits capacitance changes that meet preset conditions, then it is determined that the touchscreen is touched.
[0047] Among them, the preset conditions can indicate that the capacitance value changes, or that the capacitance value reaches a preset capacitance value, or that the amount of change in the capacitance value reaches a preset threshold, or that the percentage change in the capacitance value reaches a preset percentage, etc.
[0048] In one embodiment, step S110 may include scanning the touchscreen using a self-capacitive scanning method. For example, this may involve sequentially scanning all first channels and / or second channels contained in the touchscreen. Exemplarily, the scan may be performed sequentially in a preset direction, such as from top to bottom or from left to right, according to the arrangement order of the electrodes corresponding to the channels.
[0049] In one embodiment, after each round of self-capacitance scanning of all first and / or second channels of the touchscreen is completed, a coding can be performed to mark the completed self-capacitance scan, and then the next round of self-capacitance scanning of the touchscreen can be performed.
[0050] In one embodiment, the first touch-sensitive area can be an area near the touch location. For example, the first area can be a coverage area formed by at least one first channel and / or a second channel that exhibits a capacitance change that meets preset conditions.
[0051] For example, the touchscreen is scanned using a self-capacitance scanning method to determine T in the first channel. n-1 T n and T n+1 If a capacitance change that meets the preset conditions exists, then T can be determined. n-1 T n and T n+1 The resulting coverage area is the first region, or, determine T. n-1 T n and T n+1 The resulting coverage area and a certain surrounding area constitute the first region. For example, the first region can be T. n-2 T n-1 T n T n+1 and T n+2 The resulting coverage area.
[0052] In one embodiment, since a touch operation occurs in the first area, there must be an intersection point between the first channel and the second channel corresponding to the touch position within the first area, that is, there must be an intersection point in the first area that meets the preset condition of capacitance change. Therefore, step S120 may include: determining, based on mutual capacitance scanning, that there is an intersection point in the first area that meets the preset condition of capacitance change; and determining the position information of the touched position based on the position information of the intersection point that meets the preset condition of capacitance change.
[0053] The intersection point is the location where the first channel and the second channel meet. Each intersection point corresponds to the mutual capacitance formed by a vertical electrode and a horizontal electrode. If there is a capacitance change at the intersection point under preset conditions, it indicates that the intersection point or a certain range near the intersection point has been touched, and the intersection point can be considered a touch location.
[0054] In one embodiment, the location information of the junction point can be determined based on the channel information of the first and second channels corresponding to the junction point. For example, the channel identifier of the first channel corresponding to the junction point is T. n The second identifier for the corresponding second channel is R. m Then based on T n and R m The corresponding coordinate data can determine the coordinate data of the intersection point.
[0055] In one embodiment, determining the intersection points in the first region that meet preset conditions based on mutual capacitance scanning can involve sequentially detecting all intersection points within the first region to identify intersection points that meet preset conditions. For example, this could involve sequentially detecting all intersection points on a first channel in a preset direction, then sequentially detecting all intersection points on the next first channel in the preset direction, and so on.
[0056] In one embodiment, the location information of the touched location may include the location information of all intersections belonging to the touched location, or it may include the location information of the currently detected intersection belonging to the touched location.
[0057] In one embodiment, after each mutual capacitance scan of a target channel is completed, a coding can be performed to mark the end of the mutual capacitance scan of a target channel, and then the mutual capacitance scan of the next target channel or the next round of self-capacitance scan of the touch screen can be performed.
[0058] In one embodiment, the reporting operation may include sending the location information of the touched location to the TIC's internal processor or AP, which then calculates and determines the coordinates of the touched location based on the location information. For example, the TIC can send the location information to the AP via a Serial Peripheral Interface (SPI). The coordinates of the touched location can be used to instruct the corresponding processing for the touch operation to be performed at the corresponding coordinates, such as display or switching.
[0059] Thus, by scanning multiple channels of the touchscreen using self-capacitance scanning rather than the points between channels, the approximate area of touch can be determined more quickly. Mutual capacitance scanning further scans the points within that area, allowing for more targeted and precise location of the touched position, reducing unnecessary scanning of untouched areas. Therefore, by combining self-capacitance and mutual capacitance scanning, the slow reporting speed caused by performing a complete one-frame scan of all points across multiple channels of the touchscreen can be reduced, thereby improving the detection and response speed of touch operations.
[0060] In some embodiments, such as Figure 4 As shown, scanning the touchscreen using a self-capacitance scanning method to obtain the first area being touched may include:
[0061] S111: Scan multiple first channels of the touch screen based on self-capacitance scanning method;
[0062] S112: Determine the first area to be touched based on at least one target channel in the plurality of first channels whose capacitance changes meet preset conditions.
[0063] In this embodiment of the disclosure, the target channel is a first channel that has a capacitance change that meets preset conditions, such as a first channel where the capacitance change reaches a preset threshold, or a first channel where the capacitance value reaches a preset capacitance value, etc.
[0064] In one embodiment, scanning multiple first channels of the touchscreen based on a self-capacitive scanning method can be performed by scanning the multiple first channels of the touchscreen sequentially. For example, the multiple first channels of the touchscreen can be scanned sequentially in a preset order.
[0065] For example, when the first channel corresponds to a vertical electrode, the preset order can be from left to right, or when the first channel corresponds to a horizontal electrode, the preset order can be from top to bottom, etc.
[0066] In one embodiment, step S111 may include scanning a plurality of first channels and second channels of the touch screen based on a self-capacitance scanning method. For example, all first channels Tx1-TxN and all second channels Rx1-RxN contained in the touch screen are scanned sequentially.
[0067] In one embodiment, step S112 may include: determining a first touchable area based on at least one target channel whose capacitance changes in a plurality of first and second channels meet preset conditions. The target channel is defined as the presence of both first and second channels that meet the preset conditions; for example, the target channel is T. n-1 T n and T n+1 , and R m-1 R m and R m+1 Then T n-1 T n and T n+1 And the covered area can be the first area.
[0068] Thus, the target channel initially determined by the self-capacity scan is the target channel where the intersection point corresponding to the touch position is located, thereby determining that the touched position falls within the first area determined by the target channel. Therefore, the approximate area where the touch position is located can be quickly determined, which is beneficial for targeted and accurate mutual capacity scanning of this area, and can reduce a large number of unnecessary detections on points corresponding to channels where no touch occurred.
[0069] In some embodiments, such as Figure 5 As shown, determining the location information of the touched position in the first area based on the mutual capacitance scanning method may include:
[0070] S121: Based on the mutual capacitance scanning method, the intersection points of each target channel and multiple second channels in the first region are scanned sequentially; the electrode directions of the second channels and the target channels are perpendicular.
[0071] S122: Based on the scanning results of the mutual capacitance scanning method, determine the location information of the touched position in the first area.
[0072] In this embodiment of the disclosure, the intersection points of each target channel and multiple second channels in the first region are scanned sequentially. This can be done by scanning the intersection points of each target channel and multiple second channels in the first region in a preset order. For example, when a target channel corresponds to a vertical electrode, the intersection points of a target channel and multiple second channels can be scanned sequentially from top to bottom in a preset order. For multiple target channels in the first region, they can be scanned sequentially from left to right in a preset order.
[0073] In one embodiment, determining the location information of the touched position in the first region based on the scanning results of the mutual capacitance scanning method may include: determining that there is an intersection point in the first region that meets the preset condition of capacitance change based on the scanning results of the mutual capacitance scanning method, and determining the location information of the touched position based on the location information of the intersection point that meets the preset condition of capacitance change.
[0074] In one embodiment, determining the location information of the touched position in the first region based on the scanning results of the mutual capacitance scanning method may include: determining multiple intersection points in the first region where the capacitance changes are the same or similar based on the scanning results of the mutual capacitance scanning method, and determining the location information of the touched position based on the location information of the multiple intersection points.
[0075] Among them, "same capacitance change" can mean that the capacitance change trend is the same and the capacitance change amount is the same, and "similar capacitance change" can mean that the capacitance change trend is the same and the difference in capacitance change amount is within a preset range.
[0076] Thus, performing mutual capacitance scanning of intersection points within the first region determined by self-capacity scanning can better save the time consumed by performing a large number of unnecessary scans of intersection points in the non-touched areas outside the first region, thereby improving the touch detection speed while accurately detecting the touch position.
[0077] In some embodiments, determining the location information of the touched position in the first region based on the scanning result of the mutual capacitance scanning method may include:
[0078] Based on the scanning results of the mutual capacitance scanning method, determine whether there is a capacitance change at the intersection point that meets the preset conditions;
[0079] If the intersection point has a capacitance change that meets preset conditions, then the location information of the touched position is determined based on the existence of an intersection point with a capacitance change that meets preset conditions in the first region.
[0080] In this embodiment of the disclosure, the preset condition may indicate that the capacitance value changes, or that the capacitance value reaches a preset capacitance value, or that the amount of change in the capacitance value reaches a preset threshold, or that the percentage change in the capacitance value reaches a preset percentage, etc.
[0081] In one embodiment, for each intersection point where a capacitance change that meets a preset condition is determined, or for each intersection point on a target channel where a capacitance change that meets a preset condition is determined, the location information of the intersection point or all intersection points on the target channel where a capacitance change that meets a preset condition is determined, is used as the location information of the touched position.
[0082] Accordingly, the reporting operation based on location information can be performed based on the location information of the intersection points that meet the preset conditions for capacitance change, or based on the location information of all intersection points that meet the preset conditions for capacitance change on the target channel.
[0083] In one embodiment, the reporting operation is performed based on the location information of the intersection point that meets the preset conditions for capacitance change. This may include sending the intersection point location information to the AP, and the AP determining the coordinate information of the touched position based on the intersection point location information and all intersection point location information determined after the self-capacitance scan of the current cycle.
[0084] For example, the AP can determine the coordinates of the touched location based on the currently reported junction point location information and all junction point location information received by the AP after the closest self-capacitance scan and coding at the current time. This allows for real-time updates of the junction point location information belonging to the touched location, thereby updating the reported data in real time, effectively improving the reporting rate, and facilitating the determination of the touched location.
[0085] In some embodiments, determining the location information of the touched position based on the existence of a convergence point of capacitance changes meeting preset conditions in the first region may include:
[0086] Based on the channel information corresponding to the intersection point of capacitance change that meets the preset conditions in the first region, the position information of the touched position is determined; the channel information includes: the channel identifiers of the first channel and the second channel corresponding to the intersection point.
[0087] In this embodiment of the disclosure, the channel identifier may include the number or ID corresponding to the channel, and the channel identifier may also include or correspond to the coordinate information of the channel in the touch screen.
[0088] In one embodiment, determining the location information of the touched position based on the channel information corresponding to the intersection point of capacitance changes that meet preset conditions in the first region may include: determining the first channel and the second channel corresponding to the intersection point of capacitance changes that meet preset conditions in the first region; and determining the location information of the touched position based on the coordinate information corresponding to the first channel and the second channel.
[0089] In one embodiment, determining the location information of the touched position based on the coordinate information corresponding to the first channel and the second channel can be achieved by determining the coordinate information of the coverage area of the touched position based on the coordinate information corresponding to the first channel and the second channel.
[0090] In another embodiment, the location information of the touched position can be determined based on the coordinate information corresponding to the first channel and the second channel. Alternatively, the coordinate information of all intersection points in the first region that meet the preset conditions for capacitance change can be determined based on the coordinate information corresponding to the first channel and the second channel, and the coordinate information of the outline of the area covered by the touched position can be determined based on the coordinate information of all intersection points.
[0091] In this way, based on the channel information of the first and second channels that intersect to form the intersection point, the coordinate position of the intersection point can be determined more accurately and quickly, which can then be used to accurately determine the coordinate information of the touched position.
[0092] In some embodiments, performing a reporting operation based on location information includes:
[0093] In response to the scanning results based on the mutual capacitance scanning method, which determine that there is a capacitance change at the junction that meets the preset conditions, a reporting operation is performed based on the location information determined by the currently determined junction.
[0094] or,
[0095] In response to completing the mutual capacitance scan of all intersection points on a target channel, a reporting operation is performed based on the location information determined by all intersection points on the target channel that have capacitance changes that meet preset conditions.
[0096] or,
[0097] In response to completing the mutual capacitance scan of all intersections in the first region, a reporting operation is performed based on the location information determined by multiple intersections with capacitance changes that meet preset conditions.
[0098] In this embodiment of the disclosure, performing a reporting operation based on a currently determined intersection point can mean that for each intersection point where a capacitance change that meets preset conditions is determined, a reporting operation is performed based on that determined intersection point. Performing a reporting operation based on multiple intersection points where a capacitance change that meets preset conditions can mean performing a reporting operation based on all intersection points within the first area that belong to the touched location.
[0099] In one embodiment, in response to completing the mutual capacitance scan of all junctions on a target channel, performing a reporting operation based on the location information determined by all junctions on the target channel that have capacitance changes that meet preset conditions may include: in response to determining, based on the scan results of the mutual capacitance scan method, that there are capacitance changes at the junctions that meet preset conditions, and that all junctions on the target channel where the currently determined junction is located have completed the mutual capacitance scan, performing a reporting operation based on the location information determined by all junctions on the target channel that have capacitance changes that meet preset conditions.
[0100] In one embodiment, performing a reporting operation based on the currently determined junction point may include: performing the reporting operation based on the target channel and / or the second channel corresponding to the currently determined junction point. For example, performing the reporting operation based on the channel information of the target channel and / or the second channel corresponding to the currently determined junction point.
[0101] Therefore, performing the reporting operation based on the currently determined intersection point can improve the reporting rate. The processor can update the data of the corresponding intersection point in real time, thereby updating the position information of the touched location in real time and improving the accuracy of reporting and touch detection. Performing the reporting operation based on all intersection points belonging to the touched location within the first area can reduce the touch detection response time, thereby improving the touch response speed.
[0102] In some embodiments, performing a reporting operation based on location information includes:
[0103] In response to completing the mutual capacitance scan of all intersections on a target channel, the mutual capacitance scan results of the target channel are transmitted to the processor;
[0104] The processor updates the coordinate information of the touched position based on the mutual capacitance scan results of the target channel;
[0105] The reporting operation is performed based on the updated coordinate information.
[0106] In this embodiment of the disclosure, the processor can be a processor used to perform point reporting operations or determine the touched position, such as the processor in the TIC or the application processor AP.
[0107] In one embodiment, after each mutual capacitance scan of a target channel is completed, the TIC sends the mutual capacitance scan result of the target channel to the AP. For example, it sends the location information of the intersection point on the target channel that meets the preset conditions for capacitance change to the AP, or sends the capacitance change data of all intersection points of the target channel to the AP, etc.
[0108] In one embodiment, each time the AP receives a mutual capacitance scan result for a target channel, it updates the coordinate information of the currently calculated touched position based on the scan result of that target channel. For example, the coordinate information of the touched position is updated based on the location information of the intersection point of capacitance change that meets preset conditions on the target channel.
[0109] In one embodiment, the reporting operation based on updated coordinate information can be performed using coordinate information updated based on the mutual compatibility scan results of the currently transmitted target channel and the mutual compatibility scan results of other transmitted target channels within the current first area.
[0110] In this way, after each channel's mutual compatibility scan is completed, it can be transmitted to the processor for real-time processing, thereby reducing the amount of computation that would result from transmitting all channels' data to the processor for unified processing at once. This can improve the processor's response speed and coordinate update rate, and further accelerate the touch response speed.
[0111] In some embodiments, the first region is determined based on the second region that is actually touched; the second region may include: an area covered by at least one target channel.
[0112] In this embodiment of the disclosure, the first region, determined based on the second region covered by the target channel exhibiting capacitance changes that meet preset conditions, can be the same as the second region, or it can include the second region and a certain range of areas near the second region. For example, the first region can include the second region and a first channel located at the edge of the second region that is adjacent to the target channel but does not belong to the second region.
[0113] For example, the target channel is T n-1 T n and T n+1 At that time, the first region can be T n-2 T n-1 T n T n+1 and T n+2 The resulting coverage area.
[0114] The first area thus defined can include the second area that is actually touched, thereby improving the error tolerance of the first area judgment and enabling more accurate detection of the touched position.
[0115] In some embodiments, performing a reporting operation based on location information may include:
[0116] Based on location information, determine the channel identifiers of the first and second channels contained in the touched location;
[0117] The coordinates of the touched location are determined based on the channel identifier.
[0118] In this embodiment of the disclosure, the location information of the touched location may include the channel identifiers of the first channel and the second channel corresponding to one or more intersection points contained in the touched location.
[0119] In one embodiment, determining the coordinate information of the touched position based on the channel identifier may include: determining the coordinate information corresponding to the outline of the touched position based on the channel identifiers located at the edge of the touched position among the channel identifiers corresponding to all intersections contained in the touched position.
[0120] For example, in the channel identifiers contained in the touched position, the coordinate information corresponding to the contour of the touched position is determined based on the channel identifiers at the edge positions of each first channel and each second channel.
[0121] It should be noted that those skilled in the art will understand that the methods provided in the foregoing disclosed embodiments can be executed alone or together with some methods in the foregoing disclosed embodiments or some methods in related technologies.
[0122] This disclosure provides a touch detection scheme, which is as follows:
[0123] Touch reporting solutions in related technologies, such as Figure 6 As shown, a frame scan is required before a report can be generated. For example, with a scan frequency f0 = 240Hz (equal to the reporting frequency), the time interval for one frame report is T0 = 1 / 240*1000 ≈ 4.17ms. Theoretically, the time required for touch detection and reporting can be up to twice the frame interval, i.e., 2*T0 ≈ 8.34ms. Therefore, in addition to the limitation on the touch reporting rate, the touch response time is also relatively long in related technologies. That is, when the reporting rate f0 = 240Hz, the response time range for finger touch is [4.17, 8.34]ms.
[0124] This embodiment proposes a solution to improve the touch reporting rate, including:
[0125] 1. The TIC touch chip quickly determines whether there is a finger touch on the touch screen and the approximate area of the finger touch through self-capacity scanning.
[0126] 2. TIC initiates mutual capacitance scanning in the area near the finger.
[0127] 3. The TIC transmits the scanned data to the AP in real time via SPI.
[0128] 4. The AP updates the corresponding channel data in real time and calculates the finger coordinate information based on the updated channel data.
[0129] like Figure 7 As shown, T n-1T n T n+1 T m-1 T m T m+1 T k-1 T k And T k+1 These are different channels. TIC initiates self-capacity scanning to locate the approximate area of the finger, and then activates that area (e.g., T...). n-1 T n T n+1 The TIC performs a mutual capacitance scan. After completing the scan of each channel, it immediately transmits the data to the AP via SPI. The AP updates the data of the corresponding channel in real time, and at the same time, the AP calculates the coordinates of the finger based on the new data and completes the reporting.
[0130] In this embodiment, the average reporting rate and finger-touch response time are related to the size of the screen covered by the finger touch. A larger finger-touch coverage area results in a higher average reporting rate and a longer maximum detection time for a finger click. Conversely, a smaller finger-touch coverage area results in a lower average reporting rate and a shorter maximum detection time for a finger click.
[0131] In some cases, when the touch area is large enough to cover the entire screen, self-capacity scanning detects the entire area covered by the finger. Therefore, mutual capacity scanning needs to scan all channels on the entire screen. In this situation, the reporting rate increases (because the AP updates the data and reports the point after each channel's mutual capacity scan is completed). However, channels are scanned sequentially. If the area touched by the finger happens to be a channel that has just been scanned, it's necessary to wait until the next self-capacity scan to lock the finger area and initiate mutual capacity scanning for that area before detection. Furthermore, because reporting is required for mutual capacity scanning of all channels on the screen, the increased number of reporting times leads to a longer maximum time to detect finger touches.
[0132] When the area covered by a finger touch is very small, such as only one channel, the self-capacitance scan detects the finger and initiates a mutual capacitance scan of the corresponding channel to determine the finger's location. Therefore, in this case, a single self-capacitance scan and a mutual capacitance scan of one channel are sufficient to detect a finger. Although the reporting rate is reduced (because the number of mutual capacitance scans is reduced, the reporting rate decreases), the maximum time to detect a finger touch is shortened due to the reduced number of reporting attempts.
[0133] With a touch reporting rate f0 = 240Hz and 18 channels (the first channel T...), x )*36(Second Channel R x For example, the self-contained scan duration is T. s The mutual capacitance scan duration for each first channel is T. m When a finger taps the T-shaped touchscreen covering the screen...x If the number of channels is x (1≤x≤18), then the average time interval T1 for touch reporting points is (T s +x*T m ) / x, that is, the average touch reporting rate f1=1 / T1=x / (T) s +x*T m If the self-capacitance scan duration is equal to the mutual capacity scan duration of a first channel, then the time interval for one frame reporting point, i.e., the touch detection response time T0 = T s +18*T m =19*T m That is, T m ≈4.17 / 19=0.219ms.
[0134] Therefore, the average reporting rate range corresponding to the touch detection method provided in this embodiment is:
[0135] When x = 18, f1(max) = x / (T) s +x*T m )=18 / (19*T m = 4.32KHz, corresponding to the longest finger detection time T D1 =19*T m = 4.17ms, meaning that in this case, the finger detection time range is [0.219, 4.17]ms.
[0136] When x = 1, f1(max) = x / (T) s +x*T m )=1 / (2*T m = 2.28KHz, corresponding to the longest finger detection time T D1 =2*T m =0.438ms, meaning that in this case, the finger detection time range is [0.219, 0.438]ms.
[0137] Therefore, the touch detection rate range of the touch detection scheme provided in this embodiment is: [1 / (2*T)] m ), 18 / (19*T m The longest time range for detecting finger touch is: [T]Hz. m ,19*T m ]ms. The touch reporting rate range in the aforementioned related technologies is: 1 / (18*T m The maximum time range for detecting finger touch is: [18*T Hz] m 36*T m [ms]. The reporting rate is improved in this embodiment, and the longest time for detecting finger touch is reduced.
[0138] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0139] like Figure 8 As shown, this disclosure provides a touch detection device, which may include:
[0140] The acquisition unit 10 is configured to acquire the first area that is touched;
[0141] The determining unit 20 is configured to determine the location information of the touched position in the first area based on the mutual capacitance scanning method;
[0142] Execution unit 30 is configured to perform reporting operations based on location information.
[0143] In some embodiments, the acquisition unit 10 is specifically configured as follows:
[0144] The touchscreen's multiple first channels are scanned using a self-capacitance scanning method;
[0145] The first area to be touched is determined based on at least one target channel in multiple first channels whose capacitance changes meet preset conditions.
[0146] In some embodiments, the determining unit 20 is specifically configured to:
[0147] The intersection points of each target channel and multiple second channels in the first region are scanned sequentially using a mutual capacitance scanning method; the electrode directions of the second channels are perpendicular to those of the target channels.
[0148] The location information of the touched position is determined in the first area based on the scanning results of the mutual capacitance scanning method.
[0149] In some embodiments, the determining unit 20 is specifically configured to:
[0150] The scanning results based on the mutual capacitance scanning method determine whether there is a capacitance change at the junction that meets the preset conditions;
[0151] If there is a capacitance change at the intersection point that meets the preset conditions, then the location information of the touched position is determined based on the existence of an intersection point with a capacitance change that meets the preset conditions in the first region.
[0152] In some embodiments, the determining unit 20 is specifically configured to:
[0153] Based on the channel information corresponding to the intersection point of capacitance change that meets the preset conditions in the first region, the position information of the touched position is determined; the channel information includes: the channel identifiers of the first channel and the second channel corresponding to the intersection point.
[0154] In some embodiments, the execution unit 30 is specifically configured as follows:
[0155] In response to the scanning results based on the mutual capacitance scanning method determining that there is a capacitance change at the junction that meets the preset conditions, a reporting operation is performed based on the currently determined junction.
[0156] or,
[0157] In response to the completion of mutual capacitance scanning of all junctions in the first region, a reporting operation is performed based on multiple junctions with capacitance changes that meet preset conditions.
[0158] In some embodiments, the first region is determined based on the second region that is actually touched; the second region includes: an area covered by at least one target channel.
[0159] In one embodiment, execution unit 30 is specifically configured as follows:
[0160] In response to completing the mutual capacitance scan of all intersections on a target channel, the mutual capacitance scan results of the target channel are transmitted to the processor;
[0161] The processor updates the coordinate information of the touched position based on the mutual capacitance scan results of the target channel;
[0162] The reporting operation is performed based on the updated coordinate information.
[0163] In some embodiments, the execution unit 30 is specifically configured as follows:
[0164] Based on location information, determine the channel identifiers of the first and second channels contained in the touched location;
[0165] The coordinates of the touched location are determined based on the channel identifier.
[0166] Regarding the apparatus in the above embodiments, the specific manner in which each unit performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0167] This disclosure provides a communication device, including:
[0168] Memory used to store processor-executable instructions;
[0169] The processor is connected to the memory.
[0170] The processor is configured to execute the touch detection method provided by any of the aforementioned technical solutions.
[0171] The processor may include various types of storage media, which are non-transitory computer storage media that can continue to store information after the communication device loses power.
[0172] Here, communication equipment includes: terminals or network elements.
[0173] The processor can connect to memory via a bus or similar means to read executable programs stored in memory, for example... Figure 2 or Figures 4 to 5 At least one of the methods shown.
[0174] Figure 9 This is a block diagram illustrating a terminal 800 according to an exemplary embodiment. For example, terminal 800 may be a mobile phone, computer, digital broadcast user equipment, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0175] Reference Figure 9 Terminal 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0176] Processing component 802 typically controls the overall operation of terminal 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to generate all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0177] Memory 804 is configured to store various types of data to support operation on terminal 800. Examples of this data include instructions for any application or method operating on terminal 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0178] Power supply component 806 provides power to various components of terminal 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 800.
[0179] Multimedia component 808 includes a screen that provides an output interface between terminal 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When terminal 800 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0180] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when terminal 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0181] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0182] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of terminal 800. For example, sensor assembly 814 can detect the on / off state of terminal 800, the relative positioning of components such as the display and keypad of terminal 800, changes in the position of terminal 800 or a component of terminal 800, the presence or absence of user contact with terminal 800, the orientation or acceleration / deceleration of terminal 800, and temperature changes of terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0183] Communication component 816 is configured to facilitate wired or wireless communication between terminal 800 and other devices. Terminal 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0184] In an exemplary embodiment, terminal 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0185] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions that can be executed by a processor 820 of a terminal 800 to generate the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0186] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0187] In some cases, any two of the above technical features can be combined to form a new method or technical solution if they do not conflict.
[0188] In some cases, any two of the above technical features can be combined to form a new equipment technical solution if they do not conflict.
[0189] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A touch detection method, wherein, The method includes: Get the first area that was touched; The location information of the touched position is determined in the first area based on the mutual capacitance scanning method; Perform a reporting operation based on the location information; The step of performing the reporting operation based on the location information includes: For each target intersection point whose location information is determined, or for each target intersection point whose location information is determined for all target intersection points on a target channel, a reporting operation is performed; the target intersection point is the intersection point of the target channel and the second channel in the first region, and the target intersection point meets the preset condition of capacitance change; The acquisition of the first touched area includes: The touchscreen's multiple first channels are scanned using a self-capacitance scanning method; The first area to be touched is determined based on at least one target channel in multiple first channels whose capacitance changes meet preset conditions.
2. The method according to claim 1, wherein, The method of determining the location information of the touched point in the first area based on mutual capacitance scanning includes: The intersection points of each target channel and multiple second channels in the first region are scanned sequentially using a mutual capacitance scanning method; the electrode directions of the second channels are perpendicular to those of the target channels. Based on the scanning results of the mutual capacitance scanning method, the location information of the touched position is determined in the first area.
3. The method according to claim 2, wherein, The location information of the touched position determined in the first area based on the scanning result of the mutual capacitance scanning method includes: Based on the scanning results of the mutual capacitance scanning method, determine whether there is a capacitance change at the intersection point that meets the preset conditions; If the intersection point has a capacitance change that meets preset conditions, then the location information of the touched position is determined based on the existence of an intersection point with a capacitance change that meets preset conditions in the first region.
4. The method according to claim 3, wherein, The step of determining the location information of the touched position based on the existence of intersection points of capacitance changes that meet the preset conditions in the first region includes: Based on the channel information corresponding to the intersection point of capacitance change that meets the preset conditions in the first region, the location information of the touched position is determined; the channel information includes: the channel identifiers of the first channel and the second channel corresponding to the intersection point.
5. The method according to claim 3, wherein, The step of performing the reporting operation based on the location information includes: In response to completing the mutual capacitance scan of all intersections on a target channel, the mutual capacitance scan result of the target channel is transmitted to the processor; The processor updates the coordinate information of the touched position based on the mutual capacitance scan results of the target channel; The reporting operation is performed based on the updated coordinate information.
6. The method according to claim 1, wherein, The first area is determined based on the second area that is actually touched; the second area includes the area covered by the at least one target channel.
7. The method according to claim 1, wherein, The step of performing the reporting operation based on the location information includes: Based on the location information, determine the channel identifiers of the first channel and the second channel contained in the touched location; The coordinate information of the touched position is determined based on the channel identifier.
8. A touch detection device, wherein, The device includes: The acquisition unit is configured to acquire the first area that is touched. The determining unit is configured to determine the location information of the touched position in the first area based on a mutual capacitance scanning method; The execution unit is configured to perform a reporting operation based on the location information; The execution unit is configured to perform a reporting operation for each target intersection point whose location information is determined, or for each target intersection point whose location information is determined for all target intersection points on a target channel; the target intersection point is the intersection point of the target channel and the second channel in the first region, and the target intersection point meets the preset condition of capacitance change; The acquisition unit is specifically configured as follows: The touchscreen's multiple first channels are scanned using a self-capacitance scanning method; The first area to be touched is determined based on at least one target channel in multiple first channels whose capacitance changes meet preset conditions.
9. The apparatus according to claim 8, wherein, The determining unit is specifically configured as follows: The intersection points of each target channel and multiple second channels in the first region are scanned sequentially using a mutual capacitance scanning method; the electrode directions of the second channels are perpendicular to those of the target channels. Based on the scanning results of the mutual capacitance scanning method, the location information of the touched position is determined in the first area.
10. The apparatus according to claim 9, wherein, The determining unit is specifically configured as follows: Based on the scanning results of the mutual capacitance scanning method, determine whether there is a capacitance change at the intersection point that meets the preset conditions; If the intersection point has a capacitance change that meets preset conditions, then the location information of the touched position is determined based on the existence of an intersection point with a capacitance change that meets preset conditions in the first region.
11. The apparatus according to claim 10, wherein, The determining unit is specifically configured as follows: Based on the channel information corresponding to the intersection point of capacitance change that meets the preset conditions in the first region, the position information of the touched position is determined. The channel information includes: the channel identifiers of the first channel and the second channel corresponding to the intersection point.
12. The apparatus according to claim 10, wherein, The execution unit is specifically configured as follows: In response to completing the mutual capacitance scan of all intersections on a target channel, the mutual capacitance scan result of the target channel is transmitted to the processor; The processor updates the coordinate information of the touched position based on the mutual capacitance scan results of the target channel; The reporting operation is performed based on the updated coordinate information.
13. The apparatus according to claim 8, wherein, The first area is determined based on the second area that is actually touched; the second area includes the area covered by the at least one target channel.
14. The apparatus according to claim 8, wherein, The execution unit is specifically configured as follows: Based on the location information, determine the channel identifiers of the first channel and the second channel contained in the touched location; The coordinate information of the touched position is determined based on the channel identifier.
15. A communication device, comprising a processor, a memory, and an executable program stored in the memory and executable by the processor, wherein, When the processor runs the executable program, it performs the method provided as claimed in any one of claims 1 to 7.
16. A computer storage medium storing an executable program; the executable program, when executed by a processor, is capable of implementing the method provided in any one of claims 1 to 7.