CN110673761B - A detection method of a touch button and its terminal equipment - Google Patents

A detection method of a touch button and its terminal equipment Download PDF

Info

Publication number
CN110673761B
CN110673761B CN201910918428.7A CN201910918428A CN110673761B CN 110673761 B CN110673761 B CN 110673761B CN 201910918428 A CN201910918428 A CN 201910918428A CN 110673761 B CN110673761 B CN 110673761B
Authority
CN
China
Prior art keywords
button
touched
pressure
capacitance
metal frame
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
CN201910918428.7A
Other languages
Chinese (zh)
Other versions
CN110673761A (en
Inventor
余光钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910918428.7A priority Critical patent/CN110673761B/en
Publication of CN110673761A publication Critical patent/CN110673761A/en
Application granted granted Critical
Publication of CN110673761B publication Critical patent/CN110673761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0416Control or interface arrangements specially adapted for digitisers
    • 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
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/962Capacitive touch switches

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)
  • Telephone Function (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a detection method of a touch key and terminal equipment thereof, which are used for solving the problem that whether a lateral pressure key is touched or not can be detected only by additionally arranging a capacitive sensor on the side edge of the terminal equipment in the prior art. The terminal equipment comprises a lateral pressure key, an insulation breakpoint, a capacitance processing module and a pressure detection module, wherein: the lateral pressure key is arranged on the inner side of the frame of the terminal equipment; the metal frame intercepted by the insulation break point on the frame is used for detecting a capacitance change value generated when the lateral pressure key is touched; the metal frame is connected with the capacitance processing module, the capacitance processing module is connected with the pressure detection module, and the capacitance processing module is used for triggering the pressure detection module to detect the pressure value generated when the lateral pressure key is touched when the capacitance change value detected by the metal frame is larger than or equal to a preset trigger threshold.

Description

一种触摸按键的检测方法及其终端设备A detection method of a touch button and its terminal equipment

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种触摸按键的检测方法及其终端设备。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method for detecting a touch key and a terminal device thereof.

背景技术Background technique

随着智能终端设备的快速发展,超高屏占比的智能终端设备凭借其能够给用户带来极致的视觉体验,越来越受到更多厂商和消费者的推崇。然而,随着智能终端设备的显示屏占比越来越大,许多厂商生产的智能终端设备的显示屏还逐渐利用上智能终端设备左右两侧的侧边区域,这使得智能终端设备侧边用于设置开关按键和音量调整按键的空间越来越小。With the rapid development of smart terminal devices, smart terminal devices with ultra-high screen-to-body ratio are more and more respected by manufacturers and consumers because of their ability to bring users the ultimate visual experience. However, as the display screens of smart terminal devices become larger and larger, the display screens of smart terminal devices produced by many manufacturers are gradually using the side areas on the left and right sides of the smart terminal device, which makes the side area of the smart terminal device The space for setting switch buttons and volume adjustment buttons is getting smaller and smaller.

许多厂商为了解决设置开关按键和音量调整按键的空间越来越小的问题,在智能终端设备的侧边设置不影响视觉效果的隐藏式的侧压力按键,以替代现有的显式的开关键和音量调整按键,从而实现智能终端设备两侧的侧边区域都能正常显示。In order to solve the problem that the space for setting switch buttons and volume adjustment buttons is getting smaller and smaller, many manufacturers set hidden side pressure buttons that do not affect the visual effect on the side of the smart terminal device to replace the existing explicit switch buttons. and volume adjustment buttons, so that the side areas on both sides of the smart terminal device can be displayed normally.

而为了准确检测到这种侧压力按键是否被触摸,许多厂商考虑在侧压力按键附近或者按键在边框上的投影位置处挖孔来额外设置电容传感器,这显然会增加一定的工艺成本。In order to accurately detect whether the side pressure button is touched, many manufacturers consider digging holes near the side pressure button or at the projection position of the button on the frame to additionally install a capacitive sensor, which will obviously increase a certain process cost.

发明内容Contents of the invention

本发明实施例提供一种终端设备,以解决现有技术中终端设备的侧边需要额外设置电容传感器才能检测到侧压力按键是否被触摸的问题。An embodiment of the present invention provides a terminal device to solve the problem in the prior art that an additional capacitive sensor needs to be provided on the side of the terminal device to detect whether the side pressure button is touched.

为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种终端设备,包括侧压力按键、绝缘断点、电容处理模块和压力检测模块,其中:In the first aspect, an embodiment of the present invention provides a terminal device, including a side pressure button, an insulation breakpoint, a capacitance processing module, and a pressure detection module, wherein:

所述侧压力按键设置在所述终端设备的边框的内侧;The side pressure button is arranged on the inner side of the frame of the terminal device;

所述绝缘断点设置在所述侧压力按键在所述边框上的投影区域的两端,所述绝缘断点在所述边框上截取的金属边框用于检测所述侧压力按键被触摸时产生的电容变化值;The insulation breakpoint is set at both ends of the projection area of the side pressure button on the frame, and the insulation breakpoint is generated when the metal frame intercepted on the frame is used to detect that the side pressure button is touched. The capacitance change value;

所述金属边框与所述电容处理模块连接,所述电容处理模块与所述压力检测模块连接,所述电容处理模块用于在所述金属边框检测到的电容变化值大于或等于预设的触发阈值时,触发所述压力检测模块检测所述侧压力按键被触摸时产生的压力值。The metal frame is connected to the capacitance processing module, the capacitance processing module is connected to the pressure detection module, and the capacitance processing module is used to detect that the capacitance change value detected by the metal frame is greater than or equal to a preset trigger When the threshold is reached, the pressure detection module is triggered to detect the pressure value generated when the side pressure button is touched.

第二方面,本发明实施例提供了一种触摸按键的检测方法,所述方法应用于第一方面所述的终端设备,包括:In a second aspect, an embodiment of the present invention provides a method for detecting a touch button, the method is applied to the terminal device described in the first aspect, including:

通过所述金属边框检测所述侧压力按键被触摸时产生的电容变化值;Detecting the capacitance change value generated when the side pressure button is touched through the metal frame;

若所述电容处理模块确定所述电容值大于或等于预设的触发阈值,则通过所述电容处理模块触发所述压力检测模块检测所述侧压力按键被触摸时产生的压力值;If the capacitance processing module determines that the capacitance value is greater than or equal to a preset trigger threshold, the pressure detection module is triggered by the capacitance processing module to detect the pressure value generated when the side pressure button is touched;

若所述压力检测模块确定所述压力值大于或等于预设的压力阈值,则通过所述压力检测模块将所述侧压力按键被触摸的信号发送给所述中央处理器。If the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold, a signal that the side pressure button is touched is sent to the central processing unit through the pressure detection module.

第三方面,本发明实施例还提供一种终端设备,包括:In a third aspect, an embodiment of the present invention further provides a terminal device, including:

检测单元,用于通过所述金属边框检测所述侧压力按键被触摸时产生的电容值;a detection unit, configured to detect the capacitance value generated when the side pressure button is touched through the metal frame;

触发单元,用于若所述电容处理模块确定所述电容值大于或等于预设的触发阈值,则通过所述电容处理模块触发所述压力检测模块检测所述侧压力按键被触摸时产生的压力值;A trigger unit, configured to trigger the pressure detection module through the capacitance processing module to detect the pressure generated when the side pressure button is touched if the capacitance processing module determines that the capacitance value is greater than or equal to a preset trigger threshold value;

发送单元,用于若所述压力检测模块确定所述压力值大于或等于预设的压力阈值,则通过所述压力检测模块将所述侧压力按键被触摸的信号发送给所述中央处理器。A sending unit, configured to send a signal that the side pressure button is touched to the central processing unit through the pressure detection module if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold.

第四方面,本发明实施例提供了一种终端设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述触摸按键的检测方法的步骤。In a fourth aspect, an embodiment of the present invention provides a terminal device, including: a memory, a processor, and a computer program stored in the memory and operable on the processor, the computer program being executed by the processor During execution, the steps of the method for detecting a touch key as described in the first aspect are realized.

第五方面,本发明实施例还提供一种可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述触摸按键的检测方法的步骤。In the fifth aspect, the embodiment of the present invention also provides a readable storage medium, the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the detection of the touch button as described in the first aspect is realized. method steps.

本发明实施例提供了的终端设备包括侧压力按键、绝缘断点、电容处理模块和压力检测模块,其中:侧压力按键设置在终端设备的边框的内侧;绝缘断点设置在侧压力按键在边框上的投影区域的两端,绝缘断点在边框上截取的金属边框用于检测侧压力按键被触摸时产生的电容变化值;金属边框与电容处理模块连接,电容处理模块与压力检测模块连接,电容处理模块用于在金属边框检测到的电容变化值值大于或等于预设的触发阈值时,触发压力检测模块检测侧压力按键被触摸时产生的压力值。The terminal device provided by the embodiment of the present invention includes a side pressure button, an insulation breakpoint, a capacitance processing module, and a pressure detection module, wherein: the side pressure button is set on the inner side of the frame of the terminal device; the insulation breakpoint is set on the side pressure button on the frame At both ends of the projection area on the screen, the metal frame intercepted by the insulating breakpoint on the frame is used to detect the capacitance change value generated when the side pressure button is touched; the metal frame is connected to the capacitance processing module, and the capacitance processing module is connected to the pressure detection module. The capacitance processing module is used to trigger the pressure detection module to detect the pressure value generated when the side pressure button is touched when the capacitance change value detected by the metal frame is greater than or equal to the preset trigger threshold.

由于在侧压力按键在终端设备的边框上的投影区域的两端添加的绝缘断点截取的金属边框作为的电容电极,便能够检测到人手触摸时的电容变化值,避免了额外添加电容传感器来检测电容变化值,一方面节省了终端设备制作过程中的工艺成本,另一方面通过电容处理模块来触发压力检测模块,也能够有效避免终端设备的侧压力按键被误触的问题。Since the metal frame intercepted by the metal frame intercepted by the insulating breakpoint added at both ends of the projection area of the side pressure button on the frame of the terminal device is used as the capacitive electrode, the capacitance change value when the human hand is touched can be detected, avoiding the need to add an additional capacitive sensor to Detecting the capacitance change value, on the one hand, saves the process cost in the production process of the terminal equipment, and on the other hand, triggers the pressure detection module through the capacitance processing module, which can also effectively avoid the problem that the side pressure button of the terminal equipment is accidentally touched.

附图说明Description of drawings

图1为本发明实施例提供的一种终端设备的结构示意图;FIG. 1 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention;

图2为本发明实施例提供的一种终端设备的内部逻辑的结构示意图;FIG. 2 is a schematic structural diagram of an internal logic of a terminal device provided by an embodiment of the present invention;

图3为本发明实施例提供的另一种终端设备的结构示意图;FIG. 3 is a schematic structural diagram of another terminal device provided by an embodiment of the present invention;

图4为本发明实施例提供的另一种终端设备的内部逻辑的结构示意图;FIG. 4 is a schematic structural diagram of the internal logic of another terminal device provided by an embodiment of the present invention;

图5为本发明实施例提供的一种触摸按键的检测方法的实施流程示意图;FIG. 5 is a schematic diagram of an implementation flow of a detection method for a touch button provided by an embodiment of the present invention;

图6为本发明实施例提供的一种终端设备的结构示意图;FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention;

图7为本发明实施例提供的一种终端设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of a terminal device provided by an embodiment of the present invention.

具体实施方式Detailed ways

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

以下结合附图,详细说明本发明各实施例提供的技术方案。The technical solutions provided by various embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

为解决现有技术中终端设备的侧边需要额外设置电容传感器才能检测到侧压力按键是否被触摸的问题,本发明提供一种终端设备,该终端设备包括侧压力按键、绝缘断点、电容处理模块和压力检测模块。其中,侧压力按键设置在终端设备的边框的内侧;绝缘断点设置在侧压力按键在边框上的投影区域的两端,绝缘断点在边框上截取的金属边框用于检测侧压力按键被触摸时产生的电容变化值;金属边框与电容处理模块连接,电容处理模块与压力检测模块连接,电容处理模块用于在金属边框检测到的电容变化值大于或等于预设的触发阈值时,触发压力检测模块检测侧压力按键被触摸时产生的压力值。In order to solve the problem in the prior art that an additional capacitive sensor needs to be installed on the side of the terminal device to detect whether the side pressure button is touched, the present invention provides a terminal device, which includes a side pressure button, an insulation breakpoint, and a capacitance processing module and pressure detection module. Among them, the side pressure button is set on the inner side of the frame of the terminal device; the insulation breakpoint is set at both ends of the projection area of the side pressure button on the frame, and the metal frame intercepted by the insulation breakpoint on the frame is used to detect that the side pressure button is touched The capacitance change value generated when the metal frame is connected to the capacitance processing module, the capacitance processing module is connected to the pressure detection module, and the capacitance processing module is used to trigger the pressure when the capacitance change value detected by the metal frame is greater than or equal to the preset trigger threshold. The detection module detects the pressure value generated when the side pressure button is touched.

由于在侧压力按键在终端设备的边框上的投影区域的两端添加的绝缘断点截取的金属边框作为的电容电极,便能够检测到人手触摸时的电容变化值,避免了额外添加电容传感器来检测电容变化值,一方面节省了终端设备制作过程中的工艺成本,另一方面通过电容处理模块来触发压力检测模块,也能够有效避免终端设备的侧压力按键被误触的问题。Since the metal frame intercepted by the metal frame intercepted by the insulating breakpoint added at both ends of the projection area of the side pressure button on the frame of the terminal device is used as the capacitive electrode, the capacitance change value when the human hand is touched can be detected, avoiding the need to add an additional capacitive sensor to Detecting the capacitance change value, on the one hand, saves the process cost in the production process of the terminal equipment, and on the other hand, triggers the pressure detection module through the capacitance processing module, which can also effectively avoid the problem that the side pressure button of the terminal equipment is accidentally touched.

如图1和图2所示,为本发明实施例提供的一种终端设备的结构和内部逻辑的结构示意图。该终端设备包括侧压力按键11、12和13、触摸传感器14、绝缘断点101和102、电容处理模块19和压力检测模块18,其中:As shown in FIG. 1 and FIG. 2 , they are schematic structural diagrams of the structure and internal logic of a terminal device provided by an embodiment of the present invention. The terminal device includes side pressure buttons 11, 12 and 13, a touch sensor 14, insulation breakpoints 101 and 102, a capacitance processing module 19 and a pressure detection module 18, wherein:

侧压力按键11、12和13设置在终端设备的边框的内侧;The side pressure buttons 11, 12 and 13 are arranged on the inner side of the frame of the terminal device;

绝缘断点101和102设置在侧压力按键11、12和13在终端设备的边框上的投影区域的两端,绝缘断点101和102在边框上截取的金属边框14用于检测侧压力按键11、12或13被触摸时产生的电容变化值;Insulation breakpoints 101 and 102 are arranged at both ends of the projection area of the side pressure buttons 11, 12 and 13 on the frame of the terminal device, and the metal frame 14 intercepted by the insulation breakpoints 101 and 102 on the frame is used to detect the side pressure buttons 11 , 12 or 13 is the capacitance change value generated when touched;

金属边框14与电容处理模块19连接,电容处理模块19与压力检测模块18连接,电容处理模块19用于在金属边框17检测到的电容变化值大于或等于预设的触发阈值时,触发压力检测模块18检测侧压力按键11、12和13被触摸时产生的压力值。The metal frame 14 is connected to the capacitance processing module 19, and the capacitance processing module 19 is connected to the pressure detection module 18. The capacitance processing module 19 is used to trigger the pressure detection when the capacitance change value detected by the metal frame 17 is greater than or equal to the preset trigger threshold. The module 18 detects the pressure values generated when the side pressure buttons 11, 12 and 13 are touched.

可选地,为了不影响终端设备流线型的外观,给用户带来更好的视觉体验,侧压力按键11、12和13具体可以是隐藏式的侧压力按键。Optionally, in order not to affect the streamlined appearance of the terminal device and bring better visual experience to the user, the side pressure buttons 11, 12 and 13 may specifically be hidden side pressure buttons.

应理解,为了能够全面检测到侧压力按键11、12或13是否被触摸,绝缘断点101和102在边框上截取的金属边框14在边框上的投影面积应大于或等于侧压力按键11、12和13在边框上的投影面积。It should be understood that in order to fully detect whether the side pressure buttons 11, 12 or 13 are touched, the projected area of the metal frame 14 intercepted by the insulation breakpoints 101 and 102 on the frame should be greater than or equal to the side pressure buttons 11, 12 and the projected area of 13 on the frame.

可选地,当通过金属边框14检测到侧压力按键11、12或13被触摸时,如果触摸力度不够,即侧压力按键11、12或13被触摸时产生的压力值较小时,侧压力按键11、12或13也可能存在误触的情况。在这种情况下,为避免侧压力按键11、12或13被误触,本发明实施例提供的终端设备还可以包括中央处理器17,压力检测模块18与中央处理器17连接。Optionally, when it is detected that the side pressure button 11, 12 or 13 is touched through the metal frame 14, if the touch strength is not enough, that is, when the pressure value generated when the side pressure button 11, 12 or 13 is touched is small, the side pressure button 11, 12 or 13 may also have false touches. In this case, in order to prevent the side pressure buttons 11 , 12 or 13 from being accidentally touched, the terminal device provided by the embodiment of the present invention may further include a central processing unit 17 , and the pressure detection module 18 is connected to the central processing unit 17 .

该压力检测模块18用于检测侧压力按键11、12或13被触摸时产生的压力值,并且,该压力检测模块18在检测到侧压力按键11、12或13被触摸时产生的压力值大于或等于预设的压力阈值时,该压力检测模块18才将侧压力按键11、12或13被触摸的信号发送给中央处理器17,中央处理器17用于基于侧压力按键11、12或13被触摸的信号确定并处理对应的按键事件。其中,压力检测模块18可通过引脚INT和I2C向中央处理器17传输信号。The pressure detection module 18 is used to detect the pressure value generated when the side pressure button 11, 12 or 13 is touched, and the pressure value generated when the pressure detection module 18 detects that the side pressure button 11, 12 or 13 is touched is greater than or equal to the preset pressure threshold, the pressure detection module 18 sends the signal that the side pressure button 11, 12 or 13 is touched to the central processing unit 17, and the central processing unit 17 is used to The touched signal determines and handles the corresponding key event. Wherein, the pressure detection module 18 can transmit signals to the CPU 17 through pins INT and I2C.

可选地,为便于电容处理模块19将金属边框14检测到的电容变化值发送给压力检测模块18,本发明实施例中的电容处理模块19具体可以通过通用输入输出(General-purpose input/output,GPIO)线路与压力检测模块18连接;电容处理模块19在金属边框14检测到的侧压力按键11、12或13被触摸时产生的电容变化值大于或等于预设的触发阈值时,可以将侧压力按键11、12或13被触摸的信号通过GPIO线路发送给压力检测模块18,以触发压力检测模块18检测侧压力按键11、12或13被触摸时产生的压力值。Optionally, in order to facilitate the capacitance processing module 19 to send the capacitance change value detected by the metal frame 14 to the pressure detection module 18, the capacitance processing module 19 in the embodiment of the present invention can specifically use a general-purpose input/output (General-purpose input/output , GPIO) circuit is connected with pressure detection module 18; Capacitance processing module 19 detects that the side pressure button 11, 12 or 13 that metal frame 14 detects when the capacitance change value produced when being touched is greater than or equal to preset trigger threshold value, can set The signal that the side pressure button 11, 12 or 13 is touched is sent to the pressure detection module 18 through the GPIO line, so as to trigger the pressure detection module 18 to detect the pressure value generated when the side pressure button 11, 12 or 13 is touched.

可选地,为了使得压力检测模块在侧压力按键11、12或13停止被触摸时,重新进行待机状态,以便在这些按键再次被触摸时检测被触摸时产生的压力值,本发明实施例中的触摸传感器14在检测到侧压力按键11、12或13停止被触摸时,还可以将携带侧压力按键11、12或13停止被触摸的信号通过GPIO线路发送给压力检测模块18,以便压力检测模块18重新进行待机状态。Optionally, in order to make the pressure detection module restart the standby state when the side pressure buttons 11, 12 or 13 stop being touched, so as to detect the pressure value generated when these buttons are touched again, in the embodiment of the present invention When the touch sensor 14 detects that the side pressure button 11, 12 or 13 stops being touched, it can also send the signal that the side pressure button 11, 12 or 13 stops being touched to the pressure detection module 18 through the GPIO line for pressure detection. The module 18 resumes the standby state.

可选地,为了便于中央处理器17及时获取侧压力按键11、12或13停止被触摸的信号,压力检测模块18还可以将携带侧压力按键11、12或13停止被触摸的信号发送给中央处理器17。Optionally, in order for the central processing unit 17 to timely obtain the signal that the side pressure button 11, 12 or 13 stops being touched, the pressure detection module 18 may also send the signal that the side pressure button 11, 12 or 13 stops being touched to the central processing unit 17. Processor 17.

可选地,为便于用户对终端设备进行比如音量加减、以及开关机等快捷操作,本发明实施例中的侧压力按键按照至上到下的排布具体可包括第一按键11、第二按键12和第三按键13,其中第一按键11具体可以是音量增大键、第二按键12具体可以是音量减小键12、第三按键13具体可以是电源键13。那么,图1所述的绝缘断点具体可以包括第一绝缘断点101和第二绝缘断点102,其中,第一绝缘断点101设置在第一按键11在边框上的投影区域的上端,第二绝缘断点102设置在第三按键13在边框上的投影区域的下端。Optionally, in order to facilitate the user to perform quick operations on the terminal device such as volume increase and decrease, and power on and off, the side pressure buttons in the embodiment of the present invention may specifically include the first button 11 and the second button according to the arrangement from top to bottom 12 and a third key 13, wherein the first key 11 may specifically be a volume up key, the second key 12 may specifically be a volume down key 12, and the third key 13 may specifically be a power key 13. Then, the insulation breakpoint described in FIG. 1 may specifically include a first insulation breakpoint 101 and a second insulation breakpoint 102, wherein the first insulation breakpoint 101 is set at the upper end of the projection area of the first key 11 on the frame, The second insulating breakpoint 102 is set at the lower end of the projection area of the third button 13 on the frame.

可选地,为了更准确地检测到第一按键11、第二按键12和第三按键13中具体哪个按键被触摸,本发明实施例中的绝缘断点的数量还可以为四个。Optionally, in order to more accurately detect which one of the first key 11 , the second key 12 and the third key 13 is touched, the number of insulation breakpoints in this embodiment of the present invention may also be four.

如图3和4所示,为本发明实施例提供的另一种终端设备的结构示意图和内部逻辑的结构示意图。具体地,图3所示的绝缘断点还可以包括第三绝缘断点103和第四绝缘断点103,那么此时这四个绝缘断点截取得到的金属边框则包括:第一金属边框21、第二金属边框22和第三金属边框23;其中,第一金属边框21为第一绝缘断点101和第三绝缘断点103在边框上截取的金属边框,第二金属边框22为第三绝缘断点103和第四绝缘断点104在边框上截取的金属边框,第一金属边框21为第二绝缘断点102和第四绝缘断点104在边框上截取的金属边框。As shown in FIGS. 3 and 4 , they are schematic structural diagrams and internal logic structural diagrams of another terminal device provided by an embodiment of the present invention. Specifically, the insulation breakpoint shown in FIG. 3 may also include a third insulation breakpoint 103 and a fourth insulation breakpoint 103, then the metal frame obtained by intercepting these four insulation breakpoints at this time includes: the first metal frame 21 , the second metal frame 22 and the third metal frame 23; wherein, the first metal frame 21 is the metal frame intercepted by the first insulation breakpoint 101 and the third insulation breakpoint 103 on the frame, and the second metal frame 22 is the third The insulation breakpoint 103 and the fourth insulation breakpoint 104 are metal frames cut off on the frame, and the first metal frame 21 is a metal frame cut off on the frame by the second insulation breakpoint 102 and the fourth insulation breakpoint 104 .

具体地,第一金属边框21用于检测第一按键11被触摸时产生的电容变化值,第二金属边框22用于检测第二按键12被触摸时产生的电容变化值,第三金属边框23用于检测第三按键13被触摸时产生的电容变化值。Specifically, the first metal frame 21 is used to detect the capacitance change value generated when the first button 11 is touched, the second metal frame 22 is used to detect the capacitance change value generated when the second button 12 is touched, and the third metal frame 23 It is used to detect the capacitance change value generated when the third button 13 is touched.

为便于第一金属边框21、第二金属边框22和第三金属边框23在检测到电容变化值大于或等于预设的触发阈值时,将第一按键11、第二按键12和第三按键13被触摸的信号传递给压力检测模块18,本发明实施例中的电容处理模块19包含三个输入引脚和三个输出引脚,其中,三个输入引脚分别与第一金属边框21、第二金属边框22和第三金属边框23连接,三个输出引脚分别通过第一GPIO线路(即图4所示的GPIO1)、第二GPIO线路(即图4所示的GPIO2)和第三GPIO线路(即图4所示的GPIO3)与压力检测模块18连接。For convenience, when the first metal frame 21, the second metal frame 22 and the third metal frame 23 detect that the capacitance change value is greater than or equal to the preset trigger threshold, the first button 11, the second button 12 and the third button 13 The touched signal is transmitted to the pressure detection module 18. The capacitance processing module 19 in the embodiment of the present invention includes three input pins and three output pins, wherein the three input pins are respectively connected to the first metal frame 21, the second The two metal frames 22 are connected to the third metal frame 23, and the three output pins respectively pass through the first GPIO line (ie GPIO1 shown in Figure 4), the second GPIO line (ie GPIO2 shown in Figure 4) and the third GPIO The line (ie GPIO3 shown in FIG. 4 ) is connected to the pressure detection module 18 .

可选地,为更准确地确定第一按键11、第二按键12或第三按键13是否被触摸,本发明实施例还可分别对第一按键11、第二按键12和第三按键13被触摸时产生的压力值进行检测。Optionally, in order to more accurately determine whether the first button 11, the second button 12 or the third button 13 is touched, the embodiment of the present invention may also separately check whether the first button 11, the second button 12 and the third button 13 are touched. The pressure value generated when touching is detected.

具体地,电容处理模块19在第一金属边框21检测到第一按键11被触摸时产生的电容变化值大于或等于预设的触发阈值时,将第一按键11被触摸的信号通过第一GPIO线路发送给压力检测模块18,以触发压力检测模块18检测第一按键11被触摸时产生的压力值;Specifically, when the capacitance processing module 19 detects that the capacitance change value generated when the first key 11 is touched by the first metal frame 21 is greater than or equal to the preset trigger threshold, the signal that the first key 11 is touched passes through the first GPIO The line is sent to the pressure detection module 18 to trigger the pressure detection module 18 to detect the pressure value generated when the first button 11 is touched;

电容处理模块19在第二金属边框22检测到第二按键12被触摸时产生的电容变化值大于或等于预设的触发阈值时,将第二按键12被触摸的信号通过第二GPIO线路发送给压力检测模块18,以触发压力检测模块18检测第二按键12被触摸时产生的压力值;When the second metal frame 22 detects that the capacitance change value generated when the second key 12 is touched is greater than or equal to the preset trigger threshold, the capacitance processing module 19 sends the signal that the second key 12 is touched to the The pressure detection module 18, to trigger the pressure detection module 18 to detect the pressure value generated when the second button 12 is touched;

电容处理模块19在第三金属边框23检测到第三按键13被触摸时产生的电容变化值大于或等于预设的触发阈值时,将第三按键13被触摸的信号通过第三GPIO线路发送给压力检测模块18,以触发压力检测模块18检测第三按键13被触摸时产生的压力值。When the capacitance processing module 19 detects that the capacitance change value generated when the third key 13 is touched by the third metal frame 23 is greater than or equal to the preset trigger threshold, the signal that the third key 13 is touched is sent to the The pressure detection module 18 is used to trigger the pressure detection module 18 to detect the pressure value generated when the third key 13 is touched.

此外,为便于用户区分第一按键11、第二按键12和第三按键13,本发明实施例中的四个绝缘断点可设计为不同的颜色,以辅助用户在视觉上定位这三个按键,从而避免用户误触。In addition, in order to facilitate the user to distinguish the first button 11, the second button 12 and the third button 13, the four insulating breakpoints in the embodiment of the present invention can be designed in different colors to assist the user to visually locate the three buttons , so as to prevent users from touching by mistake.

本发明实施例提供了的终端设备包括侧压力按键、绝缘断点、电容处理模块和压力检测模块,其中:侧压力按键设置在终端设备的边框的内侧;绝缘断点设置在侧压力按键在边框上的投影区域的两端,绝缘断点在边框上截取的金属边框用于检测侧压力按键被触摸时产生的电容变化值;金属边框与电容处理模块连接,电容处理模块与压力检测模块连接,电容处理模块用于在金属边框检测到的电容变化值值大于或等于预设的触发阈值时,触发压力检测模块检测侧压力按键被触摸时产生的压力值。The terminal device provided by the embodiment of the present invention includes a side pressure button, an insulation breakpoint, a capacitance processing module, and a pressure detection module, wherein: the side pressure button is set on the inner side of the frame of the terminal device; the insulation breakpoint is set on the side pressure button on the frame At both ends of the projection area on the screen, the metal frame intercepted by the insulating breakpoint on the frame is used to detect the capacitance change value generated when the side pressure button is touched; the metal frame is connected to the capacitance processing module, and the capacitance processing module is connected to the pressure detection module. The capacitance processing module is used to trigger the pressure detection module to detect the pressure value generated when the side pressure button is touched when the capacitance change value detected by the metal frame is greater than or equal to the preset trigger threshold.

由于在侧压力按键在终端设备的边框上的投影区域的两端添加的绝缘断点截取的金属边框作为的电容电极,便能够检测到人手触摸时的电容变化值,避免了额外添加电容传感器来检测电容变化值,一方面节省了终端设备制作过程中的工艺成本,另一方面通过电容处理模块来触发压力检测模块,也能够有效避免终端设备的侧压力按键被误触的问题。Since the metal frame intercepted by the metal frame intercepted by the insulating breakpoint added at both ends of the projection area of the side pressure button on the frame of the terminal device is used as the capacitive electrode, the capacitance change value when the human hand is touched can be detected, avoiding the need to add an additional capacitive sensor to Detecting the capacitance change value, on the one hand, saves the process cost in the production process of the terminal equipment, and on the other hand, triggers the pressure detection module through the capacitance processing module, which can also effectively avoid the problem that the side pressure button of the terminal equipment is accidentally touched.

为解决现有技术中终端设备的侧边需要额外设置电容传感器才能检测到侧压力按键是否被触摸的问题,本发明实施例还提供一种触摸按键的检测方法,该方法的执行主体,可以但不限于手机、平板电脑、可穿戴设备等能够被配置为执行本发明实施例提供的该方法用户终端中的至少一种。In order to solve the problem in the prior art that an additional capacitive sensor needs to be installed on the side of the terminal device to detect whether the side pressure button is touched, an embodiment of the present invention also provides a method for detecting a touch button. The execution subject of the method can be Not limited to, a mobile phone, a tablet computer, a wearable device, etc. can be configured as at least one of the user terminals performing the method provided by the embodiment of the present invention.

为便于描述,下文以该方法的执行主体为能够执行该方法的终端设备为例,对该方法的实施方式进行介绍。可以理解,该方法的执行主体为终端设备只是一种示例性的说明,并不应理解为对该方法的限定。For ease of description, the implementation of the method will be introduced below by taking the subject of execution of the method as a terminal device capable of executing the method as an example. It can be understood that the execution subject of the method is the terminal device, which is only an exemplary description, and should not be construed as a limitation of the method.

如图5所示,为本发明实施例提供的一种触摸按键的检测方法的具体实施流程示意图,该方法应用于图1~图4所述的终端设备。As shown in FIG. 5 , it is a schematic flowchart of a specific implementation of a method for detecting a touch button provided by an embodiment of the present invention, and the method is applied to the terminal device described in FIGS. 1 to 4 .

下面结合图5所示的触摸按键的检测方法的具体实施流程示意图,对该方法的实施过程进行详细介绍,包括:The implementation process of the method will be described in detail below in conjunction with the specific implementation flow diagram of the touch key detection method shown in FIG. 5 , including:

步骤501,通过金属边框检测侧压力按键被触摸时产生的电容值;Step 501, detecting the capacitance value generated when the side pressure button is touched through the metal frame;

其中,侧压力按键可根据用户的使用习惯,设置三个常用的按键,包括第一按键、第二按键和第三按键,第一按键具体可以是音量增加键、第二按键具体可以是音量减小键、第三按键具体可以是电源键。应理解,为便于该金属边框能够检测到这三个按键中的一个或多个被触摸,截取该金属边框的绝缘断点具体可设置在侧压力按键在所述终端设备的边框上的投影区域的两端。Among them, the side pressure button can set three commonly used buttons according to the user's usage habits, including the first button, the second button and the third button. The first button can be specifically the volume up button, and the second button can be specifically the volume down button. Specifically, the small key and the third key may be a power key. It should be understood that, in order for the metal frame to be able to detect that one or more of the three buttons are touched, the insulation breakpoint intercepting the metal frame can be specifically set in the projection area of the side pressure button on the frame of the terminal device both ends.

可选地,截取该金属边框的绝缘断点的数量可以是两个,也可以是四个。当截取该金属边框的绝缘断点的数量为2个时,则截取到的金属边框的数量则为1个,该金属边框可用于检测第一按键、第二按键或第三按键被触摸时产生的电容变化值;当截取该金属边框的绝缘断点的数量为4个时,则截取到的金属边框的数量则为3个,具体可以包括第一金属边框、第二金属边框和第三金属边框。其中,第一金属边框用于检测第一按键被触摸时产生的电容变化值,第二金属边框用于检测第二按键被触摸时产生的电容变化值,第三金属边框用于检测第三按键被触摸时产生的电容变化值。Optionally, the number of insulating breakpoints intercepting the metal frame may be two or four. When the number of insulation breakpoints intercepting the metal frame is 2, the number of intercepted metal frames is 1, and the metal frame can be used to detect when the first key, the second key or the third key is touched. capacitance change value; when the number of insulation breakpoints intercepting the metal frame is 4, the number of intercepted metal frames is 3, specifically including the first metal frame, the second metal frame and the third metal frame frame. Among them, the first metal frame is used to detect the capacitance change value generated when the first button is touched, the second metal frame is used to detect the capacitance change value generated when the second button is touched, and the third metal frame is used to detect the third button Capacitance change value when touched.

步骤502,若电容处理模块确定电容变化值大于或等于预设的触发阈值,则通过电容处理模块触发压力检测模块检测侧压力按键被触摸时产生的压力值;Step 502, if the capacitance processing module determines that the capacitance change value is greater than or equal to the preset trigger threshold, the capacitance processing module triggers the pressure detection module to detect the pressure value generated when the side pressure button is touched;

当截取的金属边框的数量为1个时,若电容处理模块确定该金属边框检测到的电容变化值大于或等于预设的触发阈值,则可以通过电容处理模块触发压力检测模块分别检测第一按键、第二按键和第三按键的压力值;当截取的金属边框的数量为3个时,若电容处理模块确定这三个金属边框中的一个或多个金属边框检测到的电容变化值大于或等于预设的触发阈值,则可以通过电容处理模块触发压力检测模块检测电容值大于或等于预设的触发阈值对应的按键的压力值。When the number of intercepted metal frames is 1, if the capacitance processing module determines that the capacitance change value detected by the metal frame is greater than or equal to the preset trigger threshold, the pressure detection module can be triggered by the capacitance processing module to detect the first button respectively , the pressure values of the second button and the third button; when the number of intercepted metal frames is 3, if the capacitance processing module determines that the capacitance change value detected by one or more metal frames in the three metal frames is greater than or is equal to the preset trigger threshold, the capacitance processing module can be used to trigger the pressure detection module to detect the pressure value of the button whose capacitance value is greater than or equal to the preset trigger threshold.

当截取的金属边框的数量为3个时,假设电容处理模块确定第一金属边框检测到的电容变化值大于或等于预设的触发阈值,则可以通过电容处理模块触发压力检测模块检测该第一金属边框对应的按键(即第一按键)被触摸时产生的压力值。When the number of intercepted metal frames is 3, assuming that the capacitance processing module determines that the capacitance change value detected by the first metal frame is greater than or equal to the preset trigger threshold, the pressure detection module can be triggered by the capacitance processing module to detect the first metal frame. The pressure value generated when the button corresponding to the metal frame (that is, the first button) is touched.

步骤503,若压力检测模块确定压力值大于或等于预设的压力阈值,则通过压力检测模块将侧压力按键被触摸的信号发送给中央处理器。Step 503, if the pressure detection module determines that the pressure value is greater than or equal to the preset pressure threshold, the pressure detection module sends a signal that the side pressure button is touched to the central processing unit.

当截取的金属边框的数量为1个时,若压力检测模块确定侧压力按键中的某个按键的压力值大于或等于预设的压力阈值,则可以通过压力检测模块将该按键被触摸的信号发送给中央处理器;当截取的金属边框的数量为3个时,若压力检测模块确定某个金属边框对应的按键的压力值大于或等于预设的压力阈值,则可以通过压力检测模块将该按键被触摸的信号发送给中央处理器。When the number of intercepted metal frames is 1, if the pressure detection module determines that the pressure value of a certain key in the side pressure keys is greater than or equal to the preset pressure threshold, the signal that the key is touched can be passed through the pressure detection module sent to the central processing unit; when the number of intercepted metal frames is 3, if the pressure detection module determines that the pressure value of the button corresponding to a certain metal frame is greater than or equal to the preset pressure threshold, the pressure detection module can pass the The signal that the button is touched is sent to the central processing unit.

本发明实施例提供了的终端设备包括侧压力按键、绝缘断点、电容处理模块和压力检测模块,其中:侧压力按键设置在终端设备的边框的内侧;绝缘断点设置在侧压力按键在边框上的投影区域的两端,绝缘断点在边框上截取的金属边框用于检测侧压力按键被触摸时产生的电容变化值;金属边框与电容处理模块连接,电容处理模块与压力检测模块连接,电容处理模块用于在金属边框检测到的电容变化值值大于或等于预设的触发阈值时,触发压力检测模块检测侧压力按键被触摸时产生的压力值。The terminal device provided by the embodiment of the present invention includes a side pressure button, an insulation breakpoint, a capacitance processing module, and a pressure detection module, wherein: the side pressure button is set on the inner side of the frame of the terminal device; the insulation breakpoint is set on the side pressure button on the frame At both ends of the projection area on the screen, the metal frame intercepted by the insulating breakpoint on the frame is used to detect the capacitance change value generated when the side pressure button is touched; the metal frame is connected to the capacitance processing module, and the capacitance processing module is connected to the pressure detection module. The capacitance processing module is used to trigger the pressure detection module to detect the pressure value generated when the side pressure button is touched when the capacitance change value detected by the metal frame is greater than or equal to the preset trigger threshold.

由于在侧压力按键在终端设备的边框上的投影区域的两端添加的绝缘断点截取的金属边框作为的电容电极,便能够检测到人手触摸时的电容变化值,避免了额外添加电容传感器来检测电容变化值,一方面节省了终端设备制作过程中的工艺成本,另一方面通过电容处理模块来触发压力检测模块,也能够有效避免终端设备的侧压力按键被误触的问题。Since the metal frame intercepted by the metal frame intercepted by the insulating breakpoint added at both ends of the projection area of the side pressure button on the frame of the terminal device is used as the capacitive electrode, the capacitance change value when the human hand is touched can be detected, avoiding the need to add an additional capacitive sensor to Detecting the capacitance change value, on the one hand, saves the process cost in the production process of the terminal equipment, and on the other hand, triggers the pressure detection module through the capacitance processing module, which can also effectively avoid the problem that the side pressure button of the terminal equipment is accidentally touched.

本发明实施例还提供一种终端设备600,如图6所示,包括:The embodiment of the present invention also provides a terminal device 600, as shown in FIG. 6 , including:

检测单元601,用于通过所述金属边框检测所述侧压力按键被触摸时产生的电容值;A detection unit 601, configured to detect the capacitance value generated when the side pressure key is touched through the metal frame;

触发单元602,用于若所述电容处理模块确定所述电容值大于或等于预设的触发阈值,则通过所述电容处理模块触发所述压力检测模块检测所述侧压力按键被触摸时产生的压力值;The trigger unit 602 is configured to trigger the pressure detection module through the capacitance processing module to detect the pressure generated when the side pressure button is touched if the capacitance processing module determines that the capacitance value is greater than or equal to a preset trigger threshold. Pressure value;

发送单元603,用于若所述压力检测模块确定所述压力值大于或等于预设的压力阈值,则通过所述压力检测模块将所述侧压力按键被触摸的信号发送给所述中央处理器。A sending unit 603, configured to send a signal that the side pressure button is touched to the central processing unit through the pressure detection module if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold .

终端设备600能够实现图5的方法实施例的方法,具体可参考图5所示实施例的触摸按键的检测方法,不再赘述。The terminal device 600 can implement the method in the method embodiment shown in FIG. 5 . For details, reference may be made to the method for detecting a touch button in the embodiment shown in FIG. 5 , which will not be described again.

图7为实现本发明各个实施例的一种终端设备的硬件结构示意图,FIG. 7 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention,

该终端设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The terminal device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power supply 711 and other components. Those skilled in the art can understand that the terminal device structure shown in FIG. 7 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.

其中,处理器710,用于通过所述金属边框检测所述侧压力按键被触摸时产生的电容变化值;若所述电容处理模块确定所述电容值大于或等于预设的触发阈值,则通过所述电容处理模块触发所述压力检测模块检测所述侧压力按键被触摸时产生的压力值;若所述压力检测模块确定所述压力值大于或等于预设的压力阈值,则通过所述压力检测模块将所述侧压力按键被触摸的信号发送给所述中央处理器。Wherein, the processor 710 is configured to detect the capacitance change value generated when the side pressure button is touched through the metal frame; if the capacitance processing module determines that the capacitance value is greater than or equal to the preset trigger threshold, then pass The capacitance processing module triggers the pressure detection module to detect the pressure value generated when the side pressure button is touched; if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold, the pressure The detection module sends a signal that the side pressure key is touched to the central processing unit.

本发明实施例提供了的终端设备包括侧压力按键、绝缘断点、电容处理模块和压力检测模块,其中:侧压力按键设置在终端设备的边框的内侧;绝缘断点设置在侧压力按键在边框上的投影区域的两端,绝缘断点在边框上截取的金属边框用于检测侧压力按键被触摸时产生的电容变化值;金属边框与电容处理模块连接,电容处理模块与压力检测模块连接,电容处理模块用于在金属边框检测到的电容变化值值大于或等于预设的触发阈值时,触发压力检测模块检测侧压力按键被触摸时产生的压力值。The terminal device provided by the embodiment of the present invention includes a side pressure button, an insulation breakpoint, a capacitance processing module, and a pressure detection module, wherein: the side pressure button is set on the inner side of the frame of the terminal device; the insulation breakpoint is set on the side pressure button on the frame At both ends of the projection area on the screen, the metal frame intercepted by the insulating breakpoint on the frame is used to detect the capacitance change value generated when the side pressure button is touched; the metal frame is connected to the capacitance processing module, and the capacitance processing module is connected to the pressure detection module. The capacitance processing module is used to trigger the pressure detection module to detect the pressure value generated when the side pressure button is touched when the capacitance change value detected by the metal frame is greater than or equal to the preset trigger threshold.

由于在侧压力按键在终端设备的边框上的投影区域的两端添加的绝缘断点截取的金属边框作为的电容电极,便能够检测到人手触摸时的电容变化值,避免了额外添加电容传感器来检测电容变化值,一方面节省了终端设备制作过程中的工艺成本,另一方面通过电容处理模块来触发压力检测模块,也能够有效避免终端设备的侧压力按键被误触的问题。Since the metal frame intercepted by the metal frame intercepted by the insulating breakpoint added at both ends of the projection area of the side pressure button on the frame of the terminal device is used as the capacitive electrode, the capacitance change value when the human hand is touched can be detected, avoiding the need to add an additional capacitive sensor to Detecting the capacitance change value, on the one hand, saves the process cost in the production process of the terminal equipment, and on the other hand, triggers the pressure detection module through the capacitance processing module, which can also effectively avoid the problem that the side pressure button of the terminal equipment is accidentally touched.

应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 can be used to receive and send signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 710; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.

终端设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 702, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与终端设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the terminal device 700 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.

输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processing unit (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 706 . The image frames processed by the graphics processor 7041 may be stored in the memory 709 (or other storage media) or sent via the radio frequency unit 701 or the network module 702 . The microphone 7042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 701 for output in the case of a phone call mode.

终端设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在终端设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 7061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of terminal equipment (such as horizontal and vertical screen switching, related games) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元707可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 707 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072 . The touch panel 7071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 7071 or near the touch panel 7071). operate). The touch panel 7071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 710, receive the command sent by the processor 710 and execute it. In addition, the touch panel 7071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 7071 , the user input unit 707 may also include other input devices 7072 . Specifically, other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现终端设备的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 7071 can be covered on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it will be sent to the processor 710 to determine the type of the touch event. The type of event provides a corresponding visual output on the display panel 7061. Although in FIG. 7, the touch panel 7071 and the display panel 7061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.

接口单元708为外部装置与终端设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备700内的一个或多个元件或者可以用于在终端设备700和外部装置之间传输数据。The interface unit 708 is an interface for connecting an external device to the terminal device 700 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 708 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 709 can be used to store software programs as well as various data. The memory 709 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器710是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the terminal equipment, uses various interfaces and lines to connect various parts of the entire terminal equipment, runs or executes the software programs and/or modules stored in the memory 709, and calls the data stored in the memory 709 , execute various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .

终端设备700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 700 can also include a power supply 711 (such as a battery) for supplying power to various components. Preferably, the power supply 711 can be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,终端设备700包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 700 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种终端设备,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述陶瓷扬声器的音量调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal device, including a processor 710, a memory 709, and a computer program stored in the memory 709 and operable on the processor 710. When the computer program is executed by the processor 710 The various processes of the embodiment of the volume adjustment method for the above-mentioned ceramic loudspeaker can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述陶瓷扬声器的音量调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiment of the method for adjusting the volume of a ceramic speaker is implemented, and can achieve The same technical effects are not repeated here to avoid repetition. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (10)

1.一种终端设备,其特征在于,包括侧压力按键、绝缘断点、电容处理模块和压力检测模块,其中:1. A terminal device, characterized in that it includes a side pressure button, an insulation breakpoint, a capacitance processing module and a pressure detection module, wherein: 所述侧压力按键设置在所述终端设备的边框的内侧;The side pressure button is arranged on the inner side of the frame of the terminal device; 所述绝缘断点设置在所述侧压力按键在所述边框上的投影区域的两端,所述绝缘断点在所述边框上截取的金属边框用于检测所述侧压力按键被触摸时产生的电容变化值;The insulation breakpoint is set at both ends of the projection area of the side pressure button on the frame, and the insulation breakpoint is generated when the metal frame intercepted on the frame is used to detect that the side pressure button is touched. The capacitance change value; 所述金属边框与所述电容处理模块连接,所述电容处理模块与所述压力检测模块连接,所述电容处理模块用于在所述金属边框检测到的电容变化值大于或等于预设的触发阈值时,触发所述压力检测模块检测所述侧压力按键被触摸时产生的压力值。The metal frame is connected to the capacitance processing module, the capacitance processing module is connected to the pressure detection module, and the capacitance processing module is used to detect that the capacitance change value detected by the metal frame is greater than or equal to a preset trigger When the threshold is reached, the pressure detection module is triggered to detect the pressure value generated when the side pressure button is touched. 2.如权利要求1所述的终端设备,其特征在于,所述终端设备还包括中央处理器,所述压力检测模块与所述中央处理器连接;2. The terminal device according to claim 1, wherein the terminal device further comprises a central processing unit, and the pressure detection module is connected to the central processing unit; 所述压力检测模块在检测到所述侧压力按键被触摸时产生的压力值大于或等于预设的压力阈值时,将所述侧压力按键被触摸的信号发送给所述中央处理器;When the pressure detection module detects that the pressure value generated when the side pressure button is touched is greater than or equal to a preset pressure threshold, it sends a signal that the side pressure button is touched to the central processing unit; 所述中央处理器用于基于所述侧压力按键被触摸的信号确定并处理对应的按键事件。The central processing unit is configured to determine and process a corresponding key event based on the signal that the side pressure key is touched. 3.如权利要求1所述的终端设备,其特征在于,所述电容处理模块通过通用输入输出GPIO线路与所述压力检测模块连接;3. The terminal device according to claim 1, wherein the capacitance processing module is connected to the pressure detection module through a GPIO line; 所述电容处理模块在所述金属边框检测到的电容变化值大于或等于所述预设的触发阈值时,将所述侧压力按键被触摸的信号通过所述GPIO线路发送给所述压力检测模块,以触发所述压力检测模块检测所述侧压力按键被触摸时产生的压力值。When the capacitance change value detected by the metal frame is greater than or equal to the preset trigger threshold, the capacitance processing module sends the signal that the side pressure button is touched to the pressure detection module through the GPIO line , to trigger the pressure detection module to detect the pressure value generated when the side pressure key is touched. 4.如权利要求1~3中任一所述的终端设备,其特征在于,所述侧压力按键按照至上到下的排布包括第一按键、第二按键和第三按键;4. The terminal device according to any one of claims 1 to 3, wherein the side pressure buttons are arranged from top to bottom including a first button, a second button and a third button; 所述绝缘断点包括第一绝缘断点和第二绝缘断点,所述第一绝缘断点设置在所述第一按键在所述边框上的投影区域的上端,所述第二绝缘断点设置在所述第三按键在所述边框上的投影区域的下端。The insulation breakpoint includes a first insulation breakpoint and a second insulation breakpoint, the first insulation breakpoint is set on the upper end of the projected area of the first button on the frame, and the second insulation breakpoint It is arranged at the lower end of the projection area of the third button on the frame. 5.如权利要求4所述的终端设备,其特征在于,所述绝缘断点还包括第三绝缘断点和第四绝缘断点;5. The terminal device according to claim 4, wherein the insulation breakpoint further comprises a third insulation breakpoint and a fourth insulation breakpoint; 所述第三绝缘断点设置在所述第一按键在所述边框上的投影区域的上端,所述第四绝缘断点设置在所述第一按键和所述第二按键之间的间隔区域在所述边框上的投影区域。The third insulating breakpoint is set at the upper end of the projection area of the first key on the frame, and the fourth insulating breakpoint is set at the interval area between the first key and the second key The shadow area on the bounding box. 6.如权利要求5所述的终端设备,其特征在于,6. The terminal device according to claim 5, characterized in that, 第一金属边框用于检测所述第一按键被触摸时产生的电容变化值,所述第一金属边框为所述第一绝缘断点和所述第三绝缘断点在所述边框上截取的金属边框;The first metal frame is used to detect the capacitance change value generated when the first button is touched, and the first metal frame is the first insulation breakpoint and the third insulation breakpoint intercepted on the frame Metal frame; 第二金属边框用于检测所述第二按键被触摸时产生的电容变化值,所述第二金属边框为所述第三绝缘断点和所述第四绝缘断点在所述边框上截取的金属边框;The second metal frame is used to detect the capacitance change value generated when the second button is touched, and the second metal frame is the intercepted value of the third insulation breakpoint and the fourth insulation breakpoint on the frame Metal frame; 第三金属边框用于检测所述第三按键被触摸时产生的电容变化值,所述第三金属边框为所述第二绝缘断点和所述第四绝缘断点在所述边框上截取的金属边框。The third metal frame is used to detect the capacitance change value generated when the third button is touched, and the third metal frame is the intercepted value of the second insulation breakpoint and the fourth insulation breakpoint on the frame Metal frame. 7.如权利要求6所述的终端设备,其特征在于,7. The terminal device according to claim 6, characterized in that, 所述电容处理模块包含三个输入引脚和三个输出引脚,所述三个输入引脚分别与所述第一金属边框、所述第二金属边框和所述第三金属边框连接,所述三个输出引脚分别通过第一GPIO线路、第二GPIO线路和第三GPIO线路与所述压力检测模块连接。The capacitance processing module includes three input pins and three output pins, the three input pins are respectively connected to the first metal frame, the second metal frame and the third metal frame, so The three output pins are respectively connected to the pressure detection module through the first GPIO line, the second GPIO line and the third GPIO line. 8.如权利要求7所述的终端设备,其特征在于,所述电容处理模块在所述第一金属边框检测到所述第一按键被触摸时产生的电容值大于或等于所述预设的触发阈值时,将所述第一按键被触摸的信号通过所述第一GPIO线路发送给所述压力检测模块,以触发所述压力检测模块检测所述第一按键被触摸时产生的压力值;8. The terminal device according to claim 7, wherein the capacitance processing module generates a capacitance value greater than or equal to the preset value when the first metal frame detects that the first key is touched. When the threshold is triggered, a signal that the first button is touched is sent to the pressure detection module through the first GPIO line, so as to trigger the pressure detection module to detect a pressure value generated when the first button is touched; 所述电容处理模块在所述第二金属边框检测到所述第二按键被触摸时产生的电容值大于或等于所述预设的触发阈值时,将所述第二按键被触摸的信号通过所述第二GPIO线路发送给所述压力检测模块,以触发所述压力检测模块检测所述第二按键被触摸时产生的压力值;When the capacitance processing module detects that the second metal frame detects that the capacitance value generated when the second key is touched is greater than or equal to the preset trigger threshold, the signal of the second key being touched is passed through the The second GPIO line is sent to the pressure detection module to trigger the pressure detection module to detect the pressure value generated when the second button is touched; 所述电容处理模块在所述第三金属边框检测到所述第三按键被触摸时产生的电容值大于或等于所述预设的触发阈值时,将所述第三按键被触摸的信号通过所述第三GPIO线路发送给所述压力检测模块,以触发所述压力检测模块检测所述第三按键被触摸时产生的压力值。When the capacitance processing module detects that the capacitance generated when the third key is touched by the third metal frame is greater than or equal to the preset trigger threshold, the touch signal of the third key is passed through the The third GPIO line is sent to the pressure detection module to trigger the pressure detection module to detect the pressure value generated when the third button is touched. 9.一种触摸按键的检测方法,其特征在于,所述方法应用于权利要求1~8中任一所述的终端设备,包括:9. A method for detecting a touch button, wherein the method is applied to the terminal device according to any one of claims 1 to 8, comprising: 通过所述金属边框检测所述侧压力按键被触摸时产生的电容变化值;Detecting the capacitance change value generated when the side pressure button is touched through the metal frame; 若所述电容处理模块确定所述电容值大于或等于预设的触发阈值,则通过所述电容处理模块触发所述压力检测模块检测所述侧压力按键被触摸时产生的压力值;If the capacitance processing module determines that the capacitance value is greater than or equal to a preset trigger threshold, the pressure detection module is triggered by the capacitance processing module to detect the pressure value generated when the side pressure button is touched; 若所述压力检测模块确定所述压力值大于或等于预设的压力阈值,则通过所述压力检测模块将所述侧压力按键被触摸的信号发送给所述中央处理器。If the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold, a signal that the side pressure button is touched is sent to the central processing unit through the pressure detection module. 10.一种终端设备,其特征在于,包括:侧压力按键、绝缘断点、电容处理模块、压力检测模块,所述绝缘断点设置在所述侧压力按键在边框上的投影区域的两端,所述绝缘断点在所述边框上截取的金属边框用于检测所述侧压力按键被触摸时产生的电容变化值;10. A terminal device, characterized in that it includes: a side pressure button, an insulation breakpoint, a capacitance processing module, and a pressure detection module, and the insulation breakpoint is set at both ends of the projection area of the side pressure button on the frame , the metal frame intercepted by the insulating breakpoint on the frame is used to detect the capacitance change value generated when the side pressure key is touched; 所述终端设备还包括:The terminal equipment also includes: 检测单元,用于通过所述金属边框检测所述侧压力按键被触摸时产生的电容值;a detection unit, configured to detect the capacitance value generated when the side pressure button is touched through the metal frame; 触发单元,用于若所述电容处理模块确定所述电容值大于或等于预设的触发阈值,则通过所述电容处理模块触发所述压力检测模块检测所述侧压力按键被触摸时产生的压力值;A trigger unit, configured to trigger the pressure detection module through the capacitance processing module to detect the pressure generated when the side pressure button is touched if the capacitance processing module determines that the capacitance value is greater than or equal to a preset trigger threshold value; 发送单元,用于若所述压力检测模块确定所述压力值大于或等于预设的压力阈值,则通过所述压力检测模块将所述侧压力按键被触摸的信号发送给所述中央处理器。A sending unit, configured to send a signal that the side pressure button is touched to the central processing unit through the pressure detection module if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold.
CN201910918428.7A 2019-09-26 2019-09-26 A detection method of a touch button and its terminal equipment Active CN110673761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910918428.7A CN110673761B (en) 2019-09-26 2019-09-26 A detection method of a touch button and its terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910918428.7A CN110673761B (en) 2019-09-26 2019-09-26 A detection method of a touch button and its terminal equipment

Publications (2)

Publication Number Publication Date
CN110673761A CN110673761A (en) 2020-01-10
CN110673761B true CN110673761B (en) 2023-08-22

Family

ID=69079376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910918428.7A Active CN110673761B (en) 2019-09-26 2019-09-26 A detection method of a touch button and its terminal equipment

Country Status (1)

Country Link
CN (1) CN110673761B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111665989B (en) * 2020-06-09 2024-06-18 京东方科技集团股份有限公司 Touch device, manufacturing method thereof, touch method and electronic equipment
CN113377237A (en) 2021-06-30 2021-09-10 歌尔科技有限公司 False touch prevention method, wearable device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113928A1 (en) * 2015-12-28 2017-07-06 努比亚技术有限公司 Touch control device and method for terminal screen, and computer storage medium
CN109379073A (en) * 2018-10-29 2019-02-22 努比亚技术有限公司 Touch key-press detection circuit and its processing method, terminal, storage medium
CN109918010A (en) * 2019-02-26 2019-06-21 努比亚技术有限公司 Mobile terminal physical button damages replacement method, storage medium and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113928A1 (en) * 2015-12-28 2017-07-06 努比亚技术有限公司 Touch control device and method for terminal screen, and computer storage medium
CN109379073A (en) * 2018-10-29 2019-02-22 努比亚技术有限公司 Touch key-press detection circuit and its processing method, terminal, storage medium
CN109918010A (en) * 2019-02-26 2019-06-21 努比亚技术有限公司 Mobile terminal physical button damages replacement method, storage medium and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种电容式触摸输入模块的设计;高申勇等;《杭州电子科技大学学报》;20090415(第02期);全文 *

Also Published As

Publication number Publication date
CN110673761A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN107943551B (en) A screen display method and mobile terminal
CN108536411A (en) A kind of method for controlling mobile terminal and mobile terminal
WO2019218862A1 (en) Screen operation method and mobile terminal
CN108319390B (en) A control method of a flexible screen and a mobile terminal
CN108182043A (en) A kind of method for information display and mobile terminal
CN107728923B (en) An operation processing method and mobile terminal
CN110471559B (en) False touch prevention method and mobile terminal
CN109343788B (en) A kind of operation control method of mobile terminal and mobile terminal
CN108984067A (en) A kind of display control method and terminal
CN108008859B (en) A screen control method and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN108304061A (en) A kind of display control method and terminal
CN108227996A (en) A kind of display control method and mobile terminal
CN108108113B (en) Web page switching method and device
WO2021104232A1 (en) Display method and electronic device
CN107835286A (en) It is a kind of to prevent from misreading the method locked and mobile terminal
CN110531915A (en) Screen operation method and terminal equipment
CN110381203A (en) A kind of method of controlling operation thereof and terminal of terminal
CN108196781A (en) Interface display method and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN110471808B (en) Pressure key detection method and device and mobile terminal
CN110673761B (en) A detection method of a touch button and its terminal equipment
CN110764650A (en) Button trigger detection method and electronic device
CN107967202B (en) Folding screen opening and closing state determination method and mobile terminal
CN108718360A (en) A charging method and mobile terminal

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