CN114006977A - Pressure detection module and electronic equipment - Google Patents
Pressure detection module and electronic equipment Download PDFInfo
- Publication number
- CN114006977A CN114006977A CN202010739502.1A CN202010739502A CN114006977A CN 114006977 A CN114006977 A CN 114006977A CN 202010739502 A CN202010739502 A CN 202010739502A CN 114006977 A CN114006977 A CN 114006977A
- Authority
- CN
- China
- Prior art keywords
- pressure
- pressure sensor
- sensor group
- virtual key
- response
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01L—MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
- G01L5/00—Apparatus for, or methods of, measuring force, work, mechanical power, or torque, specially adapted for specific purposes
- G01L5/0028—Force sensors associated with force applying means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04886—Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/23—Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Position Input By Displaying (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The embodiment of the application provides a pressure detection module and electronic equipment, relates to the technical field of terminals, and can improve the accuracy of pressure detection. The electronic equipment comprises a frame, a first virtual key, a second virtual key, a first pressure sensor group and a second pressure sensor group; the first virtual keys and the second virtual keys are arranged on the frame at intervals; the first pressure sensor group is arranged on the inner side of the frame, and a first distance between the first pressure sensor group and the first virtual key is smaller than a second distance between the first pressure sensor group and the second virtual key; the second pressure sensor group is arranged on the inner side of the frame, and a third distance between the second pressure sensor group and the first virtual key is larger than a fourth distance between the second pressure sensor group and the second virtual key; the first pressure sensor group is used for measuring the pressure applied to the second virtual key; the second set of pressure sensors is used to measure the pressure exerted on the first virtual key.
Description
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a pressure detection module and electronic equipment.
Background
With the popularization and expansion of intelligent terminals, the existing terminals are not satisfied with a flat touch screen. Some terminals in the market adopt curved screens, such as curved screen mobile phones. The side edge of the curved-surface screen mobile phone is a touch screen with radian.
The curved-surface screen mobile phone is provided with the pressure sensor, when a user presses the side edge of the mobile phone, the screen is squeezed, the screen deforms, and the pressure sensor can calculate the pressure applied by the user on the screen according to the deformation.
Wherein, under microthermal use scene, touch the curved surface screen when user's hand, the contact position of hand and screen is heated, and the screen that is heated easily produces deformation. The deformation generated by heating is superposed with the deformation generated by the touch operation of the user, and the mobile phone calculates the pressure corresponding to the touch operation of the user based on the superposed deformation. Because the superposition deformation is not the real deformation corresponding to the touch operation of the user, the probability of error occurrence of the calculated pressure is higher in the current pressure calculation mode. This detection error due to temperature effects may be referred to as temperature drift. Therefore, how to accurately calculate the pressure corresponding to the touch operation of the user is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a pressure detection method and electronic equipment, which can accurately measure the pressure applied to a screen by a user.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, the present application provides an electronic device, which includes a frame, a first virtual key, a second virtual key, a first pressure sensor group, and a second pressure sensor group; wherein each pressure sensor group comprises one or more pressure sensors;
the first virtual keys and the second virtual keys are arranged on the frame at intervals;
the first pressure sensor group is arranged on the inner side of the frame, and a first distance between the first pressure sensor group and the first virtual key is smaller than a second distance between the first pressure sensor group and the second virtual key;
the second pressure sensor group is arranged on the inner side of the frame, and a third distance between the second pressure sensor group and the first virtual key is larger than a fourth distance between the second pressure sensor group and the second virtual key;
the first pressure sensor group is used for measuring the pressure applied to the second virtual key;
the second pressure sensor group is used for measuring the pressure exerted on the first virtual key.
Generally, when a user touches a certain virtual key, the deformation caused by the heat of the hand on the screen usually only acts on a certain area of the screen, in other words, the heat deformation is only generated in a certain area of the touch position of the hand. In the electronic device provided in the embodiment of the present application, the pressure sensor group for measuring the pressure applied to the first virtual key is the second pressure sensor group that is farther from the first virtual key, and the deformation caused by hand heat (in the embodiment of the present application, heat deformation may be referred to simply) cannot affect the detection result of the farther second pressure sensor group, so that the pressure measured by using the second pressure sensor group is more accurate. Similarly, the pressure sensor group for measuring the pressure applied to the second virtual key is the first pressure sensor group which is far away from the second virtual key, so that the measurement result can be ensured to be more accurate.
In one possible design, the electronic device further includes a controller, where the controller is configured to obtain an output value obtained by measuring pressure by the first pressure sensor group, and determine the magnitude of the pressure applied to the second virtual key according to the output value of the pressure measured by the first pressure sensor group;
and/or the controller is used for acquiring an output value obtained by measuring the pressure by the second pressure sensor group and determining the pressure applied to the first virtual key according to the output value obtained by measuring the pressure by the second pressure sensor group.
In one possible design, the controller is specifically configured to perform the following operations:
acquiring a first output value, wherein the first output value is obtained by measuring the pressure applied to the first virtual key by the second pressure sensor group;
determining a first normalized response based on the first output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the first normalization response is a pressure response corresponding to the first equivalent pressure measured by the first pressure sensor group when the first equivalent pressure acts on the center position of the first pressure sensor group; the first equivalent pressure is the same pressure as the pressure applied to the first virtual key;
determining the magnitude of pressure exerted on the first virtual key according to the first normalized response and calibration data of the first pressure sensor;
and/or the controller is specifically configured to perform the following operations:
acquiring a second output value, wherein the second output value is obtained by measuring the pressure applied to the second virtual key by the first pressure sensor group; determining a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the second normalized response is a second equivalent pressure acting on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same as the pressure applied to the second virtual key; determining the magnitude of pressure exerted on the second virtual key according to the second normalized response and calibration data of the second pressure sensor;
wherein the calibration data for the first pressure sensor group comprises standard pressures acting at different locations, and the first pressure sensor group measures corresponding pressure responses at the standard pressures; the calibration data for the second pressure sensor set includes a pressure response corresponding to a standard pressure acting at a different location when the second pressure sensor set measures the standard pressure.
In one possible design, the controller is configured to determine a first normalized response from the first output value, calibration data for the first pressure sensor group, and calibration data for the second pressure sensor group, including:
for determining the first normalized response using the following equation:
Vcenter1=V_1_x1*Rs1/Rn1;
V_1_x1=S0*(Rn1/Rf 2);
wherein, Vcenter1For said first normalized response, V_1_x1The first equivalent pressure acts on a first touch position of the first virtual key, and the first pressure sensor measures a corresponding pressure response when the first equivalent pressure acts on the first virtual key; rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured; rn1For the standard pressure acting on the first touch position, the first pressure sensor group measures the corresponding pressure response when the standard pressure acts; s0 is the pressure response corresponding to the first output value; rf 2For the standard pressure acting on the first touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts;
the controller, configured to determine a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group, includes:
for determining the second normalized response using the following equation:
Vcenter2=V_2_x2*Rs2/Rn2;
V_2_x2=S1*(Rn2/Rf1);
wherein, Vcenter2For the second normalized response, V_2_x1For a second equivalent pressure acting on a second touch position of the second virtual key, the second pressure sensor measures a corresponding pressure response when the second equivalent pressure acts on the second virtual key; rs2Acting a standard pressure on a central position of the second pressure sensor group, wherein the second pressure sensor group measures a corresponding pressure response when the standard pressure is measured; rn2For the standard pressure acting on the second touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts; s1 is the pressure response corresponding to the second output value; rf1And the first pressure sensor group measures the corresponding pressure response when the standard pressure acts on the second touch position.
In one possible design, the controller is configured to determine an amount of pressure applied to the first virtual key based on the first normalized response and calibration data of the first pressure sensor, and includes:
for determining the amount of pressure exerted on the first virtual key using the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Wherein, FTouch operation 1For the magnitude of the pressure exerted on the first virtual key, vcenter1For said first normalized response, FCalibrationIs a standard pressure, Rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured;
and/or the controller, configured to determine an amount of pressure applied to the second virtual key according to the second normalized response and calibration data of the second pressure sensor, including: for determining the amount of pressure exerted on the second virtual key using the following formula:
Ftouch operation 2=vcenter2*FCalibration/Rs2;
Wherein, FTouch operationFor the magnitude of the pressure exerted on the second virtual key, vcenter2For said second normalized response, FCalibrationIs a standard pressure, Rs2And the standard pressure acts on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the central position.
In a second aspect, the present application provides a pressure detection module, which includes a first pressure sensor group, a second pressure sensor group, and a controller; wherein each pressure sensor group comprises one or more pressure sensors; the module is used for electronic equipment, and the electronic equipment comprises a frame, a first virtual key and a second virtual key; the first virtual keys and the second virtual keys are arranged on the frame at intervals;
the first pressure sensor group is arranged on the inner side of the frame, and a first distance between the first pressure sensor group and the first virtual key is smaller than a second distance between the first pressure sensor group and the second virtual key;
the second pressure sensor group is arranged on the inner side of the frame, and a third distance between the second pressure sensor group and the first virtual key is larger than a fourth distance between the second pressure sensor group and the second virtual key;
the first pressure sensor group is used for measuring the pressure applied to the second virtual key;
the second pressure sensor group is used for measuring the pressure exerted on the first virtual key.
In a possible design, the controller is configured to obtain an output value obtained by measuring pressure by the first pressure sensor group, and determine the magnitude of pressure applied to the second virtual key according to the pressure measured by the first pressure sensor group;
and/or the controller is used for acquiring the pressure measured by the second pressure sensor group and determining the pressure applied to the first virtual key according to an output value obtained by measuring the pressure by the second pressure sensor group.
In one possible design, the controller is specifically configured to perform the following operations:
acquiring a first output value, wherein the first output value is obtained by measuring the pressure applied to the first virtual key by the second pressure sensor group;
determining a first normalized response based on the first output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the first normalization response is a pressure response corresponding to the first equivalent pressure measured by the first pressure sensor group when the first equivalent pressure acts on the center position of the first pressure sensor group; the first equivalent pressure is the same pressure as the pressure applied to the first virtual key;
determining the magnitude of pressure exerted on the first virtual key according to the first normalized response and calibration data of the first pressure sensor;
and/or the controller is specifically configured to perform the following operations:
acquiring a second output value, wherein the second output value is obtained by measuring the pressure applied to the second virtual key by the first pressure sensor group; determining a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the second normalized response is a second equivalent pressure acting on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same as the pressure applied to the second virtual key; determining the magnitude of pressure exerted on the second virtual key according to the second normalized response and calibration data of the second pressure sensor;
wherein the calibration data for the first pressure sensor group comprises standard pressures acting at different locations, and the first pressure sensor group measures corresponding pressure responses at the standard pressures; the calibration data for the second pressure sensor set includes a pressure response corresponding to a standard pressure acting at a different location when the second pressure sensor set measures the standard pressure.
In one possible design, the controller is configured to determine a first normalized response from the first output value, calibration data for the first pressure sensor group, and calibration data for the second pressure sensor group, including:
for determining the first normalized response using the following equation:
Vcenter1=V_1_x1*Rs1/Rn1;
V_1_x1=S0*(Rn1/Rf 2);
wherein, Vcenter1For said first normalized response, V_1_x1The first equivalent pressure acts on a first touch position of the first virtual key, and the first pressure sensor measures a corresponding pressure response when the first equivalent pressure acts on the first virtual key; rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured; rn1For the standard pressure acting on the first touch position, the first pressure sensor group measures the corresponding pressure response when the standard pressure acts; s0 is the pressure response corresponding to the first output value; rf 2For the standard pressure acting on the first touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts;
the controller, configured to determine a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group, includes:
for determining the second normalized response using the following equation:
Vcenter2=V_2_x2*Rs2/Rn2;
V_2_x2=S1*(Rn2/Rf1);
wherein, Vcenter2For the second normalized response, V_2_x1For a second equivalent pressure acting on a second touch position of the second virtual key, the second pressure sensor measures a corresponding pressure response when the second equivalent pressure acts on the second virtual key; rs2Acting a standard pressure on a central position of the second pressure sensor group, wherein the second pressure sensor group measures a corresponding pressure response when the standard pressure is measured; rn2For the standard pressure acting on the second touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts; s1 is the pressure response corresponding to the second output value; rf1And the first pressure sensor group measures the corresponding pressure response when the standard pressure acts on the second touch position.
In one possible design, the controller is configured to determine an amount of pressure applied to the first virtual key based on the first normalized response and calibration data of the first pressure sensor, and includes:
for determining the amount of pressure exerted on the first virtual key using the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Wherein, FTouch operation 1For the magnitude of the pressure exerted on the first virtual key, vcenter1For said first normalized response, FCalibrationIs a standard pressure, Rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured;
and/or the controller, configured to determine an amount of pressure applied to the second virtual key according to the second normalized response and calibration data of the second pressure sensor, including: for determining the amount of pressure exerted on the second virtual key using the following formula:
Ftouch operation 2=vcenter2*FCalibration/Rs2;
Wherein, FTouch operationFor the magnitude of the pressure exerted on the second virtual key, vcenter2For said second normalized response, FCalibrationIs a standard pressure, Rs2And the standard pressure acts on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the central position.
In a third aspect, the present application provides a pressure detection module, which includes a first pressure sensor group and a second pressure sensor group; wherein each pressure sensor group comprises one or more pressure sensors; the module is used for electronic equipment, and the electronic equipment comprises a frame, a first virtual key, a second virtual key and a controller; the first virtual keys and the second virtual keys are arranged on the frame at intervals;
the first pressure sensor group is arranged on the inner side of the frame, and a first distance between the first pressure sensor group and the first virtual key is smaller than a second distance between the first pressure sensor group and the second virtual key;
the second pressure sensor group is arranged on the inner side of the frame, and a third distance between the second pressure sensor group and the first virtual key is larger than a fourth distance between the second pressure sensor group and the second virtual key;
the first pressure sensor group is used for measuring the pressure applied to the second virtual key;
the second pressure sensor group is used for measuring the pressure exerted on the first virtual key.
In a possible design, the controller is configured to obtain an output value obtained by measuring pressure by the first pressure sensor group, and determine the magnitude of pressure applied to the second virtual key according to the pressure measured by the first pressure sensor group;
and/or the controller is used for acquiring the pressure measured by the second pressure sensor group and determining the pressure applied to the first virtual key according to an output value obtained by measuring the pressure by the second pressure sensor group.
In one possible design, the controller is specifically configured to perform the following operations:
acquiring a first output value, wherein the first output value is obtained by measuring the pressure applied to the first virtual key by the second pressure sensor group;
determining a first normalized response based on the first output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the first normalization response is a pressure response corresponding to the first equivalent pressure measured by the first pressure sensor group when the first equivalent pressure acts on the center position of the first pressure sensor group; the first equivalent pressure is the same pressure as the pressure applied to the first virtual key;
determining the magnitude of pressure exerted on the first virtual key according to the first normalized response and calibration data of the first pressure sensor;
and/or the controller is specifically configured to perform the following operations:
acquiring a second output value, wherein the second output value is obtained by measuring the pressure applied to the second virtual key by the first pressure sensor group; determining a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the second normalized response is a second equivalent pressure acting on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same as the pressure applied to the second virtual key; determining the magnitude of pressure exerted on the second virtual key according to the second normalized response and calibration data of the second pressure sensor;
wherein the calibration data for the first pressure sensor group comprises standard pressures acting at different locations, and the first pressure sensor group measures corresponding pressure responses at the standard pressures; the calibration data for the second pressure sensor set includes a pressure response corresponding to a standard pressure acting at a different location when the second pressure sensor set measures the standard pressure.
In one possible design, the controller is configured to determine a first normalized response from the first output value, calibration data for the first pressure sensor group, and calibration data for the second pressure sensor group, including:
for determining the first normalized response using the following equation:
Vcenter1=V_1_x1*Rs1/Rn1;
V_1_x1=S0*(Rn1/Rf 2);
wherein, Vcenter1For said first normalized response, V_1_x1The first equivalent pressure acts on a first touch position of the first virtual key, and the first pressure sensor measures a corresponding pressure response when the first equivalent pressure acts on the first virtual key; rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured; rn1For the standard pressure acting on the first touch position, the first pressure sensor group measures the corresponding pressure response when the standard pressure acts; s0 is the pressure response corresponding to the first output value; rf 2For the standard pressure acting on the first touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts;
the controller, configured to determine a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group, includes:
for determining the second normalized response using the following equation:
Vcenter2=V_2_x2*Rs2/Rn2;
V_2_x2=S1*(Rn2/Rf1);
wherein, Vcenter2For the second normalized response, V_2_x1For a second equivalent pressure acting on a second touch position of the second virtual key, the second pressure sensor measures a corresponding pressure response when the second equivalent pressure acts on the second virtual key; rs2Acting a standard pressure on a central position of the second pressure sensor group, wherein the second pressure sensor group measures a corresponding pressure response when the standard pressure is measured; rn2For the standard pressure acting on the second touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts; s1 is the pressure response corresponding to the second output value; rf1And the first pressure sensor group measures the corresponding pressure response when the standard pressure acts on the second touch position.
In one possible design, the controller is configured to determine an amount of pressure applied to the first virtual key based on the first normalized response and calibration data of the first pressure sensor, and includes:
for determining the amount of pressure exerted on the first virtual key using the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Wherein, FTouch operation 1For the magnitude of the pressure exerted on the first virtual key, vcenter1For said first normalized response, FCalibrationIs a standard pressure, Rs1Acting for standard pressure in the first pressure sensor groupA heart position, the first pressure sensor group measuring a corresponding pressure response at the standard pressure;
and/or the controller, configured to determine an amount of pressure applied to the second virtual key according to the second normalized response and calibration data of the second pressure sensor, including:
for determining the amount of pressure exerted on the second virtual key using the following formula:
Ftouch operation 2=vcenter2*FCalibration/Rs2;
Wherein, FTouch operationFor the magnitude of the pressure exerted on the second virtual key, vcenter2For said second normalized response, FCalibrationIs a standard pressure, Rs2And the standard pressure acts on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the central position.
In a fourth aspect, the present application provides a pressure detection method, which is applied to an electronic device, where the electronic device includes a frame, a first virtual key, a second virtual key, a first pressure sensor group, and a second pressure sensor group; wherein each pressure sensor group comprises one or more pressure sensors;
the first virtual keys and the second virtual keys are arranged on the frame at intervals;
the first pressure sensor group is arranged on the inner side of the frame, and a first distance between the first pressure sensor group and the first virtual key is smaller than a second distance between the first pressure sensor group and the second virtual key;
the second pressure sensor group is arranged on the inner side of the frame, and a third distance between the second pressure sensor group and the first virtual key is larger than a fourth distance between the second pressure sensor group and the second virtual key;
the first pressure sensor group is used for measuring the pressure applied to the second virtual key;
the second pressure sensor group is used for measuring the pressure exerted on the first virtual key.
The method comprises the following steps: in response to a touch operation of a user on the touch screen, the electronic device acquires a touch position of the touch operation. And determining a target pressure sensor group for measuring pressure according to the touch position, and detecting the pressure of the touch operation through the target pressure sensor group.
And the touch position is in the defined area of the first virtual key, and the target pressure sensor group for measuring the pressure of the touch operation is a second pressure sensor group. The touch position is in the defined area of the second virtual key, and the target pressure sensor group for measuring the pressure of the touch operation is the first pressure sensor group.
Next, when the target pressure sensor group is the first pressure sensor group, the following operations are performed: acquiring an output value obtained by measuring the pressure by the first pressure sensor group, and determining the pressure applied to the second virtual key according to the pressure measured by the first pressure sensor group;
when the target pressure sensor group is the second pressure sensor group, the following operations are performed: and acquiring the pressure measured by the second pressure sensor group, and determining the pressure applied to the first virtual key according to an output value obtained by measuring the pressure by the second pressure sensor group.
In one possible design, acquiring the pressure measured by the second pressure sensor group, and determining the pressure applied to the first virtual key according to an output value obtained by measuring the pressure by the second pressure sensor group includes:
acquiring a first output value, wherein the first output value is obtained by measuring the pressure applied to the first virtual key by the second pressure sensor group;
determining a first normalized response based on the first output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the first normalization response is a pressure response corresponding to the first equivalent pressure measured by the first pressure sensor group when the first equivalent pressure acts on the center position of the first pressure sensor group; the first equivalent pressure is the same pressure as the pressure applied to the first virtual key;
determining the magnitude of pressure exerted on the first virtual key according to the first normalized response and calibration data of the first pressure sensor;
in a possible design, the pressure measured by the first pressure sensor group is obtained, and the magnitude of the pressure applied to the second virtual key is determined according to an output value obtained by measuring the pressure by the first pressure sensor group, which may be specifically implemented as:
determining a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the second normalized response is a second equivalent pressure acting on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same as the pressure applied to the second virtual key;
determining the magnitude of pressure exerted on the second virtual key according to the second normalized response and calibration data of the second pressure sensor;
wherein the calibration data for the first pressure sensor group comprises standard pressures acting at different locations, and the first pressure sensor group measures corresponding pressure responses at the standard pressures; the calibration data for the second pressure sensor set includes a pressure response corresponding to a standard pressure acting at a different location when the second pressure sensor set measures the standard pressure.
In one possible design, determining a first normalized response from the first output value, calibration data for the first pressure sensor set, and calibration data for the second pressure sensor set includes:
determining the first normalized response using the following equation:
Vcenter1=V_1_x1*Rs1/Rn1;
V_1_x1=S0*(Rn1/Rf 2);
wherein, Vcenter1For said first normalized response, V_1_x1The first equivalent pressure acts on a first touch position of the first virtual key, and the first pressure sensor measures a corresponding pressure response when the first equivalent pressure acts on the first virtual key; rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured; rn1For the standard pressure acting on the first touch position, the first pressure sensor group measures the corresponding pressure response when the standard pressure acts; s0 is the pressure response corresponding to the first output value; rf 2For the standard pressure acting on the first touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts;
in one possible design, determining a second normalized response from the second output value, calibration data for the first pressure sensor set, and calibration data for the second pressure sensor set includes:
determining the second normalized response using the following equation:
Vcenter2=V_2_x2*Rs2/Rn2;
V_2_x2=S1*(Rn2/Rf1);
wherein, Vcenter2For the second normalized response, V_2_x1For a second equivalent pressure acting on a second touch position of the second virtual key, the second pressure sensor measures a corresponding pressure response when the second equivalent pressure acts on the second virtual key; rs2Acting a standard pressure on a central position of the second pressure sensor group, wherein the second pressure sensor group measures a corresponding pressure response when the standard pressure is measured; rn2Is the markQuasi-pressure acts on the second touch position, and the second pressure sensor group measures corresponding pressure response when the standard pressure is measured; s1 is the pressure response corresponding to the second output value; rf1And the first pressure sensor group measures the corresponding pressure response when the standard pressure acts on the second touch position.
In one possible design, determining an amount of pressure exerted on the first virtual key based on the first normalized response and calibration data for the first pressure sensor includes:
determining the amount of pressure exerted on the first virtual key using the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Wherein, FTouch operation 1For the magnitude of the pressure exerted on the first virtual key, vcenter1For said first normalized response, FCalibrationIs a standard pressure, Rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured;
in a possible design, determining the magnitude of the pressure applied to the second virtual key according to the second normalized response and the calibration data of the second pressure sensor may be specifically implemented as:
determining the amount of pressure exerted on the second virtual key using the following formula:
Ftouch operation 2=vcenter2*FCalibration/Rs2;
Wherein, FTouch operationFor the magnitude of the pressure exerted on the second virtual key, vcenter2For said second normalized response, FCalibrationIs a standard pressure, Rs2And the standard pressure acts on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the central position.
In one possible design of any of the above aspects, the first set of pressure sensors is located substantially directly below the first virtual key and the second set of pressure sensors is located substantially directly below the second virtual key.
In one possible design of any one of the above aspects, the second distance is greater than or equal to 10mm and less than or equal to 30mm, and the third distance is greater than or equal to 10mm and less than or equal to 30 mm.
In one possible design of any of the above aspects, the bezel includes a middle frame and/or a curved screen outer side.
In a fifth aspect, the present application provides a computer-readable storage medium, which includes computer instructions, when the computer instructions are executed on an electronic device, cause the electronic device to perform the pressure detection method according to the fourth aspect and any possible design manner thereof.
In a sixth aspect, the present application provides a computer program product, which when run on a computer, causes the computer to execute the pressure detection method according to the fourth aspect and any one of the possible design manners thereof.
Drawings
FIG. 1 is a schematic diagram of a pressure sensor layout provided by an embodiment of the present application;
fig. 2 is a schematic product form diagram of a curved-surface-screen mobile phone according to an embodiment of the present disclosure;
fig. 3 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4-5 are schematic structural diagrams of an electronic device according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a pressure sensor layout and pressure detection principle provided by an embodiment of the present application;
fig. 7-9 are schematic flow charts of a pressure detection method according to an embodiment of the present disclosure.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
The mobile phone screen is provided with virtual keys, the virtual keys are provided with certain key definition areas, and the key definition areas are effective operation areas of the virtual keys. And when the user touches the screen in the key definition area and the touch operation is identified as non-false touch by the mobile phone, the user is considered to operate the virtual key. That is, when the touch operation is in the defined area of the virtual key, it can be regarded that the touch operation is directed to the virtual key.
In general, a pressure sensor is provided in a cellular phone in order to detect pressure applied to a virtual key. Specifically, as shown in fig. 1 (a), a pressure sensor module is disposed in a gap between a screen module (including a screen (or referred to as an inner screen) and a cover glass (or referred to as an outer screen)) and a middle frame. Here, the middle frame may support a component (such as a liquid crystal screen) within a liquid crystal display device of the electronic apparatus. The pressure sensor module may include one or more pressure sensors. The pressure sensor senses (or acquires, measures, senses, detects, and the like) pressure, for example, pressure corresponding to a touch operation of a user on the touch screen is measured, the measured pressure is converted into a corresponding electric signal, and the electric signal is output. The processor receives the electric signal and calculates the pressing force corresponding to the touch operation according to the electric signal.
When a user touches a virtual key on the screen, the pressure sensor corresponding to the virtual key detects the pressure corresponding to the touch operation. The pressure sensor then converts the pressure magnitude to an electrical signal and transmits the electrical signal to the processor. The processor can calculate the pressing force degree corresponding to the touch operation according to the electric signal, namely the pressure applied by the user on the touch screen.
In general, in a conventional pressure detection method, a pressure sensor is disposed directly below a virtual key to detect pressure applied to the virtual key. For example, as shown in fig. 1 (a), two virtual keys of volume plus (VOL +) and volume minus (VOL-) are provided on the outer side of the screen, and a pressure sensor, i.e., a pressure sensor indicated by black fill on the left side, is provided directly below the VOL + key. The left pressure sensor is used to detect the pressure applied to the VOL + key. Similarly, as shown in fig. 1 (a), a pressure sensor is disposed just below the VOL-key, i.e., a pressure sensor indicated by black fill on the right side. The pressure sensor on the right side is used to measure the pressure applied to the VOL-key.
As shown in fig. 1 (b), a schematic diagram of the virtual key and the pressure sensor at another viewing angle is shown, a VOL + virtual key and a VOL-virtual key are disposed on an outer side of the curved screen, a pressure sensor is disposed right below the VOL + key for measuring a pressure applied to the VOL + key, and a pressure sensor is also disposed right below the VOL-key for measuring a pressure applied to the VOL-key.
It can be understood that when touch operation acts on the screen, the screen can deform, so that the screen acts on the pressure sensor, and the deformation and the force have a certain relation. Further, the mobile phone can deduce the pressure value of the touch operation according to the deformation.
At present, in a low-temperature use scene, a user uses a mobile phone with the structure (a) or (b) shown in fig. 1, when the hand of the user performs a touch operation on a VOL + key, a screen is deformed due to finger heat, and when a left-side pressure sensor (left-side black filling) measures the pressure of the touch operation, the detected deformation is a superposition deformation corresponding to the touch operation and the finger heat, and is not a real deformation generated by the touch operation. Further, the pressure value calculated from the distortion having a large error is also inaccurate. The pressure sensor calculates a specific implementation of the pressure corresponding to the touch operation based on the deformation detected from the screen, as will be described in the following embodiments.
In order to solve the foregoing technical problem, an embodiment of the present application provides an electronic device, where the electronic device includes a frame, a first virtual key, a second virtual key, a first pressure sensor group, and a second pressure sensor group.
Wherein the first pressure sensor group is used for measuring the pressure applied to the second virtual key, and the second pressure sensor group is used for measuring the pressure applied to the first virtual key. A first distance between the first pressure sensor group and the first virtual key is smaller than a second distance between the first pressure sensor group and the second virtual key; a third distance between the second set of pressure sensors and the first virtual key is greater than a fourth distance between the second set of pressure sensors and the second virtual key. That is, the pressure applied to the first virtual key is measured using the second set of pressure sensors that are farther from the first virtual key, and the pressure applied to the second virtual key is measured using the first set of pressure sensors that are farther from the second virtual key.
Because the deformation of the screen caused by the heat of the hand is usually only applied to a certain area of the screen when the user touches a certain virtual key, in other words, the deformation of the screen is only generated in a certain area of the touch position of the hand, when the pressure of the first virtual key is measured by using the second pressure sensor group which is far away from the first virtual key, the detection result of the second pressure sensor group which is far away cannot be influenced by the deformation of the hand (in the embodiment of the present application, the thermal deformation may be referred to for short), and therefore, the pressure measured by using the second pressure sensor group is more accurate. Similarly, the first pressure sensor group is enabled to measure the pressure applied to the second virtual key, and the measurement result is more accurate.
The specific structure of the electronic device can be seen in the following embodiments.
For example, the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, or the like, which includes a curved screen, and the embodiment of the present application is not particularly limited to the specific form of the electronic device.
In the embodiment of the present application, the electronic device is a curved-surface-screen mobile phone shown in (a) of fig. 2 or (b) of fig. 2, which is taken as an example to explain the technical solution, but the technical solution of the embodiment of the present application can also be applied to an electronic device with a non-curved-surface screen, and is used to detect the pressure of the touch operation of the user, which is described in the unified manner herein and is not described in detail below. Fig. 2 (a) shows a perspective view of the mobile phone 100 with a curved screen. Fig. 2 (b) shows a front view of the curved screen handset 100. As shown in fig. 2 (a) and 2 (b), the left side 10 area of the handset 100 includes a curved screen and/or a middle frame. In the area of the left side edge 10, a curved screen and a middle frame are generally included, and when the coverage area of the curved screen is larger, the coverage area of the middle frame is correspondingly reduced. In an extreme case, the middle frame accounts for 100%, and the left side 10 region only includes the frame; on the contrary, when the curved screen accounts for 100%, the left side area 10 only includes the curved screen. Similarly, the right side 20 region includes a curved screen and/or a middle frame.
Please refer to fig. 3, which is a schematic structural diagram of an electronic device 300. As shown in fig. 3, the electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a Universal Serial Bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a screen 394, a Subscriber Identification Module (SIM) card interface 395, and the like. The sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, an air pressure sensor 380C, a magnetic sensor 380D, an acceleration sensor 380E, a distance sensor 380F, a proximity light sensor 380G, a fingerprint sensor 380H, a temperature sensor 380J, a touch sensor 380K, an ambient light sensor 380L, a bone conduction sensor 380M, and the like.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic device 300. In other embodiments, electronic device 300 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 310. If the processor 310 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 310, thereby increasing the efficiency of the system. For example, in the embodiments of the present application, the memory may store calibration data, and the specific description of the calibration data may be referred to in the following embodiments.
In some embodiments, processor 310 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the connection relationship between the modules illustrated in the present embodiment is only an exemplary illustration, and does not limit the structure of the electronic device 300. In other embodiments, the electronic device 300 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 340 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 340 may receive charging input from a wired charger via the USB interface 330. In some wireless charging embodiments, the charging management module 340 may receive a wireless charging input through a wireless charging coil of the electronic device 300. The charging management module 340 may also supply power to the electronic device through the power management module 341 while charging the battery 342.
The power management module 341 is configured to connect the battery 342, the charging management module 340 and the processor 310. The power management module 341 receives input from the battery 342 and/or the charge management module 340, and provides power to the processor 310, the internal memory 321, the external memory, the screen 394, the camera 393, and the wireless communication module 360. The power management module 341 may also be configured to monitor parameters such as battery capacity, battery cycle count, and battery state of health (leakage, impedance). In other embodiments, the power management module 341 may also be disposed in the processor 310. In other embodiments, the power management module 341 and the charging management module 340 may be disposed in the same device.
The wireless communication function of the electronic device 300 may be implemented by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 300 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 350 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 300. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 350 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the filtered electromagnetic wave to the modem processor for demodulation. The mobile communication module 350 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the same device as at least some of the modules of the processor 310.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 370A, the receiver 370B, etc.) or displays images or videos through the screen 394 (the screen 394 includes a display screen layer for display). In the embodiment of the application, the application processor may receive an output value from the pressure sensor, and the magnitude relation between the output value and the pressure magnitude of the touch operation has a certain rule. The application processor may determine a pressure of the touch operation according to the output value, and when the pressure meets a certain condition, the application processor may respond to the touch operation and execute an event corresponding to the touch operation. For example, when the touch operation is intended to set the volume, the application processor may display the current volume setting or the adjusted volume setting through the screen 394. For another example, when the user touches a virtual key, the application processor may drive the motor to generate vibrations to simulate a real key experience. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 310, and may be disposed in the same device as the mobile communication module 350 or other functional modules.
The wireless communication module 360 may provide solutions for wireless communication applied to the electronic device 300, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 360 may be one or more devices integrating at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 310. The wireless communication module 360 may also receive a signal to be transmitted from the processor 310, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 300 is coupled to mobile communication module 350 and antenna 2 is coupled to wireless communication module 360 such that electronic device 300 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 300 implements display functions through a GPU, a display screen, and an application processor. The GPU is a microprocessor for image processing and is connected with a display screen and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs that execute program instructions to generate or alter display information.
The screen 394 includes a display screen. The screen may be a curved screen or a non-curved screen with curved sides. The display screen is used for displaying images, videos and the like. The display screen includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like.
The screen may also include a touch sensor 380K. I.e., the touch sensor 380K may be integrated in the screen 394. The touch sensor is also called a "Touch Panel (TP) (or simply a touch pad)". The screen composed of the touch sensor and the display screen has a touch function. In the embodiment of the present application, such a screen with a touch function may be referred to as a touch screen or a touch screen. Wherein the touch pad can capture touch events of a user of the cell phone on or near the touch pad (e.g., user operation of any suitable object on or near the touch pad using a finger, a stylus, etc.) and transmit the captured touch information to other devices, such as a processor.
Among them, a touch event of a user near the touch pad may be referred to as a hover touch. Hover touch may refer to a user not needing to directly contact the touchpad in order to select, move, or drag a target (e.g., an icon, etc.), but only needing to be located near the terminal in order to perform a desired function. In the context of a hover touch application, the terms "touch," "contact," and the like do not imply a direct contact to the touch screen, but rather a nearby or near contact.
Specifically, two types of capacitive sensors, namely a mutual capacitance sensor and a self-capacitance sensor, may be disposed in the touch pad, and the two types of capacitive sensors may be alternately arrayed on the touch pad. The mutual capacitance sensor is used for realizing normal traditional multi-point touch, namely detecting gestures when a user touches the touch pad. The self-capacitance sensor can generate a signal stronger than the mutual capacitance, so that the finger sensing farther away from the touch pad is detected. Thus, when the user's finger is hovering over the screen, the cell phone may detect the user's gesture above the screen, e.g., 20mm above the touch pad, due to the larger signal generated by the self-capacitance sensor than the mutual-capacitance sensor.
Optionally, the touch panel capable of performing floating touch control may be implemented by using a capacitive type, an infrared light sensing device, an ultrasonic wave, and the like. In addition, the touch panel may be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. The display screen may be used to display information input by or provided to the user as well as various menus of the handset. The display screen may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The touch pad may be overlaid on the display screen and, upon detecting a touch event thereon or thereabout, the touch pad may be communicated to the processor to determine the type of touch event, and the processor may then provide a corresponding visual output on the display screen in accordance with the type of touch event.
The touch sensor and the display screen can be used as two independent parts to realize the input and output functions of the mobile phone. In other embodiments, the touch sensor may also be disposed on the surface of the electronic device 300, and integrated with the display screen to implement the input and output functions of the mobile phone.
It is understood that the screen 394 is formed by stacking multiple layers of materials, and only the touch panel (layer) and the display screen (layer) are shown in the embodiment, and other layers are not described in the embodiment. In addition, in some other embodiments of the present application, the touch panel (may be referred to as a touch pad for short) may be covered on the display screen, and the size of the touch panel is larger than that of the display screen, so that the display screen is completely covered under the touch panel, or the touch panel may be configured on the front of the mobile phone in a full-panel manner, that is, the user touches the front of the mobile phone and can be perceived by the mobile phone, so that the full-touch experience on the front of the mobile phone can be achieved. In other embodiments, the touch pad may be disposed on the front surface of the mobile phone in a full-panel manner, and the display screen may also be disposed on the front surface of the mobile phone in a full-panel manner, so that a frameless structure can be implemented on the front surface of the mobile phone.
The electronic device 300 may implement a shooting function through the ISP, the camera 393, the video codec, the GPU, the display screen, the application processor, and the like.
The ISP is used to process the data fed back by the camera 393. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be located in camera 393.
Camera 393 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 300 may include 1 or N cameras 393, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 300 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 300 may support one or more video codecs. In this way, the electronic device 300 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize applications such as intelligent recognition of the electronic device 300, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 320 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 300. The external memory card communicates with the processor 310 through the external memory interface 320 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 321 may be used to store computer-executable program code, which includes instructions. The processor 310 executes various functional applications of the electronic device 300 and data processing by executing instructions stored in the internal memory 321. For example, in the embodiment of the present application, the processor 310 may display corresponding display contents on the display screen in response to a touch operation of the user on the screen 394 by executing instructions stored in the internal memory 321. The internal memory 321 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 300, and the like. In addition, the internal memory 321 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 300 may implement audio functions through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C, the earphone interface 370D, and the application processor. Such as music playing, recording, etc.
The audio module 370 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 370 may also be used to encode and decode audio signals. In some embodiments, the audio module 370 may be disposed in the processor 310, or some functional modules of the audio module 370 may be disposed in the processor 310. The speaker 370A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic device 300 can listen to music through the speaker 370A or listen to a hands-free conversation. The receiver 370B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device 300 receives a call or voice information, it can receive voice by placing the receiver 370B close to the ear of the person. Microphone 370C, also known as a "microphone," is used to convert sound signals into electrical signals. When a call is placed or a voice message is sent or it is desired to trigger the electronic device 300 to perform some function by the voice assistant, the user may speak via his/her mouth near the microphone 370C and input a voice signal into the microphone 370C. The electronic device 300 may be provided with at least one microphone 370C. In other embodiments, the electronic device 300 may be provided with two microphones 370C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 300 may further include three, four or more microphones 370C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 370D is used to connect wired headphones. The headset interface 370D may be the USB interface 330, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 380A is used for sensing pressure, and can convert the pressure into, for example, a capacitance value, a resistance value, and the like. In some embodiments, the pressure sensor 380A may be disposed on or under a display screen. The pressure sensor 380A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, or the like. Taking a capacitive pressure sensor as an example, the capacitive pressure sensor may comprise a fixed electrode and at least one variable electrode. The characteristics (such as position, shape, etc.) of the variable electrode may vary. The properties of the fixed electrode are generally unchanged. In one implementation, when a touch operation is applied to the screen 394, the screen 394 deforms, causing the screen 394 to exert a force on the pressure sensor 380A, under which the capacitance between the variable and fixed electrodes changes. The pressure sensor 380A may output the capacitance change amount to the controller. In some embodiments, the electronic device 300 may also calculate the position of the touch from the detection signal of the pressure sensor 380A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The embodiments of the present application mainly use a capacitive pressure sensor as an example to illustrate the technical solution, and of course, other types of pressure sensors, such as but not limited to resistive and inductive pressure sensors, may also be used in the technical solution of the embodiments of the present application. The principle of detecting the pressure is, for example, but not limited to, estimating the applied pressure by detecting the amount of change in resistance, piezoelectricity, or the like due to the deformation.
The gyro sensor 380B may be used to determine the motion pose of the electronic device 300. In some embodiments, the angular velocity of electronic device 300 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 380B. The gyro sensor 380B may be used for photographing anti-shake.
The magnetic sensor 380D includes a hall sensor. The electronic device 300 may detect the opening and closing of the flip holster using the magnetic sensor 380D. The acceleration sensor 380E may detect the magnitude of acceleration of the electronic device 300 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 300 is stationary.
A distance sensor 380F for measuring distance. The electronic device 300 may measure the distance by infrared or laser.
The proximity light sensor 380G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 300 emits infrared light to the outside through the light emitting diode. The electronic device 300 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 300. When insufficient reflected light is detected, the electronic device 300 may determine that there are no objects near the electronic device 300.
The ambient light sensor 380L is used to sense the ambient light level. The electronic device 300 may adaptively adjust the display screen brightness based on the perceived ambient light level. The ambient light sensor 380L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 380L may also cooperate with the proximity light sensor 380G to detect whether the electronic device 300 is in a pocket to prevent inadvertent contact.
The fingerprint sensor 380H is used to capture a fingerprint. The electronic device 300 may utilize the collected fingerprint characteristics to implement fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering, and the like.
The temperature sensor 380J is used to detect temperature. In some embodiments, the electronic device 300 implements a temperature processing strategy using the temperature detected by the temperature sensor 380J. For example, when the temperature reported by the temperature sensor 380J exceeds a threshold, the electronic device 300 performs a reduction in performance of a processor located near the temperature sensor 380J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 300 heats the battery 342 when the temperature is below another threshold to avoid the low temperature causing the electronic device 300 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the electronic device 300 performs a boost on the output voltage of the battery 342 to avoid an abnormal shutdown due to low temperature.
The bone conduction sensor 380M can acquire a vibration signal. In some embodiments, the bone conduction transducer 380M can acquire a vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 380M may also contact the human body pulse to receive the blood pressure pulsation signal.
Keys 390 include a power-on key, a volume key, etc. The keys 390 may be mechanical keys. Or may be touch keys. The electronic device 300 may receive a key input, and generate a key signal input related to user setting and function control of the electronic device 300. The motor 391 may generate a vibration cue. The motor 391 may be used for both incoming call vibration prompting and touch vibration feedback. Indicator 392 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc. The SIM card interface 395 is for connecting a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 300 by being inserted into and pulled out of the SIM card interface 395.
The method embodiments in the following embodiments may all be implemented in the electronic device 300 having the above-described hardware structure.
Specific implementations of embodiments of the present application are described in detail below with reference to the accompanying drawings.
The embodiment of the application provides electronic equipment which is provided with a frame, a first virtual key, a second virtual key, a first pressure sensor group and a second pressure sensor group. Wherein each pressure sensor group includes one or more pressure sensors.
The frame comprises a middle frame and/or the outer side of the curved screen. The curved screen may be the screen 394 shown in fig. 3. The outer side of the curved screen refers to the side visible to the user, facing away from the interior of the electronic device. The first virtual key and the second virtual key may be the keys 390 shown in fig. 3. The pressure sensor may be the pressure sensor 380A shown in fig. 3.
The first virtual keys and the second virtual keys are arranged on the frame at intervals.
Taking the electronic device as an example of a mobile phone, generally, setting a virtual key on a frame of the mobile phone means setting a virtual key on the outer side of a curved screen.
The first pressure sensor group is arranged on the inner side of the frame; the second pressure sensor group is arranged on the inner side of the frame. Inside the bezel, which refers to the side that is not visible to the user and faces the inside of the electronic device). The specific positions of the first pressure sensor group and the second pressure sensor group on the inner side of the frame can be flexibly set, and the embodiment of the application is not limited. For example, the first pressure sensor group and the second pressure sensor group can be arranged at the gap position between the curved screen and the middle frame.
For example, referring to fig. 4 (a), the first virtual key and the second virtual key are disposed at intervals on a frame of the mobile phone (e.g., outside the curved screen), and the first pressure sensor group and the second pressure sensor group are disposed inside the frame (e.g., in a gap between the middle frame and the curved screen).
As a possible implementation manner, the first pressure sensor group is located substantially directly below the first virtual key, and the second pressure sensor group is located substantially directly below the second virtual key. Taking the positional relationship between the first pressure sensor group and the first virtual key as an example, the first pressure sensor group is located substantially directly below the first virtual key, which means that the first pressure sensor group is located on a side of the first virtual key facing the inside of the electronic device. And a first distance between the first virtual key and the first pressure sensor is smaller than an error allowable value.
In the embodiment of the present application, the distance between the virtual key and the pressure sensor group refers to a distance along a screen direction of the electronic device, and a projection of a real distance between the virtual key and the pressure sensor along the screen direction is shown. For example, the distance between the first pressure sensor group and the second virtual key is as shown in fig. 4 (a).
It should be understood that in some embodiments, the first distance between the first virtual key and the first pressure sensor is typically 0. In other embodiments, a certain error is allowed, and it suffices that the first distance is less than or equal to the allowable value of the error. Illustratively, a first distance between the first virtual key and the first pressure sensor group is as shown in fig. 4 (a).
In the embodiment of the application, it is considered that the first distance between the first pressure sensor group and the first virtual key is relatively small, when a finger touches the first virtual key, the screen is deformed under the action of heat of the finger, and a measurement result of the first pressure sensor group on the touch pressure may be affected, that is, when the first distance between the first virtual key and the first pressure sensor group is relatively short, the first pressure sensor group is not suitable for measuring the pressure applied to the first virtual key. Then, consider measuring the pressure applied to the second virtual key with the first set of pressure sensors. That is, in this embodiment of the application, the first pressure sensor group is used for measuring the pressure applied to the second virtual key. And, a first distance between the first pressure sensor group and the first virtual key is required to be smaller than a second distance between the first pressure sensor group and the second virtual key. That is, when the first pressure sensor group and the second virtual key are arranged, it is necessary to ensure that the second distance between the first pressure sensor group and the second virtual key is relatively long.
In one possible design, the second distance is greater than or equal to 10mm and less than or equal to 30 mm. For example, the second distance is within 10-15 mm. For another example, the second distance is greater than 12mm and less than 18 mm.
Similarly, in the embodiment of the present application, the second pressure sensor group is used for measuring the pressure applied to the first virtual key, and a third distance between the second pressure sensor group and the first virtual key is larger than a fourth distance between the second pressure sensor group and the second virtual key.
In one possible design, the third distance is greater than or equal to 10mm and less than or equal to 30 mm.
For example, referring to fig. 6 (a), a first virtual key (i.e., VOL +) and a second virtual key (i.e., VOL-) are arranged on a frame of the electronic device (e.g., outside a curved screen) at intervals, a first pressure sensor group (i.e., Pad +) and a second pressure sensor group (i.e., Pad-) are arranged inside the frame, and a distance between the components satisfies the above condition.
Fig. 4 (b) is a schematic structural diagram of the electronic device at another viewing angle.
In one possible implementation, the electronic device further includes a controller. Fig. 5 (a) and 5 (b) show two possible implementations of the controller.
Referring to fig. 5 (a), the controller may be implemented by a processor (such as the processor 310 shown in fig. 3) as described above, that is, the processor may be regarded as a controller, and specifically, the controller may be implemented by one or more processing cores in an application processor (such as a processor in the kylin series) of a mobile phone, for example.
In other embodiments, the controller may also be a separately packaged chip independent of the processor, for example, the functions of the controller may be implemented based on a single chip, a DSP, a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), and other devices; in such an embodiment, referring to fig. 5 (b), the controller may be coupled to the processor, and after processing by the controller, the results may be sent to the processor for further processing by the processor based on the results (e.g., determined pressure) processed by the controller.
In this application, the controller is configured to obtain an output value obtained by measuring pressure with the first pressure sensor group, and determine a magnitude of pressure applied to the second virtual key according to the pressure measured with the first pressure sensor group;
and/or the controller is used for acquiring the pressure measured by the second pressure sensor group and determining the pressure applied to the first virtual key according to an output value obtained by measuring the pressure by the second pressure sensor group.
It should be understood that when the user touches the second virtual key, the processor of the electronic device can learn the touch operation and control the first pressure sensor group to measure the pressure of the touch operation, and the first pressure sensor group measures the pressure and outputs an output value corresponding to the pressure. The controller may read the output value and determine the amount of pressure applied to the second virtual key based on the output value.
Based on the same principle, when the user touches the first virtual key, the processor of the electronic device can know the touch operation and control the second pressure sensor group to measure the pressure of the touch operation. The second pressure sensor group measures the pressure and outputs an output value corresponding to the pressure. The controller may read the output value and determine the amount of pressure applied to the first virtual key based on the output value.
As a possible implementation, according to the working principle of the pressure sensor, it may convert the measured pressure into an analog electrical signal and output the analog electrical signal. Taking a pressure sensor as an example of a capacitive pressure sensor, the pressure sensor includes a fixed electrode and a variable electrode, and when a touch operation acts on a screen of an electronic device, the screen deforms, which causes the screen to generate a pressure effect on the pressure sensor, and under the pressure effect, a capacitance between the variable electrode and the fixed electrode changes. The pressure, screen deformation and capacitance have certain numerical relation. The pressure sensor can directly output the analog electric signal of the capacitance variation.
The controller reads the output value of the pressure sensor and determines the pressure applied to the virtual key according to the output value, which can be specifically realized as follows: the controller reads the analog electric signal output by the pressure sensor, converts the analog electric signal into a digital electric signal, and determines the pressure applied to the virtual key according to the digital electric signal and the relation between the digital electric signal and the pressure. Taking the example of a controller function being implemented by one or more processing cores in an application processor, then an analog electrical signal from a pressure sensor is input to the application processor, which converts the analog electrical signal to a digital electrical signal and calculates the amount of pressure applied to the virtual keys based on the digital electrical signal. For example, an analog-to-digital converter may be included in the application processor to perform analog-to-digital conversion and calculate the pressure magnitude by one or more processor cores.
In some embodiments, the user may only touch the first virtual key or the second virtual key, and in other embodiments, the user may touch both the first virtual key and the second virtual key.
As a possible implementation manner, when the user touches the first virtual key, the controller is specifically configured to perform the following operations:
acquiring a first output value, and determining a first normalization response according to the first output value, the calibration data of the first pressure sensor group and the calibration data of the second pressure sensor group; and determining the pressure applied to the first virtual key according to the first normalized response and the calibration data of the first pressure sensor.
The first output value is obtained by measuring the pressure applied to the first virtual key by the second pressure sensor group. Illustratively, referring to fig. 6 (a), when the user touches the VOL + key, the processor learns the touch operation and controls Pad-to measure the pressure of the touch operation. Pad-measures the pressure and outputs a first output value.
Typically, a pressure sensor measures a certain pressure and outputs an output value corresponding to the pressure to the controller, which is further converted into a digital electrical signal by the controller. In the embodiment of the present application, a certain pressure acts on a certain position, and a corresponding pressure response when the pressure sensor measures the pressure refers to a digital electrical signal converted by the controller.
The first normalization response is a pressure response corresponding to a first equivalent pressure when the first equivalent pressure acts on the center position of the first pressure sensor group and the first pressure sensor group measures the first equivalent pressure.
The first equivalent pressure is the same pressure as the pressure applied to the first virtual key. Illustratively, the pressure magnitude of the touch operation is 2 newtons, and the pressure magnitude of the first equivalent pressure is also 2 newtons.
The calibration data of the first pressure sensor group comprises standard pressure acting at different positions, and the first pressure sensor group measures corresponding pressure response when the standard pressure acts; the calibration data for the second pressure sensor set includes a pressure response corresponding to a standard pressure acting at a different location when the second pressure sensor set measures the standard pressure.
When the mobile phone is taken out of the factory for calibration, a weight roller with standard weight is designed, and the roller is used for rolling from one end of the key definition area to the other end of the key definition area so as to acquire calibration data under the pressure exerted by the roller on a screen. The pressure generated by the roller on the screen during the rolling process is regarded as a constant, and the pressure is generally equal to the gravity of the roller. This pressure level is referred to in the present embodiment as the standard pressure, or calibration pressure. The calibration data for a particular pressure sensor group includes the pressure response corresponding to the standard pressure measured by that pressure sensor group as it acts on different locations of the screen.
Illustratively, as shown in FIG. 6 (a), calibration data for the first pressure sensor set is shown in the form of a Curve Curve 1. Calibration data for the second pressure sensor set is shown in the form of Curve 2. Where Curve1 is a digital electrical signal obtained by converting pressure measurements as the wheel rolls from left to right on the screen along the X-axis and Pad + measures the pressure of the wheel against the screen at different locations. For example, when the roller is at the position x1, Pad + measures the pressure of the roller and outputs an output value to the controller, which is further converted by the controller to obtain the digital electrical signal Rn. Similarly, Curve2 is a digital electrical signal that the controller converts pressure measurements into when the wheel is rolling from left to right across the screen along the X-axis and when the Pad-measures the pressure of the wheel against the screen at different locations.
The X-axis direction refers to a direction on the screen surface of the mobile phone along the length direction of the mobile phone. In one example, as shown in fig. 2 (b), the X-axis is along the length of the phone, and the X-coordinate increases from top to bottom along the length. Of course, it can also be defined that the x-coordinate decreases from top to bottom along the length direction. The Y-axis direction refers to a direction on the screen surface of the mobile phone along the width direction of the mobile phone. In one example, as shown in fig. 2 (b), the Y-axis is along the width of the phone as shown, and the Y-coordinate increases from right to left along the bezel.
Of course, the X-axis direction may be set according to the actual application scenario, and the embodiment of the present application is not limited, for example, X is along the width direction, or other directions. How the X-axis is incremented may also be set otherwise. Similarly, the Y-axis direction may be defined differently.
In the embodiment of the present application, the weight of the roller used for calibration may be equal to the weight required for triggering the mechanical key, or may be other weights, which is not limited in the embodiment of the present application.
The calibration data may be stored in the mobile phone, and the calibration data may be used to determine the pressure level and/or the second response signal of the touch operation.
Optionally, the controller is configured to determine the first normalized response by using the following formula:
Vcenter1=V_1_x1*Rs1/Rn1;
V_1_x1=S0*(Rn1/Rf 2);
wherein, Vcenter1For said first normalized response, V_1_x1The first equivalent pressure acts on a first touch position of the first virtual key, and the first pressure sensor measures a corresponding pressure response when the first equivalent pressure acts on the first virtual key; rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured; rn1For the standard pressure acting on the first touch position, the first pressure sensor group measures the corresponding pressure response when the standard pressure acts; s0 is the pressure response corresponding to the first output value; rf 2And the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the first touch position.
As a possible implementation manner, the application processor is configured to calculate the pressure applied to the first virtual key by using the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Wherein, FTouch operation 1For the magnitude of the pressure exerted on the first virtual key, vcenter1For said first normalized response, FCalibrationIs a standard pressure, Rs1The standard pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response when the standard pressure acts.
The process of calculating the magnitude of the pressure applied to the VOL + key is described below by taking fig. 6 (a) as an example.
In fig. 6 (a), when the user touches the VOL + key, Pad-measures the pressure of the touch operation, and outputs a first output value. It should be appreciated that the application processor obtains the first output value from the pressure sensor through an interface such as an integrated circuit bus (I2C), and first converts the first output value of Pad "into a digital electrical signal S0.
Next, an application processor in the controller is configured to convert S0 into a first normalized response corresponding to Pad +, i.e., a digital electrical signal corresponding to the pressure measured by Pad + when the same magnitude of pressure of the touch operation is applied to Pad +, based on S0, Curve1, and Curve 2.
Illustratively, as shown in fig. 6 (a), the application processor first calculates a digital electrical signal V corresponding to the pressure measured by Pad + when the same magnitude of pressure (i.e., the first equivalent pressure) of the touch operation is applied to the first touch position, i.e., x1_1_x1. Specifically, the application processor reads Curve1 to know the digital electrical signal, R, corresponding to the standard pressure measured by Pad + when the standard pressure (i.e. the gravity of the roller wheel) acts on the first touch positionn1(ii) a By reading Curve2, knowing that when the standard pressure is applied at the first touch position, the Pad-measured digital electrical signal corresponding to the standard pressure, Rf 2And is applied according to said Pad-measurementThe digital electrical signals S0 corresponding to the pressure on the first virtual key, and Rn1、Rf 2And S0, when the first equivalent pressure is applied to the first touch position of the VOL + key, if the Pad + is adopted to measure the first equivalent pressure, the pressure response V corresponding to the measured first equivalent pressure is obtained_1_x1=S0*(Rn1/Rf 2)。
In calculating V_1_x1Thereafter, applying a processor for converting the V_1_x1Conversion to a first normalized response Vcenter1That is, when the first equivalent pressure acts on the central position of Pad +, Pad + measures the first equivalent pressure, and the measured first equivalent pressure corresponds to the pressure response (i.e., the digital electrical signal). Illustratively, as shown in FIG. 6 (a), the application processor is based on V_1_x1、Rn1、Rs1Calculating a first normalized response Vcenter1=V_1_x1*Rs1/Rn1。
Next, applying a processor for normalizing the response V according to the first normalization responsecenter1And calibration data Curve1 for the first pressure sensor, determining the amount of pressure applied to the first virtual key (i.e., VOL + key).
As a possible implementation, the application processor is configured to determine the amount of pressure applied to the VOL + key using the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Further, v iscenter1Substituting into the above calculation FTouch operation 1In the formula (1), obtain FTouch operation 1=vcenter1*FCalibration/Rs1=V_1_x1*Rs1/Rn1*FCalibration/Rs1=S0*(Rn1/Rf 2)*Rs1/Rn1*FCalibration/Rs1=FCalibration*S0/Rf 2。
Wherein, assuming a roller mass of 200g, in combination with FCalibration(gravity of roller) formula m g, where m is roller mass and g is gravity coefficient, can be obtained as FCalibrationM g 10N/1kg 2N. S0, namely, a user touches at the x1 position of the electronic equipment frame, and Pad is the corresponding pressure response when the touch pressure is measured; rf 2I.e., calibration, when the roller is applied at the x1 position, Pad — the corresponding pressure response when the roller pressure is measured. Therefore, as shown in fig. 6 (a), the pressure level of the touch operation at the x1 position is: fTouch operation 1=FCalibration*S0/Rf=2N*S0/Rf 2。
As a possible implementation manner, when the user touches the second virtual key, the controller is specifically configured to perform the following operations:
acquiring a second output value, and determining a second normalization response according to the second output value, the calibration data of the first pressure sensor group and the calibration data of the second pressure sensor group; and determining the pressure applied to the second virtual key according to the second normalized response and the calibration data of the second pressure sensor.
And the second output value is obtained by measuring the pressure applied to the second virtual key by the first pressure sensor group. Illustratively, referring to fig. 6 (b), when the user touches the VOL-key, the processor learns the touch operation and controls Pad + to measure the pressure of the touch operation. Pad + measures the pressure and outputs a second output value.
The second normalized response is a second equivalent pressure acting on the center position of the second pressure sensor group, and the second pressure sensor group measures a corresponding pressure response when the second equivalent pressure acts on the center position.
The second equivalent pressure is the same pressure as the pressure exerted on the second virtual key. For example, as shown in fig. 6 (b), if the pressure of the touch operation on the VOL-key is 2 newtons, the pressure of the second equivalent pressure is also 2 newtons.
Optionally, the controller is configured to determine the second normalized response by using the following formula:
Vcenter2=V_2_x2*Rs2/Rn2;
V_2_x2=S1*(Rn2/Rf1);
wherein, Vcenter2For the second normalized response, V_2_x2For a second equivalent pressure acting on a second touch position of the second virtual key, the second pressure sensor measures a corresponding pressure response when the second equivalent pressure acts on the second virtual key; rs2Acting a standard pressure on a central position of the second pressure sensor group, wherein the second pressure sensor group measures a corresponding pressure response when the standard pressure is measured; rn2For the standard pressure acting on the second touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts; s1 is the pressure response corresponding to the second output value; rf1And the first pressure sensor group measures the corresponding pressure response when the standard pressure acts on the second touch position.
As a possible implementation, the application processor is configured to determine the amount of pressure applied to the second virtual key using the following formula:
Ftouch operation 2=vcenter2*FCalibration/Rs2;
Wherein, FTouch operation 2For the magnitude of the pressure applied on the second virtual key, vcenter2For said second normalized response, FCalibrationIs a standard pressure, Rs2And the standard pressure acts on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the central position.
The specific implementation of calculating the pressure applied to the VOL + key by the application processor can be referred to the above related process of calculating the pressure applied to the VOL + key, and is not described again, and the calculation scenario thereof can be referred to fig. 6 (b).
When a user touches a certain virtual key, the deformation of the screen caused by the heat of the hand usually only acts on a certain area of the screen, in other words, the heat deformation is only generated in a certain area of the touch position of the hand. Therefore, in the electronic device provided in the embodiment of the present application, the pressure sensor group for measuring the pressure applied to the first virtual key is the second pressure sensor group farther from the first virtual key, and the deformation caused by hand heat (in the embodiment of the present application, the deformation may be referred to as heat deformation for short) cannot affect the detection result of the second pressure sensor group farther away, so that the pressure measured by using the second pressure sensor group is more accurate. Similarly, the pressure sensor group for measuring the pressure applied to the second virtual key is the first pressure sensor group which is far away from the second virtual key, so that the measurement result can be ensured to be more accurate.
The embodiment of the application also provides a pressure detection module. The pressure detection module comprises a first pressure sensor group, a second pressure sensor group and a controller; wherein each pressure sensor group includes one or more pressure sensors. The module is used for electronic equipment, and the electronic equipment comprises a frame, a first virtual key and a second virtual key; the first virtual keys and the second virtual keys are arranged on the frame at intervals.
The first pressure sensor group is arranged on the inner side of the frame, and a first distance between the first pressure sensor group and the first virtual key is smaller than a second distance between the first pressure sensor group and the second virtual key;
the second pressure sensor group is arranged on the inner side of the frame, and a third distance between the second pressure sensor group and the first virtual key is larger than a fourth distance between the second pressure sensor group and the second virtual key;
the first pressure sensor group is used for measuring the pressure applied to the second virtual key;
the second pressure sensor group is used for measuring the pressure exerted on the first virtual key.
In one possible design, the first set of pressure sensors is located substantially directly below the first virtual key and the second set of pressure sensors is located substantially directly below the second virtual key.
In one possible design, the second distance is greater than or equal to 10mm and less than or equal to 30mm, and the third distance is greater than or equal to 10mm and less than or equal to 30 mm.
In one possible design, the bezel includes a middle frame and/or a curved screen outer side.
In a possible design, the controller is configured to obtain an output value obtained by measuring pressure by the first pressure sensor group, and determine the magnitude of pressure applied to the second virtual key according to the pressure measured by the first pressure sensor group;
and/or the controller is used for acquiring the pressure measured by the second pressure sensor group and determining the pressure applied to the first virtual key according to an output value obtained by measuring the pressure by the second pressure sensor group.
In one possible design, the controller is specifically configured to perform the following operations:
acquiring a first output value, wherein the first output value is obtained by measuring the pressure applied to the first virtual key by the second pressure sensor group;
determining a first normalized response based on the first output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the first normalization response is a pressure response corresponding to the first equivalent pressure measured by the first pressure sensor group when the first equivalent pressure acts on the center position of the first pressure sensor group; the first equivalent pressure is the same pressure as the pressure applied to the first virtual key;
determining the magnitude of pressure exerted on the first virtual key according to the first normalized response and calibration data of the first pressure sensor;
and/or the controller is specifically configured to perform the following operations:
acquiring a second output value, wherein the second output value is obtained by measuring the pressure applied to the second virtual key by the first pressure sensor group; determining a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the second normalized response is a second equivalent pressure acting on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same as the pressure applied to the second virtual key; determining the magnitude of pressure exerted on the second virtual key according to the second normalized response and calibration data of the second pressure sensor;
wherein the calibration data for the first pressure sensor group comprises standard pressures acting at different locations, and the first pressure sensor group measures corresponding pressure responses at the standard pressures; the calibration data for the second pressure sensor set includes a pressure response corresponding to a standard pressure acting at a different location when the second pressure sensor set measures the standard pressure.
In one possible design, the controller is configured to determine a first normalized response from the first output value, calibration data for the first pressure sensor group, and calibration data for the second pressure sensor group, including:
for determining the first normalized response using the following equation:
Vcenter1=V_1_x1*Rs1/Rn1;
V_1_x1=S0*(Rn1/Rf 2);
wherein, Vcenter1For said first normalized response, V_1_x1The first equivalent pressure acts on a first touch position of the first virtual key, and the first pressure sensor measures a corresponding pressure response when the first equivalent pressure acts on the first virtual key; rs1Acting on the central position of the first pressure sensor group for standard pressure, the first pressure sensor group measuring the pressureThe corresponding pressure response at the standard pressure; rn1For the standard pressure acting on the first touch position, the first pressure sensor group measures the corresponding pressure response when the standard pressure acts; s0 is the pressure response corresponding to the first output value; rf 2For the standard pressure acting on the first touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts;
the controller, configured to determine a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group, includes:
for determining the second normalized response using the following equation:
Vcenter2=V_2_x2*Rs2/Rn2;
V_2_x2=S1*(Rn2/Rf1);
wherein, Vcenter2For the second normalized response, V_2_x1For a second equivalent pressure acting on a second touch position of the second virtual key, the second pressure sensor measures a corresponding pressure response when the second equivalent pressure acts on the second virtual key; rs2Acting a standard pressure on a central position of the second pressure sensor group, wherein the second pressure sensor group measures a corresponding pressure response when the standard pressure is measured; rn2For the standard pressure acting on the second touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts; s1 is the pressure response corresponding to the second output value; rf1And the first pressure sensor group measures the corresponding pressure response when the standard pressure acts on the second touch position.
In one possible design, the controller is configured to determine an amount of pressure applied to the first virtual key based on the first normalized response and calibration data of the first pressure sensor, and includes:
for determining the amount of pressure exerted on the first virtual key using the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Wherein, FTouch operation 1For the magnitude of the pressure exerted on the first virtual key, vcenter1For said first normalized response, FCalibrationIs a standard pressure, Rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured;
and/or the controller, configured to determine an amount of pressure applied to the second virtual key according to the second normalized response and calibration data of the second pressure sensor, including:
for determining the amount of pressure exerted on the second virtual key using the following formula:
Ftouch operation 2=vcenter2*FCalibration/Rs2;
Wherein, FTouch operationFor the magnitude of the pressure exerted on the second virtual key, vcenter2For said second normalized response, FCalibrationIs a standard pressure, Rs2And the standard pressure acts on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the central position.
The specific arrangement of the related components in the pressure detection module and the specific arrangement mode of the related components in the electronic device can be referred to in the related arrangement mode of the electronic device provided by the embodiment of the application.
An embodiment of the present application further provides a pressure detection method, and referring to fig. 7, the pressure detection method provided in the embodiment of the present application may include S501 to S507:
s501, responding to the touch operation of the user on the touch screen, and acquiring the touch position of the touch operation by the electronic equipment.
The electronic device has a structure corresponding to the embodiment of fig. 4 (a), 4 (b), 5 (a), and 5 (b).
In one implementation, a touch sensor (also referred to as a touch panel) may be included in the cell phone. The touch sensor is used to measure the position coordinates of the hand touching the screen. Touch sensors may be of the following kind, such as but not limited to: surface capacitance type, resistive film type, capacitance type. Here, a surface capacitive touch panel is taken as an example to describe how a mobile phone acquires touch position coordinates. The touch panel includes an electrode layer (or electrode layer) including a plurality of electrodes (4 exemplary electrodes). When a user touches the touch screen, the hand is regarded as a conductor, and capacitance values are respectively generated between the hand and the 4 electrodes. The processor may learn the touch position coordinates of the hand by obtaining 4 different capacitance values.
It should be noted that, in the embodiment of the present application, the method for acquiring the touch position coordinate by the mobile phone includes, but is not limited to, the above method for acquiring the included angle by the touch sensor.
It can be understood that when the touch position of the touch operation is within the defined area of a certain virtual key, it indicates that the user is likely to touch the virtual key, in this case, the mobile phone may perform S502 and subsequent operations, in response to the touch operation. On the contrary, when the touch position is not in the defined area of any virtual key, the description is likely to be the false touch of the user on the touch screen, and in this case, the mobile phone may not respond to the touch operation.
And S502, determining a target pressure sensor group for measuring pressure according to the touch position. And the touch position is in the defined area of the first virtual key, and the target pressure sensor group for measuring the pressure of the touch operation is a second pressure sensor group. The touch position is in the defined area of the second virtual key, and the target pressure sensor group for measuring the pressure of the touch operation is the first pressure sensor group.
It should be understood that after the touch panel acquires the touch position, the touch position information may be transmitted to the processor, and the processor determines, according to the touch position information, that the pressure applied to the touch position, i.e., the pressure of the touch operation, is measured by the pressure sensor group corresponding to a certain virtual key in response to the touch position being within the defined area of the virtual key.
For example, as shown in fig. 6 (a), assuming that the touch location is (x1, y1), which is within the defined area of the VOL + key, the electronic device determines that the pressure applied to the VOL + key needs to be measured using Pad.
For another example, as shown in fig. 6 (b), assuming that the touch position is (x2, y2) and the touch position is within the defined area of the VOL-key, the electronic device determines that the pressure applied to the VOL-key needs to be measured using Pad +.
S503, detecting the pressure of the touch operation by the target pressure sensor group.
For example, as shown in fig. 6 (a), when the touch position of the touch operation is within the defined area of the VOL + key (the specific touch position is (x1, y1)), the handset processor controls Pad-to collect the pressure of the touch operation.
According to the pressure detection method provided by the embodiment of the application, when the pressure sensor group far away from the virtual key is used for measuring the pressure of the virtual key, the deformation generated by hand heat (in the embodiment of the application, the deformation can be called as heat deformation for short) cannot influence the detection result of the far pressure sensor group, so that the pressure measured by the far pressure sensor group is more accurate.
S504, obtaining an output value obtained by measuring the pressure by the target pressure sensor group, and determining the pressure of the touch operation according to the output value obtained by measuring the pressure by the target pressure sensor group.
Specifically, when the touch position is in the defined area of the first virtual key, referring to fig. 8, S504 may be implemented as the following steps:
s504a1, acquiring a first output value obtained by measuring pressure by the second pressure sensor group; s504a2, determining a first normalized response according to the first output value, the calibration data of the first pressure sensor group and the calibration data of the second pressure sensor group; s504a3, determining the pressure applied to the first virtual key according to the first normalized response and the calibration data of the first pressure sensor.
The first output value is obtained by measuring the pressure applied to the first virtual key by the second pressure sensor group; the first normalization response is a pressure response corresponding to the first equivalent pressure measured by the first pressure sensor group when the first equivalent pressure acts on the center position of the first pressure sensor group; the first equivalent pressure is the same pressure as the pressure applied to the first virtual key.
The calibration data of the first pressure sensor group comprises standard pressure acting at different positions, and the first pressure sensor group measures corresponding pressure response when the standard pressure acts; the calibration data for the second pressure sensor set includes a pressure response corresponding to a standard pressure acting at a different location when the second pressure sensor set measures the standard pressure.
As a possible implementation manner, the controller in the electronic device is configured to execute S504.
As a possible implementation, the electronic device determines the first normalized response using the following formula:
Vcenter1=V_1_x1*Rs1/Rn1;
V_1_x1=S0*(Rn1/Rf 2);
wherein, Vcenter1For said first normalized response, V_1_x1The first equivalent pressure acts on a first touch position of the first virtual key, and the first pressure sensor measures a corresponding pressure response when the first equivalent pressure acts on the first virtual key; rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured; rn1For the standard pressure acting on the first touch position, the first pressure sensor group measures the corresponding pressure response when the standard pressure acts; s0 is the pressure response corresponding to the first output value; rf 2Acting on the first touch position for the standard pressure, theAnd the second pressure sensor group measures the corresponding pressure response when the standard pressure is measured.
As a possible implementation manner, determining the magnitude of the pressure applied to the first virtual key according to the first normalized response and the calibration data of the first pressure sensor includes:
determining the amount of pressure exerted on the first virtual key according to the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Wherein, FTouch operation 1For the magnitude of the pressure exerted on the first virtual key, vcenter1For said first normalized response, FCalibrationIs a standard pressure, Rs1The standard pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response when the standard pressure acts.
When the touch position is within the defined area of the second virtual key, referring to fig. 9, S504 may be implemented as: s504b1, acquiring a second output value obtained by measuring the pressure by the first pressure sensor; s504b2, determining a second normalized response according to the second output value, the calibration data of the first pressure sensor group and the calibration data of the second pressure sensor group; s504b3, determining the pressure applied to the second virtual key according to the second normalized response and the calibration data of the second pressure sensor.
The second output value is obtained by measuring the pressure applied to the second virtual key by the first pressure sensor group; the second normalized response is a second equivalent pressure acting on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same as the pressure applied to the second virtual key;
as a possible implementation, determining a second normalized response according to the second output value, the calibration data of the first pressure sensor group, and the calibration data of the second pressure sensor group includes:
determining the second normalized response according to the following equation:
Vcenter2=V_2_x2*Rs2/Rn2;
V_2_x2=S1*(Rn2/Rf1);
wherein, Vcenter2For the second normalized response, V_2_x1For a second equivalent pressure acting on a second touch position of the second virtual key, the second pressure sensor measures a corresponding pressure response when the second equivalent pressure acts on the second virtual key; rs2Acting a standard pressure on a central position of the second pressure sensor group, wherein the second pressure sensor group measures a corresponding pressure response when the standard pressure is measured; rn2For the standard pressure acting on the second touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts; s1 is the pressure response corresponding to the second output value; rf1And the first pressure sensor group measures the corresponding pressure response when the standard pressure acts on the second touch position.
As a possible implementation manner, determining the magnitude of the pressure applied to the second virtual key according to the second normalized response and the calibration data of the second pressure sensor includes:
determining the amount of pressure exerted on the second virtual key according to the following formula:
Ftouch operation 2=vcenter2*FCalibration/Rs2;
Wherein, FTouch operationFor the magnitude of the pressure exerted on the second virtual key, vcenter2For said second normalized response, FCalibrationIs a standard pressure, Rs2And the standard pressure acts on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the central position.
Specific implementation of S504 can be found in the above embodiments.
In other embodiments, the mobile phone may further perform operation S505 as follows:
and S505, the electronic equipment judges whether the touch operation is responded.
As a possible implementation manner, the mobile phone determines whether the touch operation is a valid operation according to the magnitude relationship between S0 and the first threshold or the magnitude relationship between S1 and the second threshold. When the S0 is greater than or equal to the first threshold, or the S1 is greater than or equal to the second threshold, it indicates that the touch operation is likely to be a strong operation, which is likely to be a normal operation of the user. In this case, the mobile phone determines that the touch operation is a valid operation, and may perform S506. Otherwise, when S0 is smaller than the first threshold, or S1 is smaller than the second threshold, the cell phone determines that the touch operation is an invalid operation or a false touch, and the cell phone may perform S507.
As a possible implementation manner, taking fig. 6 (a) as an example, the first threshold is a first touch position where a standard pressure acts on a VOL + key, that is, (x1, y1), and the electronic device measures the corresponding pressure response when the standard pressure is measured through the Pad, that is, the magnitude of the first threshold is equal to Rf 2. The second threshold is the second touch position where the standard pressure acts on the VOL-key, i.e. (x2, y2), and the electronic device measures the corresponding pressure response when the standard pressure is measured through the Pad +, i.e. the magnitude of the second threshold is equal to Rf 1.
In other embodiments, the mobile phone may further determine whether the touch operation is an effective operation according to a magnitude relationship between the first normalized response and a third threshold, or a magnitude relationship between the second normalized response and a fourth threshold. When the mobile phone determines that the touch operation is a valid operation, S506 may be executed. When the mobile phone determines that the touch operation is an invalid operation or a false touch, the mobile phone may execute S507.
As a possible implementation, the size of the third threshold is equal to Rs1 above, and the size of the fourth threshold is equal to Rs2 above.
The electronic device can also judge whether to respond to the touch operation according to other modes or other measured values. The embodiment of the present application does not specifically limit the manner of determining whether to respond to the touch operation.
S506, the electronic equipment responds to the touch operation and executes a touch event corresponding to the touch operation.
In some embodiments, when the electronic device determines that the touch operation is an effective operation, a touch event corresponding to the touch operation needs to be executed in response to the touch operation. Illustratively, as shown in fig. 6 (a), when the user performs a touch operation on the VOL + key, the first normalized pressure response of the touch operation is S0 (Rs 1/R)f 2)>Third threshold Rs1, i.e. S0>Rf 2In this case, the mobile phone may execute a touch event, for example, an icon with a volume turned up is displayed on the interface.
And S507, the electronic equipment does not respond to the touch operation.
The electronic device does not respond to the touch operation, and can be understood as not executing the touch event corresponding to the touch operation. Alternatively, the electronic device may perform other events. For example, when the application processor determines that the touch operation is a false touch, the motor may be driven to generate a vibration to prompt the user that the touch operation is a false touch, or an interface display may prompt the user that the touch operation is a false touch, or otherwise prompt the user that the touch operation is a false touch.
It should be noted that the execution sequence of S505 is not limited in the embodiment of the present application, and may be executed after S504b2, that is, after S1 and/or the second normalization response is obtained, or executed after S504b 3. Alternatively, it is performed after S504a2, or it is performed after S504a 2.
The foregoing embodiments mainly take the example of detecting the pressure applied to the virtual keys on the side of the curved screen as an example, and it should be noted that the technical solution of the embodiments of the present application is also applicable to the front of the curved screen, i.e. the screen except for the left side 10 and the right side 20 shown in fig. 2 (a) and fig. 2 (b). Of course, the technical scheme of the embodiment of the application can also be applied to non-curved screens.
The above embodiments mainly take the example of providing two virtual keys and two sets of pressure sensors, and it should be understood that in the embodiments of the present application, a plurality of virtual keys and a plurality of sets of pressure sensors may also be provided. For example, in fig. 6 (a) or fig. 6 (b), a virtual key Q is further provided to the right of VOL-, Pad-can be used to measure the pressure applied to the VOL + key, and can also be used to measure the pressure applied to the key Q.
Another embodiment of the present application provides a computer-readable storage medium, which includes computer instructions, when the computer instructions are executed on an electronic device, the electronic device is caused to perform the functions or steps performed by the electronic device (such as a mobile phone) in the above-mentioned method embodiments.
Another embodiment of the present application provides a computer program product, which when run on a computer, causes the computer to perform the functions or steps performed by an electronic device (e.g., a mobile phone) in the above method embodiments.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in this embodiment, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit in the embodiments of the present embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present embodiment essentially or partially contributes to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the method described in the embodiments. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above descriptions are only specific embodiments of the present embodiment, but the scope of the present embodiment is not limited thereto, and any changes or substitutions within the technical scope of the present embodiment should be covered by the scope of the present embodiment. Therefore, the protection scope of the present embodiment shall be subject to the protection scope of the claims.
Claims (16)
1. An electronic device is characterized by comprising a frame, a first virtual key, a second virtual key, a first pressure sensor group and a second pressure sensor group; wherein each pressure sensor group comprises one or more pressure sensors;
the first virtual keys and the second virtual keys are arranged on the frame at intervals;
the first pressure sensor group is arranged on the inner side of the frame, and a first distance between the first pressure sensor group and the first virtual key is smaller than a second distance between the first pressure sensor group and the second virtual key;
the second pressure sensor group is arranged on the inner side of the frame, and a third distance between the second pressure sensor group and the first virtual key is larger than a fourth distance between the second pressure sensor group and the second virtual key;
the first pressure sensor group is used for measuring the pressure applied to the second virtual key;
the second pressure sensor group is used for measuring the pressure exerted on the first virtual key.
2. The electronic device of claim 1, wherein the first set of pressure sensors is located substantially directly below the first virtual key and the second set of pressure sensors is located substantially directly below the second virtual key.
3. The electronic device according to claim 1 or 2, wherein the second distance is greater than or equal to 10mm and less than or equal to 30mm, and the third distance is greater than or equal to 10mm and less than or equal to 30 mm.
4. The electronic device of any of claims 1-3, wherein the bezel comprises a middle bezel and/or a curved screen outer side.
5. The electronic device according to any of claims 1-4, further comprising a controller configured to obtain an output value of the pressure measured by the first pressure sensor group, and determine the amount of pressure applied to the second virtual key according to the output value of the pressure measured by the first pressure sensor group;
and/or the controller is used for acquiring an output value obtained by measuring the pressure by the second pressure sensor group and determining the pressure applied to the first virtual key according to the output value obtained by measuring the pressure by the second pressure sensor group.
6. The electronic device of claim 5, wherein the controller is specifically configured to:
acquiring a first output value, wherein the first output value is obtained by measuring the pressure applied to the first virtual key by the second pressure sensor group;
determining a first normalized response based on the first output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the first normalization response is a pressure response corresponding to the first equivalent pressure measured by the first pressure sensor group when the first equivalent pressure acts on the center position of the first pressure sensor group; the first equivalent pressure is the same pressure as the pressure applied to the first virtual key;
determining the magnitude of pressure exerted on the first virtual key according to the first normalized response and calibration data of the first pressure sensor;
and/or the controller is specifically configured to perform the following operations:
acquiring a second output value, wherein the second output value is obtained by measuring the pressure applied to the second virtual key by the first pressure sensor group; determining a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the second normalized response is a second equivalent pressure acting on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same as the pressure applied to the second virtual key; determining the magnitude of pressure exerted on the second virtual key according to the second normalized response and calibration data of the second pressure sensor;
wherein the calibration data for the first pressure sensor group comprises standard pressures acting at different locations, and the first pressure sensor group measures corresponding pressure responses at the standard pressures; the calibration data for the second pressure sensor set includes a pressure response corresponding to a standard pressure acting at a different location when the second pressure sensor set measures the standard pressure.
7. The electronic device of claim 6, wherein the controller, configured to determine a first normalized response based on the first output value, calibration data for the first pressure sensor set, and calibration data for the second pressure sensor set, comprises:
for determining the first normalized response using the following equation:
Vcenter1=V_1_x1*Rs1/Rn1;
V_1_x1=S0*(Rn1/Rf2);
wherein, Vcenter1For said first normalized response, V_1_x1The first equivalent pressure acts on a first touch position of the first virtual key, and the first pressure sensor measures a corresponding pressure response when the first equivalent pressure acts on the first virtual key; rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured; rn1Acting the standard pressure on the first touch position, the first pressureThe sensor group measures the corresponding pressure response when the standard pressure is measured; s0 is the pressure response corresponding to the first output value; rf2For the standard pressure acting on the first touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts;
the controller, configured to determine a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group, includes:
for determining the second normalized response using the following equation:
Vcenter2=V_2_x2*Rs2/Rn2;
V_2_x2=S1*(Rn2/Rf1);
wherein, Vcenter2For the second normalized response, V_2_x1For a second equivalent pressure acting on a second touch position of the second virtual key, the second pressure sensor measures a corresponding pressure response when the second equivalent pressure acts on the second virtual key; rs2Acting a standard pressure on a central position of the second pressure sensor group, wherein the second pressure sensor group measures a corresponding pressure response when the standard pressure is measured; rn2For the standard pressure acting on the second touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts; s1 is the pressure response corresponding to the second output value; rf1And the first pressure sensor group measures the corresponding pressure response when the standard pressure acts on the second touch position.
8. The electronic device of claim 6 or 7, wherein the controller, configured to determine the amount of pressure applied to the first virtual key based on the first normalized response and calibration data of the first pressure sensor, comprises:
for determining the amount of pressure exerted on the first virtual key using the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Wherein, FTouch operation 1For the magnitude of the pressure exerted on the first virtual key, vcenter1For said first normalized response, FCalibrationIs a standard pressure, Rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured;
and/or the controller, configured to determine an amount of pressure applied to the second virtual key according to the second normalized response and calibration data of the second pressure sensor, including:
for determining the amount of pressure exerted on the second virtual key using the following formula:
Ftouch operation 2=vcenter2*FCalibration/Rs2;
Wherein, FTouch operationFor the magnitude of the pressure exerted on the second virtual key, vcenter2For said second normalized response, FCalibrationIs a standard pressure, Rs2And the standard pressure acts on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the central position.
9. A pressure detection module is characterized by comprising a first pressure sensor group, a second pressure sensor group and a controller; wherein each pressure sensor group comprises one or more pressure sensors; the module is used for electronic equipment, and the electronic equipment comprises a frame, a first virtual key and a second virtual key; the first virtual keys and the second virtual keys are arranged on the frame at intervals;
the first pressure sensor group is arranged on the inner side of the frame, and a first distance between the first pressure sensor group and the first virtual key is smaller than a second distance between the first pressure sensor group and the second virtual key;
the second pressure sensor group is arranged on the inner side of the frame, and a third distance between the second pressure sensor group and the first virtual key is larger than a fourth distance between the second pressure sensor group and the second virtual key;
the first pressure sensor group is used for measuring the pressure applied to the second virtual key;
the second pressure sensor group is used for measuring the pressure exerted on the first virtual key.
10. The pressure sensing module of claim 9, wherein the first set of pressure sensors is located substantially directly under the first virtual key and the second set of pressure sensors is located substantially directly under the second virtual key.
11. The pressure detection module of claim 9 or 10, wherein the second distance is greater than or equal to 10mm and less than or equal to 30mm, and the third distance is greater than or equal to 10mm and less than or equal to 30 mm.
12. A pressure sensing module according to any of claims 9-11, characterized in that the frame comprises a middle frame and/or a curved screen outer side.
13. The pressure detection module according to any one of claims 9 to 12, wherein the controller is configured to obtain an output value obtained by measuring the pressure by the first pressure sensor group, and determine the magnitude of the pressure applied to the second virtual key according to the pressure measured by the first pressure sensor group;
and/or the controller is used for acquiring the pressure measured by the second pressure sensor group and determining the pressure applied to the first virtual key according to an output value obtained by measuring the pressure by the second pressure sensor group.
14. The pressure detection module of claim 13, wherein the controller is configured to:
acquiring a first output value, wherein the first output value is obtained by measuring the pressure applied to the first virtual key by the second pressure sensor group;
determining a first normalized response based on the first output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the first normalization response is a pressure response corresponding to the first equivalent pressure measured by the first pressure sensor group when the first equivalent pressure acts on the center position of the first pressure sensor group; the first equivalent pressure is the same pressure as the pressure applied to the first virtual key;
determining the magnitude of pressure exerted on the first virtual key according to the first normalized response and calibration data of the first pressure sensor;
and/or the controller is specifically configured to perform the following operations:
acquiring a second output value, wherein the second output value is obtained by measuring the pressure applied to the second virtual key by the first pressure sensor group; determining a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group; the second normalized response is a second equivalent pressure acting on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same as the pressure applied to the second virtual key; determining the magnitude of pressure exerted on the second virtual key according to the second normalized response and calibration data of the second pressure sensor;
wherein the calibration data for the first pressure sensor group comprises standard pressures acting at different locations, and the first pressure sensor group measures corresponding pressure responses at the standard pressures; the calibration data for the second pressure sensor set includes a pressure response corresponding to a standard pressure acting at a different location when the second pressure sensor set measures the standard pressure.
15. The pressure sensing module of claim 14, wherein the controller, configured to determine a first normalized response based on the first output value, calibration data for the first pressure sensor set, and calibration data for the second pressure sensor set, comprises:
for determining the first normalized response using the following equation:
Vcenter1=V_1_x1*Rs1/Rn1;
V_1_x1=S0*(Rn1/Rf2);
wherein, Vcenter1For said first normalized response, V_1_x1The first equivalent pressure acts on a first touch position of the first virtual key, and the first pressure sensor measures a corresponding pressure response when the first equivalent pressure acts on the first virtual key; rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured; rn1For the standard pressure acting on the first touch position, the first pressure sensor group measures the corresponding pressure response when the standard pressure acts; s0 is the pressure response corresponding to the first output value; rf2For the standard pressure acting on the first touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts;
the controller, configured to determine a second normalized response based on the second output value, the calibration data for the first pressure sensor group, and the calibration data for the second pressure sensor group, includes:
for determining the second normalized response using the following equation:
Vcenter2=V_2_x2*Rs2/Rn2;
V_2_x2=S1*(Rn2/Rf1);
wherein, Vcenter2For the second normalized response, V_2_x1For a second equivalent pressure acting on a second touch position of the second virtual key, the second pressure sensor measures a corresponding pressure response when the second equivalent pressure acts on the second virtual key; rs2Acting a standard pressure on a central position of the second pressure sensor group, wherein the second pressure sensor group measures a corresponding pressure response when the standard pressure is measured; rn2For the standard pressure acting on the second touch position, the second pressure sensor group measures the corresponding pressure response when the standard pressure acts; s1 is the pressure response corresponding to the second output value; rf1And the first pressure sensor group measures the corresponding pressure response when the standard pressure acts on the second touch position.
16. The pressure detection module of claim 14 or 15, wherein the controller is configured to determine the amount of pressure applied to the first virtual key based on the first normalized response and calibration data of the first pressure sensor, and comprises:
for determining the amount of pressure exerted on the first virtual key using the following formula:
Ftouch operation 1=vcenter1*FCalibration/Rs1;
Wherein, FTouch operation 1For the magnitude of the pressure exerted on the first virtual key, vcenter1For said first normalized response, FCalibrationIs a standard pressure, Rs1Acting on the center position of the first pressure sensor group for standard pressure, wherein the first pressure sensor group measures the corresponding pressure response when the standard pressure is measured;
and/or the controller, configured to determine an amount of pressure applied to the second virtual key according to the second normalized response and calibration data of the second pressure sensor, including:
for determining the amount of pressure exerted on the second virtual key using the following formula:
Ftouch operation 2=vcenter2*FCalibration/Rs2;
Wherein, FTouch operationFor the magnitude of the pressure exerted on the second virtual key, vcenter2For said second normalized response, FCalibrationIs a standard pressure, Rs2And the standard pressure acts on the central position of the second pressure sensor group, and the second pressure sensor group measures the corresponding pressure response when the standard pressure acts on the central position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010739502.1A CN114006977B (en) | 2020-07-28 | 2020-07-28 | Pressure detection module and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010739502.1A CN114006977B (en) | 2020-07-28 | 2020-07-28 | Pressure detection module and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114006977A true CN114006977A (en) | 2022-02-01 |
CN114006977B CN114006977B (en) | 2022-10-11 |
Family
ID=79920553
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010739502.1A Active CN114006977B (en) | 2020-07-28 | 2020-07-28 | Pressure detection module and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114006977B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080028852A (en) * | 2008-03-12 | 2008-04-01 | 주식회사 애트랩 | Touch sensor device and the method of determining coordinates of pointing thereof |
CN105677200A (en) * | 2015-12-31 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal control method and device and mobile terminal |
CN105912159A (en) * | 2016-04-06 | 2016-08-31 | 宸鸿科技(厦门)有限公司 | Pressure sensing method and system thereof |
CN107390907A (en) * | 2016-05-17 | 2017-11-24 | 北京小米移动软件有限公司 | Touch module, electronic equipment and pressure calibration method |
CN107543651A (en) * | 2016-06-24 | 2018-01-05 | 上海北京大学微电子研究院 | A kind of Pressure Transducer Calibration System |
CN107765925A (en) * | 2017-11-13 | 2018-03-06 | 厦门天马微电子有限公司 | A kind of display panel, display device and method for controlling display panel |
CN108287633A (en) * | 2015-10-08 | 2018-07-17 | 广东欧珀移动通信有限公司 | A kind of calibration method and device of pressure sensor |
-
2020
- 2020-07-28 CN CN202010739502.1A patent/CN114006977B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080028852A (en) * | 2008-03-12 | 2008-04-01 | 주식회사 애트랩 | Touch sensor device and the method of determining coordinates of pointing thereof |
CN108287633A (en) * | 2015-10-08 | 2018-07-17 | 广东欧珀移动通信有限公司 | A kind of calibration method and device of pressure sensor |
CN105677200A (en) * | 2015-12-31 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal control method and device and mobile terminal |
CN105912159A (en) * | 2016-04-06 | 2016-08-31 | 宸鸿科技(厦门)有限公司 | Pressure sensing method and system thereof |
CN107390907A (en) * | 2016-05-17 | 2017-11-24 | 北京小米移动软件有限公司 | Touch module, electronic equipment and pressure calibration method |
CN107543651A (en) * | 2016-06-24 | 2018-01-05 | 上海北京大学微电子研究院 | A kind of Pressure Transducer Calibration System |
CN107765925A (en) * | 2017-11-13 | 2018-03-06 | 厦门天马微电子有限公司 | A kind of display panel, display device and method for controlling display panel |
Also Published As
Publication number | Publication date |
---|---|
CN114006977B (en) | 2022-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110456938B (en) | False touch prevention method for curved screen and electronic equipment | |
WO2020168965A1 (en) | Method for controlling electronic device having folding screen, and electronic device | |
JP7403641B2 (en) | Touch screens, electronic devices, and display control methods | |
US20220197486A1 (en) | Operation method for split-screen display and electronic device | |
US20220206682A1 (en) | Gesture Interaction Method and Apparatus, and Terminal Device | |
CN110798568B (en) | Display control method of electronic equipment with folding screen and electronic equipment | |
WO2021036776A1 (en) | Wireless charging method and electronic device | |
WO2021180089A1 (en) | Interface switching method and apparatus and electronic device | |
CN114422340A (en) | Log reporting method, electronic device and storage medium | |
US20240178771A1 (en) | Method and apparatus for adjusting vibration waveform of linear motor | |
WO2021052015A1 (en) | Touch screen control method and electronic device | |
CN111625175B (en) | Touch event processing method, touch event processing device, medium and electronic equipment | |
CN113781548B (en) | Multi-equipment pose measurement method, electronic equipment and system | |
CN114006977B (en) | Pressure detection module and electronic equipment | |
US20220317841A1 (en) | Screenshot Method and Related Device | |
US12098978B2 (en) | Method and system for measuring motor damping | |
CN111723615B (en) | Method and device for judging matching of detected objects in detected object image | |
CN114079809A (en) | Terminal and input method and device thereof | |
CN112463086A (en) | Display control method and electronic equipment | |
RU2795259C1 (en) | Touch screen, electronic device and display control method | |
WO2023207862A1 (en) | Method and apparatus for determining head posture | |
CN117472250A (en) | Electronic book page turning processing method and terminal | |
CN116560768A (en) | Interface display method and electronic equipment | |
CN113325992A (en) | Sliding operation processing method and device, electronic equipment and storage medium | |
CN114518495A (en) | Method and terminal for detecting board noise |
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 |