CN109992161B - A touch screen-based pressure detection method and detection device - Google Patents

A touch screen-based pressure detection method and detection device Download PDF

Info

Publication number
CN109992161B
CN109992161B CN201910255709.9A CN201910255709A CN109992161B CN 109992161 B CN109992161 B CN 109992161B CN 201910255709 A CN201910255709 A CN 201910255709A CN 109992161 B CN109992161 B CN 109992161B
Authority
CN
China
Prior art keywords
touch screen
target
user
pressure value
preset
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
CN201910255709.9A
Other languages
Chinese (zh)
Other versions
CN109992161A (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.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Original Assignee
Guangzhou Xiaopeng Motors Technology 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 Guangzhou Xiaopeng Motors Technology Co Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN201910255709.9A priority Critical patent/CN109992161B/en
Publication of CN109992161A publication Critical patent/CN109992161A/en
Application granted granted Critical
Publication of CN109992161B publication Critical patent/CN109992161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例涉及触摸屏技术领域,公开了一种基于触摸屏的压力检测方法及检测装置,该触摸屏包括多个电容传感器,该方法包括:当检测到用户手指按压触摸屏时,监测多个电容传感器中被触发的电容传感器的目标数量,接着检测目标数量是否在预设时间内保持不变,若保持不变,根据目标数量确定用户手指与触摸屏的接触面积,然后根据接触面积,获取用户手指按压触摸屏的压力值。实施本发明实施例,能够提高压力检测的准确性。

Figure 201910255709

The embodiment of the present invention relates to the technical field of touch screens, and discloses a pressure detection method and detection device based on a touch screen. The touch screen includes a plurality of capacitive sensors. The number of targets of the triggered capacitive sensor, and then detect whether the number of targets remains unchanged within the preset time. If it remains unchanged, determine the contact area between the user's finger and the touch screen according to the number of targets, and then obtain the user's finger pressing on the touch screen according to the contact area. pressure value. By implementing the embodiments of the present invention, the accuracy of pressure detection can be improved.

Figure 201910255709

Description

一种基于触摸屏的压力检测方法及检测装置A touch screen-based pressure detection method and detection device

技术领域technical field

本发明涉及触摸屏技术领域,具体涉及一种基于触摸屏的压力检测方法及检测装置。The present invention relates to the technical field of touch screens, in particular to a touch screen-based pressure detection method and detection device.

背景技术Background technique

随着科技的高速发展,越来越多的触控产品出现在我们的日常生活中,如智能手机、数字相机、车载触摸屏等,这些触控产品可以利用按压触摸屏产生的压力的不同形成不同的视觉效果,让用户产生与触控产品互动的感觉。举例说,乘客在乘坐车辆时,通过手指按压车载触摸屏以选择相应的功能,车载触摸屏可以在乘客手指的按压位置形成不同视觉效果的波纹。With the rapid development of science and technology, more and more touch products appear in our daily life, such as smart phones, digital cameras, car touch screens, etc. These touch products can use the different pressure generated by pressing the touch screen to form different Visual effects that give users the feeling of interacting with touch products. For example, when a passenger rides a vehicle, he/she presses a finger on the vehicle touch screen to select a corresponding function, and the vehicle touch screen can form ripples with different visual effects at the pressed position of the passenger's finger.

目前,最常见的基于触摸屏的压力检测方法一般是在触摸屏下方设置压力传感器来检测压力的变化,再根据压力的变化形成不同的视觉效果。如图1所示,在车载触摸屏下方设置压力传感器,当用手指按压车载触摸屏时,通过车载触摸屏下方的压力传感器检测到车载触摸屏微小的形变,从而检测出手指的压力。然而,在实践中发现,由于压力传感器在车辆上容易受到车辆振动的影响,使得压力检测的准确性大大降低。At present, the most common pressure detection method based on the touch screen is generally to set a pressure sensor under the touch screen to detect the change of the pressure, and then form different visual effects according to the change of the pressure. As shown in Figure 1, a pressure sensor is installed under the vehicle touch screen. When the vehicle touch screen is pressed with a finger, the pressure sensor below the vehicle touch screen detects the slight deformation of the vehicle touch screen, thereby detecting the pressure of the finger. However, in practice, it is found that the accuracy of pressure detection is greatly reduced because the pressure sensor is easily affected by vehicle vibration on the vehicle.

发明内容SUMMARY OF THE INVENTION

本发明实施例公开了一种基于触摸屏的压力检测方法及检测装置,能够提高压力检测的准确性。The embodiment of the present invention discloses a pressure detection method and detection device based on a touch screen, which can improve the accuracy of pressure detection.

本发明实施例第一方面公开一种基于触摸屏的压力检测方法,所述触摸屏包括多个电容传感器,所述方法还包括:A first aspect of the embodiments of the present invention discloses a pressure detection method based on a touch screen, the touch screen includes a plurality of capacitive sensors, and the method further includes:

当检测到用户手指按压所述触摸屏时,监测所述多个电容传感器中被触发的电容传感器的目标数量;When detecting that the user's finger presses the touch screen, monitoring the target number of the capacitive sensors that are triggered in the plurality of capacitive sensors;

检测所述目标数量是否在预设时间内保持不变;Detecting whether the target quantity remains unchanged within a preset time;

若保持不变,根据所述目标数量确定所述用户手指与所述触摸屏的接触面积;If it remains unchanged, determine the contact area between the user's finger and the touch screen according to the target number;

根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值。According to the contact area, the pressure value of the user's finger pressing the touch screen is acquired.

作为一种可选的实施方式,在本发明实施例第一方面中,在所述检测到所述目标数量在预设时间内保持不变之后,以及所述根据所述目标数量确定所述用户手指与所述触摸屏的接触面积之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, after it is detected that the target quantity remains unchanged for a preset time, and the user is determined according to the target quantity Before the contact area between the finger and the touch screen, the method further includes:

根据所述被触发的电容传感器在所述触摸屏上的分布情况划分目标区域;其中,所述目标区域中所述被触发的电容传感器的密集度大于预设密集度;所述目标区域的面积大于第一预设面积且小于第二预设面积;The target area is divided according to the distribution of the triggered capacitive sensors on the touch screen; wherein, the density of the triggered capacitive sensors in the target area is greater than a preset density; the area of the target area is greater than The first preset area is smaller than the second preset area;

判断所述目标区域的数量是否超过预设数量;judging whether the number of the target areas exceeds a preset number;

若不超过,执行所述根据所述目标数量确定所述用户手指与所述触摸屏的接触面积的步骤。If it does not exceed, the step of determining the contact area between the user's finger and the touch screen according to the target number is performed.

作为一种可选的实施方式,在本发明实施例第一方面中,在所述判断出所述目标区域的数量不超过预设数量之后,以及所述根据所述目标数量确定所述用户手指与所述触摸屏的接触面积之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining that the number of the target areas does not exceed a preset number, and determining the user's finger according to the target number Before the contact area with the touch screen, the method further includes:

获取所述被触发的电容传感器中第一个被触发的目标电容传感器;acquiring the first triggered target capacitive sensor in the triggered capacitive sensors;

以所述目标电容传感器相对于所述触摸屏所在竖直线为基准,获取分布在所述竖直线左侧的所述被触发的电容传感器的第一数量和分布在所述竖直线右侧的所述被触发的电容传感器的第二数量;Using the target capacitive sensor relative to the vertical line where the touch screen is located as a benchmark, obtain a first number of the triggered capacitive sensors distributed on the left side of the vertical line and distributed on the right side of the vertical line the second number of said triggered capacitive sensors;

判断所述第一数量与所述第二数量之间的差值是否小于预设差值;judging whether the difference between the first quantity and the second quantity is less than a preset difference;

若小于,以所述目标电容传感器相对于所述触摸屏所在水平线为基准,获取分布在所述水平线上侧的所述被触发的电容传感器的第三数量和分布在所述水平线下侧的所述被触发的电容传感器的第四数量;If it is less than, taking the target capacitive sensor relative to the horizontal line of the touch screen as a reference, obtain the third number of the triggered capacitive sensors distributed on the upper side of the horizontal line and the third number of the triggered capacitive sensors distributed on the lower side of the horizontal line the fourth number of capacitive sensors that are triggered;

判断所述第三数量与所述第四数量之间的差值是否小于所述预设差值;judging whether the difference between the third quantity and the fourth quantity is less than the preset difference;

若小于,执行所述根据所述目标数量确定所述用户手指与所述触摸屏的接触面积的步骤。If it is less than that, the step of determining the contact area between the user's finger and the touch screen according to the target number is performed.

作为一种可选的实施方式,在本发明实施例第一方面中,在所述根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值之后,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, after acquiring the pressure value of the user's finger pressing the touch screen according to the contact area, the method further includes:

检测所述用户手指按压所述触摸屏的位置上的显示内容对应的类型是否为预设类型;Detecting whether the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type;

若所述显示内容对应的类型为所述预设类型,判断所述压力值是否大于预设压力值;If the type corresponding to the displayed content is the preset type, determine whether the pressure value is greater than the preset pressure value;

若大于所述预设压力值,将所述显示内容进行放大处理,其中,放大倍数与所述压力值成正比例关系;If it is greater than the preset pressure value, amplify the display content, wherein the magnification is proportional to the pressure value;

若小于或等于所述预设压力值,将所述显示内容进行缩小处理,其中,缩小倍数与所述压力值成反比例关系。If it is less than or equal to the preset pressure value, reduce the display content, wherein the reduction factor is inversely proportional to the pressure value.

作为一种可选的实施方式,在本发明实施例第一方面中,在所述根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值之后,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, after acquiring the pressure value of the user's finger pressing the touch screen according to the contact area, the method further includes:

当接收到所述用户输入的设定指令时,在所述触摸屏输出若干个反馈效果对应的预览图;When receiving the setting instruction input by the user, output preview images corresponding to several feedback effects on the touch screen;

接收所述用户选择的目标预览图;receiving the target preview image selected by the user;

将所述目标预览图对应的反馈效果设定为与所述压力值匹配的目标反馈效果;setting the feedback effect corresponding to the target preview image as the target feedback effect matching the pressure value;

将所述压力值与所述目标反馈效果关联存储至本地缓存,以使后续按压所述触摸屏产生所述压力值时,在所述触摸屏上展示所述目标反馈效果。The pressure value is associated with the target feedback effect and stored in a local cache, so that when the pressure value is generated by subsequent pressing of the touch screen, the target feedback effect is displayed on the touch screen.

本发明实施例第二方面公开一种基于触摸屏的压力检测装置,所述触摸屏包括多个电容传感器,所述压力检测装置包括:A second aspect of the embodiments of the present invention discloses a pressure detection device based on a touch screen, the touch screen includes a plurality of capacitive sensors, and the pressure detection device includes:

监测单元,用于当检测到用户手指按压所述触摸屏时,监测所述多个电容传感器中被触发的电容传感器的目标数量;a monitoring unit, configured to monitor the target number of the capacitive sensors triggered in the plurality of capacitive sensors when it is detected that the user's finger presses the touch screen;

第一检测单元,用于检测所述目标数量是否在预设时间内保持不变;a first detection unit, configured to detect whether the target quantity remains unchanged within a preset time;

确定单元,用于当所述第一检测单元检测到所述目标数量在预设时间内保持不变时,根据所述目标数量确定所述用户手指与所述触摸屏的接触面积;a determining unit, configured to determine the contact area between the user's finger and the touch screen according to the target quantity when the first detection unit detects that the target quantity remains unchanged within a preset time;

第一获取单元,用于根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值。A first obtaining unit, configured to obtain a pressure value of the user's finger pressing the touch screen according to the contact area.

作为一种可选的实施方式,在本发明实施例第二方面中,所述压力检测装置还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the pressure detection device further includes:

划分单元,用于在所述第一检测单元检测到所述目标数量在预设时间内保持不变之后,以及所述确定单元根据所述目标数量确定所述用户手指与所述触摸屏的接触面积之前,根据所述被触发的电容传感器在所述触摸屏上的分布情况划分目标区域;其中,所述目标区域中所述被触发的电容传感器的密集度大于预设密集度;所述目标区域的面积大于第一预设面积且小于第二预设面积;a dividing unit, configured to determine the contact area between the user's finger and the touch screen according to the target quantity after the first detection unit detects that the target quantity remains unchanged for a preset time Before, the target area is divided according to the distribution of the triggered capacitive sensors on the touch screen; wherein, the density of the triggered capacitive sensors in the target area is greater than a preset density; The area is larger than the first preset area and smaller than the second preset area;

第一判断单元,用于判断所述目标区域的数量是否超过预设数量;a first judging unit for judging whether the number of the target areas exceeds a preset number;

所述确定单元,具体用于当所述第一检测单元检测到所述目标数量在预设时间内保持不变,以及所述第一判断单元判断出所述目标区域的数量不超过所述预设数量时,根据所述目标数量确定所述用户手指与所述触摸屏的接触面积。The determining unit is specifically configured to, when the first detecting unit detects that the number of targets remains unchanged within a preset time, and the first determining unit determines that the number of target areas does not exceed the predetermined number of areas. When the number is set, the contact area between the user's finger and the touch screen is determined according to the target number.

作为一种可选的实施方式,在本发明实施例第二方面中,所述压力检测装置还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the pressure detection device further includes:

第二获取单元,用于在所述第一判断单元判断出所述目标区域的数量不超过预设数量之后,以及所述确定单元根据所述目标数量确定所述用户手指与所述触摸屏的接触面积之前,获取所述被触发的电容传感器中第一个被触发的目标电容传感器;a second acquiring unit, configured to determine, after the first determination unit determines that the number of target areas does not exceed a preset number, and the determination unit determines the contact between the user's finger and the touch screen according to the target number Before the area, obtain the first triggered target capacitive sensor in the triggered capacitive sensors;

第二获取单元,还用于以所述目标电容传感器相对于所述触摸屏所在竖直线为基准,获取分布在所述竖直线左侧的所述被触发的电容传感器的第一数量和分布在所述竖直线右侧的所述被触发的电容传感器的第二数量;The second acquiring unit is further configured to acquire the first number and distribution of the triggered capacitive sensors distributed on the left side of the vertical line based on the vertical line where the target capacitive sensor is located relative to the touch screen the second number of the triggered capacitive sensors to the right of the vertical line;

第二判断单元,用于判断所述第一数量与所述第二数量之间的差值是否小于预设差值;a second judging unit, configured to judge whether the difference between the first quantity and the second quantity is less than a preset difference;

所述第二获取单元,还用于当所述第二判断单元判断出所述第一数量与所述第二数量之间的差值小于预设差值时,以所述目标电容传感器相对于所述触摸屏所在水平线为基准,获取分布在所述水平线上侧的所述被触发的电容传感器的第三数量和分布在所述水平线下侧的所述被触发的电容传感器的第四数量;The second acquiring unit is further configured to, when the second determining unit determines that the difference between the first quantity and the second quantity is smaller than a preset difference, use the target capacitance sensor relative to the Using the horizontal line where the touch screen is located as a reference, obtain a third number of the triggered capacitive sensors distributed on the upper side of the horizontal line and a fourth number of the triggered capacitive sensors distributed on the lower side of the horizontal line;

所述第二判断单元,还用于判断所述第三数量与所述第四数量之间的差值是否小于所述预设差值;The second judgment unit is further configured to judge whether the difference between the third quantity and the fourth quantity is less than the preset difference;

所述确定单元,具体用于当所述第一检测单元检测到所述目标数量在预设时间内保持不变,以及所述第一判断单元判断出所述目标区域的数量不超过所述预设数量,以及所述第二判断单元判断出所述第三数量与所述第四数量之间的差值小于所述预设差值时,根据所述目标数量确定所述用户手指与所述触摸屏的接触面积。The determining unit is specifically configured to, when the first detecting unit detects that the number of targets remains unchanged within a preset time, and the first determining unit determines that the number of target areas does not exceed the predetermined number of areas. set the number, and when the second judging unit determines that the difference between the third number and the fourth number is less than the preset difference, determine the relationship between the user's finger and the user's finger according to the target number The contact area of the touch screen.

作为一种可选的实施方式,在本发明实施例第二方面中,所述压力检测装置还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the pressure detection device further includes:

第二检测单元,用于在所述第一获取单元根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值之后,检测所述用户手指按压所述触摸屏的位置上的显示内容对应的类型是否为预设类型;The second detection unit is configured to detect, after the first acquisition unit acquires the pressure value of the user's finger pressing the touch screen according to the contact area, to detect the corresponding display content at the position where the user's finger presses the touch screen Whether the type of is the default type;

第三判断单元,用于当所述第二检测单元检测到所述用户手指按压所述触摸屏的位置上的显示内容对应的类型为预设类型时,判断所述压力值是否大于预设压力值;a third judgment unit, configured to judge whether the pressure value is greater than a preset pressure value when the second detection unit detects that the type corresponding to the display content at the position where the user's finger pressed the touch screen is a preset type ;

放大单元,用于当所述第三判断单元判断出所述压力值大于预设压力值时,将所述显示内容进行放大处理,其中,放大倍数与所述压力值成正比例关系;an amplifying unit, configured to perform amplifying processing on the display content when the third judging unit judges that the pressure value is greater than a preset pressure value, wherein the magnification is proportional to the pressure value;

缩小单元,用于当所述第三判断单元判断出所述压力值小于或等于所述预设压力值时,将所述显示内容进行缩小处理,其中,缩小倍数与所述压力值成反比例关系。A reduction unit, configured to perform reduction processing on the display content when the third determination unit determines that the pressure value is less than or equal to the preset pressure value, wherein the reduction factor is inversely proportional to the pressure value .

作为一种可选的实施方式,在本发明实施例第二方面中,所述压力检测装置还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the pressure detection device further includes:

输出单元,用于在所述第一获取单元根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值之后,当接收到所述用户输入的设定指令时,在所述触摸屏输出若干个反馈效果对应的预览图;an output unit, configured to, after the first obtaining unit obtains the pressure value of the user's finger pressing the touch screen according to the contact area, when a setting instruction input by the user is received, output on the touch screen Several preview images corresponding to feedback effects;

接收单元,用于接收所述用户选择的目标预览图;a receiving unit, configured to receive the target preview image selected by the user;

设定单元,用于将所述目标预览图对应的反馈效果设定为与所述压力值匹配的目标反馈效果;a setting unit, configured to set the feedback effect corresponding to the target preview image to the target feedback effect matching the pressure value;

存储单元,用于将所述压力值与所述目标反馈效果关联存储至本地缓存,以使后续按压所述触摸屏产生所述压力值时,在所述触摸屏上展示所述目标反馈效果。The storage unit is configured to store the pressure value and the target feedback effect in a local cache in association, so that when the pressure value is generated by subsequent pressing of the touch screen, the target feedback effect is displayed on the touch screen.

本发明实施例第三方面公开一种车载中控系统,包括本发明实施例第二方面公开的一种基于触摸屏的压力检测装置。A third aspect of the embodiments of the present invention discloses a vehicle-mounted central control system, including a touch screen-based pressure detection device disclosed in the second aspect of the embodiments of the present invention.

本发明实施例第四方面公开一种车辆,包括本发明实施例第二方面公开的一种车载中控系统。A fourth aspect of the embodiments of the present invention discloses a vehicle, including the vehicle-mounted central control system disclosed in the second aspect of the embodiments of the present invention.

本发明实施例第五方面公开一种基于触摸屏的压力检测装置,包括:A fifth aspect of the embodiments of the present invention discloses a touch screen-based pressure detection device, including:

存储有可执行程序代码的存储器;a memory in which executable program code is stored;

与所述存储器耦合的处理器;a processor coupled to the memory;

所述处理器调用所述存储器中存储的所述可执行程序代码,执行本发明实施例第一方面公开的一种基于触摸屏的压力检测方法。The processor invokes the executable program code stored in the memory to execute the touch screen-based pressure detection method disclosed in the first aspect of the embodiments of the present invention.

本发明实施例第六方面公开一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序使得计算机执行本发明实施例第一方面公开的一种基于触摸屏的压力检测方法。A sixth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the touch screen-based pressure detection method disclosed in the first aspect of the embodiments of the present invention.

本发明实施例第七方面公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。A seventh aspect of the embodiments of the present invention discloses a computer program product, which, when the computer program product runs on a computer, causes the computer to execute part or all of the steps of any one of the methods of the first aspect.

本发明实施例第八方面公开一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。An eighth aspect of the embodiments of the present invention discloses an application publishing platform, the application publishing platform is used for publishing a computer program product, wherein when the computer program product runs on a computer, the computer is made to execute any one of the first aspect. Some or all of the steps of a method.

与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

本发明实施例中,触摸屏包括多个电容传感器,当检测到用户手指按压触摸屏时,实时监测被触发的电容传感器的数量,当被触发的电容传感器的数量在预设时间内保持不变时,将当前被触发的电容传感器的数量作为目标数量,根据该目标数量,确定用户手指与触摸屏的接触面积,再根据该接触面积,计算用户手指按压触摸屏的压力值。可见,实施本发明实施例,根据力的作用原理,用户手指按压触摸屏的压力越大,用户手指的形变越大,用户手指与触摸屏的接触面积越大,从而触发电容传感器的数量也越多。因此,可以根据触摸屏设有的多个电容传感器被触发的数量来确定用户手指与触摸屏的接触面积,由压强等于物体所受压力与受力面积之比可知,事先测试好触摸屏所承受的压强常数,再根据用户手指与触摸屏的接触面积即可计算出用户手指按压触摸屏的压力值,无需额外设置压力传感器,能够避免受车辆振动的影响,提高压力检测的准确性。In this embodiment of the present invention, the touch screen includes a plurality of capacitive sensors. When it is detected that the user's finger presses the touch screen, the number of triggered capacitive sensors is monitored in real time. When the number of triggered capacitive sensors remains unchanged within a preset time, The number of currently triggered capacitive sensors is used as the target number, the contact area between the user's finger and the touch screen is determined according to the target number, and then the pressure value of the user's finger pressing the touch screen is calculated according to the contact area. It can be seen that, according to the action principle of force, the greater the pressure of the user's finger pressing the touch screen, the greater the deformation of the user's finger, the greater the contact area between the user's finger and the touch screen, and the greater the number of capacitive sensors triggered by the embodiment of the present invention. Therefore, the contact area between the user's finger and the touch screen can be determined according to the number of multiple capacitive sensors provided on the touch screen that are triggered. From the pressure equal to the ratio of the pressure on the object to the force area, it can be known that the pressure constant on the touch screen should be tested in advance. Then, according to the contact area between the user's finger and the touch screen, the pressure value of the user's finger pressing the touch screen can be calculated, and no additional pressure sensor is required, which can avoid the influence of vehicle vibration and improve the accuracy of pressure detection.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1是本发明实施例公开的一种压力传感器检测压力的示例图;FIG. 1 is an example diagram of pressure detection by a pressure sensor disclosed in an embodiment of the present invention;

图2是本发明实施例公开的一种基于触摸屏的压力检测方法的流程示意图;2 is a schematic flowchart of a touch screen-based pressure detection method disclosed in an embodiment of the present invention;

图3是本发明实施例公开的另一种基于触摸屏的压力检测方法的流程示意图;3 is a schematic flowchart of another touch screen-based pressure detection method disclosed in an embodiment of the present invention;

图4是本发明实施例公开的一种基于触摸屏的压力检测装置的结构示意图;4 is a schematic structural diagram of a touch screen-based pressure detection device disclosed in an embodiment of the present invention;

图5是本发明实施例公开的另一种基于触摸屏的压力检测装置的结构示意图;5 is a schematic structural diagram of another touch screen-based pressure detection device disclosed in an embodiment of the present invention;

图6是本发明实施例公开的又一种基于触摸屏的压力检测装置的结构示意图;6 is a schematic structural diagram of another touch screen-based pressure detection device disclosed in an embodiment of the present invention;

图7是本发明实施例公开的一种压力检测操作的示例图;7 is an exemplary diagram of a pressure detection operation disclosed in an embodiment of the present invention;

图8是本发明实施例公开的另一种压力检测操作的示例图。FIG. 8 is an exemplary diagram of another pressure detection operation disclosed in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

需要说明的是,本发明的说明书和权利要求书中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述特定顺序。本发明实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", "third" and "fourth" in the description and claims of the present invention are used to distinguish different objects, rather than to describe specific order. The terms "comprising" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to the explicit Instead, those steps or elements listed may include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.

在本发明中,术语“上”、“下”、“左”、“右”、“前”、“后”、“顶”、“底”、“内”、“外”、“中”、“竖直”、“水平”、“横向”、“纵向”等指示的方位或位置关系为基于附图所示的方位或位置关系。这些术语主要是为了更好地描述本发明及其实施例,并非用于限定所指示的装置、元件或组成部分必须具有特定方位,或以特定方位进行构造和操作。In the present invention, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", The orientation or positional relationship indicated by "vertical", "horizontal", "horizontal", "longitudinal", etc. is based on the orientation or positional relationship shown in the drawings. These terms are primarily used to better describe the invention and its embodiments, and are not intended to limit the fact that the indicated device, element or component must have a particular orientation, or be constructed and operated in a particular orientation.

并且,上述部分术语除了可以用于表示方位或位置关系以外,还可能用于表示其他含义,例如术语“上”在某些情况下也可能用于表示某种依附关系或连接关系。对于本领域普通技术人员而言,可以根据具体情况理解这些术语在本发明中的具体含义。此外,术语“安装”、“设置”、“设有”、“连接”、“相连”应做广义理解。例如,可以是固定连接,可拆卸连接,或整体式构造;可以是机械连接,或电连接;可以是直接相连,或者是通过中间媒介间接相连,又或者是两个装置、元件或组成部分之间内部的连通。对于本领域普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In addition, some of the above-mentioned terms may be used to express other meanings besides orientation or positional relationship. For example, the term "on" may also be used to express a certain attachment or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in the present invention can be understood according to specific situations. Furthermore, the terms "installed", "arranged", "provided", "connected", "connected" should be construed broadly. For example, it may be a fixed connection, a detachable connection, or a unitary structure; it may be a mechanical connection, or an electrical connection; it may be directly connected, or indirectly connected through an intermediary, or between two devices, elements, or components. internal communication. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

本发明实施例公开了一种基于触摸屏的压力检测方法及检测装置,能够提高压力检测的准确性。以下结合附图进行详细描述。The embodiment of the present invention discloses a pressure detection method and detection device based on a touch screen, which can improve the accuracy of pressure detection. A detailed description is given below in conjunction with the accompanying drawings.

实施例一Example 1

请参阅图2,图2是本发明实施例公开的一种基于触摸屏的压力检测方法的流程示意图。如图2所示,该方法可以包括以下步骤。Please refer to FIG. 2 , which is a schematic flowchart of a touch screen-based pressure detection method disclosed in an embodiment of the present invention. As shown in Figure 2, the method may include the following steps.

201、当检测到用户手指按压触摸屏时,压力检测装置监测多个电容传感器中被触发的电容传感器的目标数量。201. When detecting that the user's finger presses the touch screen, the pressure detection apparatus monitors the target number of the capacitive sensors that are triggered among the plurality of capacitive sensors.

本发明实施例中,触摸屏包括多个电容传感器,当用户手指按压在触摸屏上时,该位置的电容传感器会被触发,表明触摸屏上该位置被按压。In this embodiment of the present invention, the touch screen includes a plurality of capacitive sensors. When the user's finger presses on the touch screen, the capacitive sensor at the position is triggered, indicating that the position on the touch screen is pressed.

本发明实施例中,上述触摸屏可以应用于智能手机、数字相机以及智能汽车,本发明实施例不作限定。为了方便理解,本发明实施例以智能汽车为例进行描述,在本发明实施例中,触摸屏应用于智能汽车上,即车载触摸屏,当乘客使用手指按压在触摸屏上时,压力检测装置可以实时监测触摸屏包括的多个电容传感器中被触发的电容传感器的目标数量。In the embodiment of the present invention, the above-mentioned touch screen may be applied to a smart phone, a digital camera, and a smart car, which is not limited in the embodiment of the present invention. For ease of understanding, the embodiment of the present invention is described by taking a smart car as an example. In the embodiment of the present invention, a touch screen is applied to a smart car, that is, a vehicle-mounted touch screen. When a passenger presses on the touch screen with a finger, the pressure detection device can monitor in real time. The target number of capacitive sensors that are triggered among the multiple capacitive sensors included in the touch screen.

202、压力检测装置检测目标数量是否在预设时间内保持不变;如果是,执行步骤203;如果否,继续执行步骤202。202. The pressure detection device detects whether the target quantity remains unchanged within a preset time; if yes, execute step 203; if not, continue to execute step 202.

本发明实施例中,可以理解的是,当用户手指刚按压触摸屏时,由于用户手指刚开始产生微小形变,一开始接触到触摸屏的面积很小,此时刚触发第一个电容传感器,请一并参阅图7,图7是本发明实施例公开的一种压力检测操作的示例图,如图7所示,小方形斑马格为电容传感器,用户手指刚按压触摸屏时,触发电容传感器0。当用户手指继续按压触摸屏时,由于用户手指按压触摸屏的压力慢慢增大,用户手指开始慢慢产生形变,接触到触摸屏的面积慢慢变大,触发的电容传感器慢慢增加,请一并参阅图8,图8是本发明实施例公开的另一种压力检测操作的示例图,如图8所示,小方形斑马格为电容传感器,用户手指继续按压触摸屏,接触到触摸屏的面积慢慢变大,触发电容传感器1~电容传感器8等多个电容传感器。当用户手指按压触摸屏的压力保持不变时,用户手指停止继续产生形变,接触到触摸屏的面积保持不变,触发的电容传感器也保持不变,当压力检测装置检测到触发的电容传感器的目标数量在预设时间内保持不变时,执行步骤203。In the embodiment of the present invention, it can be understood that when the user's finger just presses the touch screen, because the user's finger just begins to deform slightly, the area that touches the touch screen is very small at first, and the first capacitive sensor is just triggered at this time. 7 is an example diagram of a pressure detection operation disclosed in an embodiment of the present invention. As shown in FIG. 7 , the small square zebra grid is a capacitive sensor. When the user's finger just presses the touch screen, capacitive sensor 0 is triggered. When the user's finger continues to press the touch screen, the pressure of the user's finger on the touch screen gradually increases, the user's finger begins to deform slowly, the area touching the touch screen gradually increases, and the triggered capacitive sensor gradually increases. Please refer to FIG. 8 is an example diagram of another pressure detection operation disclosed by an embodiment of the present invention. As shown in FIG. 8 , the small square zebra grid is a capacitive sensor. The user's finger continues to press the touch screen, and the area touching the touch screen gradually changes. Large, multiple capacitive sensors such as capacitive sensor 1 to capacitive sensor 8 are triggered. When the pressure of the user's finger pressing the touch screen remains unchanged, the user's finger stops deforming, the area touching the touch screen remains unchanged, and the triggered capacitive sensor also remains unchanged. When the pressure detection device detects the number of targets of the triggered capacitive sensor When it remains unchanged within the preset time, step 203 is executed.

本发明实施例中,预设时间可以为测试人员经过大量实验而设定的,本发明实施例不作限定。In the embodiment of the present invention, the preset time may be set by a tester through a large number of experiments, which is not limited in the embodiment of the present invention.

203、压力检测装置根据目标数量确定用户手指与触摸屏的接触面积。203. The pressure detection device determines the contact area between the user's finger and the touch screen according to the number of targets.

本发明实施例中,可以理解的是,由于单个电容传感器代表的面积可知,当压力检测装置检测到触发的电容传感器的目标数量在预设时间内保持不变时,表明用户手指按压触摸屏的压力不再变化,此时压力检测装置可以根据触发的电容传感器的目标数量确定用户手指与触摸屏的接触面积,即单个电容传感器代表的面积与触发的电容传感器的目标数量的乘积。In the embodiment of the present invention, it can be understood that, since the area represented by a single capacitive sensor can be known, when the pressure detection device detects that the target number of the capacitive sensors triggered remains unchanged for a preset time, it indicates the pressure with which the user's finger presses the touch screen. No longer changes, at this time, the pressure detection device can determine the contact area between the user's finger and the touch screen according to the target number of triggered capacitive sensors, that is, the product of the area represented by a single capacitive sensor and the target number of triggered capacitive sensors.

204、压力检测装置根据接触面积,获取用户手指按压触摸屏的压力值。204. The pressure detection device acquires, according to the contact area, a pressure value of the user's finger pressing the touch screen.

本发明实施例中,可以认为,触摸屏所承受的压强为常量,该常量可以事先测量得到,因此,压力检测装置可以根据用户手指与触摸屏的接触面积,计算得出用户手指按压触摸屏的压力值,具体如下公式(1)所示:In the embodiment of the present invention, it can be considered that the pressure on the touch screen is a constant, and the constant can be measured in advance. Therefore, the pressure detection device can calculate the pressure value of the user's finger pressing the touch screen according to the contact area between the user's finger and the touch screen, Specifically, as shown in the following formula (1):

p=F/S (1)p=F/S (1)

其中,p为触摸屏所承受的压强,F为用户手指按压触摸屏的压力值,S为用户手指与触摸屏的接触面积。Among them, p is the pressure that the touch screen bears, F is the pressure value of the user's finger pressing the touch screen, and S is the contact area between the user's finger and the touch screen.

作为一种可选的实施方式,在步骤204压力检测装置根据接触面积,获取用户手指按压触摸屏的压力值之后,还可以执行以下步骤:As an optional implementation manner, in step 204, after the pressure detection device obtains the pressure value of the user's finger pressing the touch screen according to the contact area, the following steps may also be performed:

发送交友指令给服务平台,以使该服务平台获取另一压力检测装置上报的另一用户手指按压另一触摸屏产生的压力值,以及获取该另一用户的身份信息,并将另一压力值和另一用户的身份信息返回给压力检测装置;其中,另一压力检测装置为另一车辆的车载中控系统包括的压力检测装置,另一用户的身份信息包括性别、年龄和/或职业;Send a friend instruction to the service platform, so that the service platform obtains the pressure value generated by another user's finger pressing another touch screen reported by another pressure detection device, as well as obtains the identity information of the other user, and compares the other pressure value with the pressure value. The identity information of the other user is returned to the stress detection device; wherein the other stress detection device is a stress detection device included in the in-vehicle central control system of another vehicle, and the identity information of the other user includes gender, age and/or occupation;

判断压力值与另一压力值之间的差值是否小于预设阈值;judging whether the difference between the pressure value and another pressure value is less than a preset threshold;

若小于预设阈值,获取用户的身份信息;If it is less than the preset threshold, obtain the user's identity information;

根据用户的身份信息和另一用户的身份信息生成交友指数;Generate a friendship index based on the user's identity information and another user's identity information;

当交友指数大于预设的交友指数阈值时,发送交友推荐信息给另一压力检测装置,以使另一压力检测装置将交友推荐信息输出给另一用户;其中,交友推荐信息至少包括该用户的社交账号信息。When the friendship index is greater than the preset friendship index threshold, the friend recommendation information is sent to another stress detection device, so that the other stress detection device outputs the friend recommendation information to another user; wherein the friend recommendation information at least includes the user's Social account information.

实施该可选的实施方式,当两个用户按压触摸屏产生的压力值之间的差值小于预设阈值时,根据用户的身份信息和另一用户的身份信息生成交友指数,即评估两个用户成为好友的可能性,并在交友指数足够大时,推送交友推荐信息给另一压力检测装置,以使另一压力检测装置将交友推荐信息输出给另一用户,有利于通过与触摸屏的交互实现交友,提升用户体验。Implementing this optional embodiment, when the difference between the pressure values generated by the two users pressing the touch screen is smaller than a preset threshold, a friendship index is generated according to the user's identity information and the identity information of another user, that is, the two users are evaluated. The possibility of becoming a friend, and when the friendship index is large enough, push the friend recommendation information to another pressure detection device, so that the other pressure detection device outputs the friend recommendation information to another user, which is beneficial to realize through interaction with the touch screen Make friends and improve user experience.

作为一种可选的实施方式,在步骤204压力检测装置根据接触面积,获取用户手指按压触摸屏的压力值之后,还可以执行以下步骤:As an optional implementation manner, in step 204, after the pressure detection device obtains the pressure value of the user's finger pressing the touch screen according to the contact area, the following steps may also be performed:

当接收到用户输入的座椅调整指令时,获取座椅调整关系表;该座椅调整关系表用于指示用户按压触摸屏产生的压力与座椅调整幅度之间的对应关系;When receiving the seat adjustment instruction input by the user, obtain the seat adjustment relationship table; the seat adjustment relationship table is used to indicate the corresponding relationship between the pressure generated by the user pressing the touch screen and the seat adjustment range;

根据压力值,从座椅调整关系表中获取与压力值匹配的目标座椅调整幅度;According to the pressure value, obtain the target seat adjustment range matching the pressure value from the seat adjustment relationship table;

根据该目标座椅调整幅度调整座椅。Adjust the seat according to the target seat adjustment range.

本发明实施例中,座椅调整关系表可以为测试人员根据大量实验设定并保存于本地缓存中的用于指示用户按压触摸屏产生的压力与座椅调整幅度之间的对应关系,其中,压力值越大,座椅调整幅度越大,本发明实施例不作限定。In this embodiment of the present invention, the seat adjustment relationship table may be a corresponding relationship between the pressure generated by the user pressing the touch screen and the seat adjustment range, which is set by the tester according to a large number of experiments and stored in the local cache, where the pressure The larger the value, the larger the adjustment range of the seat, which is not limited in the embodiment of the present invention.

实施该可选的实施方式,当用户觉得当前座椅的姿态不适合时,可以根据压力值来调整座椅,极大地提高了互动性,提升了用户体验。By implementing this optional embodiment, when the user feels that the current posture of the seat is unsuitable, the seat can be adjusted according to the pressure value, which greatly improves the interactivity and user experience.

本发明实施例中,作为一种可选的实施方式,压力检测装置可以设置有语音模块,该可以用于识别输入的语音指令,如“请调整座椅”调整口令,该调整口令作为座椅调整指令,当检测到该调整口令时,压力检测装置获取座椅调整关系表。实施该可选的实施方式,能够通过语音输入座椅调整指令,然后根据压力值来进行座椅调整,极大地提高了互动性。In the embodiment of the present invention, as an optional implementation, the pressure detection device may be provided with a voice module, which can be used to recognize an input voice command, such as a “please adjust the seat” adjustment password, and the adjustment password is used as the seat adjustment password. The adjustment command, when the adjustment password is detected, the pressure detection device acquires the seat adjustment relation table. By implementing this optional embodiment, the seat adjustment command can be input through voice, and then the seat adjustment can be performed according to the pressure value, which greatly improves the interactivity.

可见,实施图2所描述的方法,根据力的作用原理,用户手指按压触摸屏的压力越大,用户手指的形变越大,用户手指与触摸屏的接触面积越大,从而触发电容传感器的数量也越多,压力检测装置根据触摸屏设有的多个电容传感器被触发的数量来确定用户手指与触摸屏的接触面积,再根据接触面积计算用户手指按压触摸屏的压力值,无需额外设置压力传感器,能够降低成本,并且,克服了传统压力传感器对压力的检测容易受车辆振动的影响,提高压力检测的准确性。It can be seen that, implementing the method described in FIG. 2, according to the action principle of force, the greater the pressure of the user's finger pressing the touch screen, the greater the deformation of the user's finger, the greater the contact area between the user's finger and the touch screen, and the greater the number of triggered capacitive sensors. The pressure detection device determines the contact area between the user's finger and the touch screen according to the number of multiple capacitive sensors on the touch screen that are triggered, and then calculates the pressure value of the user's finger pressing the touch screen according to the contact area. There is no need to set up additional pressure sensors, which can reduce costs. Moreover, it overcomes the fact that the detection of the pressure by the traditional pressure sensor is easily affected by the vibration of the vehicle, and the accuracy of the pressure detection is improved.

实施例二Embodiment 2

请参阅图3,图3是本发明实施例公开的另一种基于触摸屏的压力检测方法的流程示意图。如图3所示,该方法可以包括以下步骤。Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another touch screen-based pressure detection method disclosed in an embodiment of the present invention. As shown in Figure 3, the method may include the following steps.

301、当检测到用户手指按压触摸屏时,压力检测装置监测多个电容传感器中被触发的电容传感器的目标数量。301. When detecting that the user's finger presses the touch screen, the pressure detection apparatus monitors the target number of the capacitive sensors that are triggered among the plurality of capacitive sensors.

本发明实施例中,触摸屏包括多个电容传感器,当用户手指按压在触摸屏上时,该位置的电容传感器会被触发,表明触摸屏上该位置被按压。In this embodiment of the present invention, the touch screen includes a plurality of capacitive sensors. When the user's finger presses on the touch screen, the capacitive sensor at the position is triggered, indicating that the position on the touch screen is pressed.

302、压力检测装置检测目标数量是否在预设时间内保持不变;如果是,执行步骤303;如果否,继续执行步骤302。302. The pressure detection device detects whether the target quantity remains unchanged within the preset time; if yes, execute step 303; if not, continue to execute step 302.

303、压力检测装置根据被触发的电容传感器在触摸屏上的分布情况划分目标区域,其中,目标区域中被触发的电容传感器的密集度大于预设密集度,并且,目标区域的面积大于第一预设面积且小于第二预设面积。303. The pressure detection device divides the target area according to the distribution of the triggered capacitive sensors on the touch screen, wherein the density of the triggered capacitive sensors in the target area is greater than the preset density, and the area of the target area is greater than the first predetermined density. The set area is smaller than the second preset area.

本发明实施例中,举例来说,当用户一不小心用多个手指按在触摸屏上时,此时压力检测装置划分出多个目标区域。比如,用户用三个手指按在触摸屏上时,压力检测装置根据被触发的电容传感器在触摸屏上的分布情况,可以划分出三个目标区域。In the embodiment of the present invention, for example, when the user accidentally presses the touch screen with multiple fingers, the pressure detection device divides multiple target areas at this time. For example, when the user presses the touch screen with three fingers, the pressure detection device can divide three target areas according to the distribution of the triggered capacitive sensors on the touch screen.

304、压力检测装置判断目标区域的数量是否超过预设数量;如果否,执行步骤305;如果是,结束本流程。304. The pressure detection device determines whether the number of target areas exceeds the preset number; if not, execute step 305; if yes, end the process.

本发明实施例中,可以理解的是,当目标区域的数量超过预设数量时,可以认为是用户误触触摸屏。比如预设数量为一时,当用户用三个手指按在触摸屏上时,压力检测装置根据被触发的电容传感器在触摸屏上的分布情况,可以划分出三个目标区域,此时目标区域的数量超过预设数量,表明用户误触触摸屏,结束本流程。In this embodiment of the present invention, it can be understood that when the number of target areas exceeds the preset number, it may be considered that the user touches the touch screen by mistake. For example, when the preset number is one, when the user presses three fingers on the touch screen, the pressure detection device can divide three target areas according to the distribution of the triggered capacitive sensors on the touch screen. At this time, the number of target areas exceeds The preset number indicates that the user touches the touch screen by mistake, and the process ends.

本发明实施例中,实施步骤303-步骤304,根据被触发的电容传感器在触摸屏上的分布情况划分目标区域,并判断目标区域的数量是否超过预设数量,若超过,结束本流程,能够在避免用户误触触摸屏的前提下,提高压力检测的效率。In the embodiment of the present invention, steps 303 to 304 are implemented, the target area is divided according to the distribution of the triggered capacitive sensors on the touch screen, and it is determined whether the number of target areas exceeds the preset number. On the premise of preventing users from accidentally touching the touch screen, the efficiency of pressure detection is improved.

305、压力检测装置获取被触发的电容传感器中第一个被触发的目标电容传感器。305. The pressure detection device acquires the first triggered target capacitive sensor among the triggered capacitive sensors.

本发明实施例中,可以理解的是,当用户手指刚按压触摸屏时,由于用户手指刚开始产生微小形变,一开始接触到触摸屏的面积很小,此时刚触发第一个电容传感器,因此,压力检测装置可以获取被触发的电容传感器中第一个被触发的目标电容传感器。In the embodiment of the present invention, it can be understood that when the user's finger just presses the touch screen, because the user's finger just begins to produce slight deformation, the area that touches the touch screen is very small at first, and the first capacitive sensor is just triggered at this time. Therefore, The pressure detection device can acquire the first triggered target capacitive sensor among the triggered capacitive sensors.

306、压力检测装置以目标电容传感器相对于触摸屏所在竖直线为基准,获取分布在竖直线左侧的被触发的电容传感器的第一数量和分布在竖直线右侧的被触发的电容传感器的第二数量。306. The pressure detection device obtains the first number of triggered capacitive sensors distributed on the left side of the vertical line and the triggered capacitances distributed on the right side of the vertical line based on the vertical line where the target capacitive sensor is located relative to the touch screen. The second number of sensors.

本发明实施例中,可以理解的是,当用户使用手指按压触摸屏后向左滑动时,以目标电容传感器相对于触摸屏所在竖直线为基准,分布在竖直线左侧的被触发的电容传感器的第一数量大于分布在竖直线右侧的被触发的电容传感器的第二数量;当用户使用手指按压触摸屏后向右滑动时,以目标电容传感器相对于触摸屏所在竖直线为基准,分布在竖直线左侧的被触发的电容传感器的第一数量小于分布在竖直线右侧的被触发的电容传感器的第二数量;当用户使用手指按压触摸屏后不进行滑动时,以目标电容传感器相对于触摸屏所在竖直线为基准,分布在竖直线左侧的被触发的电容传感器的第一数量约等于分布在竖直线右侧的被触发的电容传感器的第二数量。In the embodiment of the present invention, it can be understood that when the user presses the touch screen with a finger and then slides to the left, the triggered capacitive sensors distributed on the left side of the vertical line are based on the vertical line where the target capacitive sensor is located relative to the touch screen. The first number is greater than the second number of triggered capacitive sensors distributed on the right side of the vertical line; when the user presses the touch screen with a finger and then slides to the right, the target capacitive sensor is based on the vertical line where the touch screen is located, and the distribution The first number of triggered capacitive sensors on the left side of the vertical line is smaller than the second number of triggered capacitive sensors on the right side of the vertical line; when the user presses the touch screen with a finger and does not slide, the target capacitance The sensors are based on the vertical line where the touch screen is located, and the first number of triggered capacitive sensors distributed on the left side of the vertical line is approximately equal to the second number of triggered capacitive sensors distributed on the right side of the vertical line.

307、压力检测装置判断第一数量与第二数量之间的差值是否小于预设差值;如果是,执行步骤308;如果否,结束本流程。307. The pressure detection device determines whether the difference between the first quantity and the second quantity is smaller than the preset difference; if so, execute step 308; if not, end the process.

本发明实施例中,预设差值可以为测试人员根据大量实验结果而设定的,本发明实施例不作限定。在本发明实施例中,当第一数量与第二数量之间的差值是小于预设差值时,可以认为以目标电容传感器相对于触摸屏所在竖直线为基准,分布在竖直线左侧的被触发的电容传感器的第一数量约等于分布在竖直线右侧的被触发的电容传感器的第二数量,即用户使用手指按压触摸屏后不进行滑动。In the embodiment of the present invention, the preset difference value may be set by a tester according to a large number of experimental results, which is not limited in the embodiment of the present invention. In this embodiment of the present invention, when the difference between the first number and the second number is less than the preset difference, it can be considered that the target capacitive sensor is based on the vertical line where the touch screen is located, and is distributed on the left side of the vertical line. The first number of triggered capacitive sensors on the side is approximately equal to the second number of triggered capacitive sensors distributed on the right side of the vertical line, that is, the user does not slide after pressing the touch screen with a finger.

作为一种可选的实施方式,在压力检测装置判断出第一数量与第二数量之间的差值大于或等于预设差值之后,还可以执行以下步骤:As an optional implementation manner, after the pressure detection device determines that the difference between the first quantity and the second quantity is greater than or equal to the preset difference, the following steps may also be performed:

若第一数量大于第二数量,控制触摸屏上的当前显示内容向左滑动,以使下一页的内容显示在触摸屏上;If the first number is greater than the second number, control the currently displayed content on the touch screen to slide to the left, so that the content of the next page is displayed on the touch screen;

若第一数量小于第二数量,控制触摸屏上的当前显示内容向右滑动,以使上一页的内容显示在触摸屏上。If the first number is less than the second number, control the currently displayed content on the touch screen to slide to the right, so that the content of the previous page is displayed on the touch screen.

本发明实施例中,举例来说,当用户想让下一页的内容在触摸屏进行显示时,可以使用手指按压触摸屏后向左滑动,使得分布在上述竖直线左侧的被触发的电容传感器的第一数量大于分布在上述竖直线右侧的被触发的电容传感器的第二数量,此时,压力检测装置控制触摸屏上的当前显示内容向左滑动,以使下一页的内容显示在触摸屏上。又举例来说,当用户想让上一页的内容在触摸屏进行显示时,可以使用手指按压触摸屏后向右滑动,使得分布在上述竖直线左侧的被触发的电容传感器的第一数量小于分布在上述竖直线右侧的被触发的电容传感器的第二数量,此时,压力检测装置控制触摸屏上的当前显示内容向右滑动,以使上一页的内容显示在触摸屏上。In the embodiment of the present invention, for example, when the user wants the content of the next page to be displayed on the touch screen, the user can use a finger to press the touch screen and then slide to the left, so that the triggered capacitive sensors distributed on the left side of the vertical line The first number is greater than the second number of the triggered capacitive sensors distributed on the right side of the vertical line. At this time, the pressure detection device controls the current display content on the touch screen to slide to the left, so that the content of the next page is displayed on the on the touch screen. For another example, when the user wants the content of the previous page to be displayed on the touch screen, he can use his finger to press the touch screen and then slide to the right, so that the first number of triggered capacitive sensors distributed on the left side of the vertical line is less than The second number of triggered capacitive sensors distributed on the right side of the vertical line. At this time, the pressure detection device controls the current display content on the touch screen to slide to the right, so that the content of the previous page is displayed on the touch screen.

实施该可选的实施方式,若用户在使用手指按压触摸屏后向左滑动,能够使下一页的内容显示在触摸屏上,若用户在使用手指按压触摸屏后向右滑动,能够使上一页的内容显示在触摸屏上,极大地提升了互动性。Implementing this optional implementation, if the user swipes to the left after pressing the touch screen with a finger, the content of the next page can be displayed on the touch screen; Content is displayed on the touchscreen, which greatly enhances interactivity.

308、压力检测装置以目标电容传感器相对于触摸屏所在水平线为基准,获取分布在水平线上侧的被触发的电容传感器的第三数量和分布在水平线下侧的被触发的电容传感器的第四数量。308. The pressure detection device obtains a third number of triggered capacitive sensors distributed on the upper side of the horizontal line and a fourth number of triggered capacitive sensors distributed on the lower side of the horizontal line based on the horizontal line where the target capacitive sensor is located relative to the touch screen.

本发明实施例中,可以理解的是,当用户使用手指按压触摸屏后向上滑动时,以目标电容传感器相对于触摸屏所在水平线为基准,分布在水平线上侧的被触发的电容传感器的第三数量大于分布在水平线下侧的被触发的电容传感器的第四数量;当用户使用手指按压触摸屏后向下滑动时,以目标电容传感器相对于触摸屏所在水平线为基准,分布在水平线上侧的被触发的电容传感器的第三数量小于分布在水平线下侧的被触发的电容传感器的第四数量;当用户使用手指按压触摸屏后不进行滑动时,以目标电容传感器相对于触摸屏所在水平线为基准,分布在水平线上侧的被触发的电容传感器的第三数量约等于分布在水平线下侧的被触发的电容传感器的第四数量。In this embodiment of the present invention, it can be understood that when the user presses the touch screen with a finger and then slides up, the third number of triggered capacitive sensors distributed on the upper side of the horizontal line is greater than the horizontal line where the target capacitive sensor is located relative to the touch screen The fourth number of triggered capacitive sensors distributed on the lower side of the horizontal line; when the user slides down after pressing the touch screen with a finger, the triggered capacitance distributed on the upper side of the horizontal line is based on the target capacitive sensor relative to the horizontal line of the touch screen. The third number of sensors is smaller than the fourth number of triggered capacitive sensors distributed on the lower side of the horizontal line; when the user does not slide after pressing the touch screen with a finger, the target capacitive sensor is based on the horizontal line where the touch screen is located, and is distributed on the horizontal line The third number of triggered capacitive sensors on the side is approximately equal to the fourth number of triggered capacitive sensors distributed on the lower side of the horizontal line.

309、压力检测装置判断第三数量与第四数量之间的差值是否小于预设差值;如果是,执行步骤310;如果否,结束本流程。309. The pressure detection device determines whether the difference between the third quantity and the fourth quantity is smaller than the preset difference; if so, go to step 310; if not, end the process.

本发明实施例中,当第三数量与第四数量之间的差值是小于预设差值时,可以认为以目标电容传感器相对于触摸屏所在水平线为基准,分布在水平线上侧的被触发的电容传感器的第三数量约等于分布在水平线下侧的被触发的电容传感器的第四数,即用户使用手指按压触摸屏后不进行滑动。In this embodiment of the present invention, when the difference between the third number and the fourth number is less than the preset difference, it can be considered that the target capacitive sensor is based on the horizontal line where the touch screen is located, and the triggered sensors distributed on the upper side of the horizontal line The third number of capacitive sensors is approximately equal to the fourth number of triggered capacitive sensors distributed on the lower side of the horizontal line, that is, the user does not slide after pressing the touch screen with a finger.

作为一种可选的实施方式,在压力检测装置判断出第三数量与第四数量之间的差值大于或等于预设差值之后,还可以执行以下步骤:As an optional implementation manner, after the pressure detection device determines that the difference between the third quantity and the fourth quantity is greater than or equal to the preset difference, the following steps may also be performed:

判断触摸屏是否处于阅读状态;Determine whether the touch screen is in the reading state;

若处于阅读状态,且第三数量大于第四数量,控制触摸屏上的当前显示内容向上滑动,以便用户继续进行阅读;If it is in the reading state, and the third number is greater than the fourth number, control the current display content on the touch screen to slide up, so that the user can continue reading;

若处于阅读状态,且第三数量小于第四数量,控制触摸屏上的当前显示内容向下滑动,以便用户回顾之前的阅读内容;If it is in the reading state, and the third number is less than the fourth number, control the current display content on the touch screen to slide down, so that the user can review the previous reading content;

若不处于阅读状态,结束本流程;If it is not in the reading state, end this process;

其中,第三数量与第四数量之间的差值和滑动距离成正比例关系。Among them, the difference between the third quantity and the fourth quantity is proportional to the sliding distance.

本发明实施例中,举例来说,用户正在使用触摸屏进行阅读,当用户读完触摸屏的当前显示内容时,可以使用手指按压触摸屏后向上滑动,使得分布在上述水平线上侧的被触发的电容传感器的第三数量大于分布在上述水平线下侧的被触发的电容传感器的第四数量,此时,压力检测装置控制触摸屏上的当前显示内容向上滑动,以便用户继续进行阅读。又举例来说,用户正在使用触摸屏进行阅读,当用户想回顾之前的阅读内容时,可以使用手指按压触摸屏后向下滑动,使得分布在上述水平线上侧的被触发的电容传感器的第三数量小于分布在上述水平线下侧的被触发的电容传感器的第四数量,此时,压力检测装置控制触摸屏上的当前显示内容向下滑动,以便用户回顾之前的阅读内容。In this embodiment of the present invention, for example, the user is using the touch screen to read, and when the user finishes reading the current display content of the touch screen, he can use his finger to press the touch screen and then slide up, so that the triggered capacitive sensors distributed on the upper side of the above-mentioned horizontal line The third number of is greater than the fourth number of triggered capacitive sensors distributed on the lower side of the horizontal line. At this time, the pressure detection device controls the current display content on the touch screen to slide upwards so that the user can continue to read. For another example, the user is using the touch screen to read. When the user wants to review the previous reading content, he can use his finger to press the touch screen and then slide down, so that the third number of triggered capacitive sensors distributed on the upper side of the horizontal line is less than The fourth number of triggered capacitive sensors distributed on the lower side of the above-mentioned horizontal line. At this time, the pressure detection device controls the current display content on the touch screen to slide down, so that the user can review the previous reading content.

实施该可选的实施方式,若用户在使用手指按压触摸屏后向上滑动,能够使触摸屏上的当前显示内容向上滑动,以便用户继续进行阅读,若用户在使用手指按压触摸屏后向下滑动,能够使触摸屏上的当前显示内容向下滑动,以便用户回顾之前的阅读内容。Implementing this optional embodiment, if the user slides up after pressing the touch screen with a finger, the currently displayed content on the touch screen can slide up so that the user can continue to read; if the user slides down after pressing the touch screen with a finger, it can make The current display on the touchscreen slides down to allow the user to review previous readings.

本发明实施例中,实施步骤305-步骤309,先获取被触发的电容传感器中第一个被触发的目标电容传感器,然后在判断以经过目标电容传感器的竖直线的左侧和右侧的被触发的电容传感器的数量,若左侧和右侧的被触发的电容传感器的数量之间的差值大于或等于预设差值,结束本流程;以及判断以经过目标电容传感器的水平线的上侧和下侧的被触发的电容传感器的数量,若上侧和下侧的被触发的电容传感器的数量之间的差值大于或等于预设差值,结束本流程。能够在避免用户使用手指按压触摸屏后进行滑动导致的压力值检测变大,减小压力检测误差。In this embodiment of the present invention, steps 305 to 309 are implemented, first acquiring the first triggered target capacitive sensor among the triggered capacitive sensors, and then judging the left and right sides of the vertical line passing through the target capacitive sensor The number of triggered capacitive sensors, if the difference between the number of triggered capacitive sensors on the left and right is greater than or equal to the preset difference, the process ends; The number of the triggered capacitive sensors on the side and the lower side, if the difference between the numbers of the triggered capacitive sensors on the upper side and the lower side is greater than or equal to the preset difference, the process ends. The pressure value detection caused by sliding after the user presses the touch screen with a finger can be avoided, and the pressure detection error can be reduced.

310、压力检测装置根据目标数量确定用户手指与触摸屏的接触面积。310. The pressure detection device determines the contact area between the user's finger and the touch screen according to the number of targets.

311、压力检测装置根据接触面积,获取用户手指按压触摸屏的压力值。311. The pressure detection device acquires, according to the contact area, a pressure value of the user's finger pressing the touch screen.

本发明实施例中,作为一种可选的实施方式,在步骤311压力检测装置根据接触面积,获取用户手指按压触摸屏的压力值之后,还可以执行以下步骤:In the embodiment of the present invention, as an optional implementation manner, in step 311, after the pressure detection device obtains the pressure value of the user's finger pressing the touch screen according to the contact area, the following steps may be performed:

当接收到用户输入的设定指令时,在触摸屏输出若干个反馈效果对应的预览图;When receiving the setting instruction input by the user, output several preview images corresponding to the feedback effects on the touch screen;

接收用户选择的目标预览图;Receive the target preview image selected by the user;

将目标预览图对应的反馈效果设定为与压力值匹配的目标反馈效果;Set the feedback effect corresponding to the target preview image to the target feedback effect matching the pressure value;

将压力值与目标反馈效果关联存储至本地缓存,以使后续按压触摸屏产生该压力值时,在触摸屏上展示目标反馈效果。The pressure value is associated with the target feedback effect and stored in the local cache, so that when the pressure value is generated by subsequent pressing of the touch screen, the target feedback effect is displayed on the touch screen.

实施该可选的实施方式,可以将压力值与触摸屏的反馈效果对应起来,使得后续用户按压触摸屏时,能够根据按压触摸屏产生的压力值展示对应的反馈效果,提升了用户体验。By implementing this optional embodiment, the pressure value can be associated with the feedback effect of the touch screen, so that when the subsequent user presses the touch screen, the corresponding feedback effect can be displayed according to the pressure value generated by pressing the touch screen, which improves the user experience.

312、压力检测装置检测用户手指按压触摸屏的位置上的显示内容对应的类型是否为预设类型;如果是,执行步骤313;如果否,结束本流程。312. The pressure detection device detects whether the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type; if so, go to step 313; if not, end the process.

本发明实施例中,预设类型可以为图片类型、文字类型等,本发明实施例不作限定。In the embodiment of the present invention, the preset type may be a picture type, a text type, etc., which is not limited in the embodiment of the present invention.

313、压力检测装置判断压力值是否大于预设压力值;如果是,执行步骤314;如果否,执行步骤315。313. The pressure detection device determines whether the pressure value is greater than the preset pressure value; if so, go to step 314; if not, go to step 315.

本发明实施例中,预设压力值可以为测试人员经过大量实验而设定的,本发明实施例不作限定。In the embodiment of the present invention, the preset pressure value may be set by a tester through a large number of experiments, which is not limited in the embodiment of the present invention.

314、压力检测装置将显示内容进行放大处理,其中,放大倍数与压力值成正比例关系。314. The pressure detection device performs magnification processing on the displayed content, wherein the magnification is proportional to the pressure value.

315、压力检测装置将显示内容进行缩小处理,其中,缩小倍数与压力值成反比例关系。315. The pressure detection device performs reduction processing on the displayed content, wherein the reduction factor is in an inverse proportion to the pressure value.

本发明实施例中,当压力检测装置检测到用户手指按压触摸屏的位置上的显示内容对应的类型为预设类型时,若压力值大于预设压力值,压力检测装置将显示内容进行放大处理,放大倍数与压力值成正比例关系,即压力值越大,放大倍数越大;若压力值小于或等于预设压力值,压力检测装置将显示内容进行缩小处理,缩小倍数与压力值成反比例关系,即压力值越小,缩小倍数越大。In the embodiment of the present invention, when the pressure detection device detects that the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type, if the pressure value is greater than the preset pressure value, the pressure detection device amplifies the display content, The magnification is proportional to the pressure value, that is, the larger the pressure value, the greater the magnification; if the pressure value is less than or equal to the preset pressure value, the pressure detection device will reduce the displayed content, and the reduction factor is inversely proportional to the pressure value. That is, the smaller the pressure value, the larger the reduction factor.

举例来说,用户使用手指按压触摸屏上显示的图片,此时压力检测装置检测到用户手指按压触摸屏的位置上的显示内容对应的类型为预设类型,接着判断用户使用手指按压触摸屏产生的压力值是否大于预设压力值,若大于预设压力值,压力检测装置对该图片进行放大;若小于或等于预设压力值,压力检测装置对该图片进行缩小。For example, the user presses a picture displayed on the touch screen with a finger, and the pressure detection device detects that the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type, and then determines the pressure value generated by the user pressing the touch screen with a finger. Whether it is greater than the preset pressure value, if it is greater than the preset pressure value, the pressure detection device will enlarge the picture; if it is less than or equal to the preset pressure value, the pressure detection device will reduce the picture.

本发明实施例中,实施步骤311-步骤314,当用户手指按压触摸屏的位置上的显示内容对应的类型为预设类型时,可以根据压力值的大小对显示内容进行放大或缩小处理,极大地提高了互动性,提升了用户体验。In this embodiment of the present invention, steps 311 to 314 are implemented. When the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type, the display content can be enlarged or reduced according to the pressure value, which greatly reduces the size of the display content. Improve interactivity and enhance user experience.

可见,与实施图2所描述的方法相比,实施图3所描述的方法,能够在避免用户误触触摸屏的前提下,提高压力检测的效率。此外,能够在避免用户使用手指按压触摸屏后进行滑动导致的压力值检测变大,减小压力检测误差。此外,当用户手指按压触摸屏的位置上的显示内容对应的类型为预设类型时,可以根据压力值的大小对显示内容进行放大或缩小处理,极大地提高了互动性,提升了用户体验。It can be seen that, compared with implementing the method described in FIG. 2 , by implementing the method described in FIG. 3 , the efficiency of pressure detection can be improved on the premise of preventing the user from accidentally touching the touch screen. In addition, the pressure value detection caused by sliding after the user presses the touch screen with a finger can be avoided, and the pressure detection error can be reduced. In addition, when the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type, the display content can be enlarged or reduced according to the pressure value, which greatly improves the interactivity and user experience.

实施例三Embodiment 3

请参阅图4,图4是本发明实施例公开的一种基于触摸屏的压力检测装置的结构示意图。如图4所示,该压力检测装置可以包括:Please refer to FIG. 4 , which is a schematic structural diagram of a touch screen-based pressure detection device disclosed in an embodiment of the present invention. As shown in Figure 4, the pressure detection device may include:

监测单元401,用于当检测到用户手指按压触摸屏时,监测多个电容传感器中被触发的电容传感器的目标数量。The monitoring unit 401 is configured to monitor the target number of the capacitive sensors that are triggered among the plurality of capacitive sensors when it is detected that the user's finger presses the touch screen.

本发明实施例中,触摸屏包括多个电容传感器,当用户手指按压在触摸屏上时,该位置的电容传感器会被触发,表明触摸屏上该位置被按压。In this embodiment of the present invention, the touch screen includes a plurality of capacitive sensors. When the user's finger presses on the touch screen, the capacitive sensor at the position is triggered, indicating that the position on the touch screen is pressed.

第一检测单元402,用于检测目标数量是否在预设时间内保持不变。The first detection unit 402 is configured to detect whether the target quantity remains unchanged within a preset time.

确定单元403,用于当第一检测单元402检测到目标数量在预设时间内保持不变时,根据目标数量确定用户手指与触摸屏的接触面积。The determining unit 403 is configured to determine the contact area between the user's finger and the touch screen according to the number of targets when the first detecting unit 402 detects that the number of targets remains unchanged within a preset time.

第一获取单元404,用于根据接触面积,获取用户手指按压触摸屏的压力值。The first obtaining unit 404 is configured to obtain the pressure value of the user's finger pressing the touch screen according to the contact area.

作为一种可选的实施方式,在第一获取单元404根据接触面积,获取用户手指按压触摸屏的压力值之后,还可以执行以下步骤:As an optional implementation manner, after the first obtaining unit 404 obtains the pressure value of the user's finger pressing the touch screen according to the contact area, the following steps may also be performed:

发送交友指令给服务平台,以使该服务平台获取另一压力检测装置上报的另一用户手指按压另一触摸屏产生的压力值,以及获取该另一用户的身份信息,并将另一压力值和另一用户的身份信息返回给压力检测装置;其中,另一压力检测装置为另一车辆的车载中控系统包括的压力检测装置,另一用户的身份信息包括性别、年龄和/或职业;Send a friend instruction to the service platform, so that the service platform obtains the pressure value generated by another user's finger pressing another touch screen reported by another pressure detection device, as well as obtains the identity information of the other user, and compares the other pressure value with the pressure value. The identity information of the other user is returned to the stress detection device; wherein the other stress detection device is a stress detection device included in the in-vehicle central control system of another vehicle, and the identity information of the other user includes gender, age and/or occupation;

判断压力值与另一压力值之间的差值是否小于预设阈值;judging whether the difference between the pressure value and another pressure value is less than a preset threshold;

若小于预设阈值,获取用户的身份信息;If it is less than the preset threshold, obtain the user's identity information;

根据用户的身份信息和另一用户的身份信息生成交友指数;Generate a friendship index based on the user's identity information and another user's identity information;

当交友指数大于预设的交友指数阈值时,发送交友推荐信息给另一压力检测装置,以使另一压力检测装置将交友推荐信息输出给另一用户;其中,交友推荐信息至少包括该用户的社交账号信息。When the friendship index is greater than the preset friendship index threshold, the friend recommendation information is sent to another stress detection device, so that the other stress detection device outputs the friend recommendation information to another user; wherein the friend recommendation information at least includes the user's Social account information.

实施该可选的实施方式,当两个用户按压触摸屏产生的压力值之间的差值小于预设阈值时,根据用户的身份信息和另一用户的身份信息生成交友指数,即评估两个用户成为好友的可能性,并在交友指数足够大时,推送交友推荐信息给另一压力检测装置,以使另一压力检测装置将交友推荐信息输出给另一用户,有利于通过与触摸屏的交互实现交友,提升用户体验。Implementing this optional embodiment, when the difference between the pressure values generated by the two users pressing the touch screen is smaller than a preset threshold, a friendship index is generated according to the user's identity information and the identity information of another user, that is, the two users are evaluated. The possibility of becoming a friend, and when the friendship index is large enough, push the friend recommendation information to another pressure detection device, so that the other pressure detection device outputs the friend recommendation information to another user, which is beneficial to realize through interaction with the touch screen Make friends and improve user experience.

作为一种可选的实施方式,在第一获取单元404根据接触面积,获取用户手指按压触摸屏的压力值之后,还可以执行以下步骤:As an optional implementation manner, after the first obtaining unit 404 obtains the pressure value of the user's finger pressing the touch screen according to the contact area, the following steps may also be performed:

当接收到用户输入的座椅调整指令时,获取座椅调整关系表;该座椅调整关系表用于指示用户按压触摸屏产生的压力与座椅调整幅度之间的对应关系;When receiving the seat adjustment instruction input by the user, obtain the seat adjustment relationship table; the seat adjustment relationship table is used to indicate the corresponding relationship between the pressure generated by the user pressing the touch screen and the seat adjustment range;

根据压力值,从座椅调整关系表中获取与压力值匹配的目标座椅调整幅度;According to the pressure value, obtain the target seat adjustment range matching the pressure value from the seat adjustment relationship table;

根据该目标座椅调整幅度调整座椅。Adjust the seat according to the target seat adjustment range.

本发明实施例中,座椅调整关系表可以为测试人员根据大量实验设定并保存于本地缓存中的用于指示用户按压触摸屏产生的压力与座椅调整幅度之间的对应关系,其中,压力值越大,座椅调整幅度越大,本发明实施例不作限定。In this embodiment of the present invention, the seat adjustment relationship table may be a corresponding relationship between the pressure generated by the user pressing the touch screen and the seat adjustment range, which is set by the tester according to a large number of experiments and stored in the local cache, where the pressure The larger the value, the larger the adjustment range of the seat, which is not limited in the embodiment of the present invention.

实施该可选的实施方式,当用户觉得当前座椅的姿态不适合时,可以根据压力值来调整座椅,极大地提高了互动性,提升了用户体验。By implementing this optional embodiment, when the user feels that the current posture of the seat is unsuitable, the seat can be adjusted according to the pressure value, which greatly improves the interactivity and user experience.

本发明实施例中,作为一种可选的实施方式,第一获取单元404可以设置有语音模块,该可以用于识别输入的语音指令,如“请调整座椅”调整口令,该调整口令作为座椅调整指令,当检测到该调整口令时,第一获取单元404获取座椅调整关系表。实施该可选的实施方式,能够通过语音输入座椅调整指令,然后根据压力值来进行座椅调整,极大地提高了互动性。In the embodiment of the present invention, as an optional implementation manner, the first obtaining unit 404 may be provided with a voice module, which may be used to recognize an input voice command, such as a “please adjust the seat” adjustment password, and the adjustment password is used as The seat adjustment command, when the adjustment password is detected, the first obtaining unit 404 obtains the seat adjustment relationship table. By implementing this optional embodiment, the seat adjustment command can be input through voice, and then the seat adjustment can be performed according to the pressure value, which greatly improves the interactivity.

可见,实施图4所描述的基于触摸屏的压力检测装置,根据力的作用原理,用户手指按压触摸屏的压力越大,用户手指的形变越大,用户手指与触摸屏的接触面积越大,从而触发电容传感器的数量也越多,压力检测装置根据触摸屏设有的多个电容传感器被触发的数量来确定用户手指与触摸屏的接触面积,再根据接触面积计算用户手指按压触摸屏的压力值,无需额外设置压力传感器,能够降低成本,并且,克服了传统压力传感器对压力的检测容易受车辆振动的影响,提高压力检测的准确性。It can be seen that the pressure detection device based on the touch screen described in FIG. 4 is implemented. According to the principle of force, the greater the pressure of the user's finger pressing the touch screen, the greater the deformation of the user's finger, and the larger the contact area between the user's finger and the touch screen, thus triggering the capacitance The more the number of sensors, the pressure detection device determines the contact area between the user's finger and the touch screen according to the number of multiple capacitive sensors provided on the touch screen that are triggered, and then calculates the pressure value of the user's finger pressing the touch screen according to the contact area, without additional pressure setting The sensor can reduce the cost, and overcome the fact that the detection of pressure by the traditional pressure sensor is easily affected by the vibration of the vehicle, thereby improving the accuracy of the pressure detection.

实施例四Embodiment 4

请参阅图5,图5是本发明实施例公开的另一种基于触摸屏的压力检测装置的结构示意图。其中,图5所示的压力检测装置是由图4所示的压力检测装置进一步优化得到的。与图4所示的压力检测装置相比较,图5所示的压力检测装置还可以包括:Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of another touch screen-based pressure detection device disclosed in an embodiment of the present invention. The pressure detection device shown in FIG. 5 is obtained by further optimizing the pressure detection device shown in FIG. 4 . Compared with the pressure detection device shown in FIG. 4 , the pressure detection device shown in FIG. 5 may further include:

划分单元405,用于在第一检测单元402检测到目标数量在预设时间内保持不变之后,以及确定单元403根据目标数量确定用户手指与触摸屏的接触面积之前,根据被触发的电容传感器在触摸屏上的分布情况划分目标区域;其中,目标区域中被触发的电容传感器的密集度大于预设密集度,并且,目标区域的面积大于第一预设面积且小于第二预设面积。The dividing unit 405 is configured to, after the first detection unit 402 detects that the number of targets remains unchanged for a preset time, and before the determining unit 403 determines the contact area between the user's finger and the touch screen according to the number of targets, according to the triggered capacitive sensor at The distribution on the touch screen divides the target area; wherein, the density of the capacitive sensors triggered in the target area is greater than the preset density, and the area of the target area is greater than the first preset area and smaller than the second preset area.

第一判断单元406,用于判断目标区域的数量是否超过预设数量。The first determination unit 406 is configured to determine whether the number of target areas exceeds a preset number.

确定单元403,具体用于当第一检测单元402检测到目标数量在预设时间内保持不变,以及第一判断单元406判断出目标区域的数量不超过预设数量时,根据目标数量确定用户手指与触摸屏的接触面积。The determining unit 403 is specifically configured to determine the user according to the target number when the first detection unit 402 detects that the number of targets remains unchanged within the preset time, and when the first determination unit 406 determines that the number of target areas does not exceed the preset number The contact area between the finger and the touch screen.

第二获取单元407,用于在第一判断单元406判断出目标区域的数量不超过预设数量之后,以及确定单元403根据目标数量确定用户手指与触摸屏的接触面积之前,获取被触发的电容传感器中第一个被触发的目标电容传感器。The second acquisition unit 407 is configured to acquire the triggered capacitive sensor after the first determination unit 406 determines that the number of target areas does not exceed the preset number, and before the determination unit 403 determines the contact area between the user's finger and the touch screen according to the target number The first target capacitive sensor to be triggered in .

第二获取单元407,还用于以目标电容传感器相对于触摸屏所在竖直线为基准,获取分布在竖直线左侧的被触发的电容传感器的第一数量和分布在竖直线右侧的被触发的电容传感器的第二数量。The second acquiring unit 407 is further configured to acquire the first number of triggered capacitive sensors distributed on the left side of the vertical line and the first number of triggered capacitive sensors distributed on the right side of the vertical line based on the vertical line where the target capacitive sensor is located relative to the touch screen. The second number of capacitive sensors that are triggered.

第二判断单元408,用于判断第一数量与第二数量之间的差值是否小于预设差值。The second judging unit 408 is configured to judge whether the difference between the first quantity and the second quantity is smaller than a preset difference.

本发明实施例中,预设差值可以为测试人员根据大量实验结果而设定的,本发明实施例不作限定。在本发明实施例中,当第一数量与第二数量之间的差值是小于预设差值时,可以认为以目标电容传感器相对于触摸屏所在竖直线为基准,分布在竖直线左侧的被触发的电容传感器的第一数量约等于分布在竖直线右侧的被触发的电容传感器的第二数量,即用户使用手指按压触摸屏后不进行滑动。In the embodiment of the present invention, the preset difference value may be set by a tester according to a large number of experimental results, which is not limited in the embodiment of the present invention. In this embodiment of the present invention, when the difference between the first number and the second number is less than the preset difference, it can be considered that the target capacitive sensor is based on the vertical line where the touch screen is located, and is distributed on the left side of the vertical line. The first number of triggered capacitive sensors on the side is approximately equal to the second number of triggered capacitive sensors distributed on the right side of the vertical line, that is, the user does not slide after pressing the touch screen with a finger.

作为一种可选的实施方式,压力检测装置还可以包括控制单元,在第二判断单元408判断出第一数量与第二数量之间的差值大于或等于预设差值之后,控制单元还可以执行以下步骤:As an optional implementation manner, the pressure detection device may further include a control unit, after the second determination unit 408 determines that the difference between the first quantity and the second quantity is greater than or equal to a preset difference, the control unit further The following steps can be performed:

若第一数量大于第二数量,控制触摸屏上的当前显示内容向左滑动,以使下一页的内容显示在触摸屏上;If the first number is greater than the second number, control the currently displayed content on the touch screen to slide to the left, so that the content of the next page is displayed on the touch screen;

若第一数量小于第二数量,控制触摸屏上的当前显示内容向右滑动,以使上一页的内容显示在触摸屏上。If the first number is less than the second number, control the currently displayed content on the touch screen to slide to the right, so that the content of the previous page is displayed on the touch screen.

本发明实施例中,举例来说,当用户想让下一页的内容在触摸屏进行显示时,可以使用手指按压触摸屏后向左滑动,使得分布在上述竖直线左侧的被触发的电容传感器的第一数量大于分布在上述竖直线右侧的被触发的电容传感器的第二数量,此时,控制单元控制触摸屏上的当前显示内容向左滑动,以使下一页的内容显示在触摸屏上。又举例来说,当用户想让上一页的内容在触摸屏进行显示时,可以使用手指按压触摸屏后向右滑动,使得分布在上述竖直线左侧的被触发的电容传感器的第一数量小于分布在上述竖直线右侧的被触发的电容传感器的第二数量,此时,控制单元控制触摸屏上的当前显示内容向右滑动,以使上一页的内容显示在触摸屏上。In the embodiment of the present invention, for example, when the user wants the content of the next page to be displayed on the touch screen, the user can use a finger to press the touch screen and then slide to the left, so that the triggered capacitive sensors distributed on the left side of the vertical line The first number is greater than the second number of the triggered capacitive sensors distributed on the right side of the vertical line. At this time, the control unit controls the current display content on the touch screen to slide to the left, so that the content of the next page is displayed on the touch screen. superior. For another example, when the user wants the content of the previous page to be displayed on the touch screen, he can use his finger to press the touch screen and then slide to the right, so that the first number of triggered capacitive sensors distributed on the left side of the vertical line is less than The second number of triggered capacitive sensors distributed on the right side of the vertical line. At this time, the control unit controls the currently displayed content on the touch screen to slide to the right, so that the content of the previous page is displayed on the touch screen.

实施该可选的实施方式,若用户在使用手指按压触摸屏后向左滑动,能够使下一页的内容显示在触摸屏上,若用户在使用手指按压触摸屏后向右滑动,能够使上一页的内容显示在触摸屏上,极大地提升了互动性。Implementing this optional implementation, if the user swipes to the left after pressing the touch screen with a finger, the content of the next page can be displayed on the touch screen; Content is displayed on the touchscreen, which greatly enhances interactivity.

第二获取单元407,还用于当第二判断单元408判断出第一数量与第二数量之间的差值小于预设差值时,以目标电容传感器相对于触摸屏所在水平线为基准,获取分布在水平线上侧的被触发的电容传感器的第三数量和分布在水平线下侧的被触发的电容传感器的第四数量。The second obtaining unit 407 is further configured to obtain the distribution based on the horizontal line where the target capacitive sensor is located relative to the touch screen when the second judging unit 408 judges that the difference between the first quantity and the second quantity is smaller than the preset difference A third number of triggered capacitive sensors on the upper side of the horizontal line and a fourth number of triggered capacitive sensors distributed on the lower side of the horizontal line.

第二判断单元408,还用于判断第三数量与第四数量之间的差值是否小于预设差值。The second judging unit 408 is further configured to judge whether the difference between the third quantity and the fourth quantity is smaller than a preset difference.

本发明实施例中,当第三数量与第四数量之间的差值是小于预设差值时,可以认为以目标电容传感器相对于触摸屏所在水平线为基准,分布在水平线上侧的被触发的电容传感器的第三数量约等于分布在水平线下侧的被触发的电容传感器的第四数,即用户使用手指按压触摸屏后不进行滑动。In this embodiment of the present invention, when the difference between the third number and the fourth number is less than the preset difference, it can be considered that the target capacitive sensor is based on the horizontal line where the touch screen is located, and the triggered sensors distributed on the upper side of the horizontal line The third number of capacitive sensors is approximately equal to the fourth number of triggered capacitive sensors distributed on the lower side of the horizontal line, that is, the user does not slide after pressing the touch screen with a finger.

作为一种可选的实施方式,在第二判断单元408判断出第三数量与第四数量之间的差值大于或等于预设差值之后,控制单元还可以执行以下步骤:As an optional implementation manner, after the second judging unit 408 judges that the difference between the third quantity and the fourth quantity is greater than or equal to the preset difference, the control unit may further perform the following steps:

判断触摸屏是否处于阅读状态;Determine whether the touch screen is in the reading state;

若处于阅读状态,且第三数量大于第四数量,控制触摸屏上的当前显示内容向上滑动,以便用户继续进行阅读;If it is in the reading state, and the third number is greater than the fourth number, control the current display content on the touch screen to slide up, so that the user can continue reading;

若处于阅读状态,且第三数量小于第四数量,控制触摸屏上的当前显示内容向下滑动,以便用户回顾之前的阅读内容;If it is in the reading state, and the third number is less than the fourth number, control the current display content on the touch screen to slide down, so that the user can review the previous reading content;

若不处于阅读状态,结束本流程;If it is not in the reading state, end this process;

其中,第三数量与第四数量之间的差值和滑动距离成正比例关系。Among them, the difference between the third quantity and the fourth quantity is proportional to the sliding distance.

本发明实施例中,举例来说,用户正在使用触摸屏进行阅读,当用户读完触摸屏的当前显示内容时,可以使用手指按压触摸屏后向上滑动,使得分布在上述水平线上侧的被触发的电容传感器的第三数量大于分布在上述水平线下侧的被触发的电容传感器的第四数量,此时,控制单元控制触摸屏上的当前显示内容向上滑动,以便用户继续进行阅读。又举例来说,用户正在使用触摸屏进行阅读,当用户想回顾之前的阅读内容时,可以使用手指按压触摸屏后向下滑动,使得分布在上述水平线上侧的被触发的电容传感器的第三数量小于分布在上述水平线下侧的被触发的电容传感器的第四数量,此时,控制单元控制触摸屏上的当前显示内容向下滑动,以便用户回顾之前的阅读内容。In this embodiment of the present invention, for example, the user is using the touch screen to read, and when the user finishes reading the current display content of the touch screen, he can use his finger to press the touch screen and then slide up, so that the triggered capacitive sensors distributed on the upper side of the above-mentioned horizontal line The third number of is greater than the fourth number of triggered capacitive sensors distributed on the lower side of the horizontal line. At this time, the control unit controls the current display content on the touch screen to slide upwards so that the user can continue reading. For another example, the user is using the touch screen to read. When the user wants to review the previous reading content, he can use his finger to press the touch screen and then slide down, so that the third number of triggered capacitive sensors distributed on the upper side of the horizontal line is less than The fourth number of triggered capacitive sensors distributed on the lower side of the above-mentioned horizontal line. At this time, the control unit controls the current display content on the touch screen to slide down, so that the user can review the previous reading content.

实施该可选的实施方式,若用户在使用手指按压触摸屏后向上滑动,能够使触摸屏上的当前显示内容向上滑动,以便用户继续进行阅读,若用户在使用手指按压触摸屏后向下滑动,能够使触摸屏上的当前显示内容向下滑动,以便用户回顾之前的阅读内容。Implementing this optional embodiment, if the user slides up after pressing the touch screen with a finger, the currently displayed content on the touch screen can slide up so that the user can continue to read; if the user slides down after pressing the touch screen with a finger, it can make The current display on the touchscreen slides down to allow the user to review previous readings.

确定单元403,具体用于当第一检测单元402检测到目标数量在预设时间内保持不变,以及第一判断单元406判断出目标区域的数量不超过预设数量,以及第二判断单元408判断出第三数量与第四数量之间的差值小于预设差值时,根据目标数量确定用户手指与触摸屏的接触面积。The determination unit 403 is specifically used for when the first detection unit 402 detects that the number of targets remains unchanged within a preset time, and the first determination unit 406 determines that the number of target areas does not exceed the preset number, and the second determination unit 408 When it is determined that the difference between the third number and the fourth number is smaller than the preset difference, the contact area between the user's finger and the touch screen is determined according to the target number.

第二检测单元409,用于在第一获取单元404根据接触面积,获取用户手指按压触摸屏的压力值之后,检测用户手指按压触摸屏的位置上的显示内容对应的类型是否为预设类型。The second detection unit 409 is configured to detect whether the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type after the first acquisition unit 404 acquires the pressure value of the user's finger pressing the touch screen according to the contact area.

第三判断单元410,用于当第二检测单元409检测到用户手指按压触摸屏的位置上的显示内容对应的类型为预设类型时,判断压力值是否大于预设压力值。The third determination unit 410 is configured to determine whether the pressure value is greater than the preset pressure value when the second detection unit 409 detects that the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type.

放大单元411,用于当第三判断单元410判断出压力值大于预设压力值时,将显示内容进行放大处理,其中,放大倍数与压力值成正比例关系。The amplifying unit 411 is configured to perform amplifying processing on the displayed content when the third judging unit 410 judges that the pressure value is greater than the preset pressure value, wherein the magnification is proportional to the pressure value.

缩小单元412,用于当第三判断单元410判断出压力值小于或等于预设压力值时,将显示内容进行缩小处理,其中,缩小倍数与压力值成反比例关系。The reduction unit 412 is configured to perform reduction processing on the display content when the third determination unit 410 determines that the pressure value is less than or equal to the preset pressure value, wherein the reduction factor is inversely proportional to the pressure value.

本发明实施例中,当第二检测单元409检测到用户手指按压触摸屏的位置上的显示内容对应的类型为预设类型时,若第三判断单元410判断出压力值大于预设压力值,放大单元411将显示内容进行放大处理,放大倍数与压力值成正比例关系,即压力值越大,放大倍数越大;若第三判断单元410判断出压力值小于或等于预设压力值,缩小单元412将显示内容进行缩小处理,缩小倍数与压力值成反比例关系,即压力值越小,缩小倍数越大。In this embodiment of the present invention, when the second detection unit 409 detects that the type corresponding to the display content at the position where the user's finger presses the touch screen is the preset type, if the third determination unit 410 determines that the pressure value is greater than the preset pressure value, zoom in The unit 411 amplifies the displayed content, and the magnification is proportional to the pressure value, that is, the larger the pressure value, the greater the magnification; if the third judgment unit 410 judges that the pressure value is less than or equal to the preset pressure value, the reduction unit 412 The displayed content is reduced, and the reduction factor is inversely proportional to the pressure value, that is, the smaller the pressure value, the greater the reduction factor.

本发明实施例中,作为一种可选的实施方式,在第一获取单元404根据接触面积,获取用户手指按压触摸屏的压力值之后,还可以执行以下步骤:In the embodiment of the present invention, as an optional implementation manner, after the first acquisition unit 404 acquires the pressure value of the user's finger pressing the touch screen according to the contact area, the following steps may be further performed:

当接收到用户输入的设定指令时,在触摸屏输出若干个反馈效果对应的预览图;When receiving the setting instruction input by the user, output several preview images corresponding to the feedback effects on the touch screen;

接收用户选择的目标预览图;Receive the target preview image selected by the user;

将目标预览图对应的反馈效果设定为与压力值匹配的目标反馈效果;Set the feedback effect corresponding to the target preview image to the target feedback effect matching the pressure value;

将压力值与目标反馈效果关联存储至本地缓存,以使后续按压触摸屏产生该压力值时,在触摸屏上展示目标反馈效果。The pressure value is associated with the target feedback effect and stored in the local cache, so that when the pressure value is generated by subsequent pressing of the touch screen, the target feedback effect is displayed on the touch screen.

实施该可选的实施方式,可以将压力值与触摸屏的反馈效果对应起来,使得后续用户按压触摸屏时,能够根据按压触摸屏产生的压力值展示对应的反馈效果,提升了用户体验。By implementing this optional embodiment, the pressure value can be associated with the feedback effect of the touch screen, so that when the subsequent user presses the touch screen, the corresponding feedback effect can be displayed according to the pressure value generated by pressing the touch screen, which improves the user experience.

可见,与实施图4所描述的基于触摸屏的压力检测装置相比,实施图5所描述的基于触摸屏的压力检测装置,能够在避免用户误触触摸屏的前提下,提高压力检测的效率。此外,能够在避免用户使用手指按压触摸屏后进行滑动导致的压力值检测变大,减小压力检测误差。此外,当用户手指按压触摸屏的位置上的显示内容对应的类型为预设类型时,可以根据压力值的大小对显示内容进行放大或缩小处理,极大地提高了互动性,提升了用户体验。It can be seen that, compared with implementing the touch screen-based pressure detection device described in FIG. 4 , implementing the touch screen-based pressure detection device described in FIG. 5 can improve the efficiency of pressure detection on the premise of preventing the user from accidentally touching the touch screen. In addition, the pressure value detection caused by sliding after the user presses the touch screen with a finger can be avoided, and the pressure detection error can be reduced. In addition, when the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type, the display content can be enlarged or reduced according to the pressure value, which greatly improves the interactivity and user experience.

实施例五Embodiment 5

请参阅图6,图6是本发明实施例公开的又一种基于触摸屏的压力检测装置的结构示意图。如图6所示,该压力检测装置可以包括:Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of another touch screen-based pressure detection device disclosed in an embodiment of the present invention. As shown in Figure 6, the pressure detection device may include:

存储有可执行程序代码的存储器601;a memory 601 storing executable program code;

与存储器601耦合的处理器602;a processor 602 coupled to the memory 601;

其中,处理器602调用存储器601中存储的可执行程序代码,执行图2~图3任意一种基于触摸屏的压力检测方法。The processor 602 invokes the executable program code stored in the memory 601 to execute any one of the touch screen-based pressure detection methods shown in FIGS. 2 to 3 .

本发明实施例公开一种车载中控系统,包括本发明实施例公开的一种基于触摸屏的压力检测装置。The embodiment of the present invention discloses a vehicle-mounted central control system, which includes a touch screen-based pressure detection device disclosed in the embodiment of the present invention.

本发明实施例公开一种车辆,包括本发明实施例公开的一种车载中控系统。The embodiment of the present invention discloses a vehicle, including the vehicle-mounted central control system disclosed by the embodiment of the present invention.

本发明实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序使得计算机执行图2~图3任意一种基于触摸屏的压力检测方法。An embodiment of the present invention discloses a computer-readable storage medium, which stores a computer program, wherein the computer program causes a computer to execute any one of the touch screen-based pressure detection methods shown in FIGS. 2 to 3 .

本发明实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可操作来使计算机执行图2~图3任意一种基于触摸屏的压力检测方法。An embodiment of the present invention discloses a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of FIGS. 2 to 3 based on the touch screen pressure detection method.

本发明实施例还公开一种应用发布平台,其中,应用发布平台用于发布计算机程序产品,其中,当计算机程序产品在计算机上运行时,使得计算机执行如以上各方法实施例中的方法的部分或全部步骤。The embodiment of the present invention also discloses an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, wherein when the computer program product runs on a computer, the computer is made to execute parts of the methods in the above method embodiments or all steps.

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本发明所必须的。It is to be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the specific features, structures or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.

在本发明的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。In various embodiments of the present invention, it should be understood that the size of the sequence numbers of the above-mentioned processes does not imply an inevitable sequence of execution, and the execution sequence of each process should be determined by its functions and inherent logic, rather than the implementation of the present invention. The implementation of the examples constitutes no limitation. The units described above as separate components may or may not be physically separated, and components displayed as units may or may not be object units, and may be located in one place or 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 the present invention 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 above-mentioned integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-accessible memory. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory , including several requests to cause a computer device (which may be a personal computer, a server, or a network device, etc., specifically a processor in the computer device) to execute some or all of the steps of the above methods in various embodiments of the present invention.

在本发明所提供的实施例中,应理解,“与A对应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其他信息确定B。在本发明的各种实施例中,应理解,“A和/或B”的含义指的是A和B各自单独存在或者A和B同时存在的情况均包括在内。In the embodiments provided by the present invention, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean that B is only determined according to A, and B may also be determined according to A and/or other information. In various embodiments of the present invention, it should be understood that the meaning of "A and/or B" means that A and B exist independently or the cases where A and B exist simultaneously are included.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only storage medium. Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-only Memory (PROM), Erasable Programmable Read Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

以上对本发明实施例公开的一种基于触摸屏的压力检测方法及检测装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A touch screen-based pressure detection method and detection device disclosed in the embodiments of the present invention have been described above in detail. The principles and implementations of the present invention are described with specific examples in this paper. The descriptions of the above embodiments are only used to help Understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification does not It should be understood as a limitation of the present invention.

Claims (12)

1.一种基于触摸屏的压力检测方法,其特征在于,所述触摸屏包括多个电容传感器,所述方法还包括:1. A pressure detection method based on a touch screen, wherein the touch screen comprises a plurality of capacitive sensors, and the method further comprises: 当检测到用户手指按压所述触摸屏时,监测所述多个电容传感器中被触发的电容传感器的目标数量;When detecting that the user's finger presses the touch screen, monitoring the target number of the capacitive sensors that are triggered in the plurality of capacitive sensors; 检测所述目标数量是否在预设时间内保持不变;Detecting whether the target quantity remains unchanged within a preset time; 若保持不变,根据所述被触发的电容传感器在所述触摸屏上的分布情况划分目标区域,所述目标区域中所述被触发的电容传感器的密集度大于预设密集度,所述目标区域的面积大于第一预设面积且小于第二预设面积;If it remains unchanged, the target area is divided according to the distribution of the triggered capacitive sensors on the touch screen. The density of the triggered capacitive sensors in the target area is greater than the preset density, and the target area The area of is greater than the first preset area and less than the second preset area; 判断所述目标区域的数量是否超过预设数量;若不超过,根据所述目标数量确定所述用户手指与所述触摸屏的接触面积;Determine whether the number of the target areas exceeds a preset number; if not, determine the contact area between the user's finger and the touch screen according to the target number; 根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值。According to the contact area, the pressure value of the user's finger pressing the touch screen is acquired. 2.根据权利要求1所述的方法,其特征在于,在所述根据所述目标数量确定所述用户手指与所述触摸屏的接触面积之前,所述方法还包括:2 . The method according to claim 1 , wherein before determining the contact area between the user's finger and the touch screen according to the target quantity, the method further comprises: 2 . 获取所述被触发的电容传感器中第一个被触发的目标电容传感器;acquiring the first triggered target capacitive sensor in the triggered capacitive sensors; 以所述目标电容传感器相对于所述触摸屏所在竖直线为基准,获取分布在所述竖直线左侧的所述被触发的电容传感器的第一数量和分布在所述竖直线右侧的所述被触发的电容传感器的第二数量;Using the target capacitive sensor relative to the vertical line where the touch screen is located as a benchmark, obtain a first number of the triggered capacitive sensors distributed on the left side of the vertical line and distributed on the right side of the vertical line the second number of said triggered capacitive sensors; 判断所述第一数量与所述第二数量之间的差值是否小于预设差值;judging whether the difference between the first quantity and the second quantity is less than a preset difference; 若小于,以所述目标电容传感器相对于所述触摸屏所在水平线为基准,获取分布在所述水平线上侧的所述被触发的电容传感器的第三数量和分布在所述水平线下侧的所述被触发的电容传感器的第四数量;If it is less than, taking the target capacitive sensor relative to the horizontal line of the touch screen as a reference, obtain the third number of the triggered capacitive sensors distributed on the upper side of the horizontal line and the third number of the triggered capacitive sensors distributed on the lower side of the horizontal line the fourth number of capacitive sensors that are triggered; 判断所述第三数量与所述第四数量之间的差值是否小于所述预设差值;judging whether the difference between the third quantity and the fourth quantity is less than the preset difference; 若小于,执行所述根据所述目标数量确定所述用户手指与所述触摸屏的接触面积的步骤。If it is less than that, the step of determining the contact area between the user's finger and the touch screen according to the target number is performed. 3.根据权利要求2所述的方法,其特征在于,在所述根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值之后,所述方法还包括:3 . The method according to claim 2 , wherein after acquiring the pressure value of the user's finger pressing the touch screen according to the contact area, the method further comprises: 3 . 检测所述用户手指按压所述触摸屏的位置上的显示内容对应的类型是否为预设类型;Detecting whether the type corresponding to the display content at the position where the user's finger presses the touch screen is a preset type; 若所述显示内容对应的类型为所述预设类型,判断所述压力值是否大于预设压力值;If the type corresponding to the displayed content is the preset type, determine whether the pressure value is greater than the preset pressure value; 若大于所述预设压力值,将所述显示内容进行放大处理,其中,放大倍数与所述压力值成正比例关系;If it is greater than the preset pressure value, amplify the display content, wherein the magnification is proportional to the pressure value; 若小于或等于所述预设压力值,将所述显示内容进行缩小处理,其中,缩小倍数与所述压力值成反比例关系。If it is less than or equal to the preset pressure value, reduce the display content, wherein the reduction factor is inversely proportional to the pressure value. 4.根据权利要求1至3任一项所述的方法,其特征在于,在所述根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值之后,所述方法还包括:4. The method according to any one of claims 1 to 3, wherein after acquiring the pressure value of the user's finger pressing the touch screen according to the contact area, the method further comprises: 当接收到所述用户输入的设定指令时,在所述触摸屏输出若干个反馈效果对应的预览图;When receiving the setting instruction input by the user, output preview images corresponding to several feedback effects on the touch screen; 接收所述用户选择的目标预览图;receiving the target preview image selected by the user; 将所述目标预览图对应的反馈效果设定为与所述压力值匹配的目标反馈效果;setting the feedback effect corresponding to the target preview image as the target feedback effect matching the pressure value; 将所述压力值与所述目标反馈效果关联存储至本地缓存,以使后续按压所述触摸屏产生所述压力值时,在所述触摸屏上展示所述目标反馈效果。The pressure value is associated with the target feedback effect and stored in a local cache, so that when the pressure value is generated by subsequent pressing of the touch screen, the target feedback effect is displayed on the touch screen. 5.一种基于触摸屏的压力检测装置,其特征在于,所述触摸屏包括多个电容传感器,所述压力检测装置包括:5. A pressure detection device based on a touch screen, wherein the touch screen comprises a plurality of capacitive sensors, and the pressure detection device comprises: 监测单元,用于当检测到用户手指按压所述触摸屏时,监测所述多个电容传感器中被触发的电容传感器的目标数量;a monitoring unit, configured to monitor the target number of the capacitive sensors triggered in the plurality of capacitive sensors when it is detected that the user's finger presses the touch screen; 第一检测单元,用于检测所述目标数量是否在预设时间内保持不变;a first detection unit, configured to detect whether the target quantity remains unchanged within a preset time; 确定单元,用于当所述第一检测单元检测到所述目标数量在预设时间内保持不变时,根据所述目标数量确定所述用户手指与所述触摸屏的接触面积;a determining unit, configured to determine the contact area between the user's finger and the touch screen according to the target quantity when the first detection unit detects that the target quantity remains unchanged within a preset time; 第一获取单元,用于根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值;a first acquiring unit, configured to acquire, according to the contact area, a pressure value of the user's finger pressing the touch screen; 所述压力检测装置还包括:The pressure detection device further includes: 划分单元,用于在所述第一检测单元检测到所述目标数量在预设时间内保持不变之后,以及所述确定单元根据所述目标数量确定所述用户手指与所述触摸屏的接触面积之前,根据所述被触发的电容传感器在所述触摸屏上的分布情况划分目标区域,所述目标区域中所述被触发的电容传感器的密集度大于预设密集度,所述目标区域的面积大于第一预设面积且小于第二预设面积;a dividing unit, configured to determine the contact area between the user's finger and the touch screen according to the target quantity after the first detection unit detects that the target quantity remains unchanged for a preset time Before, the target area is divided according to the distribution of the triggered capacitive sensors on the touch screen, the density of the triggered capacitive sensors in the target area is greater than the preset density, and the area of the target area is greater than The first preset area is smaller than the second preset area; 第一判断单元,用于判断所述目标区域的数量是否超过预设数量;a first judging unit for judging whether the number of the target areas exceeds a preset number; 所述确定单元,具体用于当所述第一检测单元检测到所述目标数量在预设时间内保持不变,以及所述第一判断单元判断出所述目标区域的数量不超过所述预设数量时,根据所述目标数量确定所述用户手指与所述触摸屏的接触面积。The determining unit is specifically configured to, when the first detecting unit detects that the number of targets remains unchanged within a preset time, and the first determining unit determines that the number of target areas does not exceed the predetermined number of areas. When the number is set, the contact area between the user's finger and the touch screen is determined according to the target number. 6.根据权利要求5所述的压力检测装置,其特征在于,所述压力检测装置还包括:6. The pressure detection device according to claim 5, wherein the pressure detection device further comprises: 第二获取单元,用于在所述第一判断单元判断出所述目标区域的数量不超过预设数量之后,以及所述确定单元根据所述目标数量确定所述用户手指与所述触摸屏的接触面积之前,获取所述被触发的电容传感器中第一个被触发的目标电容传感器;a second acquiring unit, configured to determine, after the first determination unit determines that the number of target areas does not exceed a preset number, and the determination unit determines the contact between the user's finger and the touch screen according to the target number Before the area, obtain the first triggered target capacitive sensor in the triggered capacitive sensors; 第二获取单元,还用于以所述目标电容传感器相对于所述触摸屏所在竖直线为基准,获取分布在所述竖直线左侧的所述被触发的电容传感器的第一数量和分布在所述竖直线右侧的所述被触发的电容传感器的第二数量;The second acquiring unit is further configured to acquire the first number and distribution of the triggered capacitive sensors distributed on the left side of the vertical line based on the vertical line where the target capacitive sensor is located relative to the touch screen the second number of the triggered capacitive sensors to the right of the vertical line; 第二判断单元,用于判断所述第一数量与所述第二数量之间的差值是否小于预设差值;a second judging unit, configured to judge whether the difference between the first quantity and the second quantity is less than a preset difference; 所述第二获取单元,还用于当所述第二判断单元判断出所述第一数量与所述第二数量之间的差值小于预设差值时,以所述目标电容传感器相对于所述触摸屏所在水平线为基准,获取分布在所述水平线上侧的所述被触发的电容传感器的第三数量和分布在所述水平线下侧的所述被触发的电容传感器的第四数量;The second acquiring unit is further configured to, when the second determining unit determines that the difference between the first quantity and the second quantity is smaller than a preset difference, use the target capacitance sensor relative to the Using the horizontal line where the touch screen is located as a reference, obtain a third number of the triggered capacitive sensors distributed on the upper side of the horizontal line and a fourth number of the triggered capacitive sensors distributed on the lower side of the horizontal line; 所述第二判断单元,还用于判断所述第三数量与所述第四数量之间的差值是否小于所述预设差值;The second judgment unit is further configured to judge whether the difference between the third quantity and the fourth quantity is less than the preset difference; 所述确定单元,具体用于当所述第一检测单元检测到所述目标数量在预设时间内保持不变,以及所述第一判断单元判断出所述目标区域的数量不超过所述预设数量,以及所述第二判断单元判断出所述第三数量与所述第四数量之间的差值小于所述预设差值时,根据所述目标数量确定所述用户手指与所述触摸屏的接触面积。The determining unit is specifically configured to, when the first detecting unit detects that the number of targets remains unchanged within a preset time, and the first determining unit determines that the number of target areas does not exceed the predetermined number of areas. set the number, and when the second judging unit determines that the difference between the third number and the fourth number is less than the preset difference, determine the relationship between the user's finger and the user's finger according to the target number The contact area of the touch screen. 7.根据权利要求6所述的压力检测装置,其特征在于,所述压力检测装置还包括:7. The pressure detection device according to claim 6, wherein the pressure detection device further comprises: 第二检测单元,用于在所述第一获取单元根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值之后,检测所述用户手指按压所述触摸屏的位置上的显示内容对应的类型是否为预设类型;The second detection unit is configured to detect, after the first acquisition unit acquires the pressure value of the user's finger pressing the touch screen according to the contact area, to detect the corresponding display content at the position where the user's finger presses the touch screen Whether the type of is the default type; 第三判断单元,用于当所述第二检测单元检测到所述用户手指按压所述触摸屏的位置上的显示内容对应的类型为预设类型时,判断所述压力值是否大于预设压力值;a third judgment unit, configured to judge whether the pressure value is greater than a preset pressure value when the second detection unit detects that the type corresponding to the display content at the position where the user's finger pressed the touch screen is a preset type ; 放大单元,用于当所述第三判断单元判断出所述压力值大于预设压力值时,将所述显示内容进行放大处理,其中,放大倍数与所述压力值成正比例关系;an amplifying unit, configured to perform amplifying processing on the display content when the third judging unit judges that the pressure value is greater than a preset pressure value, wherein the magnification is proportional to the pressure value; 缩小单元,用于当所述第三判断单元判断出所述压力值小于或等于所述预设压力值时,将所述显示内容进行缩小处理,其中,缩小倍数与所述压力值成反比例关系。A reduction unit, configured to perform reduction processing on the display content when the third determination unit determines that the pressure value is less than or equal to the preset pressure value, wherein the reduction factor is inversely proportional to the pressure value . 8.根据权利要求5至7任一项所述的压力检测装置,其特征在于,所述压力检测装置还包括:8. The pressure detection device according to any one of claims 5 to 7, wherein the pressure detection device further comprises: 输出单元,用于在所述第一获取单元根据所述接触面积,获取所述用户手指按压所述触摸屏的压力值之后,当接收到所述用户输入的设定指令时,在所述触摸屏输出若干个反馈效果对应的预览图;an output unit, configured to, after the first obtaining unit obtains the pressure value of the user's finger pressing the touch screen according to the contact area, when a setting instruction input by the user is received, output on the touch screen Several preview images corresponding to feedback effects; 接收单元,用于接收所述用户选择的目标预览图;a receiving unit, configured to receive the target preview image selected by the user; 设定单元,用于将所述目标预览图对应的反馈效果设定为与所述压力值匹配的目标反馈效果;a setting unit, configured to set the feedback effect corresponding to the target preview image to the target feedback effect matching the pressure value; 存储单元,用于将所述压力值与所述目标反馈效果关联存储至本地缓存,以使后续按压所述触摸屏产生所述压力值时,在所述触摸屏上展示所述目标反馈效果。The storage unit is configured to store the pressure value and the target feedback effect in a local cache in association, so that when the pressure value is generated by subsequent pressing of the touch screen, the target feedback effect is displayed on the touch screen. 9.一种车载中控系统,其特征在于,所述车载中控系统包括权利要求5-8任一项所述的基于触摸屏的压力检测装置。9 . An in-vehicle central control system, characterized in that, the in-vehicle central control system comprises the touch screen-based pressure detection device according to any one of claims 5 to 8 . 10.一种车辆,其特征在于,包括权利要求9所述的车载中控系统。10. A vehicle, characterized by comprising the vehicle-mounted central control system of claim 9. 11.一种基于触摸屏的压力检测装置,其特征在于,包括:11. A touch screen-based pressure detection device, comprising: 存储有可执行程序代码的存储器;a memory in which executable program code is stored; 与所述存储器耦合的中央处理器;a central processing unit coupled to the memory; 所述中央处理器调用所述存储器中存储的所述可执行程序代码,用于执行权利要求1-4任一项所述的一种基于触摸屏的压力检测方法。The central processing unit invokes the executable program code stored in the memory to execute the touch screen-based pressure detection method according to any one of claims 1-4. 12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储计算机程序,其中,所述计算机程序使得计算机执行权利要求1-4任一项所述的一种基于触摸屏的压力检测方法。12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, wherein the computer program causes a computer to execute the touch-screen-based computer program according to any one of claims 1-4. pressure detection method.
CN201910255709.9A 2019-03-28 2019-03-28 A touch screen-based pressure detection method and detection device Active CN109992161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910255709.9A CN109992161B (en) 2019-03-28 2019-03-28 A touch screen-based pressure detection method and detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910255709.9A CN109992161B (en) 2019-03-28 2019-03-28 A touch screen-based pressure detection method and detection device

Publications (2)

Publication Number Publication Date
CN109992161A CN109992161A (en) 2019-07-09
CN109992161B true CN109992161B (en) 2022-05-13

Family

ID=67130877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910255709.9A Active CN109992161B (en) 2019-03-28 2019-03-28 A touch screen-based pressure detection method and detection device

Country Status (1)

Country Link
CN (1) CN109992161B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7337574B2 (en) * 2019-07-12 2023-09-04 アルパイン株式会社 Input detection device and input detection method
CN111124193A (en) * 2019-12-30 2020-05-08 深圳市汇顶科技股份有限公司 Signal processing method and device of sensor
CN115790819A (en) * 2022-08-24 2023-03-14 宁波普瑞均胜汽车电子有限公司 Vehicle-mounted touch equipment knocking detection method and device, touch equipment and storage medium
TWI828559B (en) * 2023-03-17 2024-01-01 達運精密工業股份有限公司 Touch control system and touch control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445311A (en) * 2016-11-08 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Icon display method, icon display device and terminal
WO2017143823A1 (en) * 2016-02-25 2017-08-31 上海斐讯数据通信技术有限公司 Method and device for achieving electromagnetic interference resistance of capacitive touchscreen
CN108647505A (en) * 2018-04-19 2018-10-12 Oppo广东移动通信有限公司 Fingerprint unlocking method and related product
CN109117063A (en) * 2017-06-22 2019-01-01 广州市动景计算机科技有限公司 A kind of method for down loading and device, a kind of terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017143823A1 (en) * 2016-02-25 2017-08-31 上海斐讯数据通信技术有限公司 Method and device for achieving electromagnetic interference resistance of capacitive touchscreen
CN106445311A (en) * 2016-11-08 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Icon display method, icon display device and terminal
CN109117063A (en) * 2017-06-22 2019-01-01 广州市动景计算机科技有限公司 A kind of method for down loading and device, a kind of terminal and storage medium
CN108647505A (en) * 2018-04-19 2018-10-12 Oppo广东移动通信有限公司 Fingerprint unlocking method and related product

Also Published As

Publication number Publication date
CN109992161A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109992161B (en) A touch screen-based pressure detection method and detection device
KR101912930B1 (en) Adaptive screen interfaces based on viewing distance
KR101836340B1 (en) Method and device for realizing touch button and fingerprint identification, and terminal device
CN107609540B (en) Method and device for acquiring calibration parameters of fingerprint sensor and mobile terminal
US10291843B2 (en) Information processing apparatus having camera function and producing guide display to capture character recognizable image, control method thereof, and storage medium
CN106406710A (en) Screen recording method and mobile terminal
CN103869947B (en) The method and electronic equipment of control electronics
CN103262015A (en) Responding to the receipt of zoom commands
KR20150107755A (en) Using distance between objects in touchless gestural interfaces
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
CN106331500B (en) Focusing and photographing method of mobile terminal and focusing and photographing mobile terminal
CN106231178A (en) A kind of self-timer method and mobile terminal
WO2017032006A1 (en) Method and apparatus for displaying information
CN105094647A (en) Interface control method and mobile terminal
CN105844241A (en) Method and terminal for detecting touch control pressure
CN104536661A (en) Terminal screen shot method
CN104881225A (en) Control method and device for adjusting bar
CN110221897A (en) Character size adjusting method and device, terminal equipment and medium
CN106355144A (en) Fingerprint image collection method, device and mobile terminal
CN105912158A (en) Method and device for taking pictures with a touch screen of a mobile terminal, and the mobile terminal
CN107153546A (en) A kind of video broadcasting method and mobile device
CN109656402B (en) Electronic device, control method thereof, and storage medium
CN107105158B (en) A kind of photographing method and mobile terminal
CN108681432A (en) Method, device, storage medium and electronic device for processing touch information
CN112637386B (en) Electronic device, control method for electronic device, and computer-readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190709

Assignee: Mobility ASIA SMART Technology Co.,Ltd.

Assignor: GUANGZHOU XIAOPENG MOTORS TECHNOLOGY Co.,Ltd.

Contract record no.: X2024980029027

Denomination of invention: A pressure detection method and device based on touch screen

Granted publication date: 20220513

License type: Common License

Record date: 20241206