Force calculation method and device of pressure touchpad and storage medium
By distinguishing between the substrate area and the button area on the pressure touchpad, using their respective sensors to collect signals and perform calibration and anti-steep processing, the problem of inaccurate force calculation caused by accidental palm touch is solved, and more accurate button function recognition is achieved.
Patent Information
- Application Number
- CN202410480336.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-19
- Publication Date
- 2025-10-24
AI Technical Summary
On a pressure touchpad, accidental palm touch affects button recognition, resulting in inaccurate calculation of the force of the left or right mouse button, affecting function implementation.
The pressure touch panel is divided into the substrate area and the key area. Pressure sensors in the substrate area and the key area are used to collect force signals respectively. The interference of the substrate area signal on the key area is ignored. The accuracy of force calculation is improved through calibration and anti-steep processing.
It effectively avoids the interference of accidental palm touch on button recognition, improves the accuracy of mouse button force calculation, and ensures the accuracy of function implementation.
Smart Images

Figure CN120832027A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The embodiment of the present disclosure relates to, but is not limited to, the technical field of pressure touchpad, and particularly relates to a force calculation method and device of a pressure touchpad and a storage medium. BACKGROUND
[0002] The pressure touchpad (ForcePad) realizes more diversified operations by detecting the pressure applied by the user to the touchpad, and the technology is used in many notebook computers and other electronic devices to provide a richer interactive experience. A force sensor is arranged in the touch area of the pressure touchpad, and when the force is greater than a threshold, a motor is triggered to vibrate to realize the function of a traditional physical button. Different functions or control parameters can be realized according to different pressures. The entire touchpad is an integrated structure, and when a certain area is set as a virtual button, such as the left and right buttons of a mouse, the same force needs to be applied to realize the corresponding button function of the mouse. However, when the user operates the left and right buttons of the mouse, the palm is often placed in a certain area of the pressure touchpad, which may cause inaccurate calculation of the force of the left or right button of the mouse and affect the realization of the function. SUMMARY
[0003] The embodiment of the present disclosure provides a force calculation method and device of a pressure touchpad and a storage medium, which avoids the influence of palm misoperation on button recognition.
[0004] In one aspect, the embodiment of the present disclosure provides a force calculation method of a pressure touchpad, the pressure touchpad comprising a substrate area and a button area, the substrate area being provided with two or more pressure sensors, and the button area being provided with at least one pressure sensor, and the method comprising:
[0005] When a touch signal is detected in the substrate area, a current force value is calculated by using the pressing force signal collected by the pressure sensor of the substrate area or the pressure sensor of the substrate area and the button area.
[0006] When a touch signal is detected in the button area, a current force value is calculated by using the pressure sensor of the button area, and the pressing force signal collected by the pressure sensor located in the substrate area is ignored.
[0007] In another aspect, the embodiment of the present disclosure further provides a computer readable storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the steps of the foregoing method.
[0008] In another aspect, the embodiment of the present disclosure further provides a computer device comprising a processor and a memory storing a computer program executable on the processor, wherein the processor executes the program to realize the steps of the foregoing method.
[0009] The method of the embodiment of the present disclosure distinguishes the substrate area from the key area through the pressure touch panel, and when detecting that the key area has a touch signal, the signal collected by the pressure sensor of the substrate area is ignored, so that the interference of the substrate area signal on the key area signal can be eliminated, and the user operation failure can be avoided.
[0010] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent to those skilled in the art from the description, or can be learned by practice of the present application. Other advantages of the present application can be realized and obtained by means of the instrumentalities and combinations pointed out in the description.
[0011] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent to those skilled in the art from the description, or can be learned by practice of the present application. Other advantages of the present application can be realized and obtained by means of the instrumentalities and combinations pointed out in the description. BRIEF DESCRIPTION OF DRAWINGS
[0012] The accompanying drawings are included to provide a further understanding of the technical scheme of the present application, and constitute a part of the specification, and are used together with the embodiments of the present application to explain the technical scheme of the present application, and do not constitute a limitation on the technical scheme of the present application.
[0013] Figure 1 The flow chart of a force calculation method of a pressure touch panel according to an embodiment of the present disclosure is shown in Figure 1.
[0014] Figure 2 The layout schematic diagram of a pressure touch panel with 6 sensors is shown in Figure 2.
[0015] Figure 3 The layout schematic diagram of a pressure touch panel with 4 sensors is shown in Figure 3.
[0016] Figure 4 The schematic diagram of a computer device according to an embodiment of the present disclosure is shown in Figure 4. DETAILED DESCRIPTION
[0017] The present application describes a plurality of embodiments, but the description is exemplary rather than limiting, and it is obvious to those skilled in the art that there can be more embodiments and implementation schemes within the scope of the embodiments described in the present application. Although many possible combinations of features are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment can be used with any other feature or element of any other embodiment, or can replace any other feature or element of any other embodiment.
[0018] This application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features, and elements disclosed herein can also be combined with any conventional feature or element to form a unique application that is defined by the claims. Any feature or element of any embodiment can also be combined with features or elements from other application to form another unique application that is defined by the claims. Therefore, it is understood that any feature shown and / or discussed in this application can be implemented alone or in any appropriate combination. Embodiments are therefore not to be limited by any of the foregoing unless otherwise specifically recited in the appended claims and equivalents thereof. Further, various modifications and changes can be made within the scope of the appended claims.
[0019] Furthermore, in describing representative embodiments, the specification can have presented the method and / or process as a particular sequence of steps. However, to the extent that the method or process depends on more than one step, the method or process should not be limited to the particular sequence of steps described. Other sequences of steps can be possible, and are within the scope of the application. Therefore, the particular order of the steps set forth in the specification is not an limitation on the claims. Further, the claims should not be limited to the steps of the method and / or process in the order in which they are written, as other sequences of steps can be possible and are within the scope of the application.
[0020] As used herein, the singular forms "a", "an", and "the" include plural referents unless the context clearly dictates otherwise.
[0021] As mentioned above, when the pressure touchpad is used in a notebook computer, the user often places the palm on some area of the pressure touchpad when operating the left and right mouse buttons. At this time, if the entire structure is still used to calculate the force, the force of the left or right mouse button / area corresponding to the area cannot be accurately calculated, which affects the implementation of the function
[0022] To solve this problem, the embodiments of the present disclosure provide a force calculation method of a pressure touchpad, the pressure touchpad comprising a substrate area and a key area, the substrate area being provided with two or more pressure sensors, and the key area being provided with at least one pressure sensor, as shown in Figure 1 The method comprises the following steps:
[0023] When a touch signal is detected in the substrate area, a current force value is calculated by using the pressing force signal collected by the pressure sensor of the substrate area or the pressure sensor of the substrate area and the key area;
[0024] When the touch signal of the key area is detected, the current force value is calculated by using the pressure sensor of the key area, and the pressing force signal collected by the pressure sensor located in the substrate area is ignored.
[0025] The method of the embodiments of the present disclosure divides the substrate area and the key area in the pressure touch panel area, and when the touch signal of the key area is detected, the signal collected by the pressure sensor of the substrate area is ignored, so that the interference of the signal of the substrate area on the signal of the key area can be eliminated, and the user operation failure can be avoided.
[0026] In the example embodiments, the calculation of the current force value by using the pressing force signal collected by the pressure sensor of the substrate area or the pressure sensors of the substrate area and the key area includes: calculating the current force value by using the sum of the pressing force signals collected by all the pressure sensors of the substrate area; or calculating the current force value by using the sum of the pressing force signals collected by all the pressure sensors of the substrate area and the key area. That is, the force value of the substrate area can be calculated by the signal collected by the sensor located in the substrate area, or by the signal collected by all the sensors located in the substrate area and the key area, and in addition, the force value of the substrate area can also be calculated by the signal collected by all the sensors located in the substrate area and part of the sensors of the key area. More sensors can obtain more accurate signals.
[0027] In the example embodiments, the key area can include a plurality of key sub-areas; and the calculation of the current force value by using the pressing force signal collected by the pressure sensor of the key area, and the ignoring of the pressing force signal collected by the pressure sensor located in the substrate area include: determining the key sub-area where the current touch position is located according to the touch signal, and calculating the current force value by using the pressing force signal collected by the sensor in the key sub-area; or calculating the current force value by using the pressing force signal collected by one or more sensors closest to the key sub-area. By dividing the key sub-area, it is determined how to obtain the force value according to the specific situation of each key sub-area, for example, the key sub-area is provided with a sensor, and the force value can be calculated according to the signal collected by the sensor in the key sub-area, and if the key sub-area is not provided with a sensor, the force value can be calculated according to the signal collected by the sensor closest to the current key sub-area.
[0028] In order to avoid the signal error caused by the sensor position, before the current force value is calculated, the method further includes: calibrating the collected pressing force signal. An optional calibration method includes: multiplying the collected pressing force signal by a calibration coefficient corresponding to the current touch position to obtain a calibrated pressing force signal, and the calibration coefficient is used to make the calibrated pressing force signal close to the actual pressing force signal.
[0029] Optionally, in order to prevent the signal change from being too large, when it is detected that the touch signal crosses the substrate area and the key area, the calibrated pressing force signal is subjected to an anti-abrupt processing, which is used to prevent the difference between the current force value calculated by using the pressing force signal and the force value at the previous time from being greater than a preset threshold. If the touch position at the previous time is located in the substrate area (or the key area), and the touch position at the next time is located in the key area (or the substrate area), it is considered that the touch signal crosses the substrate area and the key area.
[0030] Optionally, the anti-abrupt processing of the calibrated pressing force signal comprises: when it is detected that the touch signal is located at a first position of a first area at a first time, and the touch signal is located at a second position of a second area at a second time, the second time is later than the adjacent time of the first time, and the pressing force signal of the second position = the calibrated pressing force signal of the first position / the calibration coefficient corresponding to the second position.
[0031] The first area is the substrate area, and the second area is the key area; or the first area is the key area, and the second area is the substrate area; or the first area is a first key sub-area, and the second area is a second key sub-area.
[0032] The force signal described herein refers to an electrical signal, for example, a voltage signal. The force value is a physical quantity for measuring force.
[0033] The above method will be described in detail through several application examples.
[0034] Embodiment one
[0035] A notebook computer is taken as an example for illustration. The pressure touchpad can detect the pressure applied by the user to the touchpad, and different functions or control parameters can be realized according to different pressures applied by the user. The pressure touchpad at least comprises a bottom substrate, a touch module, a sensor module and a top cover plate, wherein the touch module is used to obtain a touch signal of the user touching the pressure touchpad, and the sensor module comprises a plurality of pressure sensors (hereinafter referred to as sensors) for detecting a pressure signal (such as an elastic wave signal) applied to the surface of the touchpad. In addition, the pressure touchpad further comprises a control circuit for processing the touch signal and the pressure signal to output a control instruction according to the received signal.
[0036] From the implementation function, the pressure touchpad includes a substrate area and a key area. The substrate area (hereinafter referred to as area A) can be used to implement a mobile mouse and other predefined functions. Area A can be provided with a plurality of sensors. In this embodiment, three sensors are provided in area A as an example. In other embodiments, the number of sensors can be adjusted as needed. The function of area A can be realized in combination with touch signals and pressure signals, for example, when a touch signal is sensed and the pressure signal value meets the preset pressure value, the corresponding operation is triggered. The key area can be used to implement the mouse key function or other predefined functions. In this embodiment, the key area includes three sub-areas, key 1 area (hereinafter referred to as area B), key 2 area (hereinafter referred to as area C), and key 3 area (hereinafter referred to as area D). As shown in Figure 2 , area B can be used to implement the left mouse button function, area C can be used to implement the middle mouse button function, and area D can be used to implement the right mouse button function. To implement the key area function, at least one sensor needs to be provided in the entire key area. In this example, three sensors are provided as an example. One sensor is provided in each key sub-area. The sensor layout scheme of this embodiment is shown in Figure 2 , sensor 1 is provided in area B, sensor 2 is provided in area C, sensor 3 is provided in area D, and sensor 4, sensor 5, and sensor 6 are provided in area A. The positions of sensors 4, 5, and 6 in the figure are only examples. The three sensors can be located at any position in area A.
[0037] Since the sensor positions are fixed, but the user's pressing position can be anywhere on the substrate, the relative positions of different pressing positions and sensors are different. Correspondingly, when the same force is applied to press different positions on the substrate, the force sensed by the sensor will be different, and the pressing force signal generated will also be different. Therefore, the force signal received by the sensor needs to be calibrated to reflect the true force value. In this example, the force signal generated by pressing different positions on the substrate is adjusted by the pre-obtained calibration coefficient. In this example, the force signal in the substrate area is obtained by all sensors, while in the key area, the force signal of each key sub-area is obtained by the sensor provided in the sub-area. That is, the pressure signal of area B is obtained by sensor 1, the pressure signal of area C is obtained by sensor 2, the pressure signal of area C is obtained by sensor 3, and the pressure signal of area A is obtained by sensors 1-6. Therefore, the calibration coefficient acquisition methods of different areas are also different. The following is described by area.
[0038] For area A:
[0039] The A region is divided into a grid according to the preset number of rows and the preset number of columns, so that the A region forms a series of grid sub-regions, a position in each grid sub-region is pressed (dotting) at a preset force value, then a force value corresponding to a pressing force signal generated by the sensor for pressing of each grid sub-region is obtained, and then a calibration coefficient of each grid sub-region is generated according to the preset force value and the force value corresponding to the pressing force signal perceived by the sensor. For example, assuming that the preset force value is 100g, when a position in a certain grid sub-region is pressed at the preset force value, the 6 sensors under the substrate will collect the pressing force signals s1, s2, s3, s4, s5, s6 of the respective channels, then the pressing force signals of the respective sensors are summed, that is, S=s1+s2+s3+s4+s5+s6, and assuming that the force value corresponding to the sum of the pressing force signals is 200g, it indicates that the current force value is greatly different from the preset force value, and the force value needs to be calibrated, since 200g*0.5=100g, the calibration coefficient of the grid sub-region should be 0.5. In this way, the calibration coefficients of all grid sub-regions in the A region can be generated, and the calibration coefficients of all grid sub-regions can form a matrix, each element of the matrix representing the calibration coefficient of the corresponding grid sub-region. In order to reduce complexity, in other examples, if the difference between the current force value and the preset force value is less than a preset range, the calibration coefficient can be taken as 1, that is, the force value of the current grid sub-region is not calibrated.
[0040] For the B region, the C region, or the D region:
[0041] Since the widths (the lengths in the y direction) of the B region, the C region, and the D region are relatively narrow with respect to the A region, no rows can be divided, and the B region, the C region, and the D region are respectively divided according to the preset number of columns, so that the B region, the C region, and the D region each form a plurality of column sub-regions. Each column sub-region in the B region is pressed at a preset force value, a force value corresponding to a pressing force signal generated by sensor 1 for pressing of each column sub-region is obtained, and then a calibration coefficient of each column sub-region is generated according to the preset force value and the force value corresponding to the pressing force signal perceived by sensor 1; each column sub-region in the C region is pressed at a preset force value, a force value corresponding to a pressing force signal generated by sensor 2 for pressing of each column sub-region is obtained, and then a calibration coefficient of each column sub-region is generated according to the preset force value and the force value corresponding to the pressing force signal perceived by sensor 2; and each column sub-region in the D region is pressed at a preset force value, a force value corresponding to a pressing force signal generated by sensor 3 for pressing of each column sub-region is obtained, and then a calibration coefficient of each column sub-region is generated according to the preset force value and the force value corresponding to the pressing force signal perceived by sensor 3.
[0042] For example, assuming that the preset intensity value is 100g, and a position in a column sub-region in the B region is pressed with the preset intensity value, the sensor 1 collects the pressing intensity signal s1 of the channel, and assuming that the pressing intensity signal corresponds to a pressing intensity value of 80g, then according to 80g*1.25=100g, the calibration coefficient of the column sub-region is 1.25.
[0043] In the above manner, the calibration coefficients of all column sub-regions in the B region, the C region and the D region can be generated respectively, and the calibration coefficients of all column sub-regions in the B region, the C region and the D region can form a calibration coefficient matrix, each element of the calibration coefficient matrix representing the calibration coefficient of the corresponding region and the corresponding column sub-region. In other examples, the calibration coefficients of the column sub-regions in the B region, the C region and the D region can also form a matrix respectively, each element in the calibration coefficient matrix corresponding to the B region representing the calibration coefficient of the corresponding column sub-region in the B region, each element in the calibration coefficient matrix corresponding to the C region representing the calibration coefficient of the corresponding column sub-region in the C region, and each element in the calibration coefficient matrix corresponding to the D region representing the calibration coefficient of the corresponding column sub-region in the D region.
[0044] The above example illustrates how to obtain the calibration coefficients of the B region, the C region and the D region by dividing only the column sub-regions, and in other examples, the number of rows and the number of columns can also be divided as in the A region, and the way of calculating the calibration coefficients is the same, which will not be described here.
[0045] The following describes the calculation method of the intensity signal. After obtaining the current sensor pressing intensity signal and calibrating it, the calibrated intensity signal still needs to be compensated to obtain the final intensity signal. The compensation can be performed in the following manner:
[0046] V i ’=ΔV+V i-1 ’ Formula 1
[0047] Wherein, V i ’ is the compensated pressing intensity signal at the current time, V i-1 ’ is the compensated pressing intensity signal at the previous time, ΔV is the compensation value, ΔV=V i -V i-1 *C, V i is the pressing intensity signal at the current time (i.e. the calibrated intensity signal), V i-1 is the pressing intensity signal at the previous time, and C is a compensation factor calculated in advance. The value of C is a value that can make the actual intensity curve coincide with the touch intensity curve, wherein the actual intensity curve is an intensity value curve according to the actual dotting intensity, the touch intensity curve is an intensity value curve calculated according to the touch signal, and the touch intensity curve waveform can be corrected to the shape of the actual intensity curve through the compensation factor, so as to improve the accuracy of the touch intensity signal.
[0048] The scheme of 6-sensor layout can involve various situations in specific applications, such as the situation of palm pressing the A area, the situation of finger single-point pressing a single area, the situation of finger sliding pressing a single area, the situation of finger sliding pressing from one area to another area, the situation of palm pressing the A area and finger single-point or sliding pressing the key area, which are described as follows.
[0049] The situation of palm pressing the A area:
[0050] The touch module in the pressure touchpad acquires touch position information (such as coordinate information), determines whether it is finger pressing or palm pressing according to the touch position information, and does not trigger actual operation if it is determined to be palm pressing. The 6 sensors under the substrate collect pressing force signals s1, s2, s3, s4, s5, s6 of respective channels, and then the pressing force signals of each sensor are summed to obtain S = s1 + s2 + s3 + s4 + s5 + s6. The pressing force signal at the current time can be used to calculate the pressing force signal at the next time.
[0051] The situation of finger single-point pressing a single area:
[0052] The touch module in the pressure touchpad acquires touch position information, and determines whether the touch position is in the A area, the B area, the C area or the D area according to the touch position information and the pre-stored position information of each area in the substrate.
[0053] 1.1 When it is determined that the touch position is in the A area, the pressing force signals s1, s2, s3, s4, s5, s6 of respective channels (each sensor corresponds to one channel) collected by the 6 sensors are acquired, and are summed to obtain S = s1 + s2 + s3 + s4 + s5 + s6. According to the touch position information, it is determined in which grid sub-area in the A area it is located, and the calibration coefficient of the grid sub-area is used to calibrate the summed pressing force signal (S' = S*coe, coe is the calibration coefficient), to obtain the pressing force signal at the current time.
[0054] In other embodiments, it is not excluded that the sensor of the A area can be used to calculate and obtain the force signal, in which case the calibration coefficient will be slightly different from that of the 6 sensors, and needs to be obtained using the sensor of the A area during calibration, and the obtaining method is the same as before.
[0055] 1.2 When the touch position is determined to be in the B region, the C region or the D region, taking the case where the pressing position is in the C region as an example, the pressing force signal s2 collected by the sensor 2 in the C region is acquired, and then according to the touch position information, it is determined in which column sub-region in the C region the touch position is located, and the obtained pressing force signal is calibrated by using the calibration coefficient of the column sub-region, to obtain the pressing force signal at the current time. That is, when the touch position is determined to be in the key region, the force signal of the sensor in the key sub-region where the touch position is located is used for force calibration.
[0056] The case of finger sliding pressing a single region:
[0057] 2.1 Taking the case where the user's finger sliding pressing is in the A region as an example, when the touch position is determined to be in the A region, the pressing force signals s1, s2, s3, s4, s5 and s6 collected by the respective channels of the six sensors at the current time are acquired, the pressing force signals collected by the respective sensors are summed, i.e. S = s1 + s2 + s3 + s4 + s5 + s6, according to the current touch position information, it is determined in which grid sub-region in the A region the touch position is located, and the obtained pressing force signal after summation is calibrated by using the calibration coefficient of the corresponding grid sub-region. After a preset time interval, the pressing force signals collected by the respective channels of the six sensors at the next time are acquired, and the pressing force signals are calibrated in the same way as at the previous time. Since the calibration coefficient corresponding to the position of the user's finger sliding at the next time is different from the calibration coefficient corresponding to the position at the previous time, the calibration coefficient of the current position needs to be obtained and used for calibration each time.
[0058] For example, it is assumed that the finger sliding pressing in the A region passes through the grid sub-region 1, the grid sub-region 2 and the grid sub-region 3 in the A region, the pressing force signals collected by the respective sensors in the grid sub-region 1 are summed to obtain S1, and S1 is calibrated by using the calibration coefficient corresponding to the grid sub-region 1; the pressing force signals collected by the respective sensors in the grid sub-region 2 are summed to obtain S2, and S2 is calibrated by using the calibration coefficient corresponding to the grid sub-region 2; the pressing force signals collected by the respective sensors in the grid sub-region 3 are summed to obtain S3, and S3 is calibrated by using the calibration coefficient corresponding to the grid sub-region 3.
[0059] 2.2 Taking the case where the user's finger sliding pressing is in the C region as an example. When the touch position is determined to be in the C region, the pressing force signal s2 of the channel of the sensor 2 in the C region is collected every preset time interval, and according to the pressing position information each time, it is determined in which column sub-region in the C region the pressing position is located, and the obtained pressing force signal is adjusted by using the calibration coefficient corresponding to the column sub-region.
[0060] For example, assume that the finger sliding press in the C region passes through column sub-region 1, column sub-region 2 and column sub-region 3 of the C region, the press intensity signal collected by sensor 2 in column sub-region 1 is calibrated by using the calibration coefficient corresponding to column sub-region 1; the press intensity signal collected by sensor 2 in column sub-region 2 is calibrated by using the calibration coefficient corresponding to column sub-region 2; and the press intensity signal collected by sensor 2 in column sub-region 3 is calibrated by using the calibration coefficient corresponding to column sub-region 3.
[0061] The case that the finger sliding press from one region into another region can include the case that the finger sliding press from the A region into the B region or the C region or the D region, and the case that the finger sliding press from one key sub-region into another key sub-region, which will be described respectively.
[0062] For the above first case, the case that the finger sliding press from the A region into the B region will be described as an example.
[0063] 3.1 When the finger sliding press in the A region, i.e. the touch position is determined in the A region, the press intensity signals s1, s2, s3, s4, s5 and s6 of respective channels are collected by the six sensors, then the press intensity signals collected by the respective sensors are summed to obtain S=s1+s2+s3+s4+s5+s6, then according to the current press position information, it is determined which grid sub-region in the A region it is located, and the summed press intensity signal is calibrated by using the calibration coefficient corresponding to the determined grid sub-region.
[0064] 3.2 When the finger enters the B region from the A region, the pressing force signal of the A region is obtained based on the force signals of the six sensors, so the pressing force signal is large. If the pressing force signal is used as the initial pressing force signal when entering the B region, the pressing force signal will change abruptly. To prevent the abrupt change of the force signal, the pressing force signal needs to be prevented from being abrupt. Specifically, the pressing force signal corresponding to the last pressing position in the A region (i.e., the calibrated pressing force signal obtained in 3.1) is used as the pressing force signal at the initial time of entering the B region (the force signal before the abrupt prevention), the calibration coefficient coe corresponding to the column sub-region located according to the position information at the initial time of entering the B region is determined, the calibration coefficient is obtained according to the initial pressing force value of the B region and the obtained calibration coefficient, and the pressing force signal at the initial time of entering the B region (the force signal after the abrupt prevention) is obtained by preventing the abruptness (the force signal after the abrupt prevention = the force signal before the abrupt prevention / coe). When the same force value is pressed in the A region and the B region, the force signals collected by the sensors in the A region and the B region are different because the sensors obtaining the force signals are different (six in the A region and one in the B region), and the calibration coefficients are also different. However, because the real force value is the same, the force signal collected by the sensors in the A region is large, and correspondingly, the calibration coefficient is small. The force signal collected by the sensors in the B region is small, and the calibration coefficient is large, so as to reflect the same real force value. Assuming that the force signal of the A region is S1, the calibration coefficient is coe1, the force signal of the B region is S2, and the calibration coefficient is coe2, then S1*coe1=S2*coe2, the force signal before the abrupt prevention in the above-mentioned abrupt prevention formula is S1*coe1, and coe in the formula is coe2 of the B region, so the force signal obtained by the abrupt prevention is S2, i.e., the force signal of the B region, which is necessarily smaller than the force signal S1 of the A region, so the abrupt change of the signal can be effectively prevented. The above-mentioned abrupt prevention can also be called anti-calibration processing.
[0065] For example, assuming that the pressing force value of the last pressing position in the A region is 100g, and the calibration coefficient corresponding to the column sub-region located according to the pressing position information at the initial time of entering the B region is 0.8, the pressing force signal at the initial time of entering the B region is 125g (100g / 0.8=125g), and the pressing force signal of 125g is used as the pressing force signal when entering the B region, so that the pressing force at the last pressing position in the A region is the same as the pressing force at the initial pressing position when entering the B region, thereby avoiding the problem of abrupt change of the pressing force.
[0066] 3.3 When in the B region, except for the initial time of entering the B region, the pressing force signal s1 of its channel is collected by the B region sensor 1, and then the calibration coefficient corresponding to the column sub-region where it is located is determined according to the pressing position information each time, and the obtained pressing force signal is calibrated by using the calibration coefficient.
[0067] For the above-mentioned second case. In this example, only one sensor is provided for each key sub-region, but due to the different parameters of each sensor, the pressing force value may also change sharply when the finger crosses the key sub-region, so the steepness prevention process is also needed. The following takes the example of the finger sliding and pressing from the B region into the C region to explain in detail.
[0068] 4.1 When the finger slides and presses in the B region, i.e. when the touch position is in the B region, the pressing force signal s1 of its channel is collected by the B region sensor 1, and the calibration coefficient of the column sub-region where it is located is determined according to the pressing position information, and the obtained pressing force signal is calibrated by using the calibration coefficient.
[0069] 4.2 When the finger enters the C region from the B region at the initial time, since the pressing force signal of the B region is obtained by the sensor 1, and the pressing force signal of the C region is obtained by the sensor 2, the parameters of the sensor 1 and the sensor 2 are different, which may cause the pressing force signal to change sharply, therefore the pressing force signal corresponding to the last pressing position in the B region (i.e. the calibrated pressing force signal obtained in 4.1) is taken as the pressing force signal at the initial time of entering the C region (the force signal before steepness prevention), the calibration coefficient corresponding to the column sub-region in the C region where it is located is determined according to the position information at the initial time of entering the C region, the steepness prevention process is performed according to the initial pressing force value of the C region and the obtained calibration coefficient (the force signal after steepness prevention = the force signal before steepness prevention / coe), and the pressing force signal at the initial time of entering the C region (the force signal after steepness prevention) is obtained.
[0070] 4.3 When in the C region, except for the initial time of entering the C region, the pressing force signal s2 of its channel is collected by the C region sensor 2, and then the calibration coefficient corresponding to the column sub-region where the pressing position is located is determined according to the pressing position information each time, and the obtained pressing force signal is calibrated by using the calibration coefficient.
[0071] The situation of pressing the A region with the palm and single-point or sliding pressing the key region with the finger.
[0072] In this case, the touch module can detect touch position information located in area A and touch position information located in the key area. At this time, the pressing force signal collected by the sensor located in area A is ignored, and the key sub-area is determined according to the touch position information. The pressing force signal of the sensor of the key sub-area is calibrated, and the calibrated pressing force signal is used to determine what operation to perform. If the finger has a sliding and pressing operation, it is processed with reference to the aforementioned situation where the finger slides and presses from one area to another area, and no further details are given here.
[0073] Example 2
[0074] The difference from the first embodiment is that this example adopts a layout of 4 sensors, such as Figure 3 As shown, among the four sensors, sensor 1 is set in area B, sensor 2 is set in area D, and the other two sensors, sensor 3 and sensor 4, are set in area A.
[0075] In this example, the calibration coefficients for each grid sub-area in Area A are derived from the pressure force signals from the four sensors and a preset force value. The calibration coefficients for each grid sub-area in Area B are derived from the pressure force signal from Sensor 1 and a preset force value. The calibration coefficients for each grid sub-area in Area D are derived from the pressure force signal from Sensor 2 and a preset force value. Since there are no sensors deployed in Area C, the calibration coefficients for the columns in Area C can be determined using either of the following methods:
[0076] Method 1: Use the pressure signal generated by the sensor (sensor 1 or sensor 2) closest to the column sub-area in the X-axis direction and the preset force value to generate the calibration coefficient of each column sub-area in area C. Figure 3 The calibration coefficients can be calculated using sensor 1 for the C-1 and C-2 grid sub-areas, and sensor 2 for the C-3 and C-4 grid sub-areas.
[0077] Method 2: Calculate the distance x1 and x2 between the current pressing position and sensor 1 and sensor 2 respectively, and obtain the pressing force signals s1 and s2 of the two sensors at the same time. By calculating the distance weights between the current position and the two sensors, the combined pressure force signal of area C is obtained, that is, S C =(x1 / x)*s1+(x2 / x)*s2, where S C is the pressing force signal of area C, and x is the length of the key area in the X direction (i.e. the width of the key area). Then, the obtained pressing force signal S C And the preset force value generates the calibration coefficient of the column sub-area in the C area.
[0078] In the specific application process, the situation involved in the scheme of using 4 sensor layout is basically the same as the situation involved in the scheme of using 6 sensor layout, and the processing process in each situation is basically the same, the only difference is that the sensor used to obtain the pressing force signal is different, for example, the pressing force signal of the pressing position in the A area is obtained by using 4 sensors. The pressing force signal of the pressing position in the C area is obtained in the following two ways.
[0079] Method one, using the force value corresponding to the pressing force signal generated by the sensor closest to the X direction of the column sub-area (sensor 1 or sensor 2). Using the sensor closest to the X direction is because the key area is long and extends along the X direction. In other embodiments, if the key area extends along the Y direction, the sub-area is divided along the Y direction, that is, the C area includes multiple row sub-areas, and then the pressing force signal of the pressing position in the C area is obtained by using the pressing force signal generated by the sensor closest to the Y direction of the current row sub-area.
[0080] Method two, respectively calculating the distances x1 and x2 of the current pressing position from sensor 1 and sensor 2, and simultaneously obtaining the pressing force signals s1 and s2 of the two sensors at this moment, and combining the distance weights of the current position and the two sensors to obtain the pressing force signal of the C area, that is, S C =(x1 / x)*s1+(x2 / x)*s2, wherein S C is the pressing force signal of the C area, and x is the width of the key area.
[0081] It should be noted that the way of calculating the pressing force signal in the calibration process is also used to calculate the pressing force signal in actual application.
[0082] The number of sensors in the key area is irrelevant to the number of sensors in the substrate area. The above embodiments are described by taking two or three sensors in the key area and two or three sensors in the substrate area as examples, but all possible cases cannot be exhausted, for example, three key sub-areas share one sensor, and the calibration coefficient can still be calculated by using the above similar method, and the pressing force signal is calibrated according to the calibration coefficient. In addition, the number of key sub-areas can also be changed, for example, there are only two key sub-areas (B area and D area, and no area corresponding to the mouse middle key), each key sub-area has one sensor, or two key sub-areas share one sensor, etc. In addition, the positions of the key area and the substrate area can be adjusted, for example, the key area is located on the lower side or the left side or the right side of the substrate area.
[0083] The pressure sensor in the above embodiment can also be replaced by an elastic wave sensor, a strain sensor, an eddy current sensor, etc., which are collectively referred to as pressure sensors in this paper.
[0084] In an example embodiment of the present disclosure, a computer device (or terminal) is also provided. The terminal can include a processor, a memory, and a computer program stored on the memory and executable on the processor, and the processor implements the operations performed by the terminal device in the present disclosure when executing the computer program.
[0085] As shown in FIG. 4, in one example, the terminal 400 can include a processor 410, a memory 420, a bus system 430, and a transceiver 440, wherein the processor 410, the memory 420, and the transceiver 440 are connected through the bus system 430, the memory 420 is configured to store instructions, and the processor 410 is configured to execute the instructions stored in the memory 420 to control the transceiver 440 to transmit signals. Figure 4
[0086] It should be understood that the processor 410 can be a central processing unit (CPU), and the processor 410 can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0087] The memory 420 can include read-only memory and random access memory, and provide instructions and data to the processor 410. A portion of the memory 420 can also include non-volatile random access memory. For example, the memory 420 can also store device type information.
[0088] The bus system 430 can include not only a data bus, but also a power bus, a control bus, and a status signal bus, etc. However, for the purpose of clarity and illustration, all the buses are marked as the bus system 430 in the figure.
[0089] In the implementation process, the processing performed by the terminal device can be completed by the integrated logic circuit of the hardware in the processor 410 or the instructions in the form of software. That is, the steps of the method disclosed in the embodiments of the present disclosure can be embodied as being completed by the hardware processor or being completed by the combination of hardware and software modules in the processor. The software module can be located in a storage medium such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, register, etc. The storage medium is located in the memory 420, and the processor 410 reads the information in the memory 420 and completes the steps of the above method in combination with the hardware. To avoid repetition, it will not be described in detail here.
[0090] Those of ordinary skill in the art will realize and understand that all or some of the steps in the methods disclosed above and the functional modules / units in the systems and devices can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component can have multiple functions, or one function or step can be performed by several physical components in cooperation. Some or all of the components can be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on computer-readable media, which can include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, it is common and well understood by those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and can include any information delivery media.
Claims
1. A method for calculating the force of a pressure touchpad, characterized by, The pressure touchpad comprises a substrate area and a key area, the substrate area is provided with two or more pressure sensors, the key area is provided with at least one pressure sensor, and the method comprises: When a touch signal is detected in the substrate area, a current intensity value is calculated by using a pressing intensity signal collected by the pressure sensor of the substrate area or the pressure sensors of the substrate area and the key area; When a touch signal is detected in the key area, a current intensity value is calculated by using the pressure sensor of the key area, and a pressing intensity signal collected by the pressure sensor located in the substrate area is ignored.
2. The method of claim 1, wherein, The current intensity value is calculated by using a sum of the pressing intensity signals collected by all the pressure sensors of the substrate area, or by using a sum of the pressing intensity signals collected by all the pressure sensors of the substrate area and the key area. The key area comprises a plurality of key sub-areas, and the current intensity value is calculated by using a pressing intensity signal collected by a sensor in the key sub-area in which the current touch position is located, or by using a pressing intensity signal collected by one or more sensors closest to the key sub-area.
3. The method of claim 1, wherein, Before the current intensity value is calculated, the method further comprises calibrating the collected pressing intensity signal to avoid signal errors caused by sensor positions. The calibration method comprises multiplying the collected pressing intensity signal by a calibration coefficient corresponding to the current touch position to obtain a calibrated pressing intensity signal, and the calibration coefficient is used to make the calibrated pressing intensity signal close to the actual pressing intensity signal.
4. The method of claim 1 or 2 or 3, characterized in that, The method further comprises:
5. The method of claim 4, wherein, When it is detected that the touch signal crosses the substrate area and the key area, the calibrated pressing intensity signal is subjected to an anti-abrupt treatment, and the anti-abrupt treatment is used to prevent a difference between the current intensity value calculated by using the pressing intensity signal and a previous intensity value from being greater than a preset threshold.
6. The method of claim 5, wherein, The anti-abrupt treatment of the calibrated pressing intensity signal comprises: When a touch signal is detected at a first position of a first area at a first time and the touch signal is detected at a second position of a second area at a second time, the second time is later than an adjacent time of the first time, and the pressing intensity signal of the second position = the calibrated pressing intensity signal of the first position / the calibration coefficient corresponding to the second position.
7. The method of claim 6, wherein, 8. The method of claim 7, wherein: The first area is the substrate area, and the second area is the key area; or The first area is the key area, and the second area is the substrate area; or The first area is a first key sub-area, and the second area is a second key sub-area. 9. A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-8.
10. A computer device comprising a processor and a memory having stored thereon a computer program operable to be run on the processor, wherein, The processor implements the steps of the method of any of claims 1-8 when executing the program.