Touch detection method, control unit, electronic equipment and storage medium
By using multiple pressure sensors that are not on the same line in electronic devices for effectiveness analysis and press positioning, the problem of low press positioning accuracy in the prior art is solved, and higher precision finger navigation operation is achieved.
Patent Information
- Application Number
- CN202510896807.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-11-07
AI Technical Summary
The accuracy of pressure positioning based on detection data in existing electronic devices is not high, which affects the control accuracy of finger navigation functions.
By acquiring the measured pressure from N pressure sensors that are not on the same straight line, an effectiveness analysis is performed to determine the effective pressure. Based on the effective pressure and sensor positions of any three pressure sensors that are not on the same straight line, the target pressing position is determined. The pressing position is then determined by combining the measured pressure and position of the sensor combination.
It improves the accuracy of press positioning and the control precision of finger navigation operation, saves processing resources, and reduces interference from invalid data.
Smart Images

Figure CN120909489A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of touch detection, in particular to a touch detection method, a control unit, an electronic device and a storage medium. BACKGROUND
[0002] The hand navigation function is an interactive technology based on finger action or gesture control, which allows users to control the device through specific finger operations, and is widely used in electronic devices such as smart phones, tablet computers and vehicle display screens. In order to realize the hand navigation function, a detection module needs to be integrated in the electronic device to detect the finger pressing condition, so as to perform pressing positioning based on the detection data collected by the detection module, and then perform hand navigation operation. In the prior art, the precision of pressing positioning based on detection data is not high, which will affect the control precision of the hand navigation function. SUMMARY
[0003] The embodiments of the present application provide a touch detection method, a control unit, an electronic device and a storage medium to solve the problem that the precision of pressing positioning based on detection data in the existing electronic device is not high, which will affect the control precision of the hand navigation function.
[0004] A touch detection method, comprising: Obtaining N measured pressures collected by a pressure detection module, the pressure detection module comprising N pressure sensors not on the same straight line, each pressure sensor collecting a measured pressure; Performing validity analysis based on N measured pressures to determine N effective pressures, each effective pressure being determined based on a measured pressure; Performing pressing positioning based on N effective pressures to determine a target pressing position corresponding to a finger pressing point, the target pressing position being determined based on effective pressures and sensor positions of any three pressure sensors not on the same straight line; Performing hand navigation operation based on the target pressing position.
[0005] Preferably, before obtaining N measured pressures collected by the pressure detection module, the touch detection method further comprises: When the pressure detection module is in a dormant state, obtaining polling detection data collected by a polling detection module every polling period; When the polling detection data meets a finger pressing condition, waking up the pressure detection module to work and collecting N measured pressures.
[0006] Preferably, when the pressure detection module is in a dormant state, obtaining polling detection data collected by a polling detection module every polling period comprises: acquiring polling detection data collected by the polling detection module every polling period when the pressure detection module is in the dormant state; when the polling detection data meets a finger pressing condition, waking up the pressure detection module to work and collecting N measured pressures, including: when the polling pressure is greater than a first pressure threshold, waking up N-1 pressure sensors in the pressure detection module to work so that N pressure sensors collect N measured pressures.
[0007] Preferably, when the pressure detection module is in the dormant state, the polling detection data collected by the polling detection module every polling period is acquired, including: when N pressure sensors in the pressure detection module are in the dormant state, acquiring fingerprint data collected by the ultrasonic fingerprint module; when the polling detection data meets a finger pressing condition, waking up the pressure detection module to work and collecting N measured pressures, including: when the fingerprint data can detect a fingerprint image, waking up N pressure sensors in the pressure detection module to work and collecting N measured pressures.
[0008] Preferably, each measured pressure corresponds to a sampling time; the effectiveness analysis based on the N measured pressures to determine N effective pressures, including: comparing K to-be-compared pressures in a first time period with a second pressure threshold, when all K to-be-compared pressures are greater than the second pressure threshold, determining N measured pressures corresponding to a latest sampling time as N effective pressures, K≥2; the first time period is determined based on a latest sampling time and a first preset time length; each to-be-compared pressure is determined based on N measured pressures corresponding to a same sampling time.
[0009] Preferably, the effectiveness analysis based on the N measured pressures to determine N effective pressures, including: acquiring a measured temperature collected by a temperature sensor, correcting the N measured pressures based on the measured temperature to determine N effective pressures.
[0010] Preferably, the correction of the N measured pressures based on the measured temperature to determine N effective pressures, including: determining a correction coefficient corresponding to the measured temperature based on a temperature coefficient mapping relationship, the temperature coefficient mapping relationship being used to represent a relationship between different temperatures and corresponding correction coefficients; Determine N effective pressures based on the correction coefficients corresponding to the N measured pressures and the measured temperature.
[0011] Preferably, the pressing positioning based on the N effective pressures comprises: Determine initial pressing positions corresponding to the sensor combinations based on the measured pressures and sensor positions collected by the sensor combinations, wherein the sensor combinations comprise any three pressure sensors not on the same straight line. Determine the target pressing position based on the initial pressing positions corresponding to at least two sensor combinations.
[0012] Preferably, the determination of the initial pressing positions corresponding to the sensor combinations based on the measured pressures and sensor positions collected by the sensor combinations comprises: Determine pressing distances corresponding to each pressure sensor based on the measured pressure corresponding to each pressure sensor and a pressure-distance mapping relationship, wherein the pressure-distance mapping relationship is used to represent the relationship between different pressures and their corresponding pressing distances. Determine the initial pressing positions corresponding to the sensor combinations based on the pressing distances and sensor positions corresponding to the sensor combinations.
[0013] Preferably, the hand navigation operation based on the target pressing position comprises: Determine a pressing position change value based on L target pressing positions corresponding to a second time period, wherein L≥2. When the pressing position change value is less than a preset change value, perform the hand navigation operation based on the target pressing position corresponding to the most recent sampling time. When the pressing position change value is not less than the preset change value, perform the hand navigation operation based on the L target pressing positions corresponding to the second time period. The second time period is determined based on the most recent sampling time and a second preset time length.
[0014] Preferably, the hand navigation operation based on the target pressing position comprises: Obtain a current navigation scene. When the current navigation scene is a click navigation scene, perform the hand navigation operation based on the target pressing position corresponding to the most recent sampling time. When the current navigation scene is a sliding navigation scene, perform the hand navigation operation based on L target pressing positions corresponding to a second time period. The second time period is determined based on the most recent sampling time and a second preset time length.
[0015] Preferably, the hand-guiding operation based on the target pressing position comprises: the hand-guiding operation based on the target pressing position and additional data; The additional data includes N effective pressures corresponding to the target pressing position, and / or fingerprint data collected by the ultrasonic fingerprint module.
[0016] A control unit comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned touch detection method when executing the computer program.
[0017] An electronic device comprising a screen, an ultrasonic fingerprint module, and a pressure detection module, and further comprising the above-mentioned control unit; The ultrasonic fingerprint module and the pressure detection module are both arranged on a side of the screen away from the touch surface; The pressure detection module comprises N pressure sensors, the N pressure sensors are arranged on the periphery of the ultrasonic fingerprint module, and the N pressure sensors are not on the same straight line, N≥3; The control unit is electrically connected with the ultrasonic fingerprint module and the N pressure sensors.
[0018] Preferably, the control unit is a controller integrated in the ultrasonic fingerprint module; The pressure detection module further comprises an analog front-end circuit, the analog front-end circuit is integrated in the ultrasonic fingerprint module, the analog front-end circuit is electrically connected with the N pressure sensors and the controller, the analog front-end circuit processes analog signals output by the N pressure sensors and outputs N digital signals to the controller.
[0019] Preferably, the control unit is a controller integrated in the ultrasonic fingerprint module; The pressure detection module further comprises N analog front-end circuits, each analog front-end circuit is electrically connected with one pressure sensor, and the N analog front-end circuits are all electrically connected with the controller, each analog front-end circuit processes analog signals output by one pressure sensor and outputs one digital signal to the controller.
[0020] Preferably, the control unit is a microprocessor or a host computer; The pressure detection module further comprises N analog front-end circuits, each analog front-end circuit is electrically connected with one pressure sensor, and the N analog front-end circuits are all electrically connected with the microprocessor or the host computer, each analog front-end circuit processes analog signals output by one pressure sensor and outputs one digital signal to the microprocessor or the host computer.
[0021] Preferably, the N pressure sensors are arranged in any one of a straight angle, a diagonal angle and a dot matrix.
[0022] A computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the touch detection method.
[0023] The embodiments of the present application provide a touch detection method, a control unit, an electronic device and a storage medium. The N measured pressures collected by the pressure sensors are analyzed for effectiveness to determine N effective pressures, so as to avoid the interference of invalid data, help to guarantee the accuracy of subsequent pressing positioning, and effectively save processing resources. Based on the effective pressures and sensor positions corresponding to any three pressure sensors not on the same straight line, the target pressing position corresponding to the three pressure sensors is determined. Compared with the traditional pressing positioning method using a single detection result, the effective pressures and sensor positions corresponding to multiple pressure sensors are fused for pressing positioning, so that the positioning accuracy is better guaranteed. When the positioning accuracy of the target pressing position is high, the control accuracy of the hand-guided navigation operation based on the target pressing position is guaranteed. BRIEF DESCRIPTION OF DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0025] Figure 1 is a flowchart of the touch detection method in the embodiments of the present application; Figure 2 is a schematic diagram of the relationship between the deformation and the distance of the pressing point in the embodiments of the present application; Figure 3 is a schematic diagram of determining the finger pressing point based on multiple pressure sensors in the embodiments of the present application; Figure 4 is another flowchart of the touch detection method in the embodiments of the present application; Figure 5 is a first schematic diagram of the electronic device in the embodiments of the present application; Figure 6 is a second schematic diagram of the electronic device in the embodiments of the present application; Figure 7 is a third schematic diagram of the electronic device in the embodiments of the present application; Figure 8 is a fourth schematic diagram of the electronic device in the embodiments of the present application; Figure 9is the fifth schematic view of the electronic device in the embodiment of the present application; Figure 10 is the sixth schematic view of the electronic device in the embodiment of the present application; Figure 11 is the application scene diagram of the electronic device in the embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the technical problems, technical solutions and beneficial effects solved by the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.
[0027] The embodiment of the present application provides a touch detection method, which can be applied in an electronic device. The electronic device can include a control unit and a pressure detection module, the control unit is electrically connected with the pressure detection module, and the pressing positioning can be performed based on the measured pressure output by the pressure detection module, the position of the finger pressing point is determined, and then the finger navigation operation is performed. Alternatively, the electronic device can include a control unit, an ultrasonic fingerprint module and a pressure detection module, the control unit is electrically connected with the ultrasonic fingerprint module and the pressure detection module, the fingerprint recognition can be performed based on the fingerprint data output by the ultrasonic fingerprint module, the pressing positioning can be performed based on the measured pressure output by the pressure detection module, the position of the finger pressing point is determined, and then the finger navigation operation is performed. Wherein, the ultrasonic fingerprint module is a functional module for realizing ultrasonic fingerprint detection. The pressure detection module is a functional module for realizing pressure detection.
[0028] In the present example, the control unit can be a controller built in the ultrasonic fingerprint module, which can control the ultrasonic fingerprint module to work and can also control the pressure detection module to work. Alternatively, the control unit can also be a controller independent of the ultrasonic fingerprint module, which can be a microcontroller unit (MCU) or a host (HOST).
[0029] In the present example, the pressure detection module includes N pressure sensors, each pressure sensor is electrically connected with the control unit, and is used to output a measured pressure to the control unit, N≥3. Specifically, among the N pressure sensors, there are at least three pressure sensors not on the same straight line, so that any three pressure sensors not on the same straight line can determine a plane, and the pressing positioning can be performed based on the measured pressures collected by the three pressure sensors, to realize the accurate positioning of the finger pressing point, so as to guarantee the control accuracy of the subsequent finger navigation operation.
[0030] The embodiment of the present application provides a touch detection method, which can be applied in an electronic device, for example, the control unit of the electronic device is taken as an example to be described, such asFigure 1 The touch detection method includes: S1: acquiring N measured pressures collected by a pressure detection module, the pressure detection module including N pressure sensors not on the same straight line, each pressure sensor collecting a measured pressure; S2: performing validity analysis based on the N measured pressures to determine N effective pressures, each effective pressure being determined based on a measured pressure; S3: performing press positioning based on the N effective pressures to determine a target press position corresponding to a finger press point, the target press position being determined based on effective pressures corresponding to any three pressure sensors not on the same straight line and sensor positions; S4: performing finger navigation operation based on the target press position. As an example, in step S1, the control unit is electrically connected with the pressure detection module, the pressure detection module including N pressure sensors, the N pressure sensors not being on the same straight line, each pressure sensor collecting a measured pressure, so that the control unit can acquire N measured pressures collected by the pressure detection module, the N measured pressures carrying corresponding sampling times so as to distinguish the N measured pressures collected at different times. The measured pressure here refers to a pressure collected in real time.
[0031] In this example, the pressure detection module includes N pressure sensors, the N pressure sensors not being on the same straight line, so that any three pressure sensors not on the same straight line are arranged in a triangular shape, so that the N pressure sensors can form no more than triangular combination modes. That is, if all the pressure sensors are not on the same straight line, the number of triangles formed by them is ; if there are M pressure sensors on the same straight line and N-M pressure sensors not on the same straight line, the number of triangles formed by them is less than , 3≤M<N. In order to distinguish the measured pressures collected by different pressure sensors, each measured pressure can be associated with a sensor identifier corresponding to the pressure sensor collecting the measured pressure, so that each measured pressure in the N measured pressures output to the control unit corresponds to a sensor identifier, so as to uniquely determine the corresponding pressure sensor based on the sensor identifier.
[0032] Further, the pressure detection module further includes an analog front end circuit (AFE), which is a circuit for converting an analog signal output by a pressure sensor into a digital signal. The N pressure sensors send the analog signals related to pressure collected by them to the analog front end circuit, so that the analog front end circuit performs analog-to-digital conversion to output a corresponding digital signal, which is the corresponding measured pressure.
[0033] As an example, in step S2, after obtaining the N measured pressures collected by the pressure detection module, the control unit can analyze the validity of the N measured pressures to analyze whether the N measured pressures satisfy the preset valid condition. If the valid condition is satisfied, the valid pressure corresponding to each measured pressure can be determined. If the valid condition is not satisfied, the N measured pressures can be determined as invalid data, and the measured pressures need to be deleted and not processed subsequently, so as to save processing resources. The valid pressure is the pressure that can be used for pressing positioning and is determined based on the measured pressure. Since each measured pressure is associated with a sensor identifier, the valid pressure determined based on the measured pressure is also associated with the sensor identifier, so as to determine the pressure sensor corresponding to the valid pressure.
[0034] As an example, in step S3, after determining the valid pressures corresponding to the N pressure sensors, the control unit can analyze and determine the relative distances between the three pressure sensors and the finger pressing point based on the valid pressures corresponding to any three pressure sensors that are not on the same straight line, and then analyze and determine the target pressing position corresponding to the finger pressing point based on the three relative distances and the triangular plane formed by the sensor positions of the three pressure sensors. The target pressing position is the position of the finally determined finger pressing point, so as to perform the hand navigation operation based on the target pressing position. Understandably, the target pressing position is determined based on the valid pressures corresponding to any three pressure sensors that are not on the same straight line and the sensor positions of the three pressure sensors, which can accurately determine the target pressing position corresponding to the three pressure sensors by combining the valid pressures corresponding to multiple pressure sensors and the sensor positions of the multiple pressure sensors.
[0035] As an example, in step S4, after determining the target pressing position, the control unit can perform the hand navigation operation based on the target pressing position, so as to ensure the accuracy of the hand navigation operation. For example, when the hand navigation operation is a clicking operation, the target touch key corresponding to the target pressing position can be clicked according to the target pressing position. For another example, when the hand navigation operation is a sliding operation on a game interface, the target pressing position collected in a continuous period of time needs to be used for the sliding navigation.
[0036] In this embodiment, the validity of the N measured pressures collected by the pressure sensor is analyzed to determine the N valid pressures, so as to avoid the interference of invalid data, help to ensure the accuracy of subsequent pressing positioning, and effectively save processing resources. The target pressing position is determined based on the valid pressures corresponding to any three pressure sensors that are not on the same straight line and the sensor positions of the three pressure sensors, which can ensure the positioning accuracy of the target pressing position. When the positioning accuracy of the target pressing position is high, the control accuracy of the hand navigation operation based on the target pressing position can be ensured.
[0037] In an embodiment, before step S1, i.e. before acquiring the N measured pressures collected by the pressure detection module, the touch detection method further comprises: acquiring polling detection data collected by the polling detection module every polling period when the pressure detection module is in the sleep state; awakening the pressure detection module to work to collect the N measured pressures when the polling detection data meets a finger pressing condition.
[0038] The polling detection module is a module that needs to be polled. The polling detection data is data collected by the polling detection module. The polling period is a pre-set period. The finger pressing condition is a condition for evaluating whether a finger is pressing.
[0039] As an example, the control unit monitors the current state of the electronic device in which it is located. When the current state is an idle state, i.e. a state in which most of the functional modules of the electronic device are not working, the control unit needs to control other functional modules (including the pressure detection module) except the polling detection module to enter the sleep state to save energy. When the pressure detection module is in the sleep state, the control unit can acquire polling detection data collected by the polling detection module every polling period, analyze whether the polling detection data meets a pre-set finger pressing condition, and when the polling detection data meets the finger pressing condition, it can be determined that a user's finger is pressing the screen of the electronic device. At this time, the control unit needs to awaken other modules of the electronic device except the polling detection module to work, and specifically needs to awaken the pressure detection module to work so that the N pressure sensors in the pressure detection module all work to collect the N measured pressures, thereby achieving the purpose of saving energy.
[0040] In an embodiment, when the pressure detection module is in the sleep state, acquiring polling detection data collected by the polling detection module every polling period comprises: acquiring polling pressure collected by the remaining one pressure sensor every polling period when N-1 pressure sensors of the pressure detection module are in the sleep state; When the polling detection data meets the finger pressing condition, awakening the pressure detection module to work to collect the N measured pressures comprises: awakening N-1 pressure sensors in the pressure detection module to work to make the N pressure sensors collect the N measured pressures when the polling pressure is greater than a first pressure threshold.
[0041] The polling pressure is the pressure collected in the polling detection process. The first pressure threshold is a pre-set pressure threshold for evaluating whether a finger is pressing.
[0042] As an example, in the case that the electronic device integrates the control unit and the pressure detection module, or the electronic device integrates the control unit, the ultrasonic fingerprint module and the pressure detection module, the control unit monitors the current state of the electronic device where it is located. When the current state is an idle state, it is required to control N-1 pressure sensors in the pressure detection module and other functional modules in the electronic device to not work, enter a sleep state, so as to save energy consumption, and control the remaining one pressure sensor to work every polling period, collect a polling pressure, and send the polling pressure to the control unit. When the polling pressure is greater than a first pressure threshold, it indicates that a finger presses the screen of the electronic device at the current time, and it is determined that the finger pressing condition is met. At this time, it is required to wake up the N-1 pressure sensors in the sleep state and the remaining one pressure sensor in the working state to work together, collect N measured pressures, so as to achieve the purpose of saving energy consumption.
[0043] In an embodiment, when the pressure detection module is in the sleep state, polling detection data collected by the polling detection module every polling period is acquired, including: When the N pressure sensors of the pressure detection module are in the sleep state, fingerprint data collected by the ultrasonic fingerprint module is acquired; When the polling detection data meet the finger pressing condition, the pressure detection module is woken up to work, and N measured pressures are collected, including: When the fingerprint data can detect a fingerprint image, the N pressure sensors in the pressure detection module are woken up to work, and N measured pressures are collected.
[0044] As an example, in the case that the electronic device integrates the control unit, the ultrasonic fingerprint module and the pressure detection module, the control unit monitors the current state of the electronic device where it is located. When the current state is an idle state, it is required to control N pressure sensors in the pressure detection module and other functional modules to not work, enter a sleep state, and control the ultrasonic fingerprint module to work every polling period, collect fingerprint data, and send the fingerprint data to the control unit. After the control unit acquires the fingerprint data, the control unit identifies the fingerprint data to evaluate whether the fingerprint data can detect a fingerprint image formed by a user's finger pressing. When the fingerprint data can detect the fingerprint image, it indicates that a finger presses the screen of the electronic device at the current time, and it is determined that the finger pressing condition is met. At this time, it is required to control the N pressure sensors in the pressure detection module to work together, collect N measured pressures, so as to achieve the purpose of saving energy consumption.
[0045] In an embodiment, each measured pressure corresponds to a sampling time; Step S2, that is, performing effectiveness analysis based on the N measured pressures to determine N effective pressures, including: comparing the K pressures to be compared at the sampling times within the first time period with the second pressure threshold, and when all the K pressures to be compared are greater than the second pressure threshold, determining the N measured pressures collected at the latest sampling time as the N effective pressures, K≥2; The first time period is determined based on the latest sampling time and a first preset time length. Each pressure to be compared is determined based on the N measured pressures corresponding to the same sampling time.
[0046] The first time period is determined based on the latest sampling time and a first preset time length, specifically, a time period before the latest sampling time with a time length of the first preset time length. The first preset time length is a fixed time length set in advance, specifically, a time length for analyzing whether the shaking phenomenon exists. The second pressure threshold is a threshold set in advance for evaluating whether the shaking phenomenon exists.
[0047] As an example, after obtaining the N measured pressures corresponding to the latest sampling time, the control unit can determine, based on the latest sampling time t0 and the first preset time length ΔT1, a starting time t1=t0-ΔT1, and determine the time period t1-t0 as the first time period. If the sampling time interval of the pressure detection module is ΔT, K=ΔT1 / ΔT, that is, K*N measured pressures will be collected. When the control unit obtains the N measured pressures corresponding to the same sampling time, it can determine, based on the N measured pressures, the pressure to be compared corresponding to the sampling time. The pressure to be compared can be any one of the N measured pressures, for example, the maximum value, the minimum value, and the median of the N measured pressures, or the pressure after mean processing of the N measured pressures. Then, the control unit can compare the K pressures to be compared at the sampling times within the first time period with the second pressure threshold set in advance. If all the K pressures to be compared are greater than the second pressure threshold, it is determined that a larger pressure is continuously detected within the first time period, and it is determined that the time of pressing the screen by the finger is longer, and the probability of the shaking phenomenon is smaller, so the N measured pressures corresponding to the latest sampling time are determined as the N effective pressures, to ensure the effectiveness of the subsequent processing process. If there is at least one pressure to be compared that is not greater than the second pressure threshold, it is indicated that a smaller pressure is detected within the first time period, and it is not determined that the time of pressing the screen by the finger is longer, and the probability of the shaking phenomenon is greater, so it is determined that the N measured pressures corresponding to the latest sampling time are not the N effective pressures, and the subsequent steps are not performed, to save processing resources.
[0048] In an embodiment, step S2, i.e., the effectiveness analysis based on the N measured pressures to determine the N effective pressures, includes: The measured temperature collected by the temperature sensor is obtained, the N measured pressures are corrected based on the measured temperature, and the N effective pressures are determined.
[0049] As an example, because the temperature of the environment in which the electronic device is located is different, it will affect the material performance of the electronic device and the detection performance of the pressure detection module. Therefore, the control unit also needs to obtain the measured temperature collected by the temperature sensor. The temperature sensor can be integrated in the ultrasonic fingerprint module, or it can be independent of the pressure detection module and the ultrasonic fingerprint module, and can be set independently according to the specific situation. Then, the control unit corrects the N measured pressures collected by the pressure detection module using the measured temperature to determine the N effective pressures, so that the N effective pressures can overcome the interference of the temperature difference of the environment, which helps to ensure the accuracy of the target pressing position determined based on the N effective pressures.
[0050] In this example, the N effective pressures are determined based on the effectiveness analysis of the N measured pressures, and also include: comparing the K to-be-compared pressures in the first time period with the second pressure threshold, when the K to-be-compared pressures are all greater than the second pressure threshold, obtaining the measured temperature collected by the temperature sensor, correcting the N measured pressures corresponding to the latest sampling time based on the measured temperature, and determining the N effective pressures, so as to avoid the interference of dithering and the interference of the temperature difference of the environment, which helps to ensure the accuracy of the target pressing position determined based on the N effective pressures.
[0051] In an embodiment, the N effective pressures are determined by correcting the N measured pressures based on the measured temperature, including: determining a correction coefficient corresponding to the measured temperature based on the measured temperature and the temperature coefficient mapping relationship, the temperature coefficient mapping relationship being used to represent the relationship between different temperatures and their corresponding correction coefficients; determining the N effective pressures based on the N measured pressures and the correction coefficient corresponding to the measured temperature.
[0052] The temperature coefficient mapping relationship is used to represent the relationship between different temperatures and their corresponding correction coefficients.
[0053] As an example, after obtaining the measured temperature, the control unit can query the pre-set temperature coefficient mapping relationship based on the measured temperature, and determine the correction coefficient corresponding to the measured temperature from the temperature coefficient mapping relationship. For example, the temperature coefficient mapping relationship includes a plurality of temperature intervals, and each temperature interval corresponds to a correction coefficient. The temperature interval in which the measured temperature is located is first determined, and then the correction coefficient corresponding to the temperature interval in which the measured temperature is located is determined as the correction coefficient corresponding to the measured temperature. Then, based on the N measured pressures and the correction coefficient corresponding to the measured temperature, N effective pressures are determined, for example, each effective pressure is the product of a measured pressure and its corresponding correction coefficient, which is used to overcome the interference of environmental temperature difference and helps to ensure the accuracy of the determined N effective pressures.
[0054] In an embodiment, step S3, i.e., pressing positioning based on the N effective pressures, determines the target pressing position corresponding to the finger pressing point, including: Based on the measured pressures collected by the sensor combination and the sensor positions, an initial pressing position corresponding to the sensor combination is determined, and the sensor combination includes any three pressure sensors not on the same straight line; Based on the initial pressing positions corresponding to at least two sensor combinations, the target pressing position is determined.
[0055] As an example, the control unit can arbitrarily combine the N pressure sensors, determine any three pressure sensors not on the same straight line as a sensor combination, form a sensor combination with a number less than or equal to three measured pressures collected by any one sensor combination and the sensor positions corresponding to the sensor combination are analyzed to determine a pressing position, and the pressing position obtained by the analysis is determined as the initial pressing position corresponding to the sensor combination. In this example, the initial pressing position is a pressing position determined by analyzing the measured pressures collected by any three pressure sensors.
[0056] As an example, after determining the initial pressing position corresponding to each sensor combination, the control unit can perform fusion processing on the initial pressing positions corresponding to at least two sensor combinations to obtain a target pressing position with higher accuracy. Specifically, the control unit can perform mean value processing on the initial pressing positions corresponding to at least two sensor combinations to determine the mean value of all initial pressing positions as the target pressing position, thereby ensuring the accuracy of the target pressing position determined thereby. In this example, the initial pressing positions corresponding to two or more sensor combinations close to the finger pressing point can be selected for mean value processing according to actual conditions, or the initial pressing positions corresponding to all sensor combinations can be directly processed for mean value processing to determine the target pressing position and ensure the accuracy of the target pressing position.
[0057] In an embodiment, based on the measured pressure collected by the sensor combination and the sensor position, the initial pressing position corresponding to the sensor combination is determined, including: Based on the measured pressure corresponding to each pressure sensor and the pressure distance mapping relationship, the pressing distance corresponding to each pressure sensor is determined, and the pressure distance mapping relationship is used to represent the relationship between different pressures and their corresponding pressing distances. Based on the pressing distance corresponding to the sensor combination and the sensor position, the initial pressing position corresponding to the sensor combination is determined.
[0058] As an example, after the control unit obtains the measured pressure collected by each pressure sensor, it can determine the pressing distance corresponding to the pressure sensor based on the corresponding query of the pre-set pressure distance mapping relationship and the measured pressure that matches the pressing distance in the pressure distance mapping relationship. The pressing distance here can be understood as the distance between the pressure sensor and the finger pressing point. When determining the pressing distance corresponding to each pressure sensor, the control unit can use the geometric relationship of a triangle to determine the initial pressing position corresponding to the sensor combination according to the sensor positions and their pressing distances of the three pressure sensors, so that the initial pressing position fuses the measured pressures collected by the three pressure sensors arranged in a triangle, which helps to ensure the accuracy of the initial pressing position. In this example, N pressure sensors are assembled on the electronic device, and their corresponding sensor positions are pre-determined when the electronic device is manufactured. During the pressing position determination process, they can be directly called to determine the initial pressing position of the finger pressing point in combination with the pressing distance and the sensor position.
[0059] As shown in FIG. 2, when the finger is pressed on a certain pressing point of the screen, the deformation of the pressing point is the largest, and the pressure sensor located at the pressing point can detect a larger pressure. The farther the screen is from the pressing point, the smaller the deformation, and the smaller the pressure that can be detected. Through a large amount of data analysis, the pressure distance mapping relationship is determined to represent the relationship between different pressures and different pressing distances.
[0060] As shown in FIG. 3, by using the above-mentioned characteristics, according to the geometric principle of "three points determine a plane", three pressure sensors 1 / 2 / 3 which are not on the same line are arranged on the same plane, when the finger presses on any point of the electronic device, the three pressure sensors 1 / 2 / 3 will detect different measured pressures F1 / F2 / F3, and according to the difference of the measured pressures F1 / F2 / F3, the corresponding pressing distances d1 / d2 / d3 can be determined by combining the pre-determined pressure distance mapping relationship. Since the finger pressing point and the three pressure sensors 1 / 2 / 3 are respectively located on the upper and lower surfaces of the screen, the thickness of the screen is small and its influence can be basically ignored, at this time, it can be determined that the finger pressing point and the three pressure sensors 1 / 2 / 3 are basically located on the same surface, at this time, according to the geometric principle, the sensor positions of the three pressure sensors 1 / 2 / 3 and their corresponding pressing distances d1 / d2 / d3 can be calculated, and an initial pressing position can be accurately determined.
[0061] Further, as shown in FIG. 3, when four pressure sensors 1 / 2 / 3 / 4 which are not on the same line are arranged on the same plane, the first initial pressing position can be determined based on the corresponding pressing distances and sensor positions of the three pressure sensors 1 / 2 / 3; the second initial pressing position can be determined based on the corresponding pressing distances and sensor positions of the three pressure sensors 1 / 2 / 4; the third initial pressing position can be determined based on the corresponding pressing distances and sensor positions of the three pressure sensors 1 / 3 / 4; the fourth initial pressing position can be determined based on the corresponding pressing distances and sensor positions of the three pressure sensors 2 / 3 / 4; finally, the target pressing position can be determined by performing mean value processing on the four initial pressing positions, so as to accurately determine the position of the finger pressing point.
[0062] In an embodiment, the step S4, i.e., performing finger navigation operation based on the target pressing position, comprises: determining a pressing position change value based on the L target pressing positions corresponding to the second time period, L≥2; when the pressing position change value is less than a preset change value, performing finger navigation operation based on the target pressing position corresponding to the latest sampling time; when the pressing position change value is not less than the preset change value, performing finger navigation operation based on the L target pressing positions corresponding to the second time period; wherein the second time period is determined based on the latest sampling time and a second preset time length.
[0063] The second time period is determined based on the latest sampling time and a second preset time length, specifically, a time period before the latest sampling time and having the second preset time length. The second preset time length is a preset fixed time length, specifically, a time length for evaluating whether there is a sliding operation. The preset change value is a preset change value for evaluating whether the change value of the pressing position reaches a change amount considered as existing a sliding operation.
[0064] As an example, after the control unit determines the target pressing position corresponding to the N measured pressures based on the latest sampling time, it can determine a starting time t2=t0-ΔT2 based on the latest sampling time t0 and the second preset time length ΔT2, and determine the time period t2-t0 as the second time period. If the sampling time interval of the pressure detection module is ΔT, then L target pressing positions will be determined in the second time period, L=ΔT2 / ΔT.
[0065] The control unit can determine the change value of the pressing position according to the L target pressing positions collected in the second time period, which can effectively reflect the change of the position of the user's finger on the screen. In an example, the target pressing position determined at the latest sampling time and the target pressing position determined at the first sampling time can be calculated by difference (i.e., the coordinates of the two target pressing positions are calculated by difference), to determine the corresponding change value of the pressing position. In another example, for any two adjacent target pressing positions corresponding to sampling times, the difference of the pressing positions corresponding to the two sampling times is determined, and the difference of all pressing positions is calculated by superposition, to determine the corresponding change value of the pressing position, so that the change value of the pressing position can effectively reflect the change of the position of the user's finger on the screen.
[0066] After the control unit determines the change value of the pressing position, it can compare the change value of the pressing position with the preset change value. When the change value of the pressing position is less than the preset change value, it can be determined that the change of the position of the user's finger in the second time period is small, and the probability of a sliding operation is small. At this time, the corresponding navigation operation of the finger is most likely a clicking operation, and therefore, the navigation operation of the finger can be performed based on the target pressing position corresponding to the latest sampling time. When the change value of the pressing position is not less than the preset change value, it can be determined that the change of the position of the user's finger in the second time period is large, and the probability of a sliding operation is large. At this time, the corresponding navigation operation of the finger is most likely a sliding operation, and therefore, the navigation operation of the finger can be performed based on the K target pressing positions corresponding to the second time period.
[0067] In the example, since each target pressing position is determined based on the effective pressures and sensor positions of any three pressure sensors not on the same straight line, the accuracy of the target pressing position corresponding to the latest sampling time can be ensured, and the target pressing position corresponding to the latest sampling time is used for the manual navigation operation, so that the accuracy of the manual navigation operation can be ensured.
[0068] In an embodiment, the step S4 of performing the manual navigation operation based on the target pressing position comprises: obtaining a current navigation scene; when the current navigation scene is the click navigation scene, performing the manual navigation operation based on the target pressing position corresponding to the latest sampling time; when the current navigation scene is the sliding navigation scene, performing the manual navigation operation based on the L target pressing positions corresponding to the second time period; wherein the second time period is determined based on the latest sampling time and a second preset time length.
[0069] The current navigation scene is a scene in which a navigation operation is currently required to be performed. As an example, the current navigation scene can be any one of a click navigation scene and a sliding navigation scene. The click navigation scene is a scene in which navigation is performed according to a finger clicking action. The sliding navigation scene is a scene in which navigation is performed according to a finger sliding action.
[0070] As an example, the control unit can monitor the current navigation scene in real time, and determine the current navigation scene according to the current state of the electronic device, user operation or other information. When the current navigation scene is the click navigation scene, navigation control needs to be performed according to the finger clicking action, and in this process, only the target pressing position corresponding to each clicking operation needs to be determined. Therefore, the manual navigation operation can be performed based on the target pressing position corresponding to the latest sampling time. When the current navigation scene is the sliding navigation scene, navigation control needs to be performed according to the finger sliding action, and in this process, a plurality of target pressing positions corresponding to the sliding operation need to be determined. Therefore, the manual navigation operation can be performed based on the L target pressing positions corresponding to the second time period. In the example, after the control unit determines the target pressing position corresponding to the latest sampling time based on the N measured pressures, the control unit can determine a starting time t2=t0-ΔT2 based on the latest sampling time t0 and the second preset time length ΔT2, and determine the time period t2-t0 as the second time period. If the sampling time interval of the pressure detection module is ΔT, L target pressing positions will be determined in the second time period, L=ΔT2 / ΔT, and when the current navigation scene is determined to be the sliding navigation scene, the manual navigation operation can be performed based on the L target pressing positions corresponding to the second time period.
[0071] In the example, since each target pressing position is determined based on the effective pressures and sensor positions of any three pressure sensors not on the same straight line, the accuracy of all target pressing positions can be ensured, and the hand-guided navigation operation based on all target pressing positions determined in the second time period can ensure the accuracy of the hand-guided navigation operation.
[0072] In an embodiment, the step S4 of performing the hand-guided navigation operation based on the target pressing position comprises: performing the hand-guided navigation operation based on the target pressing position and additional data; The additional data comprises N effective pressures corresponding to the target pressing position, and / or fingerprint data collected by the ultrasonic fingerprint module.
[0073] As an example, after determining the target pressing position, the control unit can perform the hand-guided navigation operation only according to the target pressing position, or can perform the hand-guided navigation operation based on the target pressing position and additional data according to actual conditions, for example, in the process of game operation. The additional data herein is data that can assist in performing the hand-guided navigation operation. In the example, the hand-guided navigation operation can be performed based on the target pressing position and N effective pressures corresponding to the target pressing position according to actual conditions, or can be performed based on the target pressing position and fingerprint data collected by the ultrasonic fingerprint module, or can be performed based on the target pressing position, N effective pressures, and fingerprint data collected by the ultrasonic fingerprint module. In the example, the target pressing position can accurately determine the position of the finger pressing, and the additional data can effectively reflect the pressure of the finger pressing. In combination with the target pressing position and the additional data, the hand-guided navigation operation can meet different application requirements and further ensure the accuracy of the hand-guided navigation operation.
[0074] In a specific embodiment, as shown in Figure 4 The touch detection method comprises the following steps: When the current state of the electronic device is the idle state and N-1 pressure sensors of the pressure detection module are in the sleep state, the polling pressure collected by the remaining one pressure sensor every polling period can be acquired; or when the current state of the electronic device is the idle state and N pressure sensors of the pressure detection module are in the sleep state, the fingerprint data collected by the ultrasonic fingerprint module every polling period can be acquired.
[0075] When the finger pressing condition is met (e.g., the polling pressure is greater than the first pressure threshold), it is determined that the screen is pressed by the finger. Specifically, when the polling pressure is greater than the first pressure threshold, it can be determined that the screen is pressed by the finger, or when the fingerprint data detects a fingerprint image, it can be determined that the screen is pressed by the finger.
[0076] In the determination of the finger pressing, N-1 pressure sensors in the wake-up pressure detection module are activated to collect N measured pressures.
[0077] Based on the N measured pressures corresponding to the same sampling time, the N measured pressures are determined as N effective pressures corresponding to the latest sampling time, when K target pressures corresponding to the first time period are compared with the second pressure threshold, and the K target pressures are all greater than the second pressure threshold.
[0078] Based on the L target pressing positions corresponding to the second time period, a pressing position change value is determined.
[0079] When the pressing position change value is less than a preset change value, a finger navigation operation is performed based on the target pressing position corresponding to the latest sampling time and the additional data.
[0080] When the pressing position change value is not less than the preset change value, a finger navigation operation is performed based on all target pressing positions corresponding to the second time period and the additional data.
[0081] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the application.
[0082] In an embodiment, a control unit is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the computer program to implement the touch detection method in the above embodiment, for example Figure 1 S1-S4 shown in the figure, to avoid repetition, will not be repeated here.
[0083] The embodiment of the application provides an electronic device, such as Figures 5-11 As shown, it includes a screen, an ultrasonic fingerprint module, and a pressure detection module, and further includes the control unit in the above embodiment; The ultrasonic fingerprint module and the pressure detection module are both arranged on the side of the screen away from the touch surface; The pressure detection module includes N pressure sensors, the N pressure sensors are arranged on the periphery of the ultrasonic fingerprint module, and the N pressure sensors are not on the same straight line, N≥3; The control unit is electrically connected with the ultrasonic fingerprint module and the N pressure sensors.
[0084] As an example, the ultrasonic fingerprint module and the pressure detection module are both arranged on the side of the screen away from the touch surface, where the touch surface refers to the surface for finger touch. For example, if the front surface (upper surface) of the screen is the touch surface, the ultrasonic fingerprint module and the pressure detection module need to be arranged on the back surface (lower surface) of the screen.
[0085] The pressure detection module includes N pressure sensors, which are arranged in a specific arrangement on the periphery of the ultrasonic fingerprint module, i.e., all the pressure sensors are arranged on the side of the screen away from the touch surface and in the area outside the ultrasonic fingerprint module, so that the ultrasonic fingerprint module and all the pressure sensors are not arranged overlappingly, to enable the ultrasonic fingerprint module and the pressure detection module to perform detection operations simultaneously without interfering with each other, which helps to ensure the detection accuracy of the two modules. Moreover, the N pressure sensors are not on the same straight line, to ensure that any three pressure sensors not on the same straight line are arranged in a triangular shape, and the target pressing position of the finger on the screen is determined based on the measured pressures collected by the three pressure sensors.
[0086] The control unit is electrically connected with the ultrasonic fingerprint module and the N pressure sensors, and the N pressure sensors are cascaded to the periphery of the ultrasonic fingerprint module. On the basis of fingerprint recognition by the ultrasonic fingerprint module, higher-precision pressure detection is added to determine the target pressing position of the finger on the screen by using the measured pressures collected by the N pressure sensors, so as to meet the gesture, navigation or other differentiated requirements under specific functions based on the fingerprint data collected by the ultrasonic fingerprint module in combination with the target pressing position determined by the N measured pressures, to ensure the control accuracy of finger navigation operation.
[0087] In an embodiment, as shown in Figures 5-7 the control unit is a controller integrated in the ultrasonic fingerprint module; The pressure detection module further includes an analog front-end circuit, which is integrated in the ultrasonic fingerprint module. The analog front-end circuit is electrically connected with the N pressure sensors and the controller, and the analog front-end circuit processes the analog signals output by the N pressure sensors and outputs N digital signals to the controller.
[0088] Among them, the analog front-end circuit (Analog Front End, AFE) is a circuit for converting the analog signals output by the pressure sensors into digital signals.
[0089] As an example, the pressure detection module is further provided with an analog front-end circuit integrated in the ultrasonic fingerprint module and electrically connected with the controller built in the ultrasonic fingerprint module. The analog front-end circuit is electrically connected with the N pressure sensors, can receive analog signals output by the N pressure sensors, process the N analog signals, and output corresponding N digital signals to the ultrasonic fingerprint module. The digital signals are measured pressures that can be processed by the control unit. In this example, the analog front-end circuit and the controller are integrated in the ultrasonic fingerprint module, so that the ultrasonic fingerprint module and the pressure detection module have a high coupling degree. The controller built in the ultrasonic fingerprint module can control the pressure detection module to work. Specifically, the controller built in the ultrasonic fingerprint module can determine a target pressing position according to the N measured pressures output by the pressure detection module, combine the target pressing position and the fingerprint data collected by the ultrasonic fingerprint module, and perform hand navigation operation, so as to ensure the control accuracy of the hand navigation operation.
[0090] In an embodiment, as shown in Figure 8 the control unit is a controller integrated in the ultrasonic fingerprint module; The pressure detection module further comprises N analog front-end circuits. Each analog front-end circuit is electrically connected with a pressure sensor, and the N analog front-end circuits are electrically connected with the controller. Each analog front-end circuit processes an analog signal output by a pressure sensor and outputs a digital signal to the controller.
[0091] As an example, the pressure detection module is further provided with N analog front-end circuits. Each analog front-end circuit is electrically connected with a pressure sensor and a controller built in the ultrasonic fingerprint module, so that each analog front-end circuit can process an analog signal collected by the pressure sensor connected thereto and output a digital signal to the controller. In this example, the analog front-end circuit is provided independently of the ultrasonic fingerprint module, and the controller is integrated in the ultrasonic fingerprint module. The controller built in the ultrasonic fingerprint module can control the pressure detection module to work. Specifically, the controller built in the ultrasonic fingerprint module can determine a target pressing position according to the N measured pressures output by the pressure detection module, combine the target pressing position and the fingerprint data collected by the ultrasonic fingerprint module, and perform hand navigation operation, so as to ensure the control accuracy of the hand navigation operation.
[0092] In an embodiment, as shown in Figures 9-10 the control unit is a microcontroller unit (MCU) or a host (HOST); The pressure detection module further comprises N analog front-end circuits, each of which is electrically connected to a pressure sensor, and each of which is electrically connected to the microprocessor or the host computer. Each analog front-end circuit processes an analog signal output by a pressure sensor and outputs a digital signal to the microprocessor or the host computer.
[0093] As an example, the pressure detection module further comprises N analog front-end circuits, each of which is electrically connected to a pressure sensor and to the microprocessor or the host computer. Each analog front-end circuit processes an analog signal collected by the pressure sensor connected thereto and outputs a digital signal to the microprocessor or the host computer. In this example, the N analog front-end circuits are independent of the ultrasonic fingerprint module, and the microprocessor or the host computer is a control unit independent of the ultrasonic fingerprint module and the pressure detection module. The microprocessor or the host computer is electrically connected to the N analog front-end circuits, processes N digital signals output by the N analog front-end circuits, determines a target pressing position, and performs hand-guided navigation operation in combination with the target pressing position. In this example, the microprocessor or the host computer is independently arranged and electrically connected to the ultrasonic fingerprint module and the N analog front-end circuits. The ultrasonic fingerprint module and the pressure detection module have a low coupling degree, so that the ultrasonic fingerprint module and the pressure detection module can work independently.
[0094] In an embodiment, the N pressure sensors are arranged in any one of a right angle shape, a diagonal shape, and a dot matrix shape.
[0095] As an example, as shown in Figure 5 and Figure 9 , the N pressure sensors are arranged in a right angle shape around the ultrasonic fingerprint module to avoid other installation structures in the electronic device other than the ultrasonic fingerprint module and the pressure detection module, and are suitable for a scenario where the installation position is limited, and have the lowest pressure detection accuracy. Here, the "right angle shape" means that the N pressure sensors are arranged in a single row and a single column, and the angle between the straight line formed by the pressure sensors arranged in the single row and the straight line formed by the pressure sensors arranged in the single column is a right angle. That is, when the N pressure sensors are arranged in a right angle shape, the N pressure sensors comprise a row of sensor combinations and a column of sensor combinations, the straight line formed by the row of sensor combinations intersects the straight line formed by the column of sensor combinations, and the angle between the two straight lines is a right angle.
[0096] As an example, as shown in Figure 6As shown, N pressure sensors are arranged diagonally around the ultrasonic fingerprint module to avoid the need for other mounting structures besides the ultrasonic fingerprint module and pressure detection module in the electronic device. This arrangement is suitable for electronic devices with limited installation space and offers higher pressure detection accuracy than a right-angled arrangement. Here, "diagonal" means that the N pressure sensors are neither arranged in rows nor columns, and the line connecting any two pressure sensors intersects both the X-axis and Y-axis of the screen.
[0097] As an example, such as Figure 7 , Figure 8 and Figure 10 As shown, N pressure sensors are arranged in a dot matrix on all four sides of the ultrasonic fingerprint module. This configuration is suitable for scenarios where there is sufficient installation space around the ultrasonic fingerprint module, and it offers the highest pressure detection accuracy. Here, "dot matrix" refers to the N pressure sensors being arranged in two rows and two columns. The two straight lines formed by the two rows of pressure sensors and the two straight lines formed by the two columns of pressure sensors form a rectangle, surrounding the ultrasonic fingerprint module. Each row or column contains two or more pressure sensors.
[0098] like Figure 11 As shown, a pressure-sensitive adhesive (PSA) can be used to attach the ultrasonic fingerprint module to the back of the screen, and N pressure sensors can be attached to the back of the screen. These N pressure sensors can be arranged in any of the following configurations: right angle, diagonal, or dot matrix, around the ultrasonic fingerprint module to avoid obstructing its installation space. When a finger presses on the front of the screen, the N pressure sensors collect their corresponding data packets in real time and output them to the control unit. This data packet can be understood as multiple continuously collected measured pressures. After acquiring the N measured pressures collected at the same sampling time, the control unit can perform an effectiveness analysis based on these N measured pressures to determine the N valid pressures. Then, based on the N valid pressures, it performs pressure positioning to determine the target pressure position corresponding to the finger pressure point, enabling finger navigation operations based on the target pressure position.
[0099] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When executed by a processor, the computer program implements the touch detection method described in the above embodiment, for example... Figure 1 S1-S4 are shown below. To avoid repetition, they will not be described again here.
[0100] The above examples are only used to illustrate the technical solutions of the present application, and are not intended to limit the present application; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that the technical solutions recorded in the foregoing examples can be modified, or some technical features can be replaced by equivalent features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A touch detection method, characterized in that, The method comprises the following steps: acquiring N measured pressures collected by a pressure detection module, the pressure detection module comprising N pressure sensors not in a same straight line, each of the pressure sensors collecting one of the measured pressures; performing validity analysis based on the N measured pressures to determine N effective pressures, each of the effective pressures being determined based on one of the measured pressures; performing pressing positioning based on the N effective pressures to determine a target pressing position corresponding to a finger pressing point, the target pressing position being determined based on effective pressures corresponding to any three pressure sensors not in a same straight line and sensor positions; performing finger navigation operation based on the target pressing position.
2. The touch detection method of claim 1, wherein, Before the step of acquiring the N measured pressures collected by the pressure detection module, the touch detection method further comprises the following steps: when the pressure detection module is in a sleep state, acquiring polling detection data collected by a polling detection module at every polling period; when the polling detection data meet a finger pressing condition, waking up the pressure detection module to work to collect the N measured pressures.
3. The touch detection method of claim 2, wherein, The step of acquiring the polling detection data collected by the polling detection module at every polling period when the pressure detection module is in the sleep state comprises the following step: when N-1 pressure sensors of the pressure detection module are in the sleep state, acquiring polling pressures collected by a remaining one of the pressure sensors at every polling period. The step of waking up the pressure detection module to work to collect the N measured pressures when the polling detection data meet the finger pressing condition comprises the following step: when the polling pressures are greater than a first pressure threshold, waking up N-1 pressure sensors of the pressure detection module to work so that the N pressure sensors collect the N measured pressures.
4. The touch detection method of claim 2, wherein, The step of acquiring the polling detection data collected by the polling detection module at every polling period when the pressure detection module is in the sleep state comprises the following step: when N pressure sensors of the pressure detection module are in the sleep state, acquiring fingerprint data collected by an ultrasonic fingerprint module; The step of waking up the pressure detection module to work to collect the N measured pressures when the polling detection data meet the finger pressing condition comprises the following step: when the fingerprint data can detect a fingerprint image, waking up the N pressure sensors of the pressure detection module to work to collect the N measured pressures.
5. The touch detection method of claim 1, wherein, Each of the measured pressures corresponds to a sampling time. The step of performing validity analysis based on the N measured pressures to determine the N effective pressures comprises the following steps: comparing K to-be-compared pressures in a first time period with a second pressure threshold, when all the K to-be-compared pressures are greater than the second pressure threshold, determining N measured pressures corresponding to a latest sampling time as the N effective pressures, K≥2; the first time period is determined based on the latest sampling time and a first preset time length; each of the to-be-compared pressures is determined based on the N measured pressures corresponding to a same sampling time.
6. The touch detection method according to claim 1 or 5, wherein, The step of performing validity analysis based on the N measured pressures to determine the N effective pressures comprises the following steps: acquiring a measured temperature collected by a temperature sensor, correcting the N measured pressures based on the measured temperature to determine the N effective pressures.
7. The touch detection method of claim 6, wherein, The N measured pressures are corrected based on the measured temperature to determine N effective pressures, including: A correction coefficient corresponding to the measured temperature is determined based on the measured temperature and a temperature coefficient mapping relationship, the temperature coefficient mapping relationship being used to represent a relationship between different temperatures and corresponding correction coefficients; N effective pressures are determined based on the N measured pressures and the correction coefficient corresponding to the measured temperature.
8. The touch detection method of claim 1, wherein, The target pressing position corresponding to the finger pressing point is determined based on the N effective pressures, including: An initial pressing position corresponding to a sensor combination is determined based on measured pressures collected by the sensor combination and sensor positions, the sensor combination including any three pressure sensors not on the same straight line; The target pressing position is determined based on initial pressing positions corresponding to at least two sensor combinations.
9. The touch detection method of claim 8, wherein, The initial pressing position corresponding to the sensor combination is determined based on measured pressures collected by the sensor combination and sensor positions, including: A pressing distance corresponding to each pressure sensor is determined based on a measured pressure corresponding to each pressure sensor and a pressure distance mapping relationship, the pressure distance mapping relationship being used to represent a relationship between different pressures and corresponding pressing distances; The initial pressing position corresponding to the sensor combination is determined based on the pressing distance corresponding to the sensor combination and the sensor position.
10. The touch detection method of claim 1, wherein, The hand guiding operation is performed based on the target pressing position, including: A pressing position change value is determined based on L target pressing positions corresponding to a second time period, L≥2; When the pressing position change value is less than a preset change value, the hand guiding operation is performed based on a target pressing position corresponding to a most recent sampling time; When the pressing position change value is not less than the preset change value, the hand guiding operation is performed based on the L target pressing positions corresponding to the second time period; The second time period is determined based on a most recent sampling time and a second preset time length.
11. The touch detection method of claim 1, wherein, The hand guiding operation is performed based on the target pressing position, including: A current navigation scene is acquired; When the current navigation scene is a click navigation scene, the hand guiding operation is performed based on a target pressing position corresponding to a most recent sampling time; When the current navigation scene is a sliding navigation scene, the hand guiding operation is performed based on L target pressing positions corresponding to a second time period; The second time period is determined based on a most recent sampling time and a second preset time length.
12. The touch detection method of claim 1, wherein, The hand guiding operation is performed based on the target pressing position, including: The hand guiding operation is performed based on the target pressing position and additional data; The additional data includes N effective pressures corresponding to the target pressing position, and / or fingerprint data collected by an ultrasonic fingerprint module.
13. A control unit comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the touch detection method in any one of claims 1 to 12.
14. An electronic device, comprising: The control unit in claim 13 is further included in a device including a screen, an ultrasonic fingerprint module, and a pressure detection module; The ultrasonic fingerprint module and the pressure detection module are both arranged on a side of the screen away from a touch surface; The processor executes the computer program to implement the touch detection method in any one of claims 1 to 12. The pressure detection module comprises N pressure sensors, the N pressure sensors are arranged at the periphery of the ultrasonic fingerprint module, and the N pressure sensors are not on the same straight line, and N≥3. The control unit is electrically connected with the ultrasonic fingerprint module and the N pressure sensors.
15. The electronic device of claim 14, wherein, The control unit is a controller integrated in the ultrasonic fingerprint module. The pressure detection module further comprises an analog front-end circuit, the analog front-end circuit is integrated in the ultrasonic fingerprint module, the analog front-end circuit is electrically connected with the N pressure sensors and the controller, the analog front-end circuit processes analog signals output by the N pressure sensors and outputs N digital signals to the controller.
16. The electronic device of claim 14, wherein, The control unit is a controller integrated in the ultrasonic fingerprint module. The pressure detection module further comprises N analog front-end circuits, each analog front-end circuit is electrically connected with one pressure sensor, and the N analog front-end circuits are electrically connected with the controller, each analog front-end circuit processes analog signals output by one pressure sensor and outputs one digital signal to the controller.
17. The electronic device of claim 14, wherein, The control unit is a microprocessor or a host computer. The pressure detection module further comprises N analog front-end circuits, each analog front-end circuit is electrically connected with one pressure sensor, and the N analog front-end circuits are electrically connected with the microprocessor or the host computer, each analog front-end circuit processes analog signals output by one pressure sensor and outputs one digital signal to the microprocessor or the host computer.
18. The electronic device of any of claims 14-17, wherein, The N pressure sensors are arranged in any one of a right angle shape, a diagonal shape and a dot matrix shape. 19.A computer readable storage medium, storing a computer program, wherein, The computer program is executed by a processor to realize the touch detection method of any one of claims 1 to 12.
Citation Information
Cited By
Low-power-consumption pressure detection system
CN121785210A