CN112860105B - Touch position determination method and device, electronic equipment and readable storage medium - Google Patents

Touch position determination method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112860105B
CN112860105B CN202110120581.2A CN202110120581A CN112860105B CN 112860105 B CN112860105 B CN 112860105B CN 202110120581 A CN202110120581 A CN 202110120581A CN 112860105 B CN112860105 B CN 112860105B
Authority
CN
China
Prior art keywords
touch position
signal
position information
influence
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110120581.2A
Other languages
Chinese (zh)
Other versions
CN112860105A (en
Inventor
翟康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110120581.2A priority Critical patent/CN112860105B/en
Publication of CN112860105A publication Critical patent/CN112860105A/en
Application granted granted Critical
Publication of CN112860105B publication Critical patent/CN112860105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Abstract

The embodiment of the application discloses a touch position determining method, a touch position determining device, electronic equipment and a readable storage medium, wherein the method comprises the following steps: under the condition of receiving touch input, acquiring first touch position information detected by a capacitance sensor and second touch position information detected by a pressure sensor; weighting the first touch position information and the second touch position information based on the first weight value and the second weight value to obtain target touch position information; determining a touch position of touch input according to the target touch position information; the first weight value is determined according to the signal-to-noise ratio signal and the temperature signal, and the second weight value is determined according to the signal-to-noise ratio signal and the temperature signal. According to the embodiment of the application, the touch input can be responded more accurately.

Description

Touch position determination method and device, electronic equipment and readable storage medium
Technical Field
The embodiment of the application relates to the field of information processing, and in particular relates to a touch position determining method and device, an electronic device and a readable storage medium.
Background
With the continuous development of electronic devices, capacitive touch screens are often used in electronic devices, and the capacitive touch screens work by using current induction of human bodies. At present, factors such as radio frequency interference and unstable grounding can interfere a capacitance signal input by a touch screen of a user, which can cause a phenomenon of response lag or response jitter of electronic equipment to the touch input.
In carrying out the present application, the applicant has found that there are at least the following problems in the related art: response lag or response jitter occurs to the touch input.
Disclosure of Invention
The embodiment of the application provides a touch position determining method, a touch position determining device, an electronic device and a readable storage medium, so as to solve the problem that response lag or response jitter occurs to touch input.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a touch position determining method, which is applied to an electronic device, where the electronic device includes a touch screen, and the touch screen includes a capacitive sensor and a pressure sensor, and the method may include:
under the condition that touch input is received, first touch position information detected by a capacitance sensor and second touch position information detected by a pressure sensor are acquired;
weighting the first touch position information and the second touch position information based on the first weight value and the second weight value to obtain target touch position information;
determining a touch position of touch input according to the target touch position information;
the first weight value is determined according to the signal-to-noise ratio signal and the temperature signal, and the second weight value is determined according to the signal-to-noise ratio signal and the temperature signal.
In a second aspect, an embodiment of the present application provides a touch position determining apparatus, which is applied to an electronic device, where the electronic device includes a touch screen, and the touch screen includes a capacitive sensor and a pressure sensor, and the apparatus may include:
the acquisition module is used for acquiring first touch position information detected by the capacitance sensor and second touch position information detected by the pressure sensor under the condition of receiving touch input;
the processing module is used for weighting the first touch position information and the second touch position information based on the first weight value and the second weight value to obtain target touch position information;
the determining module is used for determining the touch position of the touch input according to the target touch position information;
the first weight value is determined according to the signal-to-noise ratio signal and the temperature signal, and the second weight value is determined according to the signal-to-noise ratio signal and the temperature signal.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the target touch position information corresponding to the touch input is obtained by weighting the first touch position information and the second touch position information based on the first weight value and the second weight value. Because the first touch position information detected by the capacitance sensor is easily interfered by signals such as radio frequency and the like, and the second touch position information detected by the pressure sensor is easily influenced by temperature change, the first touch position information and the second touch position information are weighted and calculated based on the first weight value and the second weight value determined by the signal-to-noise ratio signal and the temperature signal, deviation caused by noise signal interference and temperature interference can be corrected, and the obtained target touch position information is more accurate. Thus, performing the corresponding operation based on the target touch position information can respond to the touch input more accurately.
Drawings
The present application may be better understood from the following description of specific embodiments of the application taken in conjunction with the accompanying drawings, in which like or similar reference numerals identify like or similar features.
Fig. 1 is a flowchart of a touch position determining method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a touch screen according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of first touch position information and second touch position information according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram for determining target touch position information according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a first corresponding relationship provided in the embodiment of the present application;
fig. 6 is a schematic diagram of a first corresponding relationship provided in the embodiment of the present application;
fig. 7 is another schematic diagram for determining target touch position information according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a touch position determining apparatus according to an embodiment of the present disclosure;
fig. 9 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 10 is a schematic hardware structure diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The touch position determining method provided by the embodiment of the application can be applied to the following application scenarios, which are described below.
The capacitive touch screen is often used as the electronic device, but due to factors such as display screen interference, radio Frequency interference (RF) and unstable grounding, capacitive signals of the touch screen are affected, and the touch position calculated by the interfered capacitive signals can easily deviate from the actual position of touch input, which shows that the accuracy of response is reduced. For example, the response is delayed, that is, when the touch input of the user is received, since the coordinates calculated by each frame within a certain time do not exceed a certain range, the calculation result of the touch position can be characterized as that the touch input does not move, so that the touch input cannot be accurately responded to by a slight movement or the coordinate at the start stage of sliding is delayed.
And responding to the jitter, that is, in the case of receiving a sliding touch input from a user, the interface may generate jitter, and the sliding jitter is mainly performed by combining the historical touch positions for smoothing at present, but smoothing using the historical touch positions may cause delay of the touch positions, resulting in poor tracking performance during the sliding process.
That is, the response lag and the response jitter are substantially caused by the fact that the touch position of the touch input cannot be accurately determined.
To solve the problems in the related art, embodiments of the present application provide a method and an apparatus for determining a touch position, an electronic device, and a storage medium, so as to solve the problem in the related art that a response delay or a response jitter occurs to a touch input.
The method provided by the embodiment of the application can be applied to any scene with inaccurate determined touch position besides the application scenes.
According to the method provided by the embodiment of the application, the first touch position information and the second touch position information are weighted based on the first weight value and the second weight value, so that the target touch position information corresponding to the touch input is obtained. Because the first touch position information detected by the capacitance sensor is easily interfered by signals such as radio frequency and the like, and the second touch position information detected by the pressure sensor is easily influenced by temperature change, the first touch position information and the second touch position information are weighted and calculated based on the first weight value and the second weight value determined by the signal-to-noise ratio signal and the temperature signal, deviation caused by noise signal interference and temperature interference can be corrected, and the obtained target touch position information is more accurate. Thus, performing the corresponding operation based on the target touch position information can respond to the touch input more accurately.
Based on the application scenario, the touch position determining method provided by the embodiment of the present application is described in detail below.
Fig. 1 is a flowchart of a touch position determining method according to an embodiment of the present disclosure.
As shown in fig. 1, the display method may include steps 110 to 130, and the method is applied to a touch position determining apparatus, and specifically as follows:
in step 110, in a case that a touch input is received, first touch position information detected by the capacitance sensor and second touch position information detected by the pressure sensor are acquired.
And 120, performing weighting processing on the first touch position information and the second touch position information based on the first weight value and the second weight value to obtain target touch position information.
And step 130, determining the touch position of the touch input according to the target touch position information.
The first weight value is determined according to the signal-to-noise ratio signal and the temperature signal, and the second weight value is determined according to the signal-to-noise ratio signal and the temperature signal.
According to the touch position determining method, the first touch position information and the second touch position information are weighted based on the first weight value and the second weight value, and target touch position information corresponding to touch input is obtained. Because the first touch position information detected by the capacitance sensor is easily interfered by signals such as radio frequency and the like, and the second touch position information detected by the pressure sensor is easily influenced by temperature change, the first touch position information and the second touch position information are weighted and calculated based on the first weight value and the second weight value determined by the signal-to-noise ratio signal and the temperature signal, deviation caused by noise signal interference and temperature interference can be corrected, and the obtained target touch position information is more accurate. Thus, performing a corresponding operation based on the target touch position information can respond to the touch input more accurately.
The contents of steps 110 to 130 are described below:
first, step 110 is involved.
As shown in fig. 2, the elements stacked under the electronic device screen may include at least: a glass cover plate 210, a capacitance sensor 220, a pressure sensor 230, and an organic light emitting diode 240.
The glass cover plate 210 is a glass cover plate, that is, a glass layer on the surface of the touch screen; the capacitive sensor 220 is configured to detect a capacitive signal and determine first touch position information according to the detected capacitive signal; the pressure sensor 230 is configured to detect a pressure signal and determine first touch position information according to the detected pressure signal; the organic light emitting diode 240 is a device that generates electroluminescence using a multi-layered organic thin film structure.
In a possible embodiment, before step 110, the following steps may be further included:
acquiring a capacitance signal corresponding to touch input detected by a capacitance sensor; and determining first touch position information according to the capacitance signal.
The working principle of determining the first touch position information of the touch input based on the capacitance signal detected by the capacitance sensor is as follows: when a user touches the touch screen, a coupling capacitor is formed between the user and the surface of the touch screen due to an electric field of a human body, and for high-frequency current, the capacitor is a direct conductor, so that a finger sucks a small current from a contact point.
The current respectively flows out of the electrodes on the four corners of the touch screen, the current flowing through the four electrodes is in direct proportion to the distance from the finger to the four corners, and the position of touch input can be obtained through accurate calculation of the proportion of the four currents. That is, the flowing-out of the current may cause a change in a capacitance signal detected by the capacitance sensor, and similarly, each node of the touch screen has a capacitance signal, and the first touch position information may be calculated by an extremum method or a gravity center method.
In a possible embodiment, before step 110, the following steps may be further included:
acquiring a pressure signal corresponding to touch input detected by a pressure sensor; and determining second touch position information according to the pressure signal.
The working principle that the pressure sensor detects the pressure signal to determine the second touch position information of the touch input is as follows: the touch control screen of the user can be deformed by a trigger panel, the deformation of the panel drives a pressure sensor to deform, the deformation of the pressure sensor causes the resistance change, the resistance change generates voltage change, each pressure sensor node has a voltage value, and second touch position information can be calculated according to an extreme value method or a gravity center method.
Since the working principles of determining the first touch position information and the second touch position information are different, the calculated first touch position information and the calculated second touch position information may be different. The numerical relationship between the first touch position information and the second touch position information can be as shown in fig. 3.
Here, by acquiring the first touch position information corresponding to the touch input detected by the capacitance sensor and the second touch position information corresponding to the touch input detected by the pressure sensor, data support can be provided for subsequent synthesis of more accurate target touch position information.
Next, step 120 is involved.
As shown in fig. 4, first, a first weight value and a second weight value may be determined according to a signal-to-noise ratio signal detected by the electronic device and a temperature signal of the electronic device; first touch position information detected by the capacitance sensor and second touch position information detected by the pressure sensor can be acquired; then, the first touch position information and the second touch position information may be weighted based on the first weight value and the second weight value to obtain target touch position information, so as to respond to touch input according to the target touch position information.
Since the first touch position information detected by the capacitive sensor is easily interfered by signals such as radio frequency and the like, and the second touch position information detected by the pressure sensor is easily influenced by temperature change, the first touch position information and the second touch position information are weighted based on the first weight value and the second weight value, and the obtained target touch position information is more accurate.
The first weight value and the second weight value are weights corresponding to the first touch position information and the coordinate second touch position information respectively, and the sum of the first weight value and the second weight value can be 1.
In one possible embodiment, the first weight value may be determined from the signal-to-noise ratio signal and the temperature signal. The second weight value may be determined from the signal-to-noise ratio signal and the temperature signal.
Specifically, first, a second influencing parameter of the signal-to-noise ratio signal is determined based on a first correspondence between the historical signal-to-noise ratio signal and the first influencing parameter, and a fourth influencing parameter of the temperature signal is determined based on a second correspondence between the historical temperature signal of the electronic device and the third influencing parameter.
Then, the second influence parameter is determined as the first influence value, and the fourth influence parameter is determined as the second influence value. Then, a composite impact value is determined based on the first impact value and the second impact value. Finally, determining the ratio of the first influence value to the comprehensive influence value as a first weight value; and determining the ratio of the second influence value to the comprehensive influence value as a second weight value.
Before step 120, the following steps may be further included:
determining a first influence value of the signal-to-noise ratio signal on the touch position, and determining a second influence value of the temperature signal on the touch position; determining a comprehensive influence value according to the first influence value and the second influence value; determining the ratio of the first influence value to the comprehensive influence value as a first weight value; and determining the ratio of the second influence value to the comprehensive influence value as a second weight value.
In order to quickly and accurately determine how large the first weight value corresponding to the first touch position information and the second weight value corresponding to the second touch position information are respectively distributed, dynamic adjustment needs to be performed according to a specific scene, in a scene with relatively large noise signal interference, the first touch position information is more prone to deviation, the first weight value corresponding to the first touch position information should be a little bit in the scene, and the second weight value corresponding to the second touch position information should be a little bit in the scene.
Similarly, in a scene with a higher temperature, the second touch position information is more easily affected to cause deviation, and the second weight value corresponding to the second touch position information should be smaller in the scene. The first weight value corresponding to the first touch position information should be a little larger, and in addition, the specific sizes of the first weight value and the second weight value are comprehensively considered based on factors such as the grounding property of the electronic equipment, the consistency of the press-sensitive fit under the screen and the like.
The signal-to-noise ratio (SNR) refers to a ratio of a target signal to a noise signal in an electronic device or an electronic system. The target signal refers to an electronic signal from the outside of the electronic device to be processed by the electronic device, the noise signal refers to an irregular extra signal (or information) which does not exist in the target signal generated after passing through the electronic device, and the signal does not change along with the change of the target signal.
Based on the above, first, a first influence value of the signal-to-noise ratio signal on the touch position and a second influence value of the temperature signal on the touch position can be determined; then, determining a comprehensive influence value of the signal-to-noise ratio signal and the temperature signal on the touch position according to the first influence value and the second influence value; then, determining a first ratio of the first influence value to the comprehensive influence value as a first weight value; and determining a second ratio of the second influence value to the comprehensive influence value as a second weight value.
Therefore, the influence of the signal-to-noise ratio signal and the temperature signal on the touch position can be comprehensively considered, and a first weight value corresponding to the first touch position information and a second weight value corresponding to the second touch position information are respectively determined.
Wherein, the signal-to-noise ratio signal mentioned above is a ratio of the target signal to the noise signal, and the noise signal includes: radio frequency interference noise and liquid crystal module interference noise.
Radio Frequency interference (RF), which is an electromagnetic Frequency at which a Radio Frequency signal can be radiated to space, is usually in a Frequency range from 300KHz to 30 GHz. Liquid Crystal Module (LCM) interferes with noise. The liquid crystal display device is a component for assembling a liquid crystal display device, a connecting piece, peripheral circuits such as a control circuit, a drive circuit and the like, a PCB (printed circuit board), a backlight source, a structural part and the like together. Since the liquid crystal display device generates a capacitance signal when it is operated, an LCM interference noise is generated accordingly.
The step of determining the first influence value of the signal-to-noise ratio signal on the touch position may specifically include the following steps:
determining a second influence parameter of the signal-to-noise ratio signal based on a first corresponding relation between the historical signal-to-noise ratio signal and the first influence parameter; and determining a first influence value according to the first influence factor and the second influence parameter, wherein the first influence factor is determined according to the grounding property parameter of the electronic equipment.
The step of determining the second influence value of the temperature signal on the touch position may specifically include the following steps:
determining a fourth influence parameter of the temperature signal based on a second corresponding relationship between the historical temperature signal of the electronic device and the third influence parameter;
and determining a second influence value according to the second influence factor and the fourth influence parameter, wherein the second influence factor is determined according to the screen down pressure-sensitive fit consistency parameter of the electronic equipment.
Specifically, a first weight value corresponding to the first touch position information and a second weight value corresponding to the second touch position information may be determined by the following equations (1) and (2).
w1=f1*S1/(f1*S1+f2*S2) (1)
w2=f2*S2/(f1*S1+f2*S2) (2)
Wherein w1 is a first weight value, and w2 is a second weight value; s1 is a second influence parameter, and S2 is a fourth influence parameter; f1 is a first influence factor, and f2 is a second influence factor.
Since the grounding property parameter and the screen down-pressure-sensitive fit consistency parameter of the electronic device are relatively stable after the electronic device leaves the factory and usually do not change, the grounding property parameter and the screen down-pressure-sensitive fit consistency parameter can be directly used as fixed values.
The influence of the grounding performance of the device on the capacitance signal of the touch screen is large, namely the grounding performance parameter of the electronic device influences the accuracy of the second touch position information; the consistency of the pressing fit under the screen has a large influence on the pressure signal detected by the pressure sensor, i.e., the consistency parameter of the pressing fit under the screen affects the accuracy of the second touch position information.
The first influence factor can be determined according to the grounding performance parameter of the electronic equipment, and when the grounding performance is good enough, the first influence factor can be 100%; the second influence factor may be determined according to the screen down-pressure fit consistency parameter of the electronic device, and when the screen down-pressure fit consistency of the electronic device is sufficiently good, the second influence factor may be 100%.
The signal-to-noise ratio of the capacitance signal detected by the capacitance sensor is interfered by the noise signal, the signal-to-noise ratio is changed in real time, the smaller the noise signal interference is, the larger the signal-to-noise ratio is, and the more accurate the first touch position information calculated according to the capacitance signal is, and vice versa.
The accuracy of the second touch position information calculated according to the pressure signal detected by the pressure sensor is greatly influenced by the temperature, and the deviation of the second touch position information becomes large when the temperature is too high or too low.
Therefore, the first influence value can be determined according to the first influence factor and the second influence parameter, the second influence value can be determined according to the second influence factor and the fourth influence parameter, and the first weight value and the second weight value can be further determined according to the first influence value and the second influence value.
In a possible embodiment, before the step of determining the second influence parameter of the signal-to-noise ratio signal based on the first corresponding relationship between the historical signal-to-noise ratio signal and the corresponding first influence parameter, the following steps may be further included:
and determining a first corresponding relation according to the historical signal-to-noise ratio signal and the corresponding first influence parameter, wherein the historical signal-to-noise ratio signal is positively correlated with the first influence parameter.
Fig. 5 is a first correspondence between historical signal-to-noise ratio signals and their corresponding first influencing parameters. According to the first corresponding relationship, as the historical signal-to-noise ratio signal increases, the first influencing parameter also increases, that is, the historical signal-to-noise ratio signal and the first influencing parameter have positive correlation.
In order to determine the second influencing parameter of the signal-to-noise ratio signal, the corresponding second influencing parameter of the signal-to-noise ratio signal in the first correspondence may be determined by interpolation.
The interpolation method is to interpolate a continuous function on the basis of discrete data so that the continuous curve passes through all given discrete data points. Interpolation is an important method for approximation of discrete functions, and can be used for estimating the approximate values of functions at other points through the value conditions of the functions at limited points.
In a possible embodiment, before the step of determining the fourth influence parameter of the temperature signal based on the second corresponding relationship between the historical temperature signal and the corresponding third influence parameter, the following steps may be further included:
determining a second corresponding relation according to the historical temperature signal and a corresponding third influence parameter;
under the condition that the historical temperature signal is smaller than the preset threshold value, the historical temperature signal is in positive correlation with the third influence parameter; and under the condition that the historical temperature signal is greater than or equal to the preset threshold value, the historical temperature signal and the third influence parameter are in negative correlation.
Fig. 6 is a relationship between a historical temperature signal and its corresponding third influencing parameter. As shown in fig. 6, when the historical temperature signal is smaller than the preset threshold, the first influencing parameter increases with the increase of the historical signal-to-noise ratio signal, that is, the historical temperature signal is positively correlated with the third influencing parameter; and under the condition that the historical temperature signal is greater than or equal to the preset threshold, the first influence parameter is reduced along with the increase of the historical signal-to-noise ratio signal, namely the historical temperature signal and the third influence parameter are in negative correlation.
Accordingly, in order to determine the fourth influencing parameter of the temperature signal, the corresponding fourth influencing parameter of the temperature signal in the second corresponding relationship may also be determined by interpolation.
Finally, step 130 is involved.
And determining the touch position of the touch input according to the target touch position information. The electronic equipment responds to the touch input and executes the operation corresponding to the touch position of the touch input.
As shown in fig. 7, in a case that a touch input is received, a capacitance signal detected by a capacitance sensor changes, and a first touch position information is calculated by a Micro Controller Unit (MCU); the pressure signal detected by the pressure sensor changes, and second touch position information is obtained through calculation of the MCU; meanwhile, the temperature signal acquired from the temperature sensor and the acquired radio frequency signal are also reported to an electronic operation Processor (AP), and the AP synthesizes the temperature signal, the signal-to-noise ratio signal, the grounding performance of the electronic equipment and other parameters to calculate a first weight value and a second weight value. And finally, weighting the first touch position information and the second touch position information based on the first weight value and the second weight value to obtain target touch position information.
In addition, the capacitive sensor and the pressure sensor shown in fig. 7 respectively have an MCU to calculate the first touch position information and the second touch position information; in an actual situation, the capacitance sensor and the pressure sensor can also share one MCU to calculate the first touch position information and the second touch position information; fig. 7 shows that the first touch position information and the second touch position information, and the first weight value and the second weight value are reported to the AP side for weighting correction after the calculation is completed; in an actual situation, the first weight value and the second weight value may also be written into the MCU, and the MCU determines the corrected target touch position information and then reports the target touch position information to the AP side.
In summary, in the embodiment of the present application, the target touch position information corresponding to the touch input is obtained by performing weighting processing on the first touch position information and the second touch position information based on the first weight value and the second weight value. Because the first touch position information detected by the capacitance sensor is easily interfered by signals such as radio frequency signals, and the second touch position information detected by the pressure sensor is easily influenced by temperature changes, the first touch position information and the second touch position information are weighted and calculated based on the first weight value and the second weight value determined by the signal-to-noise ratio signal and the temperature signal, deviation caused by noise signal interference and temperature interference can be corrected, and the obtained target touch position information is more accurate. Thus, performing the corresponding operation based on the target touch position information can respond to the touch input more accurately.
It should be noted that, in the touch position determining method provided in the embodiment of the present application, the executing entity may be a touch position determining device, or a control module in the touch position determining device for executing the loading touch position determining method. In the embodiment of the present application, a method for determining a loaded touch position performed by a touch position determining apparatus is taken as an example, and the method for determining a touch position provided in the embodiment of the present application is described.
In addition, based on the touch position determining method, an embodiment of the present application further provides a touch position determining apparatus, which is specifically described in detail with reference to fig. 8.
Fig. 8 is a schematic structural diagram of a touch position determining device according to an embodiment of the present disclosure.
As shown in fig. 8, the touch position determining apparatus 800 may include:
the obtaining module 810 is configured to obtain first touch position information detected by the capacitance sensor and second touch position information detected by the pressure sensor when the touch input is received.
The processing module 820 is configured to perform weighting processing on the first touch position information and the second touch position information based on the first weight value and the second weight value to obtain target touch position information.
The determining module 830 is configured to determine a touch position of the touch input according to the target touch position information.
The first weight value is determined according to the signal-to-noise ratio signal and the temperature signal, and the second weight value is determined according to the signal-to-noise ratio signal and the temperature signal.
In a possible embodiment, the determining module 830 is configured to determine a first influence value of the signal-to-noise ratio signal on the touch position, and determine a second influence value of the temperature signal on the touch position.
The determining module 830 is further configured to determine a comprehensive impact value according to the first impact value and the second impact value.
The determining module 830 is further configured to determine a ratio of the first influence value to the comprehensive influence value as the first weight value.
The determining module 830 is further configured to determine a ratio of the second influence value to the comprehensive influence value as the second weight value.
In a possible embodiment, the determining module 830 is further configured to determine a second influencing parameter of the signal-to-noise ratio signal based on a first correspondence between the detected historical signal-to-noise ratio signal and the first influencing parameter.
The determining module 830 is further configured to determine a first influence value according to the first influence factor and the second influence parameter, where the first influence factor is determined according to the grounding performance parameter of the electronic device.
In a possible embodiment, the determining module 830 is further configured to determine a fourth influencing parameter of the temperature signal based on a second correspondence between the historical temperature signal of the electronic device and the third influencing parameter.
The determining module 830 is further configured to determine a second influence value according to a second influence factor and the fourth influence parameter, where the second influence factor is determined according to the screen down pressure-sensitive fit consistency parameter of the electronic device.
In a possible embodiment, the determining module 830 is further configured to determine a first corresponding relationship according to the historical signal-to-noise ratio signal and the corresponding first influence parameter, where the historical signal-to-noise ratio signal and the first influence parameter are in a positive correlation.
In a possible embodiment, the determining module 830 is further configured to determine the second corresponding relationship according to the historical temperature signal and the corresponding third influencing parameter.
Under the condition that the historical temperature signal is smaller than the preset threshold value, the historical temperature signal is in positive correlation with the third influence parameter; and under the condition that the historical temperature signal is greater than or equal to the preset threshold value, the historical temperature signal and the third influence parameter are in negative correlation.
In summary, the touch position determining device provided in the embodiment of the present application obtains the target touch position information corresponding to the touch input by performing weighting processing on the first touch position information and the second touch position information based on the first weight value and the second weight value. Because the first touch position information detected by the capacitance sensor is easily interfered by signals such as radio frequency signals, and the second touch position information detected by the pressure sensor is easily influenced by temperature changes, the first touch position information and the second touch position information are weighted and calculated based on the first weight value and the second weight value determined by the signal-to-noise ratio signal and the temperature signal, deviation caused by noise signal interference and temperature interference can be corrected, and the obtained target touch position information is more accurate. Thus, performing the corresponding operation based on the target touch position information can respond to the touch input more accurately.
The touch position determining device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The touch position determining device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The touch position determining device provided in the embodiment of the present application can implement each process implemented by the touch position determining device in the method embodiments of fig. 2 to 7, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 900 is further provided in the embodiment of the present application, and includes a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and executable on the processor 901, where the program or the instruction is executed by the processor 901 to implement each process of the above-described chat group creation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 10 is a schematic hardware structure diagram of another electronic device according to an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Among them, the input unit 1004 may include a graphic processor 10041 and a microphone 10042; the display unit 1006 may include a display panel 10061; the user input unit 1007 may include a touch panel 10071 and other input devices 10072; the memory 1009 may include application programs and an operating system.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source 1011 may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The network module 1002 is configured to, when a touch input is received, acquire first touch position information detected by a capacitance sensor and second touch position information detected by a pressure sensor.
The processor 1010 is configured to perform weighting processing on the first touch position information and the second touch position information based on the first weight value and the second weight value, so as to obtain target touch position information.
The processor 1010 is configured to determine a touch position of the touch input according to the target touch position information.
The first weight value is determined according to the signal-to-noise ratio signal and the temperature signal, and the second weight value is determined according to the signal-to-noise ratio signal and the temperature signal.
Optionally, the processor 1010 is configured to determine a first influence value of the signal-to-noise ratio signal on the touch position, and determine a second influence value of the temperature signal on the touch position.
The processor 1010 is further configured to determine a composite impact value based on the first impact value and the second impact value.
The processor 1010 is further configured to determine a ratio of the first influence value to the combined influence value as a first weight value.
The processor 1010 is further configured to determine a ratio of the second influence value to the integrated influence value as a second weight value.
Optionally, the processor 1010 is further configured to determine a second influence parameter of the signal-to-noise ratio signal based on the first correspondence between the detected historical signal-to-noise ratio signal and the first influence parameter.
The processor 1010 is further configured to determine a first influence value according to the first influence factor and the second influence parameter, where the first influence factor is determined according to a grounding property parameter of the electronic device.
Optionally, the processor 1010 is further configured to determine a fourth influence parameter of the temperature signal based on a second correspondence between the historical temperature signal of the electronic device and the third influence parameter.
The processor 1010 is further configured to determine a second influence value according to the second influence factor and the fourth influence parameter, where the second influence factor is determined according to a screen press-fit consistency parameter of the electronic device.
Optionally, the processor 1010 is further configured to determine a first corresponding relationship according to the historical signal-to-noise ratio signal and the corresponding first influence parameter, where the historical signal-to-noise ratio signal is positively correlated with the first influence parameter.
Optionally, the processor 1010 is further configured to determine a second corresponding relationship according to the historical temperature signal and a corresponding third influence parameter.
Under the condition that the historical temperature signal is smaller than the preset threshold value, the historical temperature signal is in positive correlation with the third influence parameter; and under the condition that the historical temperature signal is greater than or equal to the preset threshold value, the historical temperature signal and the third influence parameter are in negative correlation.
In the embodiment of the application, the target touch position information corresponding to the touch input is obtained by weighting the first touch position information and the second touch position information based on the first weight value and the second weight value. Because the first touch position information detected by the capacitance sensor is easily interfered by signals such as radio frequency and the like, and the second touch position information detected by the pressure sensor is easily influenced by temperature change, the first touch position information and the second touch position information are weighted and calculated based on the first weight value and the second weight value determined by the signal-to-noise ratio signal and the temperature signal, deviation caused by noise signal interference and temperature interference can be corrected, and the obtained target touch position information is more accurate. Thus, performing a corresponding operation based on the target touch position information can respond to the touch input more accurately.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the touch position determining method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the touch position determining method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (8)

1. A touch position determination method is applied to an electronic device, the electronic device comprises a touch screen, the touch screen comprises a capacitance sensor and a pressure sensor, and the method comprises the following steps:
under the condition of receiving touch input, acquiring first touch position information detected by the capacitance sensor and second touch position information detected by the pressure sensor;
weighting the first touch position information and the second touch position information based on a first weight value and a second weight value to obtain target touch position information;
determining the touch position of the touch input according to the target touch position information;
wherein the first weight value is determined according to a signal-to-noise ratio signal and a temperature signal, and the second weight value is determined according to the signal-to-noise ratio signal and the temperature signal;
before the weighting the first touch position information coordinate and the second touch position information based on the first weight value and the second weight value, the method further includes:
determining a first influence value of the signal-to-noise ratio signal on the touch position, and determining a second influence value of the temperature signal on the touch position;
determining a comprehensive influence value according to the first influence value and the second influence value;
determining a ratio of the first impact value to the composite impact value as the first weight value;
determining a ratio of the second impact value to the composite impact value as the second weight value.
2. The method of claim 1, wherein the determining a first impact value of the signal-to-noise ratio signal on the touch location comprises:
determining a second influencing parameter of the signal-to-noise ratio signal based on a first corresponding relation between a historical signal-to-noise ratio signal and the first influencing parameter;
and determining the first influence value according to a first influence factor and the second influence parameter, wherein the first influence factor is determined according to the grounding property parameter of the electronic equipment.
3. The method of claim 1, wherein determining the second impact value of the temperature signal on the touch location comprises:
determining a fourth influence parameter of the temperature signal based on a second corresponding relationship between a historical temperature signal of the electronic device and the third influence parameter;
and determining the second influence value according to a second influence factor and the fourth influence parameter, wherein the second influence factor is determined according to the screen pressing fit consistency parameter of the electronic equipment.
4. The method of claim 2, wherein prior to said determining a second impact parameter of the signal-to-noise ratio signal based on a first correspondence between historical signal-to-noise ratio signals and first impact parameters, the method further comprises:
and determining the first corresponding relation according to the historical signal-to-noise ratio signal and the first influence parameter corresponding to the historical signal-to-noise ratio signal, wherein the historical signal-to-noise ratio signal and the first influence parameter are positively correlated.
5. The method of claim 3, wherein prior to determining a fourth influence parameter of the temperature signal based on a second correspondence between historical temperature signals and their corresponding third influence parameters, the method further comprises:
determining the second corresponding relation according to the historical temperature signal and the corresponding third influence parameter;
wherein the historical temperature signal is positively correlated with the third influencing parameter when the historical temperature signal is less than a preset threshold; and under the condition that the historical temperature signal is greater than or equal to the preset threshold value, the historical temperature signal and the third influence parameter are in negative correlation.
6. A touch position determination device is applied to an electronic device, wherein the electronic device comprises a touch screen, the touch screen comprises a capacitance sensor and a pressure sensor, and the touch position determination device comprises:
the acquisition module is used for acquiring first touch position information detected by the capacitance sensor and second touch position information detected by the pressure sensor under the condition of receiving touch input;
the processing module is used for weighting the first touch position information and the second touch position information based on a first weight value and a second weight value to obtain target touch position information;
the determining module is used for determining the touch position of the touch input according to the target touch position information;
the first weighted value is determined according to a signal-to-noise ratio signal and a temperature signal, and the second weighted value is determined according to the signal-to-noise ratio signal and the temperature signal;
the determining module is configured to determine a first influence value of the signal-to-noise ratio signal on the touch position, and determine a second influence value of the temperature signal on the touch position;
the determining module is further configured to determine a comprehensive influence value according to the first influence value and the second influence value;
the determining module is further configured to determine a ratio of the first influence value to the comprehensive influence value as the first weight value;
the determining module is further configured to determine a ratio of the second influence value to the combined influence value as the second weight value.
7. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the touch position determining method according to any one of claims 1-5.
8. A readable storage medium, on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of the touch position determination method according to any one of claims 1-5.
CN202110120581.2A 2021-01-28 2021-01-28 Touch position determination method and device, electronic equipment and readable storage medium Active CN112860105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110120581.2A CN112860105B (en) 2021-01-28 2021-01-28 Touch position determination method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110120581.2A CN112860105B (en) 2021-01-28 2021-01-28 Touch position determination method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112860105A CN112860105A (en) 2021-05-28
CN112860105B true CN112860105B (en) 2022-12-30

Family

ID=75986273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110120581.2A Active CN112860105B (en) 2021-01-28 2021-01-28 Touch position determination method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112860105B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672123A (en) * 2021-08-23 2021-11-19 维沃移动通信(杭州)有限公司 Detection method and device and electronic equipment
CN115686252B (en) * 2021-09-24 2023-10-20 荣耀终端有限公司 Position information calculation method in touch screen and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7532202B2 (en) * 2002-05-08 2009-05-12 3M Innovative Properties Company Baselining techniques in force-based touch panel systems
KR101328387B1 (en) * 2006-08-25 2013-11-13 삼성디스플레이 주식회사 Method of touch position detecting
KR101652828B1 (en) * 2010-05-20 2016-08-31 삼성전자주식회사 Method and apparatus for adaptive digital filtering in a touch sensing system
CN103309490B (en) * 2012-03-16 2016-12-28 联想(北京)有限公司 A kind of touch input device location control method, device and touch input device
CN103279236B (en) * 2012-09-24 2016-02-24 上海天马微电子有限公司 Built-in capacitance touch display screen and contact detection method thereof and system
KR20170030272A (en) * 2015-09-09 2017-03-17 주식회사 동부하이텍 Touch sensor and touch sensing method
EP3458944A4 (en) * 2016-05-18 2020-03-11 Sensel Inc. Method for detecting and confirming a touch input
US10908741B2 (en) * 2016-11-10 2021-02-02 Sentons Inc. Touch input detection along device sidewall
CN109254687B (en) * 2018-08-31 2022-02-08 北京集创北方科技股份有限公司 Data processing method of touch display device and touch display device

Also Published As

Publication number Publication date
CN112860105A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
US10475413B2 (en) Method and apparatus for adjusting backlight brightness of screen, and mobile terminal
CN112860105B (en) Touch position determination method and device, electronic equipment and readable storage medium
CN110045878B (en) Response control method and device for touch screen, storage medium and terminal
CN109324749B (en) Drawing method, drawing device, storage medium and electronic equipment
CN107463289B (en) Calibration method and device of touch screen, storage medium and terminal
CN112329740B (en) Image processing method, image processing apparatus, storage medium, and electronic device
CN112150962B (en) Chip clock frequency adjusting method and device, chip and electronic equipment
WO2018107902A1 (en) Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium
CN108984065A (en) Processing method, device, storage medium and the electronic equipment of split screen display available
CN109165075A (en) Application display method, device, electronic equipment and storage medium
US11392245B2 (en) Data detection method and device, storage medium and touch device
CN108919997A (en) Improve the method and device of capacitive touch screen identification accuracy
CN114740996A (en) Signal acquisition method and electronic equipment
CN109885201B (en) Touch area detection method for touch screen, electronic device and computer readable storage medium
CN109302669B (en) Polling mechanism setting method and device, storage medium and electronic equipment
CN110851014A (en) Touch identification method and device, storage medium and terminal equipment
CN109478237B (en) Light source identification method and device
CN113641214A (en) Clock calibration circuit, clock calibration method and related equipment
US10895799B2 (en) Method and device for identifying flashing light source
CN112256378A (en) Display method, display device, electronic equipment and readable storage medium
CN111399618A (en) Output current adjusting method and device, mobile terminal and storage medium
CN112965551A (en) Heating control method and device for loudspeaker
CN112216888A (en) Charging method and device and electronic equipment
CN114415857B (en) Terminal operation method and device, terminal and storage medium
KR20190028963A (en) Apparatus of correcting touch input based on compensation hand vibration

Legal Events

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