Movatterモバイル変換


[0]ホーム

URL:


CN114006977B - Pressure detection module and electronic equipment - Google Patents

Pressure detection module and electronic equipment
Download PDF

Info

Publication number
CN114006977B
CN114006977BCN202010739502.1ACN202010739502ACN114006977BCN 114006977 BCN114006977 BCN 114006977BCN 202010739502 ACN202010739502 ACN 202010739502ACN 114006977 BCN114006977 BCN 114006977B
Authority
CN
China
Prior art keywords
pressure
sensor group
pressure sensor
response
virtual key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010739502.1A
Other languages
Chinese (zh)
Other versions
CN114006977A (en
Inventor
王希林
刘登宽
李广志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN202010739502.1ApriorityCriticalpatent/CN114006977B/en
Publication of CN114006977ApublicationCriticalpatent/CN114006977A/en
Application grantedgrantedCritical
Publication of CN114006977BpublicationCriticalpatent/CN114006977B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请实施例提供一种压力检测模组及电子设备,涉及终端技术领域,可提升压力检测的准确性。该电子设备包括边框、第一虚拟按键、第二虚拟按键、第一压力传感器组以及第二压力传感器组;第一虚拟按键以及第二虚拟按键间隔设置在边框上;第一压力传感器组设置在边框内侧,第一压力传感器组与第一虚拟按键之间的第一距离比第一压力传感器组与第二虚拟按键之间的第二距离小;第二压力传感器组设置在边框内侧,第二压力传感器组与第一虚拟按键之间的第三距离比第二压力传感器组与第二虚拟按键之间的第四距离大;第一压力传感器组用于测量施加在第二虚拟按键上的压力;第二压力传感器组用于测量施加在第一虚拟按键上的压力。

Figure 202010739502

Embodiments of the present application provide a pressure detection module and an electronic device, which relate to the technical field of terminals and can improve the accuracy of pressure detection. 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; the first virtual key and the second virtual key are arranged on the frame at intervals; the first pressure sensor group is arranged on the frame Inside the frame, the first distance between the first pressure sensor group and the first virtual key is smaller than the second distance between the first pressure sensor group and the second virtual key; the second pressure sensor group is arranged inside the frame, the second The third distance between the pressure sensor group and the first virtual key is greater than the fourth distance between the second pressure sensor group and the second virtual key; the first pressure sensor group is used to measure the pressure exerted on the second virtual key ; The second pressure sensor group is used to measure the pressure exerted on the first virtual key.

Figure 202010739502

Description

Translated fromChinese
压力检测模组及电子设备Pressure detection module and electronic equipment

技术领域technical field

本申请实施例涉及终端技术领域,尤其涉及压力检测模组及电子设备。The embodiments of the present application relate to the technical field of terminals, and in particular, to a pressure detection module and an electronic device.

背景技术Background technique

随着智能终端的普及和扩展,现有终端已不满足于平面触摸屏。市场上已有部分终端采用曲面屏,如曲面屏手机。其中,曲面屏手机的侧边是有弧度的触摸屏。With the popularization and expansion of intelligent terminals, existing terminals are no longer satisfied with flat touch screens. Some terminals on the market already use curved screens, such as mobile phones with curved screens. Among them, the side of the curved screen mobile phone is a curved touch screen.

曲面屏手机中设置有压力传感器,当用户的手按压手机侧边时,对屏幕产生挤压,屏幕产生形变,压力传感器会根据这些形变计算用户在屏幕施加的压力大小。The curved screen mobile phone is equipped with a pressure sensor. When the user's hand presses the side of the mobile phone, the screen is squeezed and the screen is deformed. The pressure sensor will calculate the pressure exerted by the user on the screen according to these deformations.

其中,在低温的使用场景下,当用户的手触摸到曲面屏,手与屏幕的接触位置受热,受热的屏幕易产生形变。该受热产生的形变与用户触摸操作产生的形变叠加,手机基于该叠加形变计算用户触摸操作对应的压力。由于叠加形变并非用户触摸操作对应的真实形变,所以,目前的压力计算方式,计算的压力大小出现误差的概率较大。这种因温度影响导致的检测误差可称为温漂。因此,如何准确的计算用户触摸操作对应的压力,是一个亟待解决的问题。Among them, in a low temperature usage scenario, when the user's hand touches the curved screen, the contact position between the hand and the screen is heated, and the heated screen is easily deformed. The deformation generated by the heating is superimposed with the deformation generated by the user's touch operation, and the mobile phone calculates the pressure corresponding to the user's touch operation based on the superimposed deformation. Since the superimposed deformation is not the real deformation corresponding to the user's touch operation, the current pressure calculation method has a high probability of error in the calculated pressure magnitude. This detection error caused by the influence of temperature can be called temperature drift. Therefore, how to accurately calculate the pressure corresponding to the user's touch operation is an urgent problem to be solved.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种压力检测方法及电子设备,可以准确测量用户对屏幕施加的压力。Embodiments of the present application provide a pressure detection method and an electronic device, which can accurately measure the pressure exerted by a user on a screen.

为达到上述目的,本申请实施例采用如下技术方案: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, 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 includes a or multiple pressure sensors;

所述第一虚拟按键以及所述第二虚拟按键间隔设置在所述边框上;The first virtual key and the second virtual key are arranged on the frame at intervals;

所述第一压力传感器组设置在所述边框内侧,所述第一压力传感器组与所述第一虚拟按键之间的第一距离比所述第一压力传感器组与所述第二虚拟按键之间的第二距离小;The first pressure sensor group is arranged inside the frame, and the first distance between the first pressure sensor group and the first virtual key is larger than the distance between the first pressure sensor group and the second virtual key. The second distance between the two is small;

所述第二压力传感器组设置在所述边框内侧,所述第二压力传感器组与所述第一虚拟按键之间的第三距离比所述第二压力传感器组与所述第二虚拟按键之间的第四距离大;The second pressure sensor group is arranged inside the frame, and the third distance between the second pressure sensor group and the first virtual key is larger than the distance between the second pressure sensor group and the second virtual key. The fourth distance between them is the largest;

所述第一压力传感器组用于测量施加在所述第二虚拟按键上的压力;the first pressure sensor group is used to measure the pressure exerted on the second virtual key;

所述第二压力传感器组用于测量施加在所述第一虚拟按键上的压力。The second pressure sensor group is used to measure the pressure exerted on the first virtual key.

通常,用户触摸某个虚拟按键时,手的热量导致屏幕产生的形变通常仅作用在屏幕的一定区域内,换句话说,仅手触摸位置的一定区域内才产生热量形变。在本申请实施例提供的电子设备中,用于测量施加在第一虚拟按键上的压力的压力传感器组是距离第一虚拟按键较远的第二压力传感器组,手热量产生的形变(在本申请实施例中可以简称热量形变)并不能影响到该较远的第二压力传感器组的检测结果,因此,使用该第二压力传感器组测量的压力更准确。类似的,用于测量施加在第二虚拟按键上的压力的压力传感器组为距离第二虚拟按键较远的第一压力传感器组,能够保证测量结果更为准确。Usually, 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 thermal deformation occurs only in a certain area of the touch position of the hand. In the electronic device provided by the embodiment of the present application, the pressure sensor group used to measure the pressure applied to the first virtual key is the second pressure sensor group farther away from the first virtual key, and the deformation caused by the heat of the hand (herein In the application embodiment, it may be referred to as thermal deformation) does not affect the detection result of the second remote pressure sensor group, therefore, the pressure measured by the second pressure sensor group is more accurate. Similarly, the pressure sensor group for measuring the pressure exerted on the second virtual key is the first pressure sensor group farther away from the second virtual key, which can ensure that the measurement result is more accurate.

在一种可能的设计中,所述电子设备还包括控制器,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组所测得压力的输出值,确定施加在所述第二虚拟按键上的压力大小;In a possible design, the electronic device further includes a controller, and the controller is configured to acquire an output value obtained by measuring the pressure of the first pressure sensor group, and obtain an output value obtained by measuring the pressure of the first pressure sensor group, and according to the pressure measured by the first pressure sensor group The output value of , determines the pressure applied to the second virtual key;

和/或,所述控制器,用于获取所述第二压力传感器组测量压力得到的输出值,并根据所述第二压力传感器组所测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to obtain the output value obtained by measuring the pressure of the second pressure sensor group, and determine the pressure applied to the first pressure sensor according to the output value obtained by the pressure measured by the second pressure sensor group. The amount of pressure on the virtual keys.

在一种可能的设计中,所述控制器,具体用于执行如下操作:In a possible design, the controller is specifically configured to perform the following operations:

获取第一输出值,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;acquiring a first output value, where the first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group;

根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力;A first normalized response is determined 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; the first normalized response is the first The equivalent pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as that applied to the first equivalent pressure. The same amount of pressure as the pressure on the virtual keys;

根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the calibration data of the first pressure sensor;

和/或,所述控制器,具体用于执行如下操作:And/or, the controller is specifically configured to perform the following operations:

获取第二输出值,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值;根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小;Acquire a second output value, the second output value is an output value obtained by measuring the pressure exerted on the second virtual key by the first pressure sensor group; according to the second output value, the first pressure The calibration data of the sensor group and the calibration data of the second pressure sensor group determine a second normalized response; the second normalized response is the second equivalent pressure acting on the second pressure sensor group At the center position, the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same pressure as the pressure applied on the second virtual key; according to The second normalized response and the calibration data of the second pressure sensor determine the magnitude of the pressure exerted on the second virtual key;

其中,所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, the calibration data of the first pressure sensor group includes standard pressure acting on different positions, and the first pressure sensor group measures the corresponding pressure response of the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure The pressure acts on different positions, and the second pressure sensor group measures the corresponding pressure responses of the standard pressure.

在一种可能的设计中,所述控制器,用于根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应,包括:In a possible design, the controller is configured to determine the first normalized value 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 A normalized response, including:

用于采用如下公式确定所述第一归一化响应:is used to determine the first normalized response using the following formula:

Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;

V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );

其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the the first touch position, and the corresponding pressure response when the second pressure sensor group measures the standard pressure;

所述控制器,用于根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:The controller, configured to determine 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:

用于采用如下公式确定所述第二归一化响应:is used to determine the second normalized response using the following formula:

Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;

V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );

其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.

在一种可能的设计中,所述控制器,用于根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括:In a possible design, the controller is configured to determine 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, including: :

用于采用如下公式确定施加在所述第一虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the first virtual key:

F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;

其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Wherein, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure the center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure;

和/或所述控制器,用于根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,包括:用于采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:and/or the controller, configured to determine 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, including: using the following The formula determines the magnitude of the pressure exerted on the second virtual key:

F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;

其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.

第二方面,本申请提供一种压力检测模组,该模组包括第一压力传感器组、第二压力传感器组以及控制器;其中,每个压力传感器组包括一个或多个压力传感器;所述模组用于电子设备,所述电子设备包括边框、第一虚拟按键、第二虚拟按键;所述第一虚拟按键以及所述第二虚拟按键间隔设置在所述边框上;In a second aspect, the present application provides a pressure detection module, the module includes 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 The module is used in an electronic device, and the electronic device includes a frame, a first virtual key, and a second virtual key; the first virtual key and the second virtual key are arranged on the frame at intervals;

所述第一压力传感器组设置在所述边框内侧,所述第一压力传感器组与所述第一虚拟按键之间的第一距离比所述第一压力传感器组与所述第二虚拟按键之间的第二距离小;The first pressure sensor group is arranged inside the frame, and the first distance between the first pressure sensor group and the first virtual key is larger than the distance between the first pressure sensor group and the second virtual key. The second distance between the two is small;

所述第二压力传感器组设置在所述边框内侧,所述第二压力传感器组与所述第一虚拟按键之间的第三距离比所述第二压力传感器组与所述第二虚拟按键之间的第四距离大;The second pressure sensor group is arranged inside the frame, and the third distance between the second pressure sensor group and the first virtual key is larger than the distance between the second pressure sensor group and the second virtual key. The fourth distance between them is the largest;

所述第一压力传感器组用于测量施加在所述第二虚拟按键上的压力;the first pressure sensor group is used to measure the pressure exerted on the second virtual key;

所述第二压力传感器组用于测量施加在所述第一虚拟按键上的压力。The second pressure sensor group is used to measure the pressure exerted on the first virtual key.

在一种可能的设计中,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组测得的压力,确定施加在所述第二虚拟按键上的压力大小;In a possible design, the controller is configured to obtain an output value obtained by measuring the pressure of the first pressure sensor group, and determine the pressure applied to the second virtual pressure sensor according to the pressure measured by the first pressure sensor group. The amount of pressure on the key;

和/或,所述控制器,用于获取所述第二压力传感器组测得的压力,并根据所述第二压力传感器组测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to acquire the pressure measured by the second pressure sensor group, and determine to apply the pressure on the first virtual key according to the output value obtained by measuring the pressure of the second pressure sensor group pressure level.

在一种可能的设计中,所述控制器,具体用于执行如下操作:In a possible design, the controller is specifically configured to perform the following operations:

获取第一输出值,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;acquiring a first output value, where the first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group;

根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力;A first normalized response is determined 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; the first normalized response is the first The equivalent pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as that applied to the first equivalent pressure. The same amount of pressure as the pressure on the virtual keys;

根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the calibration data of the first pressure sensor;

和/或,所述控制器,具体用于执行如下操作:And/or, the controller is specifically configured to perform the following operations:

获取第二输出值,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值;根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小;Acquire a second output value, the second output value is an output value obtained by measuring the pressure exerted on the second virtual key by the first pressure sensor group; according to the second output value, the first pressure The calibration data of the sensor group and the calibration data of the second pressure sensor group determine a second normalized response; the second normalized response is the second equivalent pressure acting on the second pressure sensor group At the center position, the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same pressure as the pressure applied on the second virtual key; according to The second normalized response and the calibration data of the second pressure sensor determine the magnitude of the pressure exerted on the second virtual key;

其中,所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, the calibration data of the first pressure sensor group includes standard pressure acting on different positions, and the first pressure sensor group measures the corresponding pressure response of the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure The pressure acts on different positions, and the second pressure sensor group measures the corresponding pressure responses of the standard pressure.

在一种可能的设计中,所述控制器,用于根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应,包括:In a possible design, the controller is configured to determine the first normalized value 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 A normalized response, including:

用于采用如下公式确定所述第一归一化响应:is used to determine the first normalized response using the following formula:

Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;

V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );

其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the the first touch position, and the corresponding pressure response when the second pressure sensor group measures the standard pressure;

所述控制器,用于根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:The controller, configured to determine 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:

用于采用如下公式确定所述第二归一化响应:is used to determine the second normalized response using the following formula:

Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;

V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );

其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.

在一种可能的设计中,所述控制器,用于根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括:In a possible design, the controller is configured to determine 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, including: :

用于采用如下公式确定施加在所述第一虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the first virtual key:

F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;

其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Wherein, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure the center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure;

和/或所述控制器,用于根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,包括:用于采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:and/or the controller, configured to determine 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, including: using the following The formula determines the magnitude of the pressure exerted on the second virtual key:

F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;

其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.

第三方面,本申请提供一种压力检测模组,该模组包括第一压力传感器组、第二压力传感器组;其中,每个压力传感器组包括一个或多个压力传感器;所述模组用于电子设备,所述电子设备包括边框、第一虚拟按键、第二虚拟按键以及控制器;所述第一虚拟按键以及所述第二虚拟按键间隔设置在所述边框上;In a third aspect, the present application provides a pressure detection module, the module includes a first pressure sensor group and a second pressure sensor group; wherein each pressure sensor group includes one or more pressure sensors; In an electronic device, the electronic device includes a frame, a first virtual key, a second virtual key and a controller; the first virtual key and the second virtual key are arranged on the frame at intervals;

所述第一压力传感器组设置在所述边框内侧,所述第一压力传感器组与所述第一虚拟按键之间的第一距离比所述第一压力传感器组与所述第二虚拟按键之间的第二距离小;The first pressure sensor group is arranged inside the frame, and the first distance between the first pressure sensor group and the first virtual key is larger than the distance between the first pressure sensor group and the second virtual key. The second distance between the two is small;

所述第二压力传感器组设置在所述边框内侧,所述第二压力传感器组与所述第一虚拟按键之间的第三距离比所述第二压力传感器组与所述第二虚拟按键之间的第四距离大;The second pressure sensor group is arranged inside the frame, and the third distance between the second pressure sensor group and the first virtual key is larger than the distance between the second pressure sensor group and the second virtual key. The fourth distance between them is the largest;

所述第一压力传感器组用于测量施加在所述第二虚拟按键上的压力;the first pressure sensor group is used to measure the pressure exerted on the second virtual key;

所述第二压力传感器组用于测量施加在所述第一虚拟按键上的压力。The second pressure sensor group is used to measure the pressure exerted on the first virtual key.

在一种可能的设计中,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组测得的压力,确定施加在所述第二虚拟按键上的压力大小;In a possible design, the controller is configured to obtain an output value obtained by measuring the pressure of the first pressure sensor group, and determine the pressure applied to the second virtual pressure sensor according to the pressure measured by the first pressure sensor group. The amount of pressure on the key;

和/或,所述控制器,用于获取所述第二压力传感器组测得的压力,并根据所述第二压力传感器组测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to acquire the pressure measured by the second pressure sensor group, and determine to apply the pressure on the first virtual key according to the output value obtained by measuring the pressure of the second pressure sensor group pressure level.

在一种可能的设计中,所述控制器,具体用于执行如下操作:In a possible design, the controller is specifically configured to perform the following operations:

获取第一输出值,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;acquiring a first output value, where the first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group;

根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力;A first normalized response is determined 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; the first normalized response is the first The equivalent pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as that applied to the first equivalent pressure. The same amount of pressure as the pressure on the virtual keys;

根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the calibration data of the first pressure sensor;

和/或,所述控制器,具体用于执行如下操作:And/or, the controller is specifically configured to perform the following operations:

获取第二输出值,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值;根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小;Acquire a second output value, the second output value is an output value obtained by measuring the pressure exerted on the second virtual key by the first pressure sensor group; according to the second output value, the first pressure The calibration data of the sensor group and the calibration data of the second pressure sensor group determine a second normalized response; the second normalized response is the second equivalent pressure acting on the second pressure sensor group At the center position, the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same pressure as the pressure applied on the second virtual key; according to The second normalized response and the calibration data of the second pressure sensor determine the magnitude of the pressure exerted on the second virtual key;

其中,所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, the calibration data of the first pressure sensor group includes standard pressure acting on different positions, and the first pressure sensor group measures the corresponding pressure response of the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure The pressure acts on different positions, and the second pressure sensor group measures the corresponding pressure responses of the standard pressure.

在一种可能的设计中,所述控制器,用于根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应,包括:In a possible design, the controller is configured to determine the first normalized value 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 A normalized response, including:

用于采用如下公式确定所述第一归一化响应:is used to determine the first normalized response using the following formula:

Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;

V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );

其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the the first touch position, and the corresponding pressure response when the second pressure sensor group measures the standard pressure;

所述控制器,用于根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:The controller, configured to determine 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:

用于采用如下公式确定所述第二归一化响应:is used to determine the second normalized response using the following formula:

Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;

V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );

其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.

在一种可能的设计中,所述控制器,用于根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括:In a possible design, the controller is configured to determine 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, including: :

用于采用如下公式确定施加在所述第一虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the first virtual key:

F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;

其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Wherein, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure the center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure;

和/或所述控制器,用于根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,包括:and/or the controller, configured to determine the magnitude of the pressure applied on the second virtual key according to the second normalized response and the calibration data of the second pressure sensor, including:

用于采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the second virtual key:

F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;

其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.

第四方面,本申请提供一种压力检测方法,该方法应用在电子设备,所述电子设备包括边框、第一虚拟按键、第二虚拟按键、第一压力传感器组以及第二压力传感器组;其中,每个压力传感器组包括一个或多个压力传感器;In a fourth aspect, the present application provides a pressure detection method, which is applied to an electronic device, and 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 includes one or more pressure sensors;

所述第一虚拟按键以及所述第二虚拟按键间隔设置在所述边框上;The first virtual key and the second virtual key are arranged on the frame at intervals;

所述第一压力传感器组设置在所述边框内侧,所述第一压力传感器组与所述第一虚拟按键之间的第一距离比所述第一压力传感器组与所述第二虚拟按键之间的第二距离小;The first pressure sensor group is arranged inside the frame, and the first distance between the first pressure sensor group and the first virtual key is larger than the distance between the first pressure sensor group and the second virtual key. The second distance between the two is small;

所述第二压力传感器组设置在所述边框内侧,所述第二压力传感器组与所述第一虚拟按键之间的第三距离比所述第二压力传感器组与所述第二虚拟按键之间的第四距离大;The second pressure sensor group is arranged inside the frame, and the third distance between the second pressure sensor group and the first virtual key is larger than the distance between the second pressure sensor group and the second virtual key. The fourth distance between them is the largest;

所述第一压力传感器组用于测量施加在所述第二虚拟按键上的压力;the first pressure sensor group is used to measure the pressure exerted on the second virtual key;

所述第二压力传感器组用于测量施加在所述第一虚拟按键上的压力。The second pressure sensor group is used to measure the pressure exerted on the first virtual key.

该方法包括:响应于用户在触摸屏上的触摸操作,电子设备获取该触摸操作的触摸位置。根据触摸位置,确定用于测量压力的目标压力传感器组,并通过目标压力传感器组检测上述触摸操作的压力。The method includes: in response to a user's touch operation on the touch screen, the electronic device acquires the touch position of the touch operation. According to the touch position, a target pressure sensor group for measuring pressure is determined, and the pressure of the above-mentioned touch operation is detected by the target pressure sensor group.

其中,触摸位置在第一虚拟按键的定义区域内,用于测量触摸操作的压力的目标压力传感器组为第二压力传感器组。触摸位置在第二虚拟按键的定义区域内,用于测量触摸操作的压力的目标压力传感器组为第一压力传感器组。Wherein, the touch position is within the defined area of the first virtual key, and the target pressure sensor group for measuring the pressure of the touch operation is the second pressure sensor group. The touch position is within 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: obtain the output value obtained by measuring the pressure of the first pressure sensor group, and determine according to the pressure measured by the first pressure sensor group the magnitude of the pressure exerted on the second virtual key;

当目标压力传感器组为第二压力传感器组,则执行如下操作:获取所述第二压力传感器组测得的压力,并根据所述第二压力传感器组测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。When the target pressure sensor group is the second pressure sensor group, perform the following operations: obtain the pressure measured by the second pressure sensor group, and determine the pressure applied to the Describe the pressure on the first virtual key.

在一种可能的设计中,获取所述第二压力传感器组测得的压力,并根据所述第二压力传感器组测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小,包括:In a possible design, the pressure measured by the second pressure sensor group is acquired, and the magnitude of the pressure applied to the first virtual key is determined according to the output value obtained by the pressure measurement of the second pressure sensor group ,include:

获取第一输出值,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;acquiring a first output value, where the first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group;

根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力;A first normalized response is determined 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; the first normalized response is the first The equivalent pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as that applied to the first equivalent pressure. The same amount of pressure as the pressure on the virtual keys;

根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the 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 the output value obtained by the pressure measurement of the first pressure sensor group , which can be implemented as:

根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;A second normalized response is determined 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; the second normalized response is the second The equivalent pressure acts on the center 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 that applied to the second equivalent pressure. The pressure on the second virtual key has the same pressure;

根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the second virtual key according to the second normalized response and the calibration data of the second pressure sensor;

其中,所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, the calibration data of the first pressure sensor group includes standard pressure acting on different positions, and the first pressure sensor group measures the corresponding pressure response of the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure The pressure acts on different positions, and the second pressure sensor group measures the corresponding pressure responses of the standard pressure.

在一种可能的设计中,根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应,包括:In a possible design, determining the 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 includes:

采用如下公式确定所述第一归一化响应:The first normalized response is determined using the following formula:

Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;

V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );

其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the the first touch position, and the corresponding pressure response when the second pressure sensor group measures the standard pressure;

在一种可能的设计中,根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:In a possible design, determining the 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:

采用如下公式确定所述第二归一化响应:The second normalized response is determined using the following formula:

Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;

V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );

其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.

在一种可能的设计中,根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括:In a possible design, 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, including:

采用如下公式确定施加在所述第一虚拟按键上的所述压力大小:The magnitude of the pressure exerted on the first virtual key is determined by the following formula:

F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;

其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Wherein, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure the center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure;

在一种可能的设计中,根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,具体可以实现为:In a possible design, the magnitude of the pressure applied to the second virtual key is determined according to the second normalized response and the calibration data of the second pressure sensor, which can be specifically implemented as:

采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:The magnitude of the pressure exerted on the second virtual key is determined by the following formula:

F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;

其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.

在上述任一方面的一种可能的设计中,所述第一压力传感器组位于所述第一虚拟按键基本正下方,所述第二压力传感器组位于所述第二虚拟按键基本正下方。In a possible design of any of the above aspects, 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.

在上述任一方面的一种可能的设计中,所述第二距离大于或等于10mm,且小于或等于30mm,所述第三距离大于或等于10mm,且小于或等于30mm。In a possible design of any one of the above aspects, the second distance is greater than or equal to 10 mm and less than or equal to 30 mm, and the third distance is greater than or equal to 10 mm and less than or equal to 30 mm.

在上述任一方面的一种可能的设计中,所述边框包括中框和/或曲面屏外侧。In a possible design of any one of the above aspects, the frame includes a middle frame and/or an outer side of the curved screen.

第五方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第四方面及其任一种可能的设计方式所述的压力检测方法。In a fifth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium includes computer instructions, when the computer instructions are executed on an electronic device, the electronic device is made to perform the fourth aspect and The pressure detection method described in any possible design manner thereof.

第六方面,本申请实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第四方面及其任一种可能的设计方式所述的压力检测方法。In a sixth aspect, an embodiment of the present application provides a computer program product, which, when the computer program product runs on a computer, enables the computer to perform the pressure detection described in the fourth aspect and any possible design manner thereof method.

附图说明Description of drawings

图1为本申请实施例提供的一种压力传感器布局的示意图;FIG. 1 is a schematic diagram of a pressure sensor layout according to an embodiment of the present application;

图2为本申请实施例提供的一种曲面屏手机的产品形态示意图;FIG. 2 is a schematic diagram of a product form of a mobile phone with a curved screen provided by an embodiment of the present application;

图3为本申请实施例提供的一种电子设备的硬件结构示意图;3 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application;

图4-图5为本申请实施例提供的一种电子设备的结构示意图;4-5 are schematic structural diagrams of an electronic device according to an embodiment of the application;

图6为本申请实施例提供的一种压力传感器布局以及压力检测原理的示意图;6 is a schematic diagram of a pressure sensor layout and a pressure detection principle provided by an embodiment of the present application;

图7-图9为本申请实施例提供的一种压力检测方法的流程示意图。7-9 are schematic flowcharts of a pressure detection method provided by an embodiment of the present application.

具体实施方式Detailed ways

以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first", "second" may expressly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

手机屏幕上设置有虚拟按键,虚拟按键具有一定的按键定义区域,按键定义区域为该虚拟按键的有效操作区域。当用户触摸到该按键定义区域内的屏幕,且该触摸操作被手机识别为非误触的情况下,视为用户对该虚拟按键进行了操作。也就是说,当该触摸操作在该虚拟按键的定义区域,可视为该触摸操作是针对该虚拟按键的。A virtual key is set on the screen of the mobile phone, the virtual key has a certain key definition area, and the key definition area is an effective operation area of the virtual key. When the user touches the screen in the area defined by the key, and the touch operation is recognized by the mobile phone as a non-accidental touch, it is considered that the user has operated the virtual key. That is to say, when the touch operation is in the defined area of the virtual key, it can be considered that the touch operation is for the virtual key.

通常,为了实现对施加在虚拟按键上的压力检测,手机中设置有压力传感器。具体的,如图1的(a)所示,在屏模组(包括屏幕(或称内屏)和盖板玻璃(或称外屏))和中框的间隙内布置压力传感器模组。这里,中框可以对电子设备的液晶显示装置内的部件(比如液晶屏幕)起支撑作用。压力传感器模组可包括一个或多个压力传感器。压力传感器感受(或称采集、测量、感应、检测等)压力,比如测量用户在触摸屏上的触摸操作对应的压力,并将所测压力转换为相应的电信号,输出电信号。处理器接收该电信号,并根据该电信号计算触摸操作对应的按压力度。Usually, in order to realize the detection of the pressure exerted on the virtual keys, a pressure sensor is provided in the mobile phone. Specifically, as shown in (a) of FIG. 1 , the pressure sensor module is arranged in the gap between the screen module (including the screen (or inner screen) and the cover glass (or outer screen)) and the middle frame. Here, the middle frame can support components in the liquid crystal display device of the electronic device (such as a liquid crystal screen). The pressure sensor module may include one or more pressure sensors. The pressure sensor senses (or collects, measures, senses, detects, etc.) pressure, such as measuring the pressure corresponding to the user's touch operation on the touch screen, converts the measured pressure into a corresponding electrical signal, and outputs an electrical signal. The processor receives the electrical signal, and calculates the pressing force corresponding to the touch operation according to the electrical signal.

当用户触摸屏幕上的某一虚拟按键时,与该虚拟按键对应的压力传感器会检测该触摸操作对应的压力。之后压力传感器将该压力大小转换为电信号,并向处理器传递该电信号。处理器能够根据该电信号计算触摸操作对应的按压力度,即用户在触摸屏上施加的压力大小。When the user touches a certain virtual key on the screen, the pressure sensor corresponding to the virtual key will detect the pressure corresponding to the touch operation. Then the pressure sensor converts the pressure into an electrical signal and transmits the electrical signal to the processor. The processor can calculate the pressing force corresponding to the touch operation according to the electrical signal, that is, the pressure applied by the user on the touch screen.

通常,常规的压力检测方式中,虚拟按键正下方设置压力传感器,用于检测施加在该虚拟按键上的压力。比如,如图1的(a)所示,屏幕外侧设置有音量加(VOL+)和音量减(VOL-)这两个虚拟按键,VOL+按键正下方设置有压力传感器,即左侧黑色填充所表示的压力传感器。该左侧的压力传感器,用于检测施加于VOL+按键上的压力。类似的,如图1的(a),VOL-按键正下方设置有压力传感器,即右侧黑色填充所表示的压力传感器。该右侧的压力传感器,用于测量施加于该VOL-按键的压力。Generally, in a conventional pressure detection method, a pressure sensor is provided just below the virtual key to detect the pressure exerted on the virtual key. For example, as shown in (a) of Figure 1, there are two virtual buttons on the outside of the screen: volume up (VOL+) and volume down (VOL-). pressure sensor. The pressure sensor on the left is used to detect the pressure applied to the VOL+ button. Similarly, as shown in (a) of Figure 1, a pressure sensor is provided just below the VOL- button, that is, the pressure sensor indicated by the black fill on the right. The pressure sensor on the right is used to measure the pressure applied to the VOL-button.

如图1的(b)所示,为虚拟按键与压力传感器在另一视角下的示意图,曲面屏的外侧边设置有VOL+虚拟按键和VOL-虚拟按键,VOL+按键的正下方设置压力传感器,用于测量施加在该VOL+按键的压力,VOL-按键的正下方同样设置压力传感器,用于测量施加于VOL-按键的压力。As shown in (b) of Figure 1, it is a schematic diagram of the virtual button and the pressure sensor from another perspective. The outer side of the curved screen is provided with the VOL+ virtual button and the VOL- virtual button, and the pressure sensor is set directly below the VOL+ button. It is used to measure the pressure applied to the VOL+ button, and a pressure sensor is also set just below the VOL- button to measure the pressure applied to the VOL- button.

可以理解,当有触摸操作作用于屏幕,屏幕会产生形变,导致屏幕对压力传感器产生力的作用,形变与力的大小有一定关系。进而,手机根据该形变可推知触摸操作的压力值。It can be understood that when a touch operation acts on the screen, the screen will deform, causing the screen to exert a force on the pressure sensor. The deformation is related to the magnitude of the force. Furthermore, the mobile phone can infer the pressure value of the touch operation according to the deformation.

目前,在低温的使用场景下,用户使用具有图1的(a)或(b)结构的手机,当用户的手在VOL+按键上进行触摸操作时,由于手指热量使得屏幕产生形变,左侧压力传感器(左侧黑色填充)在测量该触摸操作的压力时,其检测到的形变是触摸操作和手指热量对应的叠加形变,并非触摸操作产生的真实形变。进而,由该误差较大的形变计算出的压力值也并不准确。压力传感器根据从屏幕检测的形变计算触摸操作对应压力的具体实现,可参见后文实施例。At present, in the low temperature usage scenario, the user uses the mobile phone with the structure of (a) or (b) in Figure 1. When the user's hand touches the VOL+ button, the screen is deformed due to the heat of the finger, and the pressure on the left When the sensor (black fill on the left) measures the pressure of the touch operation, the deformation it detects is the superimposed deformation corresponding to the touch operation and the heat of the finger, not the real deformation caused by the touch operation. Furthermore, the pressure value calculated from the deformation with a large error is also inaccurate. The specific implementation of the pressure sensor calculating the pressure corresponding to the touch operation according to the deformation detected from the screen may refer to the following embodiments.

为了解决上述技术问题,本申请实施例提供一种电子设备,该电子设备包括边框、第一虚拟按键、第二虚拟按键、第一压力传感器组以及第二压力传感器组。In order to solve the above technical problem, an embodiment of the present application provides an electronic device, 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.

其中,第一压力传感器组用于测量施加于第二虚拟按键的压力,第二压力传感器组用于测量施加在第一虚拟按键上的压力。所述第一压力传感器组与所述第一虚拟按键之间的第一距离比所述第一压力传感器组与所述第二虚拟按键之间的第二距离小;所述第二压力传感器组与所述第一虚拟按键之间的第三距离比所述第二压力传感器组与所述第二虚拟按键之间的第四距离大。也就是说,采用距离第一虚拟按键较远的第二压力传感器组测量施加在该第一虚拟按键上的压力,采用距离第二虚拟按键较远的第一压力传感器组测量施加在该第二虚拟按键上的压力。The first pressure sensor group is used to measure the pressure applied to the second virtual key, and the second pressure sensor group is used to measure the pressure applied to the first virtual key. The first distance between the first pressure sensor group and the first virtual key is smaller than the second distance between the first pressure sensor group and the second virtual key; the second pressure sensor group The third distance from the first virtual key is greater than the fourth distance between the second pressure sensor group and the second virtual key. That is to say, the second pressure sensor group farther away from the first virtual key is used to measure the pressure exerted on the first virtual key, and the first pressure sensor group farther away from the second virtual key is used to measure the pressure exerted on the second virtual key. Pressure on virtual keys.

由于用户触摸某个虚拟按键时,手的热量导致屏幕产生的形变通常仅作用在屏幕的一定区域内,换句话说,仅手触摸位置的一定区域内才产生热量形变,所以,当使用距离第一虚拟按键较远的第二压力传感器组测量该第一虚拟按键的压力时,手热量产生的形变(在本申请实施例中可以简称热量形变)并不能影响到该较远的第二压力传感器组的检测结果,因此,使用该第二压力传感器组测量的压力更准确。类似的,使得第一压力传感器组测量施加在第二虚拟按键上的压力,测量结果更为准确。When the user touches a certain virtual key, the deformation of the screen caused by the heat of the hand usually only acts in a certain area of the screen. In other words, the heat deformation occurs only in a certain area of the touch position of the hand. When a second pressure sensor group with a virtual key farther away measures the pressure of the first virtual key, the deformation caused by hand heat (referred to as thermal deformation in this embodiment of the application) does not affect the farther second pressure sensor Therefore, the pressure measured using this second pressure sensor group is more accurate. Similarly, the first pressure sensor group measures the pressure exerted on the second virtual key, and the measurement result is more accurate.

该电子设备的具体结构可参见下述实施例。The specific structure of the electronic device may refer to the following embodiments.

示例性的,本申请实施例中的电子设备可以是手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备等包括曲面屏的设备,本申请实施例对该电子设备的具体形态不作特殊限制。Exemplarily, the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop type, a laptop type, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular Devices including a curved screen, such as a phone, a personal digital assistant (PDA), an augmented reality (AR)\virtual reality (VR) device, etc., the specific form of the electronic device is not specified in the embodiments of the present application. Special restrictions.

本申请实施例以电子设备是图2的(a)或图2的(b)所示的曲面屏手机为例来阐述技术方案,但本申请实施例的技术方案也能应用在具有非曲面屏的电子设备中,用于检测用户触摸操作的压力大小,在此统一说明,下文不再赘述。其中,图2中的(a)示出曲面屏手机100的立体图。图2中的(b)示出曲面屏手机100的主视图。如图2中的(a)和图2中的(b)所示,手机100的左侧边10区域包括曲面屏和/或中框。左侧边10区域中,通常包括曲面屏和中框,当曲面屏覆盖面积较大时,中框覆盖面积相应减小。极端情况下,当中框占比为100%,左侧边10区域仅包括边框;反之,当曲面屏占比100%,左侧边区域10仅包括曲面屏。类似的,右侧边20区域包括有弧度的曲面屏和/或中框。In the embodiments of the present application, the electronic device is a mobile phone with a curved screen shown in FIG. 2(a) or FIG. 2(b) as an example to illustrate the technical solution, but the technical solutions in the embodiments of the present application can also be applied to a mobile phone with a non-curved screen In the electronic device, the pressure used to detect the user's touch operation is described in a unified manner here, and will not be repeated below. Wherein, (a) in FIG. 2 shows a perspective view of the curved screenmobile phone 100 . (b) of FIG. 2 shows a front view of the curved screenmobile phone 100 . As shown in (a) and (b) of FIG. 2 , the area on theleft side 10 of themobile phone 100 includes a curved screen and/or a middle frame. The 10 area on the left side usually includes a curved screen and a middle frame. 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 area on theleft side 10 only includes the frame; on the contrary, when the curved screen accounts for 100%, the area on theleft side 10 only includes the curved screen. Similarly, the area of theright side 20 includes a curved screen and/or a middle frame.

请参考图3,为电子设备300的一种结构示意图。如图3所示,电子设备300可以包括处理器310,外部存储器接口320,内部存储器321,通用串行总线(universal serial bus,USB)接口330,充电管理模块340,电源管理模块341,电池342,天线1,天线2,移动通信模块350,无线通信模块360,音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,传感器模块380,按键390,马达391,指示器392,摄像头393,屏幕394,以及用户标识模块(subscriber identification module,SIM)卡接口395等。其中,传感器模块380可以包括压力传感器380A,陀螺仪传感器380B,气压传感器380C,磁传感器380D,加速度传感器380E,距离传感器380F,接近光传感器380G,指纹传感器380H,温度传感器380J,触摸传感器380K,环境光传感器380L,骨传导传感器380M等。Please refer to FIG. 3 , which is a schematic structural diagram of anelectronic device 300 . As shown in FIG. 3 , theelectronic device 300 may include aprocessor 310 , anexternal memory interface 320 , an internal memory 321 , a universal serial bus (USB) interface 330 , acharge management module 340 , a power management module 341 , and a battery 342 ,Antenna 1, Antenna 2,Mobile Communication Module 350,Wireless Communication Module 360,Audio Module 370,Speaker 370A,Receiver 370B,Microphone 370C,Headphone Interface 370D, Sensor Module 380, Key 390, Motor 391, Indicator 392, Camera 393 , screen 394, and subscriber identification module (SIM)card interface 395, among others. 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, and an environment Light sensor 380L,bone conduction sensor 380M, etc.

可以理解的是,本实施例示意的结构并不构成对电子设备300的具体限定。在另一些实施例中,电子设备300可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on theelectronic device 300 . In other embodiments, theelectronic device 300 may include more or fewer components than shown, or some components may be combined, or some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

处理器310可以包括一个或多个处理单元,例如:处理器310可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。Theprocessor 310 may include one or more processing units, for example, theprocessor 310 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor ( image signal processor, ISP), memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

处理器310中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器310中的存储器为高速缓冲存储器。该存储器可以保存处理器310刚用过或循环使用的指令或数据。如果处理器310需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器310的等待时间,因而提高了系统的效率。示例性的,在本申请实施例中,存储器可以存储校准数据,校准数据的具体介绍可参见下述实施例。A memory may also be provided in theprocessor 310 for storing instructions and data. In some embodiments, the memory inprocessor 310 is cache memory. This memory may hold instructions or data that have just been used or recycled by theprocessor 310 . If theprocessor 310 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided, and the waiting time of theprocessor 310 is reduced, thereby increasing the efficiency of the system. Exemplarily, in this embodiment of the present application, the memory may store calibration data, and reference may be made to the following embodiments for the specific introduction of the calibration data.

在一些实施例中,处理器310可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments,processor 310 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) interface /transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface, etc.

可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备300的结构限定。在另一些实施例中,电子设备300也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration, and does not constitute a structural limitation of theelectronic device 300 . In other embodiments, theelectronic device 300 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.

充电管理模块340用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块340可以通过USB接口330接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块340可以通过电子设备300的无线充电线圈接收无线充电输入。充电管理模块340为电池342充电的同时,还可以通过电源管理模块341为电子设备供电。Thecharging management module 340 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, thecharging management module 340 may receive charging input from the wired charger through the USB interface 330 . In some wireless charging embodiments, thecharging management module 340 may receive wireless charging input through the wireless charging coil of theelectronic device 300 . While thecharging management module 340 is charging the battery 342 , it can also supply power to the electronic device through the power management module 341 .

电源管理模块341用于连接电池342,充电管理模块340与处理器310。电源管理模块341接收电池342和/或充电管理模块340的输入,为处理器310,内部存储器321,外部存储器,屏幕394,摄像头393,和无线通信模块360等供电。电源管理模块341还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块341也可以设置于处理器310中。在另一些实施例中,电源管理模块341和充电管理模块340也可以设置于同一个器件中。The power management module 341 is used to connect the battery 342 , thecharging management module 340 and theprocessor 310 . The power management module 341 receives input from the battery 342 and/or thecharge management module 340, and supplies power to theprocessor 310, the internal memory 321, the external memory, the screen 394, the camera 393, and thewireless communication module 360. The power management module 341 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters. In some other embodiments, the power management module 341 may also be provided in theprocessor 310 . In other embodiments, the power management module 341 and thecharging management module 340 may also be provided in the same device.

电子设备300的无线通信功能可以通过天线1,天线2,移动通信模块350,无线通信模块360,调制解调处理器以及基带处理器等实现。The wireless communication function of theelectronic device 300 can be implemented by theantenna 1, the antenna 2, themobile communication module 350, thewireless communication module 360, the modulation and demodulation processor, the baseband processor, and the like.

天线1和天线2用于发射和接收电磁波信号。电子设备300中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna inelectronic device 300 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, theantenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块350可以提供应用在电子设备300上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块350可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块350可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块350还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块350的至少部分功能模块可以被设置于处理器310中。在一些实施例中,移动通信模块350的至少部分功能模块可以与处理器310的至少部分模块被设置在同一个器件中。Themobile communication module 350 may provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on theelectronic device 300 . Themobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and the like. Themobile communication module 350 can receive electromagnetic waves from theantenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. Themobile communication module 350 can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through theantenna 1 . In some embodiments, at least part of the functional modules of themobile communication module 350 may be provided in theprocessor 310 . In some embodiments, at least part of the functional modules of themobile communication module 350 may be provided in the same device as at least part of the modules of theprocessor 310 .

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器370A,受话器370B等)输出声音信号,或通过屏幕394(屏幕394包括显示屏层,显示屏层用于显示)显示图像或视频。在本申请实施例中,应用处理器可以从压力传感器接收输出值,该输出值与触摸操作的压力大小之间的大小关系有一定规律。应用处理器可以根据该输出值确定触摸操作的压力,当该压力符合一定条件,应用处理器可以响应该触摸操作,执行触摸操作对应的事件。比如,当触摸操作是想设置音量的,应用处理器可以通过屏幕394显示当前的音量设置,或者调整后的音量设置。又比如,当用户触摸虚拟按键时,应用处理器可以驱动马达产生振动,以模拟真实的按键体验。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器310,与移动通信模块350或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited tospeakers 370A,receivers 370B, etc.), or displays images or videos through screen 394 (screen 394 includes a display layer for display). In this embodiment of the present application, the application processor may receive an output value from the pressure sensor, and the magnitude relationship between the output value and the magnitude of the pressure of the touch operation has a certain regularity. The application processor can determine the pressure of the touch operation according to the output value, and when the pressure meets a certain condition, the application processor can respond to the touch operation and execute an event corresponding to the touch operation. For example, when the touch operation is 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 can drive the motor to generate vibration to simulate the real key experience. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of theprocessor 310, and may be provided in the same device as themobile communication module 350 or other functional modules.

无线通信模块360可以提供应用在电子设备300上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块360可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块360经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器310。无线通信模块360还可以从处理器310接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。Thewireless communication module 360 can provide wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems applied on theelectronic device 300 . (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. Thewireless communication module 360 may be one or more devices integrating at least one communication processing module. Thewireless communication module 360 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to theprocessor 310 . Thewireless communication module 360 can also receive the signal to be sent from theprocessor 310 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .

在一些实施例中,电子设备300的天线1和移动通信模块350耦合,天线2和无线通信模块360耦合,使得电子设备300可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(codedivision multiple access,CDMA),宽带码分多址(wideband code division multipleaccess,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidounavigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellitesystem,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, theantenna 1 of theelectronic device 300 is coupled with themobile communication module 350, and the antenna 2 is coupled with thewireless communication module 360, so that theelectronic device 300 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code Wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , and/or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou satellite navigation system (BDS), a quasi-zenith satellite system (quasi- zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).

电子设备300通过GPU,显示屏,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器310可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。Theelectronic device 300 implements a display function through a GPU, a display screen, an application processor, and the like. The GPU is a microprocessor for image processing, which connects the display screen and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.Processor 310 may include one or more GPUs that execute program instructions to generate or alter display information.

屏幕394包括显示屏。屏幕可以是侧边有弧度的曲面屏或非曲面屏。其中,显示屏,用于显示图像,视频等。显示屏包括显示面板。显示面板可以采用液晶显示屏(liquidcrystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emittingdiode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。Screen 394 includes a display screen. The screen can be a curved screen with curved sides or a non-curved screen. Among them, the display screen is used to display images, videos, etc. The display includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). , AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diode (quantum dot light emitting diodes, QLED) and so on.

屏幕还可包括触摸传感器380K。即触摸传感器380K可集成在屏幕394中。触摸传感器也称“触控面板(touch panel,TP)(或简称触控板)”。由触摸传感器与显示屏组成的屏幕具有触控功能。本申请实施例中,这种具有触控功能的屏幕可以称为触摸屏,或触控屏。其中,触控板可采集手机的用户在其上或附近的触摸事件(比如用户使用手指、触控笔等任何适合的物体在触控板上或在触控板附近的操作),并将采集到的触摸信息发送给其他器件比如处理器。The screen may also include a touch sensor 380K. That is, 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 panel)". The screen, which consists of a touch sensor and a display, is touch-enabled. In this embodiment of the present application, such a screen with a touch function may be referred to as a touch screen, or a touch screen. Among them, the touchpad can collect touch events on or near the user of the mobile phone (such as the user's operations on the touchpad or near the touchpad using any suitable object such as a finger, a stylus, etc.), and will collect The received touch information is sent to other devices such as processors.

其中,用户在触控板附近的触摸事件可以称之为悬浮触控。悬浮触控可以是指,用户无需为了选择、移动或拖动目标(例如图标等)而直接接触触控板,而只需用户位于终端附近以便执行所想要的功能。在悬浮触控的应用场景下,术语“触摸”、“接触”等不会暗示用于直接接触触摸屏,而是附近或接近的接触。Among them, the touch event of the user near the touchpad may be called a floating touch. The hovering touch may mean that the user does not need to directly touch the touchpad in order to select, move or drag an object (such as an icon, etc.), but only needs to be near the terminal in order to perform a desired function. In the application scenario of hovering touch, the terms "touch", "contact", etc. do not imply direct contact with the touch screen, but a nearby or close contact.

具体的,可以在触控板内设置两种电容式传感器,即互电容传感器和自电容传感器,这两种电容传感器可以交替地阵列排布在触控板上。其中,互电容传感器用于实现正常传统的多点触控,即检测用户接触触控板时的手势。而自电容传感器能够产生比互电容更为强大的信号,从而检测到距离触控板更远的手指感应。因此,当用户的手指在屏幕上悬停时,由于自电容传感器产生的信号要比互电容传感器产生的信号大,使得手机可以检测到在屏幕上方,例如,距离触控板上方20mm处用户的手势。Specifically, two kinds of capacitive sensors, ie, mutual capacitance sensors and self-capacitance sensors, may be arranged in the touch panel, and the two types of capacitive sensors may be alternately arrayed on the touch panel. Among them, the mutual capacitance sensor is used to realize the normal traditional multi-touch, that is, to detect the gesture when the user touches the touchpad. Self-capacitance sensors, on the other hand, can generate a stronger signal than mutual capacitance, and thus detect the sense of a finger farther away from the touchpad. Therefore, when the user's finger hovers on the screen, since the signal generated by the self-capacitance sensor is larger than the signal generated by the mutual-capacitance sensor, the mobile phone can detect that the user's finger is above the screen, for example, 20mm above the touchpad. gesture.

可选的,能够进行悬浮触控的触控板可以采用电容式、红外光感以及超声波等实现。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型来实现触控板。显示屏可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。可以采用液晶显示器、有机发光二极管等形式来配置显示屏。触控板可以覆盖在显示屏之上,当触控板检测到在其上或附近的触摸事件后,传送给处理器以确定触摸事件的类型,随后处理器可以根据触摸事件的类型在显示屏上提供相应的视觉输出。Optionally, the touchpad capable of floating touch can be implemented by capacitive, infrared light sensing, and ultrasonic waves. In addition, various types of resistive, capacitive, infrared, and surface acoustic waves can be used to implement the touch panel. The display screen may be used to display information entered by or provided to the user as well as various menus of the mobile phone. The display screen may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The touchpad can be overlaid on the display screen. When the touchpad detects a touch event on or near it, it is sent to the processor to determine the type of touch event. The corresponding visual output is provided on the .

触摸传感器和显示屏可以作为两个独立部件来实现手机的输入输出功能。在另一些实施例中,触摸传感器也可以设置于电子设备300的表面,与显示屏集成来实现手机的输入和输出功能。The touch sensor and the display screen can be used as two independent components 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 theelectronic device 300 and integrated with the display screen to realize the input and output functions of the mobile phone.

可以理解的是,屏幕394是由多层的材料堆叠而成,本申请实施例中只展示出了触控面板(层)和显示屏(层),其他层在本申请实施例中不予记载。另外,在本申请其他一些实施例中,触控面板(可简称为触控板)可以覆盖在显示屏之上,并且触控面板的尺寸大于显示屏的尺寸,使得显示屏全部覆盖在触控板下面,或者,上述触控板可以以全面板的形式配置在手机的正面,也即用户在手机正面的触摸均能被手机感知,这样就可以实现手机正面的全触控体验。在其他一些实施例中,触控板以全面板的形式配置在手机的正面,显示屏也可以以全面板的形式配置在手机的正面,这样在手机的正面就能够实现无边框的结构。It can be understood that the screen 394 is formed by stacking multiple layers of materials. Only the touch panel (layer) and the display screen (layer) are shown in the embodiments of the present application, and other layers are not described in the embodiments of the present application. . In addition, in some other embodiments of the present application, the touch panel (which may be referred to as a touch panel for short) may cover 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 on the touch screen. Alternatively, the above-mentioned touchpad can be configured on the front of the mobile phone in the form of a full panel, that is, the user's touch on the front of the mobile phone can be sensed by the mobile phone, so that a full touch experience on the front of the mobile phone can be realized. In some other embodiments, the touch panel is arranged on the front of the mobile phone in the form of a full panel, and the display screen can also be arranged on the front of the mobile phone in the form of a full panel, so that a frameless structure can be realized on the front of the mobile phone.

电子设备300可以通过ISP,摄像头393,视频编解码器,GPU,显示屏以及应用处理器等实现拍摄功能。Theelectronic device 300 may implement a shooting function through an ISP, a camera 393, a video codec, a GPU, a display screen, an application processor, and the like.

ISP用于处理摄像头393反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头393中。The ISP is used to process the data fed back by the camera 393 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 393 .

摄像头393用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备300可以包括1个或N个摄像头393,N为大于1的正整数。Camera 393 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, theelectronic device 300 may include 1 or N cameras 393 , where N is a positive integer greater than 1.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备300在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when theelectronic device 300 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, and the like.

视频编解码器用于对数字视频压缩或解压缩。电子设备300可以支持一种或多种视频编解码器。这样,电子设备300可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. Theelectronic device 300 may support one or more video codecs. In this way, theelectronic device 300 can play or record videos in various encoding formats, for example, moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.

NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备300的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of theelectronic device 300 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.

外部存储器接口320可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备300的存储能力。外部存储卡通过外部存储器接口320与处理器310通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。Theexternal memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of theelectronic device 300 . The external memory card communicates with theprocessor 310 through theexternal memory interface 320 to realize the data storage function. For example to save files like music, video etc in external memory card.

内部存储器321可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器310通过运行存储在内部存储器321的指令,从而执行电子设备300的各种功能应用以及数据处理。例如,在本申请实施例中,处理器310可以通过执行存储在内部存储器321中的指令,响应于用户在屏幕394的触摸操作,在显示屏显示对应的显示内容。内部存储器321可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备300使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器321可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 321 may be used to store computer executable program code, which includes instructions. Theprocessor 310 executes various functional applications and data processing of theelectronic device 300 by executing the instructions stored in the internal memory 321 . For example, in this embodiment of the present application, theprocessor 310 may display corresponding display content on the display screen in response to the user's touch operation on the screen 394 by executing the instructions stored in the internal memory 321 . The internal memory 321 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area may store data (such as audio data, phone book, etc.) created during the use of theelectronic device 300 and the like. In addition, the internal memory 321 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.

电子设备300可以通过音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,以及应用处理器等实现音频功能。例如音乐播放,录音等。Theelectronic device 300 may implement audio functions through anaudio module 370, aspeaker 370A, areceiver 370B, amicrophone 370C, anearphone interface 370D, and an application processor. Such as music playback, recording, etc.

音频模块370用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块370还可以用于对音频信号编码和解码。在一些实施例中,音频模块370可以设置于处理器310中,或将音频模块370的部分功能模块设置于处理器310中。扬声器370A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备300可以通过扬声器370A收听音乐,或收听免提通话。受话器370B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备300接听电话或语音信息时,可以通过将受话器370B靠近人耳接听语音。麦克风370C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息或需要通过语音助手触发电子设备300执行某些功能时,用户可以通过人嘴靠近麦克风370C发声,将声音信号输入到麦克风370C。电子设备300可以设置至少一个麦克风370C。在另一些实施例中,电子设备300可以设置两个麦克风370C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备300还可以设置三个,四个或更多麦克风370C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。Theaudio module 370 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal.Audio module 370 may also be used to encode and decode audio signals. In some embodiments, theaudio module 370 may be provided in theprocessor 310 , or some functional modules of theaudio module 370 may be provided in theprocessor 310 .Speaker 370A, also referred to as "horn", is used to convert audio electrical signals into sound signals. Theelectronic device 300 can listen to music through thespeaker 370A, or listen to a hands-free call. Thereceiver 370B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When theelectronic device 300 answers a call or a voice message, the voice can be answered by placing thereceiver 370B close to the human ear. Themicrophone 370C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message or needing to trigger theelectronic device 300 to perform certain functions through a voice assistant, the user can make a sound by approaching themicrophone 370C through a human mouth, and input the sound signal into themicrophone 370C. Theelectronic device 300 may be provided with at least onemicrophone 370C. In other embodiments, theelectronic device 300 may be provided with twomicrophones 370C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, theelectronic device 300 may further be provided with three, four ormore microphones 370C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.

耳机接口370D用于连接有线耳机。耳机接口370D可以是USB接口330,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。Theheadphone jack 370D is used to connect wired headphones. Theearphone port 370D may be a USB port 330, or a 3.5mm open mobile terminal platform (OMTP) standard port, a cellular telecommunications industry association of the USA (CTIA) standard port.

压力传感器380A用于感受压力,可以将压力大小转换成比如电容值、电阻值等。在一些实施例中,压力传感器380A可以设置于显示屏或显示屏下。压力传感器380A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。以电容式压力传感器为例,电容式压力传感器可以包括固定电极和至少一个可变电极。可变电极的特性(比如位置、形状等)可变。固定电极的特性通常不变。在一种实现方式中,当有触摸操作作用于屏幕394,屏幕394会发生形变,导致该屏幕394对压力传感器380A产生力的作用,在该压力的作用下,可变电极与固定电极之间的电容改变。压力传感器380A可以将该电容变化量输出给控制器。在一些实施方式中,电子设备300也可以根据压力传感器380A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 380A is used to sense pressure, and can convert the pressure into capacitance value, resistance value, and the like. In some embodiments, the pressure sensor 380A may be positioned on or under the display screen. There are many types of pressure sensors 380A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. Taking a capacitive pressure sensor as an example, the capacitive pressure sensor may include a fixed electrode and at least one variable electrode. The properties of the variable electrodes (such as position, shape, etc.) are variable. The properties of fixed electrodes are generally unchanged. In an implementation manner, when a touch operation is applied to the screen 394, the screen 394 will be deformed, causing the screen 394 to exert a force on the pressure sensor 380A. Under the action of the pressure, between the variable electrode and the fixed electrode capacitance changes. The pressure sensor 380A can output the capacitance change to the controller. In some embodiments, theelectronic device 300 may also calculate the touched position according to the detection signal of the pressure sensor 380A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.

本申请实施例主要以电容式压力传感器为例来说明技术方案,当然,本申请实施例的技术方案也可以采用其他类型压力传感器,比如但不限于电阻式、电感式压力传感器。其检测压力的原理比如但不限于是通过检测形变导致的电阻、压电等的变化量推算施加压力。The embodiments of the present application mainly take a capacitive pressure sensor as an example to illustrate the technical solution. 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 solutions 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 changes in resistance, piezoelectric, etc. caused by deformation.

陀螺仪传感器380B可以用于确定电子设备300的运动姿态。在一些实施例中,可以通过陀螺仪传感器380B确定电子设备300围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器380B可以用于拍摄防抖。The gyro sensor 380B may be used to determine the motion attitude of theelectronic device 300 . In some embodiments, the angular velocity ofelectronic device 300 about three axes (ie, x, y, and z axes) may be determined by gyro sensor 380B. The gyro sensor 380B can be used for image stabilization.

磁传感器380D包括霍尔传感器。电子设备300可以利用磁传感器380D检测翻盖皮套的开合。加速度传感器380E可检测电子设备300在各个方向上(一般为三轴)加速度的大小。当电子设备300静止时可检测出重力的大小及方向。Magnetic sensor 380D includes a Hall sensor. Theelectronic device 300 can detect the opening and closing of the flip holster using the magnetic sensor 380D. The acceleration sensor 380E can detect the magnitude of the acceleration of theelectronic device 300 in various directions (generally three axes). The magnitude and direction of gravity can be detected when theelectronic device 300 is stationary.

距离传感器380F,用于测量距离。电子设备300可以通过红外或激光测量距离。Distance sensor 380F for measuring distance. Theelectronic device 300 can measure the distance through infrared or laser.

接近光传感器380G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备300通过发光二极管向外发射红外光。电子设备300使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备300附近有物体。当检测到不充分的反射光时,电子设备300可以确定电子设备300附近没有物体。Proximity light sensor 380G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. Theelectronic device 300 emits infrared light to the outside through the light emitting diode.Electronic device 300 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near theelectronic device 300 . When insufficient reflected light is detected, theelectronic device 300 may determine that there is no object near theelectronic device 300 .

环境光传感器380L用于感知环境光亮度。电子设备300可以根据感知的环境光亮度自适应调节显示屏亮度。环境光传感器380L也可用于拍照时自动调节白平衡。环境光传感器380L还可以与接近光传感器380G配合,检测电子设备300是否在口袋里,以防误触。The ambient light sensor 380L is used to sense ambient light brightness. Theelectronic device 300 can adaptively adjust the brightness of the display screen according to the perceived brightness of the ambient light. The ambient light sensor 380L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 380L can also cooperate with the proximity light sensor 380G to detect whether theelectronic device 300 is in the pocket to prevent accidental touch.

指纹传感器380H用于采集指纹。电子设备300可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 380H is used to collect fingerprints. Theelectronic device 300 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering incoming calls with fingerprints, and the like.

温度传感器380J用于检测温度。在一些实施例中,电子设备300利用温度传感器380J检测的温度,执行温度处理策略。例如,当温度传感器380J上报的温度超过阈值,电子设备300执行降低位于温度传感器380J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备300对电池342加热,以避免低温导致电子设备300异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备300对电池342的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 380J is used to detect the temperature. In some embodiments, theelectronic device 300 utilizes the temperature detected by the temperature sensor 380J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 380J exceeds a threshold value, theelectronic device 300 may reduce the performance of the processor located near the temperature sensor 380J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, theelectronic device 300 heats the battery 342 to avoid abnormal shutdown of theelectronic device 300 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, theelectronic device 300 boosts the output voltage of the battery 342 to avoid abnormal shutdown caused by low temperature.

骨传导传感器380M可以获取振动信号。在一些实施例中,骨传导传感器380M可以获取人体声部振动骨块的振动信号。骨传导传感器380M也可以接触人体脉搏,接收血压跳动信号。Thebone conduction sensor 380M can acquire vibration signals. In some embodiments, thebone conduction sensor 380M can acquire the vibration signal of the vibrating bone mass of the human voice. Thebone conduction sensor 380M can also contact the pulse of the human body and receive the blood pressure beating signal.

按键390包括开机键,音量键等。按键390可以是机械按键。也可以是触摸式按键。电子设备300可以接收按键输入,产生与电子设备300的用户设置以及功能控制有关的键信号输入。马达391可以产生振动提示。马达391可以用于来电振动提示,也可以用于触摸振动反馈。指示器392可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口395用于连接SIM卡。SIM卡可以通过插入SIM卡接口395,或从SIM卡接口395拔出,实现和电子设备300的接触和分离。The keys 390 include a power-on key, a volume key, and the like. Keys 390 may be mechanical keys. It can also be a touch key. Theelectronic device 300 may receive key inputs and generate key signal inputs related to user settings and function control of theelectronic device 300 . Motor 391 can generate vibrating cues. The motor 391 can be used for incoming call vibration alerts, and can also be used for touch vibration feedback. The indicator 392 can be an indicator light, which can be used to indicate the charging status, the change of power, and can also be used to indicate messages, missed calls, notifications, and the like. TheSIM card interface 395 is used to connect a SIM card. The SIM card can be contacted and separated from theelectronic device 300 by inserting into theSIM card interface 395 or pulling out from theSIM card interface 395 .

以下实施例中的方法实施例均可以在具有上述硬件结构的电子设备300中实现。The method embodiments in the following embodiments can all be implemented in theelectronic device 300 having the above-mentioned hardware structure.

以下,结合附图来具体阐述本申请实施例的具体实现。Hereinafter, the specific implementation of the embodiments of the present application will be described in detail with reference to the accompanying drawings.

本申请实施例提供一种电子设备,电子设备具有边框,第一虚拟按键、第二虚拟按键、第一压力传感器组以及第二压力传感器组。其中,每个压力传感器组包括一个或多个压力传感器。An embodiment of the present application provides an electronic device, the electronic device has 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.

边框包括中框和/或曲面屏外侧。曲面屏可以是图3所示的屏幕394。曲面屏外侧,指的是用户可见的,背离电子设备内部的一侧。第一虚拟按键、第二虚拟按键可以是图3所示的按键390。压力传感器可以是图3所示的压力传感器380A。The frame includes the middle frame and/or the outside 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 and 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 key and the second virtual key are arranged on the frame at intervals.

以电子设备是手机为例,通常,在手机边框上设置虚拟按键,指的是在曲面屏外侧设置虚拟按键。Taking the electronic device as a mobile phone as an example, generally, setting virtual buttons on the frame of the mobile phone refers to setting virtual buttons on the outside of the curved screen.

所述第一压力传感器组设置在所述边框内侧;所述第二压力传感器组设置在所述边框内侧。边框内侧,指的是用户不可见的,朝向电子设备内部的一侧)。第一压力传感器组与第二压力传感器组在边框内侧的具体位置可以灵活设定,本申请实施例不做限定。比如,第一压力传感器组与第二压力传感器组可以设置在曲面屏和中框的间隙位置。The first pressure sensor group is arranged inside the frame; the second pressure sensor group is arranged inside the frame. The inside of the bezel, which is the side that is invisible 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 inside the frame can be flexibly set, which is not limited in the embodiment of the present application. For example, the first pressure sensor group and the second pressure sensor group may be arranged in the gap between the curved screen and the middle frame.

示例性的,参见图4的(a),第一虚拟按键和第二虚拟按键间隔设置在手机的边框上(比如曲面屏外侧),第一压力传感器组、第二压力传感器组设置在边框内侧(比如设置在中框和曲面屏的间隙中)。Exemplarily, referring to FIG. 4( a ), the first virtual key and the second virtual key are arranged at intervals on the frame of the mobile phone (such as the outer side of the curved screen), and the first pressure sensor group and the second pressure sensor group are arranged inside the frame. (For example, it is set in the 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 button as an example, the first pressure sensor group is located substantially directly below the first virtual button, which means that the first pressure sensor group is located in the direction of the first virtual button. The side inside the electronic device. Moreover, the first distance between the first virtual key and the first pressure sensor is smaller than the allowable error value.

需要说明的是,本申请实施例中,虚拟按键与压力传感器组之间的距离,指的是沿电子设备屏幕方向的距离,虚拟按键与压力传感器之间真实距离在沿屏幕方向的投影。比如,第一压力传感器组与第二虚拟按键之间的距离如图4的(a)所示。It should be noted that, in the embodiment of the present application, the distance between the virtual key and the pressure sensor group refers to the distance along the screen direction of the electronic device, and the real distance between the virtual key and the pressure sensor is projected along the screen direction. For example, the distance between the first pressure sensor group and the second virtual key is shown in (a) of FIG. 4 .

应理解,在一些实施例中,第一虚拟按键与第一压力传感器之间的第一距离通常为0。在另一些实施例中,允许存在一定误差,满足第一距离小于或等于误差允许值即可。示例性的,第一虚拟按键与第一压力传感器组之间的第一距离如图4的(a)所示。It should be understood that, in some embodiments, the first distance between the first virtual key and the first pressure sensor is generally 0. In other embodiments, a certain error is allowed, as long as the first distance is less than or equal to the allowable error value. Exemplarily, the first distance between the first virtual key and the first pressure sensor group is shown in (a) of FIG. 4 .

本申请实施例中,考虑到第一压力传感器组与第一虚拟按键之间的第一距离较小,手指触摸第一虚拟按键时,手指热量作用下使得屏幕产生形变,可能影响第一压力传感器组对该触摸压力的测量结果,也就是说,当第一虚拟按键与第一压力传感器组的第一距离较近时,第一压力传感器组不适于测量施加在该第一虚拟按键上的压力。那么,考虑采用第一压力传感器组测量施加在第二虚拟按键上的压力。即本申请实施例中,所述第一压力传感器组用于测量施加在所述第二虚拟按键上的压力。并且,要求所述第一压力传感器组与所述第一虚拟按键之间的第一距离比所述第一压力传感器组与所述第二虚拟按键之间的第二距离小。即,在布局第一压力传感器组和第二虚拟按键时,需保证第一压力传感器与第二虚拟按键之间的第二距离较远。In the embodiment of the present application, considering that the first distance between the first pressure sensor group and the first virtual key is small, when a finger touches the first virtual key, the screen is deformed by the heat of the finger, which may affect the first pressure sensor group of measurement results of the touch pressure, that is, when the first distance between the first virtual key and the first pressure sensor group is relatively close, the first pressure sensor group is not suitable for measuring the pressure exerted on the first virtual key . Then, consider using the first pressure sensor group to measure the pressure exerted on the second virtual key. That is, in the embodiment of the present application, the first pressure sensor group is used to measure the pressure exerted on the second virtual key. And, it is required that the first distance between the first pressure sensor group and the first virtual key is smaller than the second distance between the first pressure sensor group and the second virtual key. That is, when laying out the first pressure sensor group and the second virtual key, it is necessary to ensure that the second distance between the first pressure sensor and the second virtual key is relatively far.

在一种可能的设计中,第二距离大于或等于10mm,且小于或等于30mm。比如,第二距离在10~15mm之内。又比如,第二距离大于12mm且小于18mm。In one possible design, the second distance is greater than or equal to 10 mm 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 12 mm and less than 18 mm.

类似的,在本申请实施例中,所述第二压力传感器组用于测量施加在所述第一虚拟按键上的压力,且所述第二压力传感器组与所述第一虚拟按键之间的第三距离比所述第二压力传感器组与所述第二虚拟按键之间的第四距离大。Similarly, in this embodiment of the present application, the second pressure sensor group is used to measure the pressure applied to the first virtual key, and the pressure between the second pressure sensor group and the first virtual key is The third distance is greater than the fourth distance between the second pressure sensor group and the second virtual key.

在一种可能的设计中,所述第三距离大于或等于10mm,且小于或等于30mm。In a possible design, the third distance is greater than or equal to 10 mm and less than or equal to 30 mm.

示例性的,参见图6的(a),电子设备的边框上(比如曲面屏外侧)间隔设置第一虚拟按键(即VOL+)和第二虚拟按键(即VOL-),在边框内侧设置有第一压力传感器组(即Pad+)和第二压力传感器组(即Pad-),各个组件之间的距离满足上述条件。Exemplarily, referring to Fig. 6(a), a first virtual key (ie VOL+) and a second virtual key (ie VOL-) are arranged on the frame of the electronic device (such as the outside of the curved screen) at intervals, and a first virtual key (ie VOL-) is arranged on the inside of the frame. A pressure sensor group (ie Pad+) and a second pressure sensor group (ie Pad-), the distances between the respective components satisfy the above conditions.

图4的(b)为电子设备在另一视角的结构示意图。(b) of FIG. 4 is a schematic structural diagram of the electronic device from another viewing angle.

在一种可能的实现方式中,电子设备还包括控制器。图5的(a)和图5的(b)示出了控制器的两种可能的实现方式。In a possible implementation, the electronic device further includes a controller. Figures 5(a) and 5(b) show two possible implementations of the controller.

参见图5的(a),该控制器的功能可以由前述所描述的处理器(诸如图3所示的处理器310)来实现,即处理器可认为是一个控制器,具体的,例如,可以由手机的应用处理器(如华为麒麟系列处理器)中的一个或多个处理核来实现控制器的功能。Referring to (a) of FIG. 5 , the function of the controller can be implemented by the aforementioned processor (such as theprocessor 310 shown in FIG. 3 ), that is, the processor can be regarded as a controller, specifically, for example, The function of the controller may be implemented by one or more processing cores in the application processor of the mobile phone (eg, Huawei Kirin series processors).

在另一些实施例中,控制器也可以是独立于处理器之外的单独封装的芯片,例如,可以基于单片机、DSP、现场可编程逻辑门阵列(field programmable gate array,FPGA)、专用集成电路(application specific integrated circuit,ASIC)等器件来实现控制器的功能;在这种实施例中,参见图5的(b),控制器可以与处理器相连,控制器处理完后可以将结果发送给处理器,由处理器根据控制器处理的结果(如确定的压力)来进行进一步处理。In other embodiments, the controller may also be a separately packaged chip independent of the processor, for example, may be based on a single-chip microcomputer, a DSP, a field programmable gate array (FPGA), an application-specific integrated circuit (application specific integrated circuit, ASIC) and other devices to realize the functions of the controller; in this embodiment, see (b) of FIG. 5 , the controller can be connected to the processor, and the controller can send the result to the processor after processing The processor performs further processing according to the result processed by the controller (eg, the determined pressure).

本申请中,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组测得的压力,确定施加在所述第二虚拟按键上的压力大小;In the present application, the controller is configured to obtain the output value obtained by measuring the pressure of the first pressure sensor group, and determine the pressure exerted on the second virtual key according to the pressure measured by the first pressure sensor group size;

和/或,所述控制器,用于获取所述第二压力传感器组测得的压力,并根据所述第二压力传感器组测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to acquire the pressure measured by the second pressure sensor group, and determine to apply the pressure on the first virtual key according to the output value obtained by measuring the pressure of the second pressure sensor group pressure level.

应理解,当用户触摸第二虚拟按键时,电子设备的处理器能够获知该触摸操作,并控制第一压力传感器组测量该触摸操作的压力,第一压力传感器组测量该压力,并输出该压力对应的输出值。控制器可以读取该输出值,并根据该输出值,确定施加在第二虚拟按键上的压力大小。It should be understood that when the user touches the second virtual key, the processor of the electronic device can know the touch operation, and controls the first pressure sensor group to measure the pressure of the touch operation, the first pressure sensor group measures the pressure, and outputs the pressure corresponding output value. The controller can read the output value, and determine the magnitude of the pressure exerted on the second virtual key according to the output value.

基于相同原理,当用户触摸第一虚拟按键时,电子设备的处理器能够获知该触摸操作,并控制第二压力传感器组测量该触摸操作的压力。第二压力传感器组测量该压力,并输出该压力对应的输出值。控制器可以读取该输出值,并根据该输出值,确定施加在第一虚拟按键上的压力大小。Based on the same principle, when the user touches the first virtual key, the processor of the electronic device can learn 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 can read the output value, and determine the pressure applied to the first virtual key according to the output value.

作为一种可能的实现方式,根据压力传感器的工作原理,其可以将测量的压力转换为模拟电信号,并输出该模拟电信号。以压力传感器为电容式压力传感器为例,压力传感器包括固定电极和可变电极,当有触摸操作作用在电子设备的屏幕,屏幕发生形变,导致屏幕对压力传感器产生压力的作用,在该压力的作用下,可变电极与固定电极之间的电容改变。压力大小,屏幕形变,电容该变量之间具有一定的数值关系。压力传感器可以直接将电容变化量这一模拟电信号输出。As a possible implementation manner, according to the working principle of the pressure sensor, it can convert the measured pressure into an analog electrical signal and output the analog electrical signal. Taking the pressure sensor as a capacitive pressure sensor as an example, the pressure sensor includes fixed electrodes and variable electrodes. When a touch operation acts on the screen of an electronic device, the screen is deformed, causing the screen to exert pressure on the pressure sensor. Under the action, the capacitance between the variable electrode and the fixed electrode changes. There is a certain numerical relationship between the pressure, screen deformation, and capacitance. The pressure sensor can directly output the analog electrical signal of the capacitance change.

控制器读取压力传感器的输出值,并根据该输出值,确定施加在虚拟按键上的压力大小,具体可以实现为:控制器读取压力传感器输出的模拟电信号,并将模拟电信号转化为数字电信号,再根据该数字电信号以及该数字电信号与压力大小之间的关系,确定施加在虚拟按键上的压力。以由应用处理器中的一个或多个处理核实现控制器功能为例,那么,来自压力传感器的模拟电信号输入应用处理器,应用处理器将该模拟电信号转化为数字电信号,并根据该数字电信号计算施加在虚拟按键上的压力大小。例如,应用处理器中可以包括模数转换器来实现模数转换,并通过一个或多个处理器核来计算压力大小。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 implemented as follows: the controller reads the analog electrical signal output by the pressure sensor, and converts the analog electrical signal into digital electrical signal, and then determine the pressure exerted on the virtual key according to the digital electrical signal and the relationship between the digital electrical signal and the pressure. Taking the implementation of the controller function by one or more processing cores in the application processor as an example, then, the analog electrical signal from the pressure sensor is input to the application processor, and the application processor converts the analog electrical signal into a digital electrical signal, and according to The digital electrical signal calculates the amount of pressure exerted on the virtual key. For example, an analog-to-digital converter may be included in the application processor to implement analog-to-digital conversion, and the pressure magnitude may be calculated 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 the first virtual key and the second virtual key simultaneously.

当用户触摸第一虚拟按键的情况下,作为一种可能的实现方式,所述控制器,具体用于执行如下操作:When the user touches the first virtual key, as a possible implementation manner, the controller is specifically configured to perform the following operations:

获取第一输出值,根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小。obtaining a first output value, and determining a first normalized response according to the first output value, calibration data of the first pressure sensor group, and calibration data of the second pressure sensor group; The normalized response and the calibration data of the first pressure sensor determine the magnitude of the pressure exerted on the first virtual key.

所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值。示例性的,参见图6的(a),当用户触摸VOL+按键,处理器获知该触摸操作,并控制Pad-测量该触摸操作的压力。Pad-测量该压力,并输出第一输出值。The first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group. Exemplarily, referring to (a) of FIG. 6 , when the user touches the VOL+ button, the processor learns the touch operation, and controls the Pad- to measure the pressure of the touch operation. Pad - measures this pressure and outputs the first output value.

通常,压力传感器测量某压力,并向控制器输出该压力对应的输出值,该输出值进一步被控制器转换为数字电信号。本申请实施例中,某压力作用在某位置,压力传感器测量该压力时对应的压力响应,指的是被控制器转换得到的数字电信号。Usually, a pressure sensor measures a certain pressure and outputs an output value corresponding to the pressure to the controller, and the output value is further converted into a digital electrical signal by the controller. In the embodiment of the present application, when a certain pressure acts on a certain position, the corresponding pressure response when the pressure sensor measures the pressure refers to the digital electrical signal converted by the controller.

所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应。The first normalized response is that a first equivalent pressure acts on a central position of the first pressure sensor group, and the first pressure sensor group measures a corresponding pressure response when the first equivalent pressure is measured.

第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力。示例性的,触摸操作的压力大小为2牛顿,第一等效压力的压力大小也为2牛顿。The first equivalent pressure is the same pressure as the pressure exerted on the first virtual key. Exemplarily, 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 includes the standard pressure acting at different positions, and the first pressure sensor group measures the corresponding pressure response when the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure acting At different positions, the second pressure sensor group measures the corresponding pressure responses of the standard pressure.

在手机出厂校准时,会设计一个标准重量的砝码滚轮,用这个滚轮从按键定义区域的一端滚到另一端,以获取在滚轮对屏幕所施加压力下的校准数据。其中,滚轮在滚动过程中,对屏幕产生的压力视为常数,该压力大小通常等于滚轮重力的大小。该压力大小,在本申请实施例中称为标准压力,或校准压力。某一压力传感器组的校准数据包括标准压力作用在屏幕的不同位置,该压力传感器组所测量所述标准压力时对应的压力响应。When the mobile phone is factory calibrated, a weight wheel with standard weight is designed, and the wheel is used to roll from one end of the key-defined area to the other end to obtain the calibration data under the pressure exerted by the wheel on the screen. Among them, during the scrolling process of the scroll wheel, the pressure on the screen is regarded as a constant, and the pressure is usually equal to the gravity of the scroll wheel. The pressure value is referred to as standard pressure or calibration pressure in the embodiments of the present application. The calibration data of a certain pressure sensor group includes the standard pressure acting on different positions of the screen, and the corresponding pressure responses when the standard pressure is measured by the pressure sensor group.

示例性的,如图6的(a)所示,以曲线Curve1形式示出了第一压力传感器组的校准数据。以Curve2形式示出了第二压力传感器组的校准数据。其中,Curve1是滚轮沿着X轴在屏幕上从左到右滚动,Pad+测量滚轮在不同位置对屏幕的压力时,控制器将压力测量值转换得到的数字电信号。比如,当滚轮在位置x1,Pad+测量滚轮的压力,并将输出值输出给控制器,由控制器对该输出值进一步转化得到数字电信号Rn。类似的,Curve2是滚轮沿着X轴在屏幕上从左到右滚动,Pad-测量滚轮在不同位置对屏幕的压力时,控制器将压力测量值转换得到的数字电信号。Exemplarily, as shown in (a) of FIG. 6 , the calibration data of the first pressure sensor group is shown in the form of a curve Curve1. The calibration data for the second set of pressure sensors is shown as Curve2. Among them, Curve1 is the digital electrical signal obtained by the controller converting the pressure measurement value when the scroll wheel scrolls from left to right on the screen along the X axis, and when the Pad+ measures the pressure of the scroll wheel on the screen at different positions. For example, when the roller is at the position x1, Pad+ measures the pressure of the roller, and outputs the output value to the controller, and the controller further converts the output value to obtain a digital electrical signal Rn. Similarly, Curve2 is a digital electrical signal obtained by the controller converting the pressure measurement value when the scroll wheel scrolls from left to right on the screen along the X axis, and Pad-measures the pressure of the scroll wheel on the screen at different positions.

其中,X轴方向,指的是手机屏幕面上沿手机长向的方向。在一个示例中,如图2的(b)所示,X轴沿图中手机长向所示方向,且沿着长向从上到下时,x坐标递增。当然,也可以定义沿着长向从上到下时,x坐标递减。Y轴方向,指的是手机屏幕面上沿手机宽向的方向。在一个示例中,如图2的(b)所示,Y轴沿图中手机宽向所示方向,且沿着边框从右到左,y坐标递增。The X-axis direction refers to the direction along the length of the mobile phone on the screen of the mobile phone. In one example, as shown in (b) of FIG. 2 , the X-axis is along the direction shown in the lengthwise direction of the mobile phone in the figure, and the x-coordinate increases as the length goes from top to bottom. Of course, it can also be defined that the x-coordinate decreases when going from top to bottom along the long direction. The Y-axis direction refers to the direction along the width of the phone on the screen of the phone. In one example, as shown in (b) of FIG. 2 , the Y-axis is along the direction shown in the width direction of the mobile phone in the figure, and from right to left along the frame, the y-coordinate increases.

当然,X轴方向还可以根据实际应用场景另行设定,本申请实施例不做限定,比如,X沿着宽向方向,或者其他方向。X轴如何递增也可以另行设定。类似的,Y轴方向也可以另行定义。Of course, the X-axis direction may also be set separately according to an actual application scenario, which is not limited in this embodiment of the present application, for example, X is along the widthwise direction, or other directions. How to increase the X axis can also be set separately. Similarly, the Y-axis direction can also be defined separately.

本申请实施例中,校准所使用滚轮的重量可以等于触发机械按键所需重量,也可以是其他重量,本申请实施例对此不进行限制。In the embodiment of the present application, the weight of the roller used for calibration may be equal to the weight required to trigger the mechanical button, or may be other weights, which are not limited in the embodiment of the present application.

上述校准数据可以存储在手机中,该校准数据可用于确定触摸操作的压力大小和/或第二响应信号。The above-mentioned calibration data may be stored in the mobile phone, and the calibration data may be used to determine the magnitude of the pressure of the touch operation and/or the second response signal.

可选的,控制器,用于采用如下公式确定所述第一归一化响应:Optionally, the controller is configured to use the following formula to determine the first normalized response:

Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;

V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );

其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the The first touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure.

作为一种可能的实现方式,应用处理器,用于采用如下公式计算施加在所述第一虚拟按键上的压力大小:As a possible implementation manner, the application processor is configured to use the following formula to calculate the magnitude of the pressure exerted on the first virtual key:

F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;

其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure The center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure.

如下以图6的(a)为例,说明计算施加在VOL+按键上压力大小的过程。The process of calculating the amount of pressure exerted on the VOL+ button is described below by taking (a) of FIG. 6 as an example.

在图6的(a)中,当用户触摸VOL+按键,Pad-测量该触摸操作的压力,并输出第一输出值。应理解,应用处理器通过诸如集成电路总线(inter-integrated circuit,I2C)接口从压力传感器获取该第一输出值,并先将Pad-的第一输出值转换为数字电信号S0。In (a) of FIG. 6, when the user touches the VOL+ button, Pad- measures the pressure of the touch operation, and outputs the first output value. It should be understood that the application processor obtains the first output value from the pressure sensor through an interface such as an integrated circuit (inter-integrated circuit, I2C), and firstly converts the first output value of Pad- into a digital electrical signal S0.

接下来,控制器中的应用处理器,用于根据S0、Curve1和Curve2,将S0换算成Pad+对应的第一归一化响应,即以触摸操作的相同大小压力作用在Pad+时,Pad+测量的该压力对应的数字电信号。Next, the application processor in the controller is used to convert S0 into the first normalized response corresponding to the Pad+ according to S0, Curve1 and Curve2, that is, when the same pressure of the touch operation acts on the Pad+, the measured value of the Pad+ The digital electrical signal corresponding to the pressure.

示例性的,如图6的(a)所示,应用处理器先计算以触摸操作的相同大小压力(即第一等效压力)作用在所示第一触摸位置,即x1处时,Pad+测量的该压力对应的数字电信号V_1_x1。具体的,应用处理器通过读取Curve1,获知所述标准压力(即滚轮重力)作用在所述第一触摸位置时,所述Pad+所测量所述标准压力对应的数字电信号,即Rn1;通过读取Curve2,获知所述标准压力作用在所述第一触摸位置时,所述Pad-所测量所述标准压力对应的数字电信号,即Rf2,再根据所述Pad-所测量施加在所述第一虚拟按键上的压力对应的数字电信号S0,以及Rn1、Rf2、S0之间的比例关系,可以计算出第一等效压力作用在所述VOL+按键的第一触摸位置时,若采用所述Pad+测量该第一等效压力,得到所测量第一等效压力对应的压力响应V_1_x1=S0*(Rn1/Rf2)。Exemplarily, as shown in (a) of FIG. 6 , the application processor first calculates that when the same pressure of the touch operation (ie, the first equivalent pressure) acts on the first touch position shown, that is, at x1, the Pad+ measurement The digital electrical signal V_1_x1 corresponding to the pressure. Specifically, by reading Curve1, the application processor learns that when the standard pressure (ie, the gravity of the scroll wheel) acts on the first touch position, the digital electrical signal corresponding to the standard pressure measured by the Pad+, namely Rn1 ; By reading Curve2, it is known that when the standard pressure acts on the first touch position, the digital electrical signal corresponding to the standard pressure measured by the Pad-, namely Rf2 , is applied according to the measurement of the Pad- The digital electrical signal S0 corresponding to the pressure on the first virtual key, and the proportional relationship between Rn1 , Rf2 , and S0 , it is possible to calculate the first equivalent pressure acting on the first touch of the VOL+ key. In the position, if the first equivalent pressure is measured using the Pad+, the pressure responseV_1_x1 =S0*(Rn1 /Rf2 ) corresponding to the measured first equivalent pressure is obtained.

在计算出V_1_x1之后,应用处理器,用于将该V_1_x1换算为第一归一化响应Vcenter1,即第一等效压力作用在Pad+中心位置时,Pad+测量该第一等效压力,所测第一等效压力对应的压力响应(即数字电信号)。示例性的,如图6的(a)所示,应用处理器根据V_1_x1、Rn1、Rs1计算出第一归一化响应Vcenter1=V_1_x1*Rs1/Rn1After calculating V_1_x1 , the application processor is used to convert the V_1_x1 into the first normalized response Vcenter1 , that is, when the first equivalent pressure acts on the center position of Pad+, Pad+ measures the first equivalent pressure, The pressure response (ie digital electrical signal) corresponding to the measured first equivalent pressure. Exemplarily, as shown in (a) of FIG. 6 , the application processor calculates the first normalized response Vcenter1 =V_1_x1 *Rs1 /Rn1 according to V_1_x1 , Rn1 , and Rs1 .

接下来,应用处理器,用于根据所述第一归一化响应Vcenter1以及所述第一压力传感器的校准数据Curve1,确定施加在所述第一虚拟按键(即VOL+按键)上的压力大小。Next, the application processor is configured to determine the magnitude of the pressure applied to the first virtual key (ie, the VOL+ key) according to the first normalized response Vcenter1 and the calibration data Curve1 of the first pressure sensor .

作为一种可能的实现方式,应用处理器,用于采用如下公式确定施加在所述VOL+按键上的所述压力大小:As a possible implementation manner, the application processor is configured to use the following formula to determine the magnitude of the pressure exerted on the VOL+ key:

F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;

进一步的,将vcenter1代入上述计算F触摸操作1的公式中,得到F触摸操作1=vcenter1*F校准/Rs1=V_1_x1*Rs1/Rn1*F校准/Rs1=S0*(Rn1/Rf2)*Rs1/Rn1*F校准/Rs1=F校准*S0/Rf2Further, substitute vcenter1 into the above formula for calculating Ftouch operation 1 , and obtain Ftouch operation 1 =vcenter1 *Fcalibration /Rs1 =V_1_x1 *Rs1 /Rn1 *Fcalibration /Rs1 =S0*( Rn1 /Rf2 )*Rs1 /Rn1 *Fcalibration /Rs1 =Fcalibration *S0/Rf2 .

其中,假设滚轮质量为200g,结合F校准(滚轮的重力)公式m*g,其中,m为滚轮质量,g为重力系数,可得F校准=m*g=200g*10N/1kg=2N。S0,即用户在电子设备边框的x1位置处触摸,Pad-测量该触摸压力时对应的压力响应;Rf2,即校准时,当滚轮作用在x1位置,Pad-测量该滚轮压力时对应的压力响应。因此,如图6的(a)所示,x1位置触摸操作的压力大小:F触摸操作1=F校准*S0/Rf=2N*S0/Rf2Among them, assuming that the mass of the roller is 200g, combined with the Fcalibration (gravity of the roller) formula m*g, where m is the mass of the roller, and g is the gravity coefficient, Fcalibration = m*g=200g*10N/1kg=2N. S0, that is, the user touches at the x1 position of the frame of the electronic device, Pad- the corresponding pressure response when the touch pressure is measured; Rf2 , that is, during calibration, when the scroll wheel acts on the x1 position, Pad- The corresponding pressure response of the scroll wheel is measured stress response. Therefore, as shown in (a) of FIG. 6 , the magnitude of the pressure of the touch operation at the x1 position: Ftouch operation 1 =Fcalibration *S0/Rf=2N*S0/Rf2 .

当用户触摸第二虚拟按键的情况下,作为一种可能的实现方式,所述控制器,具体用于执行如下操作:When the user touches the second virtual key, as a possible implementation manner, the controller is specifically configured to perform the following operations:

获取第二输出值,根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小。obtaining a second output value, and 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; The normalized response and the calibration data of the second pressure sensor determine the magnitude of the pressure exerted on the second virtual key.

其中,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值。示例性的,参见图6的(b),当用户触摸VOL-按键,处理器获知该触摸操作,并控制Pad+测量该触摸操作的压力。Pad+测量该压力,并输出第二输出值。Wherein, the second output value is an output value obtained by measuring the pressure exerted on the second virtual key by the first pressure sensor group. Exemplarily, referring to (b) of FIG. 6 , when the user touches the VOL- button, the processor learns the touch operation, and controls the Pad+ to measure the pressure of the touch operation. The Pad+ measures this pressure and outputs a second output value.

所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应。The second normalized response is that a second equivalent pressure acts on a center position of the second pressure sensor group, and the second pressure sensor group measures a corresponding pressure response when the second equivalent pressure is measured.

第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力。示例性的,如图6的(b),若对VOL-按键的触摸操作的压力大小为2牛顿,第二等效压力的压力大小也为2牛顿。The second equivalent pressure is the same pressure as the pressure exerted on the second virtual key. Exemplarily, as shown in (b) of FIG. 6 , if the pressure magnitude of the touch operation on the VOL- key is 2 Newtons, the pressure magnitude of the second equivalent pressure is also 2 Newtons.

可选的,控制器,用于采用如下公式确定所述第二归一化响应:Optionally, the controller is configured to use the following formula to determine the second normalized response:

Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;

V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );

其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.

作为一种可能的实现方式,应用处理器,用于采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:As a possible implementation manner, the application processor is configured to use the following formula to determine the magnitude of the pressure exerted on the second virtual key:

F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;

其中,F触摸操作2为施加在所第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure sensor The center position of the group, and the corresponding pressure response when the second pressure sensor group measures the standard pressure.

应用处理器计算施加在VOL-按键上压力的具体实现,可参见上述计算施加在VOL+按键上压力的相关过程,不再赘述,其计算场景可参见图6的(b)。For the specific implementation of the calculation of the pressure exerted on the VOL- button by the application processor, please refer to the above-mentioned process of calculating the pressure exerted on the VOL+ button, which will not be repeated.

由于用户触摸某个虚拟按键时,手的热量导致屏幕产生的形变通常仅作用在屏幕的一定区域内,换句话说,仅手触摸位置的一定区域内才产生热量形变。因此,本申请实施例提供的电子设备,用于测量施加在第一虚拟按键上的压力的压力传感器组为距离第一虚拟按键较远的第二压力传感器组,手热量产生的形变(在本申请实施例中可以简称热量形变)并不能影响到该较远的第二压力传感器组的检测结果,因此,使用该第二压力传感器组测量的压力更准确。类似的,用于测量施加在第二虚拟按键上的压力的压力传感器组为距离第二虚拟按键较远的第一压力传感器组,能够保证测量结果更为准确。When the 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 thermal deformation occurs only in a certain area of the touch position of the hand. Therefore, in the electronic device provided by the embodiment of the present application, the pressure sensor group used to measure the pressure applied on the first virtual key is the second pressure sensor group farther away from the first virtual key, and the deformation caused by the heat of the hand (in this In the application embodiment, it may be referred to as thermal deformation) does not affect the detection result of the second remote pressure sensor group, therefore, the pressure measured by the second pressure sensor group is more accurate. Similarly, the pressure sensor group for measuring the pressure exerted on the second virtual key is the first pressure sensor group farther away from the second virtual key, which can ensure that the measurement result is more accurate.

本申请实施例还提供一种压力检测模组。该压力检测模组包括第一压力传感器组、第二压力传感器组以及控制器;其中,每个压力传感器组包括一个或多个压力传感器。该模组用于电子设备,所述电子设备包括边框、第一虚拟按键、第二虚拟按键;所述第一虚拟按键以及所述第二虚拟按键间隔设置在所述边框上。The embodiment of the present application also provides a pressure detection module. The pressure detection module includes 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 in an electronic device, and the electronic device includes a frame, a first virtual key, and a second virtual key; the first virtual key and the second virtual key are arranged on the frame at intervals.

所述第一压力传感器组设置在所述边框内侧,所述第一压力传感器组与所述第一虚拟按键之间的第一距离比所述第一压力传感器组与所述第二虚拟按键之间的第二距离小;The first pressure sensor group is arranged inside the frame, and the first distance between the first pressure sensor group and the first virtual key is larger than the distance between the first pressure sensor group and the second virtual key. The second distance between the two is small;

所述第二压力传感器组设置在所述边框内侧,所述第二压力传感器组与所述第一虚拟按键之间的第三距离比所述第二压力传感器组与所述第二虚拟按键之间的第四距离大;The second pressure sensor group is arranged inside the frame, and the third distance between the second pressure sensor group and the first virtual key is larger than the distance between the second pressure sensor group and the second virtual key. The fourth distance between them is the largest;

所述第一压力传感器组用于测量施加在所述第二虚拟按键上的压力;the first pressure sensor group is used to measure the pressure exerted on the second virtual key;

所述第二压力传感器组用于测量施加在所述第一虚拟按键上的压力。The second pressure sensor group is used to measure the pressure exerted on the first virtual key.

在一种可能的设计中,所述第一压力传感器组位于所述第一虚拟按键基本正下方,所述第二压力传感器组位于所述第二虚拟按键基本正下方。In a possible design, 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.

在一种可能的设计中,所述第二距离大于或等于10mm,且小于或等于30mm,所述第三距离大于或等于10mm,且小于或等于30mm。In a possible design, the second distance is greater than or equal to 10 mm and less than or equal to 30 mm, and the third distance is greater than or equal to 10 mm and less than or equal to 30 mm.

在一种可能的设计中,所述边框包括中框和/或曲面屏外侧。In a possible design, the frame includes a middle frame and/or the outer side of the curved screen.

在一种可能的设计中,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组测得的压力,确定施加在所述第二虚拟按键上的压力大小;In a possible design, the controller is configured to obtain an output value obtained by measuring the pressure of the first pressure sensor group, and determine the pressure applied to the second virtual pressure sensor according to the pressure measured by the first pressure sensor group. The amount of pressure on the key;

和/或,所述控制器,用于获取所述第二压力传感器组测得的压力,并根据所述第二压力传感器组测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to acquire the pressure measured by the second pressure sensor group, and determine to apply the pressure on the first virtual key according to the output value obtained by measuring the pressure of the second pressure sensor group pressure level.

在一种可能的设计中,所述控制器,具体用于执行如下操作:In a possible design, the controller is specifically configured to perform the following operations:

获取第一输出值,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;acquiring a first output value, where the first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group;

根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力;A first normalized response is determined 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; the first normalized response is the first The equivalent pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as that applied to the first equivalent pressure. The same amount of pressure as the pressure on the virtual keys;

根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the calibration data of the first pressure sensor;

和/或,所述控制器,具体用于执行如下操作:And/or, the controller is specifically configured to perform the following operations:

获取第二输出值,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值;根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小;Acquire a second output value, the second output value is an output value obtained by measuring the pressure exerted on the second virtual key by the first pressure sensor group; according to the second output value, the first pressure The calibration data of the sensor group and the calibration data of the second pressure sensor group determine a second normalized response; the second normalized response is the second equivalent pressure acting on the second pressure sensor group At the center position, the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same pressure as the pressure applied on the second virtual key; according to The second normalized response and the calibration data of the second pressure sensor determine the magnitude of the pressure exerted on the second virtual key;

其中,所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, the calibration data of the first pressure sensor group includes standard pressure acting on different positions, and the first pressure sensor group measures the corresponding pressure response of the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure The pressure acts on different positions, and the second pressure sensor group measures the corresponding pressure responses of the standard pressure.

在一种可能的设计中,所述控制器,用于根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应,包括:In a possible design, the controller is configured to determine the first normalized value 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 A normalized response, including:

用于采用如下公式确定所述第一归一化响应:is used to determine the first normalized response using the following formula:

Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;

V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );

其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the the first touch position, and the corresponding pressure response when the second pressure sensor group measures the standard pressure;

所述控制器,用于根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:The controller, configured to determine 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:

用于采用如下公式确定所述第二归一化响应:is used to determine the second normalized response using the following formula:

Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;

V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );

其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.

在一种可能的设计中,所述控制器,用于根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括:In a possible design, the controller is configured to determine 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, including: :

用于采用如下公式确定施加在所述第一虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the first virtual key:

F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;

其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Wherein, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure the center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure;

和/或所述控制器,用于根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,包括:and/or the controller, configured to determine the magnitude of the pressure applied on the second virtual key according to the second normalized response and the calibration data of the second pressure sensor, including:

用于采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the second virtual key:

F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;

其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.

其中,压力检测模组中相关组件的具体设置,以及相关组件在电子设备中的具体设置方式,可参见本申请实施例提供的电子设备中的相关设置方式。For the specific settings of the relevant components in the pressure detection module and the specific setting methods of the related components in the electronic equipment, reference may be made to the related setting methods in the electronic equipment provided by the embodiments of the present application.

本申请实施例还提供一种压力检测方法,参见图7,本申请实施例提供的压力检测方法可以包括S501-S507:The embodiment of the present application further provides a pressure detection method. Referring to FIG. 7 , the pressure detection method provided by the embodiment of the present application may include S501-S507:

S501、响应于用户在触摸屏上的触摸操作,电子设备获取该触摸操作的触摸位置。S501. In response to a user's touch operation on the touch screen, the electronic device acquires the touch position of the touch operation.

该电子设备具有图4的(a)或图4的(b)或图5的(a)或图5的(b)对应实施例的结构。The electronic device has the structure of the corresponding embodiment of FIG. 4(a) or FIG. 4(b) or FIG. 5(a) or FIG. 5(b).

在一种实现方式中,手机中可以包括触摸传感器(又称触控面板)。该触摸传感器用于测量手触摸屏幕的位置坐标。触摸传感器可以比如但不限于是如下种类:表面电容式、电阻膜式、电容式。这里以表面电容式触控面板为例,来说明手机如何获取触摸位置坐标。这种触控面板包括一层电极膜(或称电极层),电极层包括多个电极(示例性的4个)。当用户对触摸屏进行触摸操作,手视为导体,手与4个电极之间分别产生电容值。处理器可以通过获取4个不同的电容值,获知手的触摸位置坐标。In one implementation, a touch sensor (also known 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. The touch sensor can be, for example, but not limited to, the following types: surface capacitive type, resistive film type, capacitive type. Here, a surface capacitive touch panel is used as an example to illustrate how the mobile phone obtains the coordinates of the touch position. This touch panel includes an electrode film (or called an electrode layer), and the electrode layer includes a plurality of electrodes (exemplarily 4). When the user touches the touch screen, the hand is regarded as a conductor, and a capacitance value is generated between the hand and the four electrodes. The processor can obtain the coordinates of the touch position of the hand by acquiring 4 different capacitance values.

需要注意的是,本申请实施例中,手机获取触摸位置坐标的方法,包括但不限于上述通过触摸传感器获取夹角的方法。It should be noted that, in this embodiment of the present application, the method for obtaining the coordinates of the touch position by the mobile phone includes but is not limited to the above-mentioned method of obtaining the included angle through the touch sensor.

可以理解,当触摸操作的触摸位置在某个虚拟按键的定义区域之内时,说明用户很可能是对虚拟按键进行触摸,这种情况下,手机可执行S502以及后续操作,对触摸操作进行响应。反之,当触摸位置不在任何一个虚拟按键的定义区域之内时,说明很可能是用户对触摸屏的误触,这种情况下,手机可以不响应该触摸操作。It can be understood that when the touch position of the touch operation is within the defined area of a certain virtual key, it means that the user is likely to touch the virtual key. In this case, the mobile phone can perform S502 and subsequent operations to respond to the touch operation. . On the contrary, when the touch position is not within the defined area of any virtual key, it is likely that the user touches the touch screen by mistake. In this case, the mobile phone may not respond to the touch operation.

S502、根据触摸位置,确定用于测量压力的目标压力传感器组。其中,触摸位置在第一虚拟按键的定义区域内,用于测量触摸操作的压力的目标压力传感器组为第二压力传感器组。触摸位置在第二虚拟按键的定义区域内,用于测量触摸操作的压力的目标压力传感器组为第一压力传感器组。S502. Determine a target pressure sensor group for measuring pressure according to the touch position. Wherein, the touch position is within the defined area of the first virtual key, and the target pressure sensor group for measuring the pressure of the touch operation is the second pressure sensor group. The touch position is within 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, it can transmit the touch position information to the processor, and the processor, according to the touch position information, responds that the touch position is within the defined area of a certain virtual key, and the electronic device determines that the The pressure sensor group corresponding to the key measures the pressure applied to the touch position, that is, the pressure of the touch operation.

比如,如图6的(a)所示,假设触摸位置为(x1,y1),该触摸位置在VOL+按键的定义区域内,则电子设备确定需采用Pad-测量施加在VOL+按键上的压力。For example, as shown in (a) of Figure 6, assuming that the touch position is (x1, y1), and the touch position is within the defined area of the VOL+ button, the electronic device determines that Pad- is used to measure the pressure exerted on the VOL+ button.

又比如,如图6的(b)所示,假设触摸位置为(x2,y2),该触摸位置在VOL-按键的定义区域内,则电子设备确定需采用Pad+测量施加在VOL-按键上的压力。For another example, as shown in (b) of FIG. 6 , assuming that the touch position is (x2, y2), and the touch position is within the defined area of the VOL-button, the electronic device determines that it needs to use Pad+ to measure the amount of touch applied to the VOL-button. pressure.

S503、通过目标压力传感器组检测上述触摸操作的压力。S503. Detect the pressure of the above-mentioned touch operation through the target pressure sensor group.

比如,如图6的(a)所示,当触摸操作的触摸位置在VOL+按键的定义区域之内(具体触摸位置为(x1,y1))时,手机处理器控制Pad-采集触摸操作的压力。For example, as shown in (a) of Figure 6, when the touch position of the touch operation is within the defined area of the VOL+ button (the specific touch position is (x1, y1)), the mobile phone processor controls the Pad- to collect the pressure of the touch operation .

本申请实施例提供的压力检测方法,当使用距离该虚拟按键较远的压力传感器组测量该虚拟按键的压力时,手热量产生的形变(在本申请实施例中可以简称热量形变)并不能影响到该较远的压力传感器组的检测结果,因此,使用该较远压力传感器组测量的压力更准确。In the pressure detection method provided in the embodiment of the present application, when the pressure of the virtual key is measured by using a pressure sensor group far away from the virtual key, the deformation caused by the heat of the hand (which may be referred to as thermal deformation in the embodiment of the present application) does not affect the pressure of the virtual key. Therefore, the pressure measured using the remote pressure sensor group is more accurate.

S504、获取所述目标压力传感器组测量压力得到的输出值,并根据所述目标压力传感器组测量压力得到的输出值,确定触摸操作的压力大小。S504: Obtain the output value obtained by measuring the pressure of the target pressure sensor group, and determine the pressure of the touch operation according to the output value obtained by measuring the pressure of the target pressure sensor group.

具体的,当触摸位置在第一虚拟按键的定义区域,参见图8,S504可以实现为如下步骤:Specifically, when the touch position is in the defined area of the first virtual key, referring to FIG. 8 , S504 can be implemented as the following steps:

S504a1、获取第二压力传感器组测量压力得到的第一输出值;S504a2、根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;S504a3、根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小。S504a1, obtaining a first output value obtained by measuring the pressure of the second pressure sensor group; S504a2, 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, Determine a first normalized response; S504a3 , determine the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the calibration data of the first pressure sensor.

其中,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力。The first output value is an output value obtained by the second pressure sensor group measuring the pressure exerted on the first virtual key; the first normalized response is that the first equivalent pressure acts on the The center position of the first pressure sensor group, the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as the pressure applied on the first virtual key the same pressure.

所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。The calibration data of the first pressure sensor group includes the standard pressure acting at different positions, and the first pressure sensor group measures the corresponding pressure response when the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure acting At different positions, the second pressure sensor group measures the corresponding pressure responses of the standard pressure.

作为一种可能的实现方式,电子设备中控制器用于执行S504。As a possible implementation manner, the controller in the electronic device is configured to execute S504.

作为一种可能的实现方式,电子设备采用如下公式确定所述第一归一化响应:As a possible implementation manner, the electronic device uses the following formula to determine the first normalized response:

Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;

V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );

其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the The first touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure.

作为一种可能的实现方式,根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括: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, including:

根据如下公式确定施加在所述第一虚拟按键上的所述压力大小:The magnitude of the pressure exerted on the first virtual key is determined according to the following formula:

F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;

其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure The center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure.

当触摸位置在第二虚拟按键的定义区域内,参见图9,S504可以实现为:S504b1、获取第一压力传感器测量压力得到的第二输出值;S504b2、根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;S504b3、根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小。When the touch position is within the defined area of the second virtual key, referring to FIG. 9 , S504 can be implemented as: S504b1, obtaining a second output value obtained by measuring the pressure of the first pressure sensor; S504b2, according to the second output value, the The calibration data of the first pressure sensor group and the calibration data of the second pressure sensor group, determine a second normalized response; S504b3, according to the second normalized response and the calibration data of the second pressure sensor , and determine the magnitude of the pressure exerted on the second virtual key.

其中,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;Wherein, the second output value is an output value obtained by the first pressure sensor group measuring the pressure exerted on the second virtual key; the second normalized response is that the second equivalent pressure acts on the the center position of the second pressure sensor group, the second pressure sensor group measures the corresponding pressure response when the second equivalent pressure; the second equivalent pressure is the same as the pressure applied on the second virtual key pressure of the same magnitude;

作为一种可能的实现方式,根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:As a possible implementation manner, determining the 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, including:

根据如下公式确定所述第二归一化响应:The second normalized response is determined according to the following formula:

Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;

V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );

其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.

作为一种可能的实现方式,根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,包括:As a possible implementation manner, according to the second normalized response and the calibration data of the second pressure sensor, determining the magnitude of the pressure applied to the second virtual key, including:

根据如下公式确定施加在所述第二虚拟按键上的所述压力大小:The magnitude of the pressure exerted on the second virtual key is determined according to the following formula:

F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;

其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.

S504的具体实现可参见上述实施例。For the specific implementation of S504, reference may be made to the foregoing embodiments.

在另一些实施例中,手机还可以执行如下操作S505:In other embodiments, the mobile phone may also perform the following operation S505:

S505、电子设备判断是否响应触摸操作。S505, the electronic device determines whether to respond to the touch operation.

作为一种可能的实现方式,手机根据上述S0与第一阈值的大小关系,或S1与第二阈值的大小关系,判断该触摸操作是否为有效操作。当S0大于或等于第一阈值,或者S1大于或等于第二阈值,说明触摸操作很可能力度较大,其很可能是用户的正常操作。此种情况下,手机确定触摸操作为有效操作,可执行S506。反之,当S0小于第一阈值,或者S1小于第二阈值,手机确定该触摸操作为无效操作或误触,手机可执行S507。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 S0 is greater than or equal to the first threshold, or S1 is greater than or equal to the second threshold, it indicates that the touch operation is likely to be strong, which is likely to be a normal operation by the user. In this case, the mobile phone determines that the touch operation is a valid operation, and can execute S506. Conversely, when S0 is less than the first threshold, or S1 is less than the second threshold, the mobile phone determines that the touch operation is an invalid operation or a false touch, and the mobile phone can perform S507.

作为一种可能的实现方式,以图6的(a)为例,第一阈值为标准压力作用在VOL+按键的第一触摸位置,即(x1,y1),所述电子设备通过所述Pad-测量所述标准压力时对应的压力响应,即第一阈值的大小等于Rf2。第二阈值为标准压力作用在VOL-按键的第二触摸位置,即(x2,y2),所述电子设备通过所述Pad+测量所述标准压力时对应的压力响应,即第二阈值的大小等于Rf1。As a possible implementation, taking (a) of FIG. 6 as an example, the first threshold is the standard pressure acting on the first touch position of the VOL+ button, namely (x1, y1), and the electronic device passes the Pad- The corresponding pressure response when the standard pressure is measured, that is, the magnitude of the first threshold is equal to Rf2 . The second threshold is the standard pressure acting on the second touch position of the VOL- button, namely (x2, y2), and the electronic device measures the corresponding pressure response of the standard pressure through the Pad+, that is, the magnitude of the second threshold is equal to Rf1.

在另一些实施例中,手机还可以根据上述第一归一化响应与第三阈值的大小关系,或者第二归一化响应与第四阈值的大小关系,判断该触摸操作是否为有效操作。当手机确定该触摸操作为有效操作,可执行S506。当手机确定该触摸操作为无效操作或误触,手机可执行S507。In other embodiments, the mobile phone may further determine whether the touch operation is a valid operation according to the magnitude relationship between the first normalized response and the third threshold, or the magnitude relationship between the second normalized response and the fourth threshold. When the mobile phone determines that the touch operation is a valid operation, S506 can be executed. When the mobile phone determines that the touch operation is an invalid operation or a false touch, the mobile phone can execute S507.

作为一种可能的实现方式,第三阈值的大小等于上述Rs1,第四阈值的大小等于上述Rs2。As a possible implementation manner, the magnitude of the third threshold is equal to the foregoing Rs1, and the magnitude of the fourth threshold is equal to the foregoing Rs2.

电子设备还可以根据其他方式,或其他测量值,判断是否响应上述触摸操作。本申请实施例对判断是否响应触摸操作的方式不做具体限定。The electronic device may also determine whether to respond to the above-mentioned touch operation according to other methods or other measurement values. The embodiments of the present application do not specifically limit the manner of judging whether to respond to a touch operation.

S506、电子设备响应触摸操作,执行触摸操作对应的触摸事件。S506. The electronic device responds to the touch operation and executes a touch event corresponding to the touch operation.

在一些实施方式中,当电子设备确定触摸操作为有效操作,需响应该触摸操作,执行该触摸操作对应的触摸事件。示例性的,如图6的(a)所示,当用户对VOL+按键进行触摸操作,且该触摸操作的第一归一化压力响应S0*(Rs1/Rf2)>第三阈值Rs1,即S0>Rf2时,手机认为该虚拟按键VOL+被触发,即上述触摸操作为有效操作,此种情况下,手机可以执行触摸事件,比如,在界面显示音量调高的图标。In some embodiments, when the electronic device determines that the touch operation is a valid operation, it needs to respond to the touch operation and execute a touch event corresponding to the touch operation. Exemplarily, as shown in (a) of FIG. 6 , when the user performs a touch operation on the VOL+ button, and the first normalized pressure response of the touch operation S0*(Rs1/Rf2 )>the third threshold Rs1, That is, when S0>Rf2 , the mobile phone considers that the virtual key VOL+ is triggered, that is, the above-mentioned touch operation is a valid operation. In this case, the mobile phone can execute a touch event, for example, display the volume up icon on the interface.

S507、电子设备不响应该触摸操作。S507, the electronic device does not respond to the touch operation.

电子设备不响应触摸操作,可以理解为不执行触摸操作对应的触摸事件。可选的,电子设备可以执行其他事件。示例性的,当应用处理器确定上述触摸操作为误触,可以驱动马达产生震动,以提示用户该触操作为误操作,或者,以界面显示提示用户该触摸操作为误操作,或者,以其他方式提示用户该触摸操作为误操作。The electronic device does not respond to the touch operation, which can be understood as not executing the touch event corresponding to the touch operation. Optionally, the electronic device may perform other events. Exemplarily, when the application processor determines that the above-mentioned touch operation is a false touch, it can drive the motor to generate vibration to prompt the user that the touch operation is a false touch, or use the interface display to prompt the user that the touch operation is a false touch, or use other methods. The method prompts the user that the touch operation is a misoperation.

需要说明的是,本申请实施例不限定S505的执行顺序,其可以是在S504b2之后执行,即得到S1和/或第二归一化响应之后执行,或者,在S504b3之后执行。或者,在S504a2之后执行,或者,在S504a2之后执行。It should be noted that this embodiment of the present application does not limit the execution order of S505, which may be executed after S504b2, that is, after S1 and/or the second normalized response is obtained, or after S504b3. Alternatively, it is executed after S504a2, or it is executed after S504a2.

上述实施例主要以检测施加于曲面屏侧边虚拟按键的压力为例,需要说明的是,本申请实施例的技术方案同样适用于曲面屏正面,即除图2的(a)和图2的(b)所示左侧边10和右侧边20之外的屏幕。当然,本申请实施例的技术方案也可以适用于非曲面屏。The above embodiment mainly takes the detection of the pressure applied to the virtual buttons on the side of the curved screen as an example. It should be noted that the technical solutions of the embodiments of the present application are also applicable to the front of the curved screen, that is, except for (a) of FIG. 2 and FIG. 2 . (b) The screen outside theleft side 10 and theright side 20 is shown. Of course, the technical solutions of the embodiments of the present application can also be applied to non-curved screens.

上述实施例主要以设置两个虚拟按键和两组压力传感器为例,应理解,本申请实施例中,还可以设置多个虚拟按键以及多个压力传感器组。比如,图6的(a)或图6的(b)中,VOL-右侧再设置一个虚拟按键Q,Pad-可用于测量施加于VOL+按键的压力,也可以用于测量施加于按键Q的压力。The above embodiment mainly takes the setting of two virtual buttons and two groups of pressure sensors as an example. It should be understood that in the embodiment of the present application, multiple virtual buttons and multiple pressure sensor groups may also be set. For example, in Figure 6(a) or Figure 6(b), a virtual key Q is set on the right side of VOL-, Pad- can be used to measure the pressure applied to the VOL+ key, and it can also be used to measure the pressure applied to the Q key. pressure.

本申请另一实施例提供一种计算机可读存储介质,该计算机可读存储介质包括计算机指令,当所述计算机指令在电子设备上运行时,使得电子设备执行上述方法实施例中电子设备(如手机)所执行的各个功能或者步骤。Another embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium includes computer instructions, when the computer instructions are executed on an electronic device, the electronic device causes the electronic device to execute the electronic device in the foregoing method embodiments (eg, the various functions or steps performed by the mobile phone).

本申请另一实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述方法实施例中电子设备(如手机)所执行的各个功能或者步骤。Another embodiment of the present application provides a computer program product, which, when the computer program product runs on a computer, enables the computer to perform various functions or steps performed by an electronic device (such as a mobile phone) in the above method embodiments.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. For the specific working process of the system, apparatus and unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein 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 manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be Combinations can either be integrated into another system, or some features can be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of this embodiment may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present embodiment can be embodied in the form of a software product in essence or a part that contributes to the prior art or all or part of the technical solution, and the computer software product is stored in a storage medium In the above, several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments. The aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

以上所述,仅为本实施例的具体实施方式,但本实施例的保护范围并不局限于此,任何在本实施例揭露的技术范围内的变化或替换,都应涵盖在本实施例的保护范围之内。因此,本实施例的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this embodiment, but the protection scope of this embodiment is not limited to this, and any changes or substitutions within the technical scope disclosed in this embodiment shall be covered by this embodiment. within the scope of protection. Therefore, the protection scope of this embodiment should be subject to the protection scope of the claims.

Claims (28)

Translated fromChinese
1.一种电子设备,其特征在于,所述电子设备包括边框、第一虚拟按键、第二虚拟按键、第一压力传感器组以及第二压力传感器组;其中,每个压力传感器组包括一个或多个压力传感器;1. An electronic device, characterized in that the electronic device comprises 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 Multiple pressure sensors;所述第一虚拟按键以及所述第二虚拟按键间隔设置在所述边框上;The first virtual key and the second virtual key are arranged on the frame at intervals;所述第一压力传感器组设置在所述边框内侧,所述第一压力传感器组与所述第一虚拟按键之间的第一距离比所述第一压力传感器组与所述第二虚拟按键之间的第二距离小;所述第二距离大于或等于10mm;The first pressure sensor group is arranged inside the frame, and the first distance between the first pressure sensor group and the first virtual key is larger than the distance between the first pressure sensor group and the second virtual key. The second distance between them is small; the second distance is greater than or equal to 10mm;所述第二压力传感器组设置在所述边框内侧,所述第二压力传感器组与所述第一虚拟按键之间的第三距离比所述第二压力传感器组与所述第二虚拟按键之间的第四距离大;所述第三距离大于或等于10mm;The second pressure sensor group is arranged inside the frame, and the third distance between the second pressure sensor group and the first virtual key is larger than the distance between the second pressure sensor group and the second virtual key. The fourth distance between them is large; the third distance is greater than or equal to 10mm;所述第一压力传感器组用于测量施加在所述第二虚拟按键上的压力;the first pressure sensor group is used to measure the pressure exerted on the second virtual key;所述第二压力传感器组用于测量施加在所述第一虚拟按键上的压力。The second pressure sensor group is used to measure the pressure exerted on the first virtual key.2.根据权利要求1所述的电子设备,其特征在于,所述第一压力传感器组位于所述第一虚拟按键基本正下方,所述第二压力传感器组位于所述第二虚拟按键基本正下方。2 . The electronic device according to claim 1 , wherein the first pressure sensor group is located substantially directly below the first virtual key, and the second pressure sensor group is located substantially directly opposite the second virtual key. 3 . below.3.根据权利要求1或2所述的电子设备,其特征在于,所述第二距离小于或等于30mm,所述第三距离小于或等于30mm。3. The electronic device according to claim 1 or 2, wherein the second distance is less than or equal to 30 mm, and the third distance is less than or equal to 30 mm.4.根据权利要求1或2所述的电子设备,其特征在于,所述边框包括中框和/或曲面屏外侧。4. The electronic device according to claim 1 or 2, wherein the frame comprises a middle frame and/or an outer side of a curved screen.5.根据权利要求3所述的电子设备,其特征在于,所述边框包括中框和/或曲面屏外侧。5. The electronic device according to claim 3, wherein the frame comprises a middle frame and/or an outer side of the curved screen.6.根据权利要求1或2或5所述的电子设备,其特征在于,所述电子设备还包括控制器,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组所测得压力的输出值,确定施加在所述第二虚拟按键上的压力大小;6. The electronic device according to claim 1, 2 or 5, wherein the electronic device further comprises a controller, and the controller is configured to acquire an output value obtained by measuring the pressure of the first pressure sensor group, and Determine the magnitude of the pressure exerted on the second virtual key according to the output value of the pressure measured by the first pressure sensor group;和/或,所述控制器,用于获取所述第二压力传感器组测量压力得到的输出值,并根据所述第二压力传感器组所测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to obtain the output value obtained by measuring the pressure of the second pressure sensor group, and determine the pressure applied to the first pressure sensor according to the output value obtained by the pressure measured by the second pressure sensor group. The amount of pressure on the virtual keys.7.根据权利要求3所述的电子设备,其特征在于,所述电子设备还包括控制器,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组所测得压力的输出值,确定施加在所述第二虚拟按键上的压力大小;7 . The electronic device according to claim 3 , wherein the electronic device further comprises a controller, and the controller is configured to obtain an output value obtained by measuring the pressure of the first pressure sensor group, and calculate the output value according to the first pressure sensor group. 8 . The output value of the pressure measured by a pressure sensor group determines the magnitude of the pressure exerted on the second virtual key;和/或,所述控制器,用于获取所述第二压力传感器组测量压力得到的输出值,并根据所述第二压力传感器组所测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to obtain the output value obtained by measuring the pressure of the second pressure sensor group, and determine the pressure applied to the first pressure sensor according to the output value obtained by the pressure measured by the second pressure sensor group. The amount of pressure on the virtual keys.8.根据权利要求4所述的电子设备,其特征在于,所述电子设备还包括控制器,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组所测得压力的输出值,确定施加在所述第二虚拟按键上的压力大小;8 . The electronic device according to claim 4 , wherein the electronic device further comprises a controller, and the controller is configured to acquire an output value obtained by measuring the pressure of the first pressure sensor group, and calculate the output value according to the first pressure sensor group. 9 . The output value of the pressure measured by a pressure sensor group determines the magnitude of the pressure exerted on the second virtual key;和/或,所述控制器,用于获取所述第二压力传感器组测量压力得到的输出值,并根据所述第二压力传感器组所测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to obtain the output value obtained by measuring the pressure of the second pressure sensor group, and determine the pressure applied to the first pressure sensor according to the output value obtained by the pressure measured by the second pressure sensor group. The amount of pressure on the virtual keys.9.根据权利要求7或8所述的电子设备,其特征在于,所述控制器,具体用于执行如下操作:9. The electronic device according to claim 7 or 8, wherein the controller is specifically configured to perform the following operations:获取第一输出值,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;acquiring a first output value, where the first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group;根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力;A first normalized response is determined 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; the first normalized response is the first The equivalent pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as that applied to the first equivalent pressure. The same amount of pressure as the pressure on the virtual keys;根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the calibration data of the first pressure sensor;和/或,所述控制器,具体用于执行如下操作:And/or, the controller is specifically configured to perform the following operations:获取第二输出值,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值;根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小;Acquire a second output value, the second output value is an output value obtained by measuring the pressure exerted on the second virtual key by the first pressure sensor group; according to the second output value, the first pressure The calibration data of the sensor group and the calibration data of the second pressure sensor group determine a second normalized response; the second normalized response is the second equivalent pressure acting on the second pressure sensor group At the center position, the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same pressure as the pressure applied on the second virtual key; according to The second normalized response and the calibration data of the second pressure sensor determine the magnitude of the pressure exerted on the second virtual key;其中,所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, the calibration data of the first pressure sensor group includes standard pressure acting on different positions, and the first pressure sensor group measures the corresponding pressure response of the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure The pressure acts on different positions, and the second pressure sensor group measures the corresponding pressure responses of the standard pressure.10.根据权利要求6所述的电子设备,其特征在于,所述控制器,具体用于执行如下操作:10. The electronic device according to claim 6, wherein the controller is specifically configured to perform the following operations:获取第一输出值,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;acquiring a first output value, where the first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group;根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力;A first normalized response is determined 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; the first normalized response is the first The equivalent pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as that applied to the first equivalent pressure. The same amount of pressure as the pressure on the virtual keys;根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the calibration data of the first pressure sensor;和/或,所述控制器,具体用于执行如下操作:And/or, the controller is specifically configured to perform the following operations:获取第二输出值,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值;根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小;Acquire a second output value, the second output value is an output value obtained by measuring the pressure exerted on the second virtual key by the first pressure sensor group; according to the second output value, the first pressure The calibration data of the sensor group and the calibration data of the second pressure sensor group determine a second normalized response; the second normalized response is the second equivalent pressure acting on the second pressure sensor group At the center position, the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same pressure as the pressure applied on the second virtual key; according to The second normalized response and the calibration data of the second pressure sensor determine the magnitude of the pressure exerted on the second virtual key;其中,所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, the calibration data of the first pressure sensor group includes standard pressure acting on different positions, and the first pressure sensor group measures the corresponding pressure response of the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure The pressure acts on different positions, and the second pressure sensor group measures the corresponding pressure responses of the standard pressure.11.根据权利要求9所述的电子设备,其特征在于,所述控制器,用于根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应,包括:11 . The electronic device according to claim 9 , wherein the controller is configured to use the first output value, the calibration data of the first pressure sensor group, and the second pressure sensor group. 12 . The calibration data to determine the first normalized response, including:用于采用如下公式确定所述第一归一化响应:is used to determine the first normalized response using the following formula:Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the the first touch position, the pressure response corresponding to the second pressure sensor group measuring the standard pressure;所述控制器,用于根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:The controller, configured to determine 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:用于采用如下公式确定所述第二归一化响应:is used to determine the second normalized response using the following formula:Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.12.根据权利要求10所述的电子设备,其特征在于,所述控制器,用于根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应,包括:12 . The electronic device according to claim 10 , wherein the controller is configured to use the first output value, the calibration data of the first pressure sensor group, and the second pressure sensor group. 13 . The calibration data to determine the first normalized response, including:用于采用如下公式确定所述第一归一化响应:is used to determine the first normalized response using the following formula:Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the the first touch position, the pressure response corresponding to the second pressure sensor group measuring the standard pressure;所述控制器,用于根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:The controller, configured to determine 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:用于采用如下公式确定所述第二归一化响应:is used to determine the second normalized response using the following formula:Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.13.根据权利要求9所述的电子设备,其特征在于,所述控制器,用于根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括:13. The electronic device according to claim 9, wherein the controller is configured to determine, according to the first normalized response and calibration data of the first pressure sensor The amount of pressure on the virtual keys, including:用于采用如下公式确定施加在所述第一虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the first virtual key:F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Wherein, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure the center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure;和/或所述控制器,用于根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,包括:and/or the controller, configured to determine the magnitude of the pressure applied on the second virtual key according to the second normalized response and the calibration data of the second pressure sensor, including:用于采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the second virtual key:F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.14.根据权利要求10或11或12所述的电子设备,其特征在于,所述控制器,用于根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括:14. The electronic device according to claim 10 or 11 or 12, wherein the controller is configured to determine, according to the first normalized response and calibration data of the first pressure sensor The pressure on the first virtual key, including:用于采用如下公式确定施加在所述第一虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the first virtual key:F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Wherein, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure the center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure;和/或所述控制器,用于根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,包括:and/or the controller, configured to determine the magnitude of the pressure applied on the second virtual key according to the second normalized response and the calibration data of the second pressure sensor, including:用于采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the second virtual key:F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.15.一种压力检测模组,其特征在于,包括第一压力传感器组、第二压力传感器组以及控制器;其中,每个压力传感器组包括一个或多个压力传感器;所述模组用于电子设备,所述电子设备包括边框、第一虚拟按键、第二虚拟按键;所述第一虚拟按键以及所述第二虚拟按键间隔设置在所述边框上;15. A pressure detection module, comprising 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 an electronic device, the electronic device includes a frame, a first virtual key, and a second virtual key; the first virtual key and the second virtual key are arranged on the frame at intervals;所述第一压力传感器组设置在所述边框内侧,所述第一压力传感器组与所述第一虚拟按键之间的第一距离比所述第一压力传感器组与所述第二虚拟按键之间的第二距离小;所述第二距离大于或等于10mm;The first pressure sensor group is arranged inside the frame, and the first distance between the first pressure sensor group and the first virtual key is larger than the distance between the first pressure sensor group and the second virtual key. The second distance between them is small; the second distance is greater than or equal to 10mm;所述第二压力传感器组设置在所述边框内侧,所述第二压力传感器组与所述第一虚拟按键之间的第三距离比所述第二压力传感器组与所述第二虚拟按键之间的第四距离大;所述第三距离大于或等于10mm;The second pressure sensor group is arranged inside the frame, and the third distance between the second pressure sensor group and the first virtual key is larger than the distance between the second pressure sensor group and the second virtual key. The fourth distance between them is large; the third distance is greater than or equal to 10mm;所述第一压力传感器组用于测量施加在所述第二虚拟按键上的压力;the first pressure sensor group is used to measure the pressure exerted on the second virtual key;所述第二压力传感器组用于测量施加在所述第一虚拟按键上的压力。The second pressure sensor group is used to measure the pressure exerted on the first virtual key.16.根据权利要求15所述的压力检测模组,其特征在于,所述第一压力传感器组位于所述第一虚拟按键基本正下方,所述第二压力传感器组位于所述第二虚拟按键基本正下方。16. The pressure detection module according to claim 15, wherein the first pressure sensor group is located substantially directly below the first virtual key, and the second pressure sensor group is located at the second virtual key Basically right below.17.根据权利要求15或16所述的压力检测模组,其特征在于,所述第二距离小于或等于30mm,所述第三距离小于或等于30mm。17. The pressure detection module according to claim 15 or 16, wherein the second distance is less than or equal to 30 mm, and the third distance is less than or equal to 30 mm.18.根据权利要求15或16所述的压力检测模组,其特征在于,所述边框包括中框和/或曲面屏外侧。18. The pressure detection module according to claim 15 or 16, wherein the frame comprises a middle frame and/or an outer side of a curved screen.19.根据权利要求17所述的压力检测模组,其特征在于,所述边框包括中框和/或曲面屏外侧。19. The pressure detection module according to claim 17, wherein the frame comprises a middle frame and/or an outer side of a curved screen.20.根据权利要求15或16或19所述的压力检测模组,其特征在于,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组测得的压力,确定施加在所述第二虚拟按键上的压力大小;20. The pressure detection module according to claim 15 or 16 or 19, wherein the controller is used to obtain an output value obtained by measuring the pressure of the first pressure sensor group, and according to the first pressure sensor group the measured pressure to determine the pressure applied to the second virtual key;和/或,所述控制器,用于获取所述第二压力传感器组测得的压力,并根据所述第二压力传感器组测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to acquire the pressure measured by the second pressure sensor group, and determine to apply the pressure on the first virtual key according to the output value obtained by measuring the pressure of the second pressure sensor group pressure level.21.根据权利要求17所述的压力检测模组,其特征在于,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组测得的压力,确定施加在所述第二虚拟按键上的压力大小;21 . The pressure detection module according to claim 17 , wherein the controller is configured to obtain an output value obtained by measuring the pressure of the first pressure sensor group, and according to the measured pressure of the first pressure sensor group. 22 . pressure, to determine the magnitude of the pressure exerted on the second virtual key;和/或,所述控制器,用于获取所述第二压力传感器组测得的压力,并根据所述第二压力传感器组测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to acquire the pressure measured by the second pressure sensor group, and determine to apply the pressure on the first virtual key according to the output value obtained by measuring the pressure of the second pressure sensor group pressure level.22.根据权利要求18所述的压力检测模组,其特征在于,所述控制器用于获取所述第一压力传感器组测量压力得到的输出值,并根据所述第一压力传感器组测得的压力,确定施加在所述第二虚拟按键上的压力大小;22 . The pressure detection module according to claim 18 , wherein the controller is configured to obtain an output value obtained by measuring the pressure of the first pressure sensor group, and according to the measured pressure of the first pressure sensor group. 23 . pressure, to determine the magnitude of the pressure exerted on the second virtual key;和/或,所述控制器,用于获取所述第二压力传感器组测得的压力,并根据所述第二压力传感器组测量压力得到的输出值,确定施加在所述第一虚拟按键上的压力大小。And/or, the controller is configured to acquire the pressure measured by the second pressure sensor group, and determine to apply the pressure on the first virtual key according to the output value obtained by measuring the pressure of the second pressure sensor group pressure level.23.根据权利要求20所述的压力检测模组,其特征在于,所述控制器,具体用于执行如下操作:23. The pressure detection module according to claim 20, wherein the controller is specifically configured to perform the following operations:获取第一输出值,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;acquiring a first output value, where the first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group;根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力;A first normalized response is determined 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; the first normalized response is the first The equivalent pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as that applied to the first equivalent pressure. The same amount of pressure as the pressure on the virtual keys;根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the calibration data of the first pressure sensor;和/或,所述控制器,具体用于执行如下操作:And/or, the controller is specifically configured to perform the following operations:获取第二输出值,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值;根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小;Acquire a second output value, the second output value is an output value obtained by measuring the pressure exerted on the second virtual key by the first pressure sensor group; according to the second output value, the first pressure The calibration data of the sensor group and the calibration data of the second pressure sensor group determine a second normalized response; the second normalized response is the second equivalent pressure acting on the second pressure sensor group At the center position, the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same pressure as the pressure applied on the second virtual key; according to The second normalized response and the calibration data of the second pressure sensor determine the magnitude of the pressure exerted on the second virtual key;其中,所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, the calibration data of the first pressure sensor group includes standard pressure acting on different positions, and the first pressure sensor group measures the corresponding pressure response of the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure The pressure acts on different positions, and the second pressure sensor group measures the corresponding pressure responses of the standard pressure.24.根据权利要求21或22所述的压力检测模组,其特征在于,所述控制器,具体用于执行如下操作:24. The pressure detection module according to claim 21 or 22, wherein the controller is specifically configured to perform the following operations:获取第一输出值,所述第一输出值为所述第二压力传感器组测量施加在所述第一虚拟按键上的压力得到的输出值;acquiring a first output value, where the first output value is an output value obtained by measuring the pressure exerted on the first virtual key by the second pressure sensor group;根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应;所述第一归一化响应为第一等效压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述第一等效压力时对应的压力响应;第一等效压力为与施加在所述第一虚拟按键上的压力大小相同的压力;A first normalized response is determined 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; the first normalized response is the first The equivalent pressure acts on the center position of the first pressure sensor group, and the first pressure sensor group measures the corresponding pressure response of the first equivalent pressure; the first equivalent pressure is the same as that applied to the first equivalent pressure. The same amount of pressure as the pressure on the virtual keys;根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小;determining the magnitude of the pressure exerted on the first virtual key according to the first normalized response and the calibration data of the first pressure sensor;和/或,所述控制器,具体用于执行如下操作:And/or, the controller is specifically configured to perform the following operations:获取第二输出值,所述第二输出值为所述第一压力传感器组测量施加在所述第二虚拟按键上的压力得到的输出值;根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应;所述第二归一化响应为第二等效压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述第二等效压力时对应的压力响应;所述第二等效压力为与施加在所述第二虚拟按键上的压力大小相同的压力;根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小;Acquire a second output value, the second output value is an output value obtained by measuring the pressure exerted on the second virtual key by the first pressure sensor group; according to the second output value, the first pressure The calibration data of the sensor group and the calibration data of the second pressure sensor group determine a second normalized response; the second normalized response is the second equivalent pressure acting on the second pressure sensor group At the center position, the second pressure sensor group measures the corresponding pressure response of the second equivalent pressure; the second equivalent pressure is the same pressure as the pressure applied on the second virtual key; according to The second normalized response and the calibration data of the second pressure sensor determine the magnitude of the pressure exerted on the second virtual key;其中,所述第一压力传感器组的校准数据包括标准压力作用在不同位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;所述第二压力传感器组的校准数据包括标准压力作用在不同位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, the calibration data of the first pressure sensor group includes standard pressure acting on different positions, and the first pressure sensor group measures the corresponding pressure response of the standard pressure; the calibration data of the second pressure sensor group includes the standard pressure The pressure acts on different positions, and the second pressure sensor group measures the corresponding pressure responses of the standard pressure.25.根据权利要求23所述的压力检测模组,其特征在于,所述控制器,用于根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应,包括:25 . The pressure detection module according to claim 23 , wherein the controller is configured to measure the first output value, the calibration data of the first pressure sensor group, and the second pressure according to the first output value. 26 . Calibration data for the sensor set, to determine the first normalized response, including:用于采用如下公式确定所述第一归一化响应:is used to determine the first normalized response using the following formula:Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the the first touch position, the pressure response corresponding to the second pressure sensor group measuring the standard pressure;所述控制器,用于根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:The controller, configured to determine 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:用于采用如下公式确定所述第二归一化响应:is used to determine the second normalized response using the following formula:Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.26.根据权利要求24所述的压力检测模组,其特征在于,所述控制器,用于根据所述第一输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第一归一化响应,包括:26 . The pressure detection module according to claim 24 , wherein the controller is configured to measure the first output value, the calibration data of the first pressure sensor group, and the second pressure according to the first output value. 27 . Calibration data for the sensor set, to determine the first normalized response, including:用于采用如下公式确定所述第一归一化响应:is used to determine the first normalized response using the following formula:Vcenter1=V_1_x1*Rs1/Rn1Vcenter1 =V_1_x1 *Rs1 /Rn1 ;V_1_x1=S0*(Rn1/Rf2);V_1_x1 =S0*(Rn1 /Rf2 );其中,Vcenter1为所述第一归一化响应,V_1_x1为第一等效压力作用在所述第一虚拟按键的第一触摸位置,所述第一压力传感器测量所述第一等效压力时对应的压力响应;Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Rn1为所述标准压力作用在所述第一触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;S0为所述第一输出值对应的压力响应;Rf2为所述标准压力作用在所述第一触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Wherein, Vcenter1 is the first normalized response,V_1_x1 is the first touch position where the first equivalent pressure acts on the first virtual key, and the first pressure sensor measures the first equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the first pressure sensor group, and the corresponding pressure responsewhen the first pressure sensor group measures the standard pressure; R n1is the standard pressure action At the first touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure; S0 is the pressure response corresponding to the first output value; Rf2 is the standard pressure acting on the the first touch position, the pressure response corresponding to the second pressure sensor group measuring the standard pressure;所述控制器,用于根据所述第二输出值、所述第一压力传感器组的校准数据,以及所述第二压力传感器组的校准数据,确定第二归一化响应,包括:The controller, configured to determine 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:用于采用如下公式确定所述第二归一化响应:is used to determine the second normalized response using the following formula:Vcenter2=V_2_x2*Rs2/Rn2Vcenter2 =V_2_x2 *Rs2 /Rn2 ;V_2_x2=S1*(Rn2/Rf1);V_2_x2 =S1*(Rn2 /Rf1 );其中,Vcenter2为所述第二归一化响应,V_2_x2为第二等效压力作用在所述第二虚拟按键的第二触摸位置,所述第二压力传感器测量所述第二等效压力时对应的压力响应;Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;Rn2为所述标准压力作用在所述第二触摸位置,所述第二压力传感器组测量所述标准压力时对应的压力响应;S1为所述第二输出值对应的压力响应;Rf1为所述标准压力作用在所述第二触摸位置,所述第一压力传感器组测量所述标准压力时对应的压力响应。Wherein, Vcenter2 is the second normalized response,V_2_x2 is the second equivalent pressure acting on the second touch position of the second virtual key, and the second pressure sensor measures the second equivalent pressure The corresponding pressure response when the standard pressure acts on the center position of the second pressure sensor group, and the corresponding pressure responsewhen the second pressure sensor group measures the standard pressure; R n2is the standard pressure action At the second touch position, the second pressure sensor group measures the corresponding pressure response of the standard pressure; S1 is the pressure response corresponding to the second output value; Rf1 is the standard pressure acting on the For the second touch position, the first pressure sensor group measures the corresponding pressure response of the standard pressure.27.根据权利要求23或25或26所述的压力检测模组,其特征在于,所述控制器,用于根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括:27. The pressure detection module according to claim 23 or 25 or 26, wherein the controller is configured to determine according to the first normalized response and the calibration data of the first pressure sensor The amount of pressure exerted on the first virtual key, including:用于采用如下公式确定施加在所述第一虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the first virtual key:F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Among them, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure the center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure;和/或所述控制器,用于根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,包括:and/or the controller, configured to determine 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, including:用于采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the second virtual key:F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.28.根据权利要求24所述的压力检测模组,其特征在于,所述控制器,用于根据所述第一归一化响应以及所述第一压力传感器的校准数据,确定施加在所述第一虚拟按键上的压力大小,包括:28. The pressure detection module according to claim 24, wherein the controller is configured to determine, according to the first normalized response and calibration data of the first pressure sensor The pressure on the first virtual key, including:用于采用如下公式确定施加在所述第一虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the first virtual key:F触摸操作1=vcenter1*F校准/Rs1Ftouch operation 1 = vcenter1 * Fcalibration / Rs1 ;其中,F触摸操作1为施加在所述第一虚拟按键上的压力大小,vcenter1为所述第一归一化响应,F校准为标准压力,Rs1为标准压力作用在所述第一压力传感器组的中心位置,所述第一压力传感器组测量所述标准压力时对应的压力响应;Among them, Ftouch operation 1 is the pressure applied to the first virtual key, vcenter1 is the first normalized response, Fcalibration is the standard pressure, and Rs1 is the standard pressure acting on the first pressure the center position of the sensor group, the corresponding pressure response when the first pressure sensor group measures the standard pressure;和/或所述控制器,用于根据所述第二归一化响应以及所述第二压力传感器的校准数据,确定施加在所述第二虚拟按键上的压力大小,包括:and/or the controller, configured to determine 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, including:用于采用如下公式确定施加在所述第二虚拟按键上的所述压力大小:The following formula is used to determine the magnitude of the pressure exerted on the second virtual key:F触摸操作2=vcenter2*F校准/Rs2Ftouch operation 2 = vcenter2 * Fcalibration / Rs2 ;其中,F触摸操作2为施加在所述第二虚拟按键上的压力大小,vcenter2为所述第二归一化响应,F校准为标准压力,Rs2为标准压力作用在所述第二压力传感器组的中心位置,所述第二压力传感器组测量所述标准压力时对应的压力响应。Wherein, Ftouch operation 2 is the pressure applied to the second virtual key, vcenter2 is the second normalized response, Fcalibration is the standard pressure, and Rs2 is the standard pressure acting on the second pressure The center position of the sensor group, the corresponding pressure response when the second pressure sensor group measures the standard pressure.
CN202010739502.1A2020-07-282020-07-28 Pressure detection module and electronic equipmentActiveCN114006977B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010739502.1ACN114006977B (en)2020-07-282020-07-28 Pressure detection module and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010739502.1ACN114006977B (en)2020-07-282020-07-28 Pressure detection module and electronic equipment

Publications (2)

Publication NumberPublication Date
CN114006977A CN114006977A (en)2022-02-01
CN114006977Btrue CN114006977B (en)2022-10-11

Family

ID=79920553

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010739502.1AActiveCN114006977B (en)2020-07-282020-07-28 Pressure detection module and electronic equipment

Country Status (1)

CountryLink
CN (1)CN114006977B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20080028852A (en)*2008-03-122008-04-01주식회사 애트랩 Contact sensor device and method of determining the pointing coordinates of the device
CN105677200A (en)*2015-12-312016-06-15宇龙计算机通信科技(深圳)有限公司Mobile terminal control method and device and mobile terminal
CN105912159A (en)*2016-04-062016-08-31宸鸿科技(厦门)有限公司Pressure sensing method and system thereof
CN107390907A (en)*2016-05-172017-11-24北京小米移动软件有限公司Touch module, electronic equipment and pressure calibration method
CN107543651A (en)*2016-06-242018-01-05上海北京大学微电子研究院A kind of Pressure Transducer Calibration System
CN107765925A (en)*2017-11-132018-03-06厦门天马微电子有限公司A kind of display panel, display device and method for controlling display panel
CN108287633A (en)*2015-10-082018-07-17广东欧珀移动通信有限公司A kind of calibration method and device of pressure sensor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20080028852A (en)*2008-03-122008-04-01주식회사 애트랩 Contact sensor device and method of determining the pointing coordinates of the device
CN108287633A (en)*2015-10-082018-07-17广东欧珀移动通信有限公司A kind of calibration method and device of pressure sensor
CN105677200A (en)*2015-12-312016-06-15宇龙计算机通信科技(深圳)有限公司Mobile terminal control method and device and mobile terminal
CN105912159A (en)*2016-04-062016-08-31宸鸿科技(厦门)有限公司Pressure sensing method and system thereof
CN107390907A (en)*2016-05-172017-11-24北京小米移动软件有限公司Touch module, electronic equipment and pressure calibration method
CN107543651A (en)*2016-06-242018-01-05上海北京大学微电子研究院A kind of Pressure Transducer Calibration System
CN107765925A (en)*2017-11-132018-03-06厦门天马微电子有限公司A kind of display panel, display device and method for controlling display panel

Also Published As

Publication numberPublication date
CN114006977A (en)2022-02-01

Similar Documents

PublicationPublication DateTitle
JP7254949B2 (en) Photoelectric fingerprint identification device, terminal and fingerprint identification method
JP7391102B2 (en) Gesture processing methods and devices
CN110007784B (en)Active stylus calibration method, active stylus and electronic equipment
JP7403641B2 (en) Touch screens, electronic devices, and display control methods
CN110456938B (en)False touch prevention method for curved screen and electronic equipment
CN109271081B (en) Method and electronic device for scrolling screenshot
CN110531864A (en)A kind of gesture interaction method, device and terminal device
CN110244893A (en)Operation method for split screen display and electronic equipment
JP7329150B2 (en) Touch button, control method and electronic device
CN107682616A (en) Control method, camera cover and mobile terminal
CN109739394B (en)SAR value processing method and mobile terminal
JP7450046B2 (en) Circuit control device and method
CN112540703B (en)Touch screen control method and electronic equipment
WO2021063099A1 (en)Photographing method and electronic device
WO2021180089A1 (en)Interface switching method and apparatus and electronic device
WO2019047862A1 (en)Fingerprint acquisition method and terminal device and storage medium
CN111596781A (en)False touch prevention method and terminal
CN110139018A (en)Camera controls the control method for movement and terminal of mould group, camera
US20210152914A1 (en)Method for Earbud Switching, Wearable Device, and Storage Medium
CN115562514B (en)Touch display method, graphical interface and related device
CN114006977B (en) Pressure detection module and electronic equipment
US12204741B2 (en)Screenshot method and related device
CN114264884B (en) Dielectric constant measurement method and device
CN117274329B (en)Dual-camera sensor field of view registration method and device, storage medium and electronic equipment
CN112463086A (en)Display control method and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp