CN110673761B - Touch key detection method and terminal equipment thereof - Google Patents
Touch key detection method and terminal equipment thereof Download PDFInfo
- 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
- key
- touched
- pressure
- capacitance
- detection module
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/96—Touch switches
- H03K17/962—Capacitive 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
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method for detecting a touch key and terminal equipment thereof.
Background
With the rapid development of intelligent terminal equipment, the intelligent terminal equipment with the ultra-high screen ratio can bring extreme visual experience to users, and is more and more favored by more manufacturers and consumers. However, as the display screen of the intelligent terminal device is more and more occupied, the display screens of the intelligent terminal devices produced by many manufacturers gradually use side areas on the left and right sides of the intelligent terminal device, so that the space for setting the switch keys and the volume adjustment keys on the side of the intelligent terminal device is smaller and smaller.
In order to solve the problem that the space for setting the switch key and the volume adjustment key is smaller and smaller, a hidden lateral pressure key which does not influence visual effect is arranged on the side edge of the intelligent terminal equipment to replace the existing explicit switch key and volume adjustment key, so that the side edge areas on two sides of the intelligent terminal equipment can be normally displayed.
In order to accurately detect whether such a lateral pressure key is touched, many manufacturers consider to drill holes near the lateral pressure key or at the projection position of the key on the frame to additionally provide a capacitive sensor, which obviously increases a certain process cost.
Disclosure of Invention
The embodiment of the invention provides terminal equipment, which aims to solve the problem that in the prior art, a capacitive sensor is additionally arranged on the side edge of the terminal equipment to detect whether a lateral pressure key is touched or not.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a terminal device, including a lateral pressure key, an insulation breakpoint, a capacitance processing module, and a pressure detecting module, where:
the lateral pressure key is arranged on the inner side of the frame of the terminal equipment;
the insulation break points are arranged at two ends of a projection area of the lateral pressure key on the frame, and the metal frame intercepted by the insulation break points on the frame is used for detecting capacitance change values 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.
In a second aspect, an embodiment of the present invention provides a method for detecting a touch key, where the method is applied to the terminal device in the first aspect, and the method includes:
detecting a capacitance change value generated when the lateral pressure key is touched through the metal frame;
if the capacitance processing module determines that the capacitance value is larger than or equal to a preset trigger threshold, triggering the pressure detection module through the capacitance processing module to detect a pressure value generated when the lateral pressure key is touched;
and if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold, transmitting a signal that the lateral pressure key is touched 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:
the detection unit is used for detecting a capacitance value generated when the lateral pressure key is touched through the metal frame;
the triggering unit is used for triggering the pressure detection module to detect the pressure value generated when the lateral pressure key is touched through the capacitance processing module if the capacitance processing module determines that the capacitance value is larger than or equal to a preset triggering threshold value;
And the sending unit is used for sending the signal that the lateral pressure key 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 value.
In a fourth aspect, an embodiment of the present invention provides a terminal device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method for detecting a touch key according to the first aspect.
In a fifth aspect, an embodiment of the present invention further provides a readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for detecting a touch key according to the first aspect.
The terminal equipment provided by the embodiment of the invention 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 insulation break points are arranged at two ends of a projection area of the lateral pressure key on the frame, and the metal frame intercepted by the insulation break points on the frame is used for detecting capacitance change values 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 triggering threshold value.
The metal frames added at the two ends of the projection area of the lateral pressure key on the frame of the terminal equipment are used as the capacitance electrodes, so that the capacitance change value when the terminal equipment is touched by a human hand can be detected, the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, the process cost in the manufacturing process of the terminal equipment is saved, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure key of the terminal equipment is touched by mistake can be effectively avoided.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of internal logic of a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another terminal device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of internal logic of another terminal device according to an embodiment of the present invention;
fig. 5 is a schematic implementation flow chart of a method for detecting a touch key according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 7 is a schematic hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes in detail the technical solutions provided by the embodiments of the present invention with reference to the accompanying drawings.
In order to solve the problem that in the prior art, a capacitive sensor is additionally arranged on the side edge of terminal equipment to detect whether a lateral pressure key is touched or not, the invention provides the terminal equipment which comprises the lateral pressure key, an insulation breakpoint, a capacitive processing module and a pressure detection module. The lateral pressure key is arranged on the inner side of the frame of the terminal equipment; the insulation break points are arranged at two ends of a projection area of the lateral pressure key on the frame, and the metal frame intercepted by the insulation break points on the frame is used for detecting capacitance change values 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 triggering threshold value.
The metal frames added at the two ends of the projection area of the lateral pressure key on the frame of the terminal equipment are used as the capacitance electrodes, so that the capacitance change value when the terminal equipment is touched by a human hand can be detected, the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, the process cost in the manufacturing process of the terminal equipment is saved, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure key of the terminal equipment is touched by mistake can be effectively avoided.
Fig. 1 and fig. 2 are schematic structural diagrams of a structure and internal logic of a terminal device according to an embodiment of the present invention. The terminal device comprises lateral pressure keys 11, 12 and 13, a touch sensor 14, insulation break points 101 and 102, a capacitance processing module 19 and a pressure detection module 18, wherein:
lateral pressure keys 11, 12 and 13 are provided inside the frame of the terminal device;
the insulation break points 101 and 102 are arranged at two ends of a projection area of the lateral pressure keys 11, 12 and 13 on a frame of the terminal equipment, and a metal frame 14 cut by the insulation break points 101 and 102 on the frame is used for detecting capacitance change values generated when the lateral pressure keys 11, 12 or 13 are touched;
The metal frame 14 is connected with a capacitance processing module 19, the capacitance processing module 19 is connected with a pressure detection module 18, and the capacitance processing module 19 is used for triggering the pressure detection module 18 to detect the pressure value generated when the lateral pressure keys 11, 12 and 13 are touched when the capacitance change value detected by the metal frame 17 is greater than or equal to a preset triggering threshold value.
Alternatively, the lateral pressure keys 11, 12 and 13 may be specifically hidden lateral pressure keys in order not to affect the streamlined appearance of the terminal device, giving the user a better visual experience.
It should be understood that, in order to be able to fully detect whether the lateral pressure keys 11, 12, and 13 are touched, the projected area of the metal bezel 14 on the bezel, taken at the insulating break points 101 and 102, should be greater than or equal to the projected area of the lateral pressure keys 11, 12, and 13 on the bezel.
Alternatively, when the lateral pressure key 11, 12 or 13 is touched through the metal bezel 14, if the touch force is insufficient, that is, the pressure value generated when the lateral pressure key 11, 12 or 13 is touched is small, there may be a case that the lateral pressure key 11, 12 or 13 is touched by mistake. In this case, in order to avoid the side pressure key 11, 12 or 13 being touched by mistake, 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.
The pressure detection module 18 is configured to detect a pressure value generated when the lateral pressure key 11, 12 or 13 is touched, and when the pressure detection module 18 detects that the pressure value generated when the lateral pressure key 11, 12 or 13 is touched is greater than or equal to a preset pressure threshold, the pressure detection module 18 sends a signal that the lateral pressure key 11, 12 or 13 is touched to the central processing unit 17, and the central processing unit 17 is configured to determine and process a corresponding key event based on the signal that the lateral pressure key 11, 12 or 13 is touched. The pressure detection module 18 may transmit signals to the central processor 17 via pins INT and I2C, among other things.
Optionally, in order for 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 may be specifically connected to the pressure detection module 18 through a General-purpose input/output (GPIO) line; when the capacitance change value generated when the lateral pressure key 11, 12 or 13 detected by the metal frame 14 is touched is greater than or equal to a preset trigger threshold, the capacitance processing module 19 may send a signal that the lateral pressure key 11, 12 or 13 is touched to the pressure detection module 18 through a GPIO line, so as to trigger the pressure detection module 18 to detect the pressure value generated when the lateral pressure key 11, 12 or 13 is touched.
Optionally, in order to make the pressure detection module re-perform the standby state when the lateral pressure key 11, 12 or 13 stops being touched, so as to detect the pressure value generated when the lateral pressure key 11, 12 or 13 is touched again, the touch sensor 14 in the embodiment of the present invention may also send a signal carrying the lateral pressure key 11, 12 or 13 to the pressure detection module 18 through the GPIO line when detecting that the lateral pressure key 11, 12 or 13 stops being touched, so that the pressure detection module 18 re-performs the standby state.
Optionally, in order to facilitate the central processor 17 to timely acquire the signal that the lateral pressure key 11, 12 or 13 stops being touched, the pressure detection module 18 may also send the signal that the lateral pressure key 11, 12 or 13 stops being touched to the central processor 17.
Optionally, in order to facilitate the user to perform quick operations such as volume up-down and on-off on the terminal device, the lateral pressure keys in the embodiment of the present invention may include a first key 11, a second key 12, and a third key 13 according to an up-down arrangement, where the first key 11 may be a volume up key, the second key 12 may be a volume down key 12, and the third key 13 may be a power key 13. The insulation break points shown in fig. 1 may specifically include a first insulation break point 101 and a second insulation break point 102, where the first insulation break point 101 is disposed at an upper end of a projection area of the first key 11 on the frame, and the second insulation break point 102 is disposed at a lower end of a projection area of the third key 13 on the frame.
Alternatively, in order to more accurately detect which specific key of the first key 11, the second key 12, and the third key 13 is touched, the number of insulation break points in the embodiment of the present invention may be four.
As shown in fig. 3 and 4, a schematic structural diagram of another terminal device and a schematic structural diagram of internal logic according to an embodiment of the present invention are shown. Specifically, the insulation break points shown in fig. 3 may further include a third insulation break point 103 and a fourth insulation break point 103, and then the metal frame obtained by cutting the four insulation break points includes: a first metal frame 21, a second metal frame 22 and a third metal frame 23; the first metal frame 21 is a metal frame cut by the first insulation break point 101 and the third insulation break point 103 on the frame, the second metal frame 22 is a metal frame cut by the third insulation break point 103 and the fourth insulation break point 104 on the frame, and the first metal frame 21 is a metal frame cut by the second insulation break point 102 and the fourth insulation break point 104 on the frame.
Specifically, the first metal frame 21 is used for detecting a capacitance change value generated when the first key 11 is touched, the second metal frame 22 is used for detecting a capacitance change value generated when the second key 12 is touched, and the third metal frame 23 is used for detecting a capacitance change value generated when the third key 13 is touched.
In order to facilitate the first metal frame 21, the second metal frame 22 and the third metal frame 23 to transmit the signals touched by the first key 11, the second key 12 and the third key 13 to the pressure detection module 18 when detecting that the capacitance change value is greater than or equal to the preset trigger threshold, the capacitance processing module 19 in the embodiment of the present invention includes three input pins and three output pins, where the three input pins are respectively connected with the first metal frame 21, the second metal frame 22 and the third metal frame 23, and the three output pins are respectively connected with the pressure detection module 18 through a first GPIO line (i.e. GPIO1 shown in fig. 4), a second GPIO line (i.e. GPIO2 shown in fig. 4) and a third GPIO line (i.e. GPIO3 shown in fig. 4).
Alternatively, in order to determine more accurately whether the first key 11, the second key 12, or the third key 13 is touched, the embodiment of the present invention may also detect the pressure values generated when the first key 11, the second key 12, and the third key 13 are touched, respectively.
Specifically, when the capacitance processing module 19 detects that the capacitance change value generated when the first metal frame 21 detects that the first key 11 is touched is greater than or equal to a preset trigger threshold, the capacitance processing module sends a signal that the first key 11 is touched to the pressure detection module 18 through the first GPIO line, so as to trigger the pressure detection module 18 to detect the pressure value generated when the first key 11 is touched;
When the capacitance processing module 19 detects that the capacitance change value generated when the second metal frame 22 detects that the second key 12 is touched is greater than or equal to a preset trigger threshold, a signal that the second key 12 is touched is sent to the pressure detection module 18 through a second GPIO line, so that the pressure detection module 18 is triggered to detect the pressure value generated when the second key 12 is touched;
when the capacitance processing module 19 detects that the capacitance change value generated when the third metal frame 23 detects that the third key 13 is touched is greater than or equal to the preset trigger threshold, the capacitance processing module sends a signal that the third key 13 is touched to the pressure detection module 18 through the third GPIO line, so as to trigger the pressure detection module 18 to detect the pressure value generated when the third key 13 is touched.
In addition, in order to facilitate the user to distinguish the first key 11, the second key 12 and the third key 13, the four insulation break points in the embodiment of the present invention may be designed to be different colors, so as to assist the user in visually positioning the three keys, thereby avoiding the user from touching by mistake.
The terminal equipment provided by the embodiment of the invention 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 insulation break points are arranged at two ends of a projection area of the lateral pressure key on the frame, and the metal frame intercepted by the insulation break points on the frame is used for detecting capacitance change values 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 triggering threshold value.
The metal frames added at the two ends of the projection area of the lateral pressure key on the frame of the terminal equipment are used as the capacitance electrodes, so that the capacitance change value when the terminal equipment is touched by a human hand can be detected, the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, the process cost in the manufacturing process of the terminal equipment is saved, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure key of the terminal equipment is touched by mistake can be effectively avoided.
In order to solve the problem that in the prior art, a capacitive sensor needs to be additionally arranged on the side of the terminal equipment to detect whether the lateral pressure key is touched, the embodiment of the invention also provides a method for detecting the touch key, and an execution main body of the method can be but is not limited to a mobile phone, a tablet personal computer, a wearable device and the like, and can be configured to execute at least one of the user terminals provided by the embodiment of the invention.
For convenience of description, hereinafter, embodiments of the method will be described taking an execution body of the method as an example of a terminal device capable of executing the method. It will be appreciated that the subject of execution of the method is a terminal device which is merely an exemplary illustration and should not be construed as limiting the method.
Fig. 5 is a schematic flowchart of a specific implementation of a method for detecting a touch key according to an embodiment of the present invention, where the method is applied to the terminal device described in fig. 1 to 4.
The following describes the implementation process of the method in detail with reference to the specific implementation flow chart of the method for detecting a touch key shown in fig. 5, where the implementation process includes:
step 501, detecting a capacitance value generated when a lateral pressure key is touched through a metal frame;
the lateral pressure key can be provided with three common keys according to the use habit of a user, and the three common keys comprise a first key, a second key and a third key, wherein the first key can be a volume increasing key, the second key can be a volume decreasing key and the third key can be a power key. It should be understood that, in order to facilitate the metal bezel to be able to detect that one or more of the three keys are touched, the insulation break point intercepting the metal bezel may be specifically disposed at both ends of the projection area of the lateral pressure key on the bezel of the terminal device.
Alternatively, the number of insulation break points for cutting the metal frame may be two or four. When the number of the insulation break points of the intercepted metal frame is 2, the number of the intercepted metal frame is 1, and the metal frame can be used for detecting capacitance change values generated when the first key, the second key or the third key is touched; when the number of the insulation break points of the intercepted metal frame is 4, the number of the intercepted metal frame is 3, and the intercepted metal frame can comprise a first metal frame, a second metal frame and a third metal frame. The first metal frame is used for detecting a capacitance change value generated when the first key is touched, the second metal frame is used for detecting a capacitance change value generated when the second key is touched, and the third metal frame is used for detecting a capacitance change value generated when the third key is touched.
Step 502, if the capacitance processing module determines that the capacitance change value is greater than or equal to a preset trigger threshold, triggering a pressure detection module by the capacitance processing module to detect a pressure value generated when a lateral pressure key is touched;
when the number of the intercepted metal frames is 1, if the capacitance processing module determines that the capacitance change value detected by the metal frames is larger than or equal to a preset trigger threshold value, the pressure detection module can be triggered by the capacitance processing module to respectively detect the pressure values of the first key, the second key and the third key; when the number of the 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 equal to a preset trigger threshold value, the capacitance processing module can trigger the pressure detection module to detect the pressure value of the key corresponding to the capacitance value greater than or equal to the preset trigger threshold value.
When the number of the 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 a preset trigger threshold, the pressure detection module can be triggered by the capacitance processing module to detect the pressure value generated when the key (namely the first key) corresponding to the first metal frame is touched.
In 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 lateral pressure key is touched to the central processing unit.
When the number of the intercepted metal frames is 1, if the pressure detection module determines that the pressure value of one key in the lateral pressure keys is greater than or equal to a preset pressure threshold value, a signal that the key is touched can be sent to the central processing unit through the pressure detection module; when the number of the intercepted metal frames is 3, if the pressure detection module determines that the pressure value of the key corresponding to a certain metal frame is greater than or equal to a preset pressure threshold value, a signal that the key is touched can be sent to the central processing unit through the pressure detection module.
The terminal equipment provided by the embodiment of the invention 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 insulation break points are arranged at two ends of a projection area of the lateral pressure key on the frame, and the metal frame intercepted by the insulation break points on the frame is used for detecting capacitance change values 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 triggering threshold value.
The metal frames added at the two ends of the projection area of the lateral pressure key on the frame of the terminal equipment are used as the capacitance electrodes, so that the capacitance change value when the terminal equipment is touched by a human hand can be detected, the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, the process cost in the manufacturing process of the terminal equipment is saved, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure key of the terminal equipment is touched by mistake can be effectively avoided.
The embodiment of the present invention further provides a terminal device 600, as shown in fig. 6, including:
the detecting unit 601 is configured to detect a capacitance value generated when the lateral pressure key is touched through the metal frame;
the triggering unit 602 is configured to trigger, by using the capacitance processing module, the pressure detection module to detect a pressure value generated when the lateral pressure key is touched if the capacitance processing module determines that the capacitance value is greater than or equal to a preset triggering threshold;
and the sending unit 603 is configured to send, if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold, a signal that the lateral pressure key is touched to the central processing unit through the pressure detection module.
The method of the embodiment of the method of fig. 5 can be implemented by the terminal device 600, and the method for detecting the touch key in the embodiment shown in fig. 5 will not be described again.
Figure 7 is a schematic diagram of a hardware architecture of a terminal device implementing various embodiments of the present invention,
the terminal device 700 includes, but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710, and power supply 711. It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 7 does not constitute a limitation of the terminal device, and the terminal device may comprise more or less components than shown, or may combine certain components, or may have a different arrangement of components. In the embodiment of the invention, the terminal equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
The processor 710 is configured to detect, through the metal frame, a capacitance change value generated when the lateral pressure key is touched; if the capacitance processing module determines that the capacitance value is larger than or equal to a preset trigger threshold, triggering the pressure detection module through the capacitance processing module to detect a pressure value generated when the lateral pressure key is touched; and if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold, transmitting a signal that the lateral pressure key is touched to the central processing unit through the pressure detection module.
The terminal equipment provided by the embodiment of the invention 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 insulation break points are arranged at two ends of a projection area of the lateral pressure key on the frame, and the metal frame intercepted by the insulation break points on the frame is used for detecting capacitance change values 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 triggering threshold value.
The metal frames added at the two ends of the projection area of the lateral pressure key on the frame of the terminal equipment are used as the capacitance electrodes, so that the capacitance change value when the terminal equipment is touched by a human hand can be detected, the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, the process cost in the manufacturing process of the terminal equipment is saved, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure key of the terminal equipment is touched by mistake can be effectively avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, receiving downlink data from a base station, and then processing the received downlink data by the processor 710; and, the uplink data is transmitted to the base station. Typically, the radio 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 unit 701 may also communicate with networks and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user via the network module 702, such as helping the user to send and receive e-mail, browse web pages, access streaming media, etc.
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 (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the terminal device 700. The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used for receiving an audio or video signal. The input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, the graphics processor 7041 processing image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. 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 memory 709 (or other storage medium) or transmitted via the radio 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 may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 701 in the case of a telephone call mode.
The terminal device 700 further comprises 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 that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or the backlight when the terminal device 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when the accelerometer sensor is stationary, and can be used for recognizing the gesture (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking) and the like of the terminal equipment; the sensor 705 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described again here.
The display unit 706 is used to display information input by a 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 (OLED), or the like.
The user input unit 707 is operable to receive input numeric or character information and to generate key signal inputs 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, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 7071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 7071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 710, and receives and executes commands sent from the processor 710. In addition, the touch panel 7071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 710 to determine a type of a touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although in fig. 7, the touch panel 7071 and the display panel 7061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 708 is an interface to which an external device is connected to the terminal apparatus 700. For example, the external devices 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 having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 700 or may be used to transmit data between the terminal apparatus 700 and an external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 709 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby performing overall monitoring of the terminal device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 710.
The terminal device 700 may further include a power supply 711 (e.g., a battery) for supplying power to the respective components, and preferably, the power supply 711 may be logically connected to the processor 710 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
In addition, the terminal device 700 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides a terminal device, which includes a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program when executed by the processor 710 implements each process of the above embodiment of the method for adjusting the volume of the ceramic speaker, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the above-mentioned embodiments of the method for adjusting the volume of the ceramic speaker, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Claims (10)
1. The terminal equipment is characterized by comprising 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 insulation break points are arranged at two ends of a projection area of the lateral pressure key on the frame, and the metal frame intercepted by the insulation break points on the frame is used for detecting capacitance change values 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.
2. The terminal device of claim 1, further comprising a central processor, wherein the pressure detection module is coupled to the central processor;
the pressure detection module sends a signal that the lateral pressure key is touched to the central processing unit when detecting that the pressure value generated when the lateral pressure key is touched is larger than or equal to a preset pressure threshold value;
the central processing unit is used for determining and processing corresponding key events based on the signals that the lateral pressure keys are touched.
3. The terminal device of claim 1, wherein the capacitance processing module is connected to the pressure detection module through a general purpose input output GPIO line;
and 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 a signal that the lateral pressure key is touched to the pressure detection module through the GPIO circuit so as to trigger the pressure detection module to detect the pressure value generated when the lateral pressure key is touched.
4. The terminal device according to any one of claims 1 to 3, wherein the lateral pressure key comprises a first key, a second key and a third key in an up-down arrangement;
The insulation break points comprise a first insulation break point and a second insulation break point, the first insulation break point is arranged at the upper end of a projection area of the first key on the frame, and the second insulation break point is arranged at the lower end of a projection area of the third key on the frame.
5. The terminal device of claim 4, wherein the insulation break points further comprise a third insulation break point and a fourth insulation break point;
the third insulation break point is arranged at the upper end of the projection area of the first key on the frame, and the fourth insulation break point is arranged in the projection area of the interval area between the first key and the second key on the frame.
6. The terminal device of claim 5, wherein,
the first metal frame is used for detecting a capacitance change value generated when the first key is touched, and the first metal frame is a metal frame cut off on the frame by the first insulation break point and the third insulation break point;
the second metal frame is used for detecting a capacitance change value generated when the second key is touched, and the second metal frame is a metal frame cut off on the frame by the third insulation break point and the fourth insulation break point;
The third metal frame is used for detecting a capacitance change value generated when the third key is touched, and the third metal frame is a metal frame cut off on the frame by the second insulation break point and the fourth insulation break point.
7. The terminal device of claim 6, wherein,
the capacitance processing module comprises three input pins and three output pins, wherein the three input pins are respectively connected with the first metal frame, the second metal frame and the third metal frame, and the three output pins are respectively connected with the pressure detection module through a first GPIO line, a second GPIO line and a third GPIO line.
8. The terminal device of claim 7, wherein the capacitance processing module sends a signal that the first key is touched to the pressure detection module through the first GPIO line when the capacitance value generated when the first metal frame detects that the first key is touched is greater than or equal to the preset trigger threshold, so as to trigger the pressure detection module to detect a pressure value generated when the first key is touched;
when the capacitance processing module detects that the capacitance value generated when the second key is touched is larger than or equal to the preset trigger threshold value, the capacitance processing module sends a signal that the second key is touched to the pressure detection module through the second GPIO line so as to trigger the pressure detection module to detect the pressure value generated when the second key is touched;
And when the capacitance processing module detects that the capacitance value generated when the third key is touched is larger than or equal to the preset trigger threshold value, the capacitance processing module sends the signal that the third key is touched to the pressure detection module through the third GPIO line so as to trigger the pressure detection module to detect the pressure value generated when the third key is touched.
9. The method for detecting the touch key is characterized in that the method is applied to the terminal equipment in any one of claims 1-8, and comprises the following steps:
detecting a capacitance change value generated when the lateral pressure key is touched through the metal frame;
if the capacitance processing module determines that the capacitance value is larger than or equal to a preset trigger threshold, triggering the pressure detection module through the capacitance processing module to detect a pressure value generated when the lateral pressure key is touched;
and if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold, transmitting a signal that the lateral pressure key is touched to the central processing unit through the pressure detection module.
10. A terminal device, comprising: the device comprises a lateral pressure key, an insulation breakpoint, a capacitance processing module and a pressure detection module, wherein the insulation breakpoint is arranged at two ends of a projection area of the lateral pressure key on a frame, and a metal frame intercepted by the insulation breakpoint on the frame is used for detecting a capacitance change value generated when the lateral pressure key is touched;
The terminal device further includes:
the detection unit is used for detecting a capacitance value generated when the lateral pressure key is touched through the metal frame;
the triggering unit is used for triggering the pressure detection module to detect the pressure value generated when the lateral pressure key is touched through the capacitance processing module if the capacitance processing module determines that the capacitance value is larger than or equal to a preset triggering threshold value;
and the sending unit is used for sending the signal that the lateral pressure key 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 value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910918428.7A CN110673761B (en) | 2019-09-26 | 2019-09-26 | Touch key detection method and terminal equipment thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910918428.7A CN110673761B (en) | 2019-09-26 | 2019-09-26 | Touch key detection method and terminal equipment thereof |
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 | Touch key detection method and terminal equipment thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110673761B (en) |
Families Citing this family (2)
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)
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 |
-
2019
- 2019-09-26 CN CN201910918428.7A patent/CN110673761B/en active Active
Patent Citations (3)
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)
Title |
---|
一种电容式触摸输入模块的设计;高申勇等;《杭州电子科技大学学报》;20090415(第02期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110673761A (en) | 2020-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271121B (en) | Application display method and mobile terminal | |
CN110730260B (en) | Control method of electronic equipment and electronic equipment | |
CN110471559B (en) | False touch prevention method and mobile terminal | |
CN110531915B (en) | Screen operation method and terminal equipment | |
CN109343788B (en) | Operation control method of mobile terminal and mobile terminal | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN109710150B (en) | Key control method and terminal | |
CN108900695B (en) | Display processing method, terminal equipment and computer readable storage medium | |
CN109407948B (en) | Interface display method and mobile terminal | |
CN108958593B (en) | Method for determining communication object and mobile terminal | |
CN111371705B (en) | Download task execution method and electronic device | |
CN109710130B (en) | Display method and terminal | |
CN111459447B (en) | Volume adjustment display method and electronic equipment | |
CN111093137B (en) | Volume control method, volume control equipment and computer readable storage medium | |
CN110673761B (en) | Touch key detection method and terminal equipment thereof | |
CN109597546B (en) | Icon processing method and terminal equipment | |
CN109639738B (en) | Voice data transmission method and terminal equipment | |
CN108540642B (en) | Mobile terminal and operation method thereof | |
CN109005297B (en) | Display method of navigation application and mobile terminal | |
CN108089935B (en) | Application program management method and mobile terminal | |
CN111526248B (en) | Audio output mode switching method and electronic equipment | |
CN111352566B (en) | Parameter adjusting method and electronic equipment | |
CN111176529B (en) | Key display method and electronic equipment | |
CN110471808B (en) | Pressure key detection method and device and mobile terminal | |
CN109739430B (en) | Display 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 |