CN110673761A - Detection method of touch key and terminal equipment thereof - Google Patents

Detection method of touch key and terminal equipment thereof Download PDF

Info

Publication number
CN110673761A
CN110673761A CN201910918428.7A CN201910918428A CN110673761A CN 110673761 A CN110673761 A CN 110673761A CN 201910918428 A CN201910918428 A CN 201910918428A CN 110673761 A CN110673761 A CN 110673761A
Authority
CN
China
Prior art keywords
key
pressure
touched
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.)
Granted
Application number
CN201910918428.7A
Other languages
Chinese (zh)
Other versions
CN110673761B (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/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 method for detecting a touch key and terminal equipment thereof, which are used for solving the problem that in the prior art, a capacitive sensor is additionally arranged at the side edge of the terminal equipment to detect whether a lateral pressure key is touched or not. Terminal equipment includes lateral pressure button, insulating breakpoint, electric capacity processing module and pressure detection module, wherein: the side pressure key is arranged on the inner side of the frame of the terminal equipment; the metal frame intercepted on the frame by the insulation breakpoint is used for detecting a capacitance change value generated when the side 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 a pressure value generated when the lateral pressure key is touched when a capacitance change value detected by the metal frame is larger than or equal to a preset trigger threshold value.

Description

Detection method of touch key and terminal equipment thereof
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a touch key detection method and terminal equipment thereof.
Background
With the rapid development of intelligent terminal equipment, the intelligent terminal equipment with the ultrahigh screen ratio is more and more popular among more manufacturers and consumers by virtue of the extreme visual experience brought to users. However, as the display screen of the intelligent terminal device occupies a larger area, the display screens of the intelligent terminal devices produced by many manufacturers gradually utilize the side areas on the left and right sides of the intelligent terminal device, so that the space for setting the switch key and the volume adjusting key 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 adjusting key is smaller and smaller, a plurality of manufacturers set hidden side pressure keys which do not influence the visual effect at the side of the intelligent terminal device so as to replace the existing explicit switch key and volume adjusting key, thereby realizing normal display of the side areas at both sides of the intelligent terminal device.
In order to accurately detect whether the lateral pressure button is touched, many manufacturers consider to additionally provide a capacitive sensor by digging a hole near the lateral pressure button or at a projection position of the button on the frame, which obviously increases certain process cost.
Disclosure of Invention
The embodiment of the invention provides terminal equipment, which is used for solving 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 side pressure key is touched or not.
In order to solve the technical problem, the invention is realized as follows:
in a 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, where:
the side pressure key is arranged on the inner side of the frame of the terminal equipment;
the insulation breakpoints are arranged at two ends of a projection area of the lateral pressure key on the frame, and a metal frame intercepted on the frame by the insulation breakpoints 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 a pressure value generated when the lateral pressure key is touched when a capacitance change value detected by the metal frame is larger than or equal to a preset trigger threshold value.
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 includes:
detecting a capacitance change value generated when the side 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 value, triggering the pressure detection module through the capacitance processing module to detect a pressure value generated when the side pressure key is touched;
if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold value, the pressure detection module sends a signal that the lateral pressure key is touched to the central processing unit.
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 side pressure key is touched through the metal frame;
the triggering unit is used for triggering the pressure detection module to detect a pressure value generated when the side 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 touched signal of the side pressure key 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, the computer program, when executed by the processor, implementing 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 the readable storage medium stores a computer program, and 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 side pressure key is arranged on the inner side of the frame of the terminal equipment; insulation breakpoints are arranged at two ends of a projection area of the side pressure keys on the frame, and a metal frame intercepted on the frame by the insulation breakpoints is used for detecting a capacitance change value generated when the side pressure keys are 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 a pressure value generated when the lateral pressure key is touched when a capacitance change value detected by the metal frame is larger than or equal to a preset trigger threshold value.
Because the metal frames intercepted by the insulation breakpoints added at the two ends of the projection area of the lateral pressure keys on the frame of the terminal equipment are used as capacitance electrodes, the capacitance change value when touched by a hand can be detected, and the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, so that the process cost in the manufacturing process of the terminal equipment is saved, and on the other hand, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure keys of the terminal equipment are 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 an 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 diagram illustrating an implementation flow 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 diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In order to solve the problem that the side edge of the terminal equipment in the prior art needs to be additionally provided with a capacitive sensor to detect whether a side pressure key is touched, the invention provides the terminal equipment which comprises the side pressure key, an insulation breakpoint, a capacitive processing module and a pressure detection module. The side pressure key is arranged on the inner side of the frame of the terminal equipment; insulation breakpoints are arranged at two ends of a projection area of the side pressure keys on the frame, and a metal frame intercepted on the frame by the insulation breakpoints is used for detecting a capacitance change value generated when the side pressure keys are 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 a pressure value generated when the pressure detection module detects that the lateral pressure key is touched when a capacitance change value detected by the metal frame is larger than or equal to a preset trigger threshold value.
Because the metal frames intercepted by the insulation breakpoints added at the two ends of the projection area of the lateral pressure keys on the frame of the terminal equipment are used as capacitance electrodes, the capacitance change value when touched by a hand can be detected, and the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, so that the process cost in the manufacturing process of the terminal equipment is saved, and on the other hand, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure keys of the terminal equipment are touched by mistake can be effectively avoided.
As shown in fig. 1 and fig. 2, schematic structural diagrams of a structure and internal logic of a terminal device according to an embodiment of the present invention are provided. The terminal device comprises lateral pressure keys 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:
the side pressure keys 11, 12 and 13 are arranged on the inner side of the frame of the terminal equipment;
insulation break points 101 and 102 are arranged at two ends of a projection area of the side 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 a capacitance change value generated when the side pressure keys 11, 12 or 13 are touched;
the metal frame 14 is connected to the capacitance processing module 19, the capacitance processing module 19 is connected to the pressure detection module 18, and the capacitance processing module 19 is configured to trigger the pressure detection module 18 to detect a pressure value generated when the side pressure keys 11, 12, and 13 are touched when a capacitance change value detected by the metal frame 17 is greater than or equal to a preset trigger threshold value.
Optionally, the lateral pressure buttons 11, 12 and 13 may be hidden lateral pressure buttons in order to not affect the streamline appearance of the terminal device and bring a better visual experience to the user.
It should be understood that, in order to be able to fully detect whether the lateral pressure keys 11, 12 or 13 are touched, the projected area of the metal frame 14 on the frame, which is cut by the insulation breakpoints 101 and 102 on the frame, should be greater than or equal to the projected area of the lateral pressure keys 11, 12 and 13 on the frame.
Alternatively, when the lateral pressure key 11, 12 or 13 is detected to be touched through the metal frame 14, if the touch strength is not sufficient, that is, the pressure value generated when the lateral pressure key 11, 12 or 13 is touched is small, the lateral pressure key 11, 12 or 13 may be touched by mistake. In this case, in order to avoid the pressure buttons 11, 12, or 13 from being touched by mistake, the terminal device provided in 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 side pressure key 11, 12 or 13 is touched, and when the pressure detection module 18 detects that the pressure value generated when the side 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 side pressure key 11, 12 or 13 is touched to the central processor 17, and the central processor 17 is configured to determine and process a corresponding key event based on the signal that the side pressure key 11, 12 or 13 is touched. The pressure detection module 18 can transmit signals to the cpu 17 through the pins INT and I2C.
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 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 side pressure key 11, 12 or 13 detected by the metal frame 14 is touched is greater than or equal to the preset trigger threshold value, the capacitance processing module 19 may send a signal indicating that the side 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 a pressure value generated when the side pressure key 11, 12 or 13 is touched.
Optionally, in order to enable the pressure detection module to perform the standby state again when the side pressure key 11, 12, or 13 stops being touched, so as to detect the pressure value generated when the side pressure key 11, 12, or 13 is touched again, the touch sensor 14 in the embodiment of the present invention may further send a signal that the side pressure key 11, 12, or 13 stops being touched to the pressure detection module 18 through the GPIO line when detecting that the side pressure key 11, 12, or 13 stops being touched, so that the pressure detection module 18 performs the standby state again.
Optionally, in order to facilitate the central processing unit 17 to timely obtain the signal that the lateral pressure button 11, 12 or 13 stops being touched, the pressure detection module 18 may further send the signal that the lateral pressure button 11, 12 or 13 stops being touched to the central processing unit 17.
Optionally, in order to facilitate a user to perform shortcut operations such as volume up and down, power on and power off on the terminal device, the side pressure keys in the embodiment of the present invention may specifically include a first key 11, a second key 12, and a third key 13 according to an up-to-down arrangement, where 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 break point described 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.
Optionally, 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 the insulation break points in the embodiment of the present invention may also 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 provided. 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 intercepting 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 in which the first insulation break point 101 and the third insulation break point 103 are intercepted on the frame, the second metal frame 22 is a metal frame in which the third insulation break point 103 and the fourth insulation break point 104 are intercepted on the frame, and the first metal frame 21 is a metal frame in which the second insulation break point 102 and the fourth insulation break point 104 are intercepted on the frame.
Specifically, the first metal frame 21 is configured to detect a capacitance change value generated when the first key 11 is touched, the second metal frame 22 is configured to detect a capacitance change value generated when the second key 12 is touched, and the third metal frame 23 is configured to detect a capacitance change value generated when the third key 13 is touched.
In order to facilitate that the first metal frame 21, the second metal frame 22, and the third metal frame 23 transmit the touched signals of the first key 11, the second key 12, and the third key 13 to the pressure detection module 18 when detecting that the capacitance variation value is greater than or equal to the preset trigger threshold value, 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 metal frame 22, and the third metal frame 23, and the three output pins are respectively connected to 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).
Optionally, in order to determine whether the first key 11, the second key 12, or the third key 13 is touched more accurately, embodiments of the present invention may further detect 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 variation 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 touched signal of the first key 11 is sent 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 variation value generated when the second key 12 is touched is greater than or equal to the preset trigger threshold value, the second metal frame 22 sends the touched signal of the second key 12 to the pressure detection module 18 through the second GPIO line, so as to trigger the pressure detection module 18 to detect the pressure value generated when the second key 12 is touched;
when the capacitance processing module 19 detects that the capacitance variation 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 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 with different colors to assist the user in visually positioning the three keys, thereby avoiding the user from touching the three keys 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 side pressure key is arranged on the inner side of the frame of the terminal equipment; insulation breakpoints are arranged at two ends of a projection area of the side pressure keys on the frame, and a metal frame intercepted on the frame by the insulation breakpoints is used for detecting a capacitance change value generated when the side pressure keys are 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 a pressure value generated when the lateral pressure key is touched when a capacitance change value detected by the metal frame is larger than or equal to a preset trigger threshold value.
Because the metal frames intercepted by the insulation breakpoints added at the two ends of the projection area of the lateral pressure keys on the frame of the terminal equipment are used as capacitance electrodes, the capacitance change value when touched by a hand can be detected, and the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, so that the process cost in the manufacturing process of the terminal equipment is saved, and on the other hand, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure keys of the terminal equipment are touched by mistake can be effectively avoided.
In order to solve the problem that the side of the terminal device in the prior art needs to be additionally provided with a capacitive sensor to detect whether the side pressure key is touched, an embodiment of the present invention further provides a method for detecting a touch key.
For convenience of description, the following description will be made of an embodiment of the method taking as an example that an execution subject of the method is a terminal device capable of executing the method. It is understood that the implementation of the method by the terminal device is only an exemplary illustration, and should not be construed as a limitation of the method.
Fig. 5 is a schematic diagram illustrating a specific implementation flow 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 shown in fig. 1 to 4.
The following describes in detail an implementation process of the method with reference to a schematic flowchart of a specific implementation 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 side pressure key is touched through a metal frame;
the lateral pressure key can be provided with three commonly used keys according to the use habit of a user, wherein the three commonly used keys comprise a first key, a second key and a third key, the first key can be a volume increasing key specifically, the second key can be a volume decreasing key specifically, and the third key can be a power supply key specifically. It should be understood that in order to facilitate the metal frame to detect that one or more of the three keys are touched, insulation break points intercepting the metal frame may be specifically disposed at two ends of a projection area of the lateral pressure key on the frame of the terminal device.
Optionally, the number of the insulation break points for cutting the metal frame may be two, or four. When the number of the intercepted insulation breakpoints of the metal frame is 2, the number of the intercepted metal frame is 1, and the metal frame can be used for detecting a capacitance change value generated when the first key, the second key or the third key is touched; when the number of the insulation break points of the metal frame is intercepted is 4, the number of the intercepted metal frames is 3, and the metal frame specifically includes 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, the capacitance processing module triggers the pressure detection module to detect a pressure value generated when the pressure keys are 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 frame is greater than or equal to a preset trigger threshold value, the capacitance processing module triggers the pressure detection 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 the preset trigger threshold, the capacitance processing module triggers the pressure detection module to detect the pressure value of the key corresponding to the capacitance value which is greater than or equal to the preset trigger threshold.
When the number of the intercepted metal frames is 3, assuming that the capacitance processing module determines that the capacitance variation value detected by the first metal frame is greater than or equal to the preset trigger threshold, the capacitance processing module can trigger the pressure detection module to detect a pressure value generated when the key (i.e., 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 indicating 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 a certain key in the side pressure keys is greater than or equal to a preset pressure threshold value, the touched signal of the key 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, the touched signal of the key 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 side pressure key is arranged on the inner side of the frame of the terminal equipment; insulation breakpoints are arranged at two ends of a projection area of the side pressure keys on the frame, and a metal frame intercepted on the frame by the insulation breakpoints is used for detecting a capacitance change value generated when the side pressure keys are 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 a pressure value generated when the lateral pressure key is touched when a capacitance change value detected by the metal frame is larger than or equal to a preset trigger threshold value.
Because the metal frames intercepted by the insulation breakpoints added at the two ends of the projection area of the lateral pressure keys on the frame of the terminal equipment are used as capacitance electrodes, the capacitance change value when touched by a hand can be detected, and the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, so that the process cost in the manufacturing process of the terminal equipment is saved, and on the other hand, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure keys of the terminal equipment are touched by mistake can be effectively avoided.
An embodiment of the present invention further provides a terminal device 600, as shown in fig. 6, including:
the detection unit 601 is configured to detect a capacitance value generated when the side pressure key is touched through the metal frame;
a triggering unit 602, configured to trigger the pressure detection module to detect a pressure value generated when the pressure detection module is touched through the capacitance processing module if the capacitance processing module determines that the capacitance value is greater than or equal to a preset triggering threshold;
a sending unit 603, configured to send a signal that the side 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.
The terminal device 600 can implement the method in the embodiment of the method in fig. 5, which specifically refers to the method for detecting a touch key in the embodiment shown in fig. 5 and is not repeated here.
Figure 7 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention,
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, a power supply 711, and the like. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 7 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, 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 a capacitance change value generated when the side 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 value, triggering the pressure detection module through the capacitance processing module to detect a pressure value generated when the side pressure key is touched; if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold value, the pressure detection module sends a signal that the lateral pressure key is touched to the central processing unit.
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 side pressure key is arranged on the inner side of the frame of the terminal equipment; insulation breakpoints are arranged at two ends of a projection area of the side pressure keys on the frame, and a metal frame intercepted on the frame by the insulation breakpoints is used for detecting a capacitance change value generated when the side pressure keys are 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 a pressure value generated when the lateral pressure key is touched when a capacitance change value detected by the metal frame is larger than or equal to a preset trigger threshold value.
Because the metal frames intercepted by the insulation breakpoints added at the two ends of the projection area of the lateral pressure keys on the frame of the terminal equipment are used as capacitance electrodes, the capacitance change value when touched by a hand can be detected, and the capacitance change value is prevented from being detected by additionally adding a capacitance sensor, so that the process cost in the manufacturing process of the terminal equipment is saved, and on the other hand, the pressure detection module is triggered by the capacitance processing module, and the problem that the lateral pressure keys of the terminal equipment are 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 sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, 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 may also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 702, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
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 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., 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 graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The terminal device 700 further comprises at least one sensor 705, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the luminance of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 7061 and/or a backlight when the terminal device 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
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 (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and 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 by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by 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, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the 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 implemented as 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 for connecting an external device to the terminal apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (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 the 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 and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the 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 by 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, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The terminal device 700 may further include a power supply 711 (e.g., a battery) for supplying power to various components, and preferably, the power supply 711 may be logically connected to the processor 710 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 700 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an 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 is executed by the processor 710 to implement each process of the above-mentioned method for adjusting the volume of a ceramic speaker, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned method for adjusting a volume of a ceramic speaker, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. The utility model provides a terminal equipment, its characterized in that includes side pressure button, insulating breakpoint, electric capacity processing module and pressure detection module, wherein:
the side pressure key is arranged on the inner side of the frame of the terminal equipment;
the insulation breakpoints are arranged at two ends of a projection area of the lateral pressure key on the frame, and a metal frame intercepted on the frame by the insulation breakpoints 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 a pressure value generated when the lateral pressure key is touched when a capacitance change value detected by the metal frame is larger than or equal to a preset trigger threshold value.
2. The terminal device of claim 1, wherein the terminal device further comprises a central processor, the pressure detection module being connected 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 a pressure value generated when the lateral pressure key is touched is greater than or equal to a preset pressure threshold value;
the central processing unit is used for determining and processing a corresponding key event based on the touched signal of the lateral pressure key.
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;
when the capacitance change value detected by the metal frame is larger than or equal to the preset trigger threshold value, the capacitance processing module sends the touched signal of the lateral pressure key to the pressure detection module through the GPIO line 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 side pressure keys comprise a first key, a second key and a third key in an up-to-down arrangement;
the insulation breakpoints comprise a first insulation breakpoint and a second insulation breakpoint, the first insulation breakpoint is arranged at the upper end of the projection area of the first key on the frame, and the second insulation breakpoint is arranged at the lower end of the 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,
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 obtained by cutting the first insulation breakpoint and the third insulation breakpoint on the frame;
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 obtained by cutting the third insulation breakpoint and the fourth insulation breakpoint on the frame;
and 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 obtained by intercepting the second insulation breakpoint and the fourth insulation breakpoint on the frame.
7. The terminal device of claim 6,
the capacitance processing module comprises three input pins and three output pins, 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 circuit, a second GPIO circuit and a third GPIO circuit.
8. The terminal device according to 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 bezel 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 by the second metal frame is greater than or equal to the preset trigger threshold value, the capacitance processing module sends the touched signal of the second key 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;
when the capacitance value generated by the third metal frame when detecting that the third key is touched is greater than or equal to the preset trigger threshold value, the capacitance processing module sends the touched signal of the third key to the pressure detection module through the third GPIO line so as to trigger the pressure detection module to detect the pressure value generated by the third key when being touched.
9. A method for detecting a touch key, the method being applied to the terminal device of any one of claims 1 to 8, and comprising:
detecting a capacitance change value generated when the side 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 value, triggering the pressure detection module through the capacitance processing module to detect a pressure value generated when the side pressure key is touched;
if the pressure detection module determines that the pressure value is greater than or equal to a preset pressure threshold value, the pressure detection module sends a signal that the lateral pressure key is touched to the central processing unit.
10. A terminal device, comprising:
the detection unit is used for detecting a capacitance value generated when the side pressure key is touched through the metal frame;
the triggering unit is used for triggering the pressure detection module to detect a pressure value generated when the side 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 touched signal of the side pressure key 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.
CN201910918428.7A 2019-09-26 2019-09-26 Touch key detection method and terminal equipment thereof Active CN110673761B (en)

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 true CN110673761A (en) 2020-01-10
CN110673761B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111665989A (en) * 2020-06-09 2020-09-15 京东方科技集团股份有限公司 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
高申勇等: "一种电容式触摸输入模块的设计", 《杭州电子科技大学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111665989A (en) * 2020-06-09 2020-09-15 京东方科技集团股份有限公司 Touch device, manufacturing method thereof, touch method and electronic equipment
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

Also Published As

Publication number Publication date
CN110673761B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN108182043B (en) Information display method and mobile terminal
CN109271121B (en) Application display method and mobile terminal
CN109343759B (en) Screen-turning display control method and terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN108319390B (en) Control method of flexible screen and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN109739429B (en) Screen switching processing method and mobile terminal equipment
CN108008859B (en) Screen control method and mobile terminal
CN108881617B (en) Display switching method and mobile terminal
CN110531915B (en) Screen operation method and terminal equipment
CN109407948B (en) Interface display method and mobile terminal
CN110750189B (en) Icon display method and device
CN109558046B (en) Information display method and terminal equipment
CN108958593B (en) Method for determining communication object and mobile terminal
CN108762613B (en) State icon display method and mobile terminal
CN108196781B (en) Interface display method and mobile terminal
CN107832067B (en) Application updating method, mobile terminal and computer readable storage medium
CN109597546B (en) Icon processing method and terminal equipment
CN108540642B (en) Mobile terminal and operation method thereof
CN110673761B (en) Touch key detection method and terminal equipment thereof
CN108388400B (en) Operation processing method and mobile terminal
CN111176529B (en) Key display method and electronic equipment
CN111526248B (en) Audio output mode switching method and electronic equipment
CN111352566B (en) Parameter adjusting method and electronic equipment

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