Touch button, control method, and electronic device
Patent Information
- Application Number
- MYPI2022003360
- Authority / Receiving Office
- MY · MY
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-12-25
- Filing Date
- 2020-12-24
- Publication Date
- 2026-07-30
- Estimated Expiration
- 2040-12-24
AI Technical Summary
Existing electronic devices have a large number of touch buttons, which are complex to operate, and are prone to accidental touches when the buttons are close to each other.
Design a touch key, including a first conductive part and a second conductive part. The second conductive part surrounds the first conductive part with a gap left. The touch part is in contact with the first conductive part. When a touch input is received, The pressure is transmitted to displace the first conductive part relative to the second conductive part, and the change in capacitance is detected to determine the gesture action and generate control instructions, thereby realizing a variety of operating functions.
The number of touch buttons is reduced, accidental touches are avoided, and multiple control operations are realized through one touch button.
Abstract
Description
Touch key, control method and electronic device
[0001] Cross Reference to Related Applications
[0002] This application claims priority to Chinese Patent Application No. 201911355234.7 filed in China on December 25, 2019, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] Embodiments of the present application relate to the technical field of electronic devices, and in particular to a touch key, a control method and an electronic device. BACKGROUND
[0004] Currently, a plurality of physical keys with different functions are usually provided on electronic devices such as mobile phones and wireless earphones. These keys correspond to different operation functions, for example, turning on / off the electronic device, volume control, Bluetooth pairing, fingerprint unlocking, etc.
[0005] Referring to FIGS. 1a and 1b, FIG. 1a shows a scenario in which a plurality of keys are provided on a mobile phone, including a “volume +” key 111, a “volume -” key 112, a lock screen key 113 and a back key 114; and FIG. 1b shows a scenario in which a plurality of keys are provided on a mobile phone, including a “volume + / previous song” key 121, a “volume - / next song” key 122 and an “on / off / Bluetooth pairing” key 123.
[0006] The number of touch keys on existing electronic devices is large, the operation is complex, and in the case where the keys are close to each other, it is easy to cause accidental touch.
[0007] SUMMARY
[0008] Embodiments of the present application provide a touch key, a control method and an electronic device, which solve the problem that the number of existing touch keys is large, the operation is complex, and accidental touch is easy to occur.
[0009] In a first aspect, an embodiment of the present application provides a touch key, comprising: a first conductive part, a second conductive part and a touch part.
[0010] The second conductive part surrounds the first conductive part, and part of the first conductive part is exposed from the second conductive part, and a gap is formed between the part of the first conductive part not exposed and the second conductive part, and the first conductive part is displaceable relative to the second conductive part.
[0011] The touch part is in contact with the exposed part of the first conductive part.
[0012] In a second aspect, an embodiment of the present application provides a control method applied to an electronic device, wherein the electronic device comprises the touch key as described in the first aspect, and the method comprises:
[0013] receiving a touch input acting on a touch part of the touch key, the touch part transmitting a pressure of the touch input to a first conductive part of the touch key to displace the first conductive part relative to a second conductive part of the touch key;
[0014] detecting whether there is a capacitance change in a plurality of preset directions of the second conductive part of the touch key;
[0015] in a case where there is a capacitance change in a target direction of the plurality of preset directions, determining a control instruction corresponding to the target direction.
[0016] In a third aspect, an electronic device is provided, which includes the touch key, the processor, the memory, and the program stored in the memory and executable in the processor, and the program, when executed by the processor, implements the steps of the control method according to the second aspect.
[0017] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the control method.
[0018] In the embodiments of the present application, when the touch key receives a touch input, the touch part transmits a pressure to the first conductive part to displace the first conductive part relative to the second conductive part to change the capacitance. The gesture action of the touch input is determined based on the position of the capacitance change, and different control instructions are determined according to different gesture actions. Thus, only one touch key is needed to perform touch inputs of different gesture actions to achieve multiple control operations, which reduces the number of touch keys and avoids the occurrence of accidental touch. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments of the present application will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0020] FIG. 1a is a structural schematic diagram of a touch key on a prior art electronic device;
[0021] FIG. 1b is a structural schematic diagram of a touch key on a prior art electronic device;
[0022] FIG. 2 is a structural schematic diagram of a touch key provided by an embodiment of the present application;
[0023] FIG. 3 is a flow schematic diagram of a control method provided by an embodiment of the present application;
[0024] FIG. 4 is a schematic diagram of an application scenario according to an embodiment of the present application;
[0025] FIG. 5a is a schematic diagram of an application scenario according to another embodiment of the present application;
[0026] FIG. 5b is a schematic diagram of an application scenario according to another embodiment of the present application;
[0027] FIG. 6 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.
[0029] In the embodiments of the present application, the words such as “exemplary” or “for example” are used to mean serving as an example, instance, or illustration. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design solutions. In fact, the words “exemplary” or “for example” are used to present related concepts in a specific manner.
[0030] In this document, the relational terms such as “first” and “second” and the like are used only to distinguish one entity from another, and do not denote any relationship or order between these entities.
[0031] Referring to FIG. 2, the touch key 20 according to an embodiment of the present application comprises a first conductive part 21, a second conductive part 22, and a touch part 23.
[0032] The second conductive part 22 surrounds the first conductive part 21, and part of the first conductive part 21 is exposed from the second conductive part 22. There is a gap between the part of the first conductive part 21 not exposed and the second conductive part 22, and the first conductive part 21 can be displaced relative to the second conductive part 22. The touch part 23 is in contact with the exposed part of the first conductive part 21.
[0033] In the embodiment of the present application, the second conductive part 22 surrounds the first conductive part 21 and leaves a gap between the two, so that the first conductive part 21 and the second conductive part 22 form a capacitive structure, i.e. there is a capacitive effect between the first conductive part 21 and the second conductive part 22. When the touch control part 23 receives a touch control input, the touch control part 23 transmits the pressure of the touch control input to the first conductive part 21, so that the first conductive part 21 is displaced relative to the second conductive part 22, thereby changing the distance between the local position of the first conductive part 21 and the second conductive part 22, and further causing a change in capacitance.
[0034] Thus, the electronic device using the touch control button 20 described above can recognize the displacement direction of the first conductive part 21 relative to the second conductive part 22 by detecting the specific position of the change in capacitance on the second conductive part 22, and further determine the gesture action of the touch control input acting on the touch control part 23. Different control instructions can be determined based on different touch control inputs, so as to meet the requirement of making one touch control button have multiple control functions.
[0035] In the embodiment of the present application, when the touch control button receives a touch control input, the touch control part transmits the pressure to the first conductive part, so that the first conductive part is displaced relative to the second conductive part, and the capacitance is changed. The gesture action of the touch control input is determined based on the position of the change in capacitance, and different control instructions are determined according to different gesture actions. Thus, only different gesture actions of touch control input are required for one touch control button, so as to realize multiple control operations, i.e. reduce the number of touch control buttons and avoid the occurrence of accidental touch.
[0036] In some embodiments, the first conductive part 21 is in the shape of a sphere, and the first conductive part 21 can roll relative to the second conductive part 22, for example, the first conductive part 21 is a sphere made of metal or other conductive material. The first conductive part 21 in the shape of a sphere can keep the force effect consistent in any direction, which is convenient for detecting the position of the change in capacitance.
[0037] It can be understood that the shape of the first conductive part 21 can also be other shapes, for example, a cube or a cylinder, and a person skilled in the art can select a first conductive part 21 with a corresponding shape according to actual product requirements.
[0038] In some embodiments, considering that a gap needs to be left between the second conductive part 22 and the first conductive part 21, a non-conductive support (not shown in FIG. 2) is arranged between the part of the first conductive part 21 not exposed and the second conductive part 22.
[0039] It should be noted that the support piece is used to support the first conductive part 21, so that a gap is left between the second conductive part 22 and the first conductive part 21, and therefore the support piece should be made of a non-conductive material to avoid affecting the capacitance between the second conductive part 22 and the first conductive part 21. For example, the support piece is a plurality of support columns made of a non-conductive material and arranged between the second conductive part 22 and the first conductive part 21, or the support piece is a filler made of a non-conductive material and arranged between the second conductive part 22 and the first conductive part 21.
[0040] Further, the support piece can have a certain elasticity, so that when the user finishes the touch input, the position of the first conductive part 21 can be restored to the initial position under the elastic force of the support piece, facilitating the capacitive detection when receiving the touch input next time.
[0041] In some embodiments, considering that the first conductive part 21 can have various shapes, in order to achieve better pressure transmission effect, referring to FIG. 2, the touch part 23 can be composed of two parts, i.e., a touch element 231 and an elastic element 232, and the touch element 231 is in contact with the exposed part of the first conductive part 21 through the elastic element 232. It can be understood that the elastic element 232 should be made of a non-conductive material to avoid affecting the capacitance effect between the first conductive part 21 and the second conductive part 22.
[0042] In the embodiment of the application, the touch element 231 is used to receive the touch input of the user, and FIG. 2 shows the case where the shape of the touch element 231 is rectangular. It can be understood that the shape of the touch element 231 can also be circular, oval, cross-shaped, etc., and a person skilled in the art can select a touch element 231 with a corresponding shape according to the actual product demand. The elastic element 232 is arranged between the touch element 231 and the exposed part of the first conductive part 21 and is used for pressure transmission. The elastic element 232 can be an elastic filler material filled between the touch element 231 and the first conductive part 21. In actual application, the elastic element 232 should coat the exposed part of the first conductive part 21, so that when the touch element 231 receives the touch input, the pressure can be transmitted to the first conductive part 21 through the elastic element 232.
[0043] In some embodiments, a fingerprint identification module (not shown in FIG. 2) is arranged in the touch part 23, so that when the user performs touch input on the touch part 23, the fingerprint information of the user can be obtained through the fingerprint identification module, so that the touch key 20 has the function of acquiring fingerprints.
[0044] The embodiment of the present application provides a control method, and an execution subject of the method is an electronic device, which can be a mobile phone, a tablet computer, a notebook computer, an Ultra-Mobile Personal Computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the electronic device comprises the touch key as described above.
[0045] Referring to FIG. 3, the specific steps of the method are as follows:
[0046] Step 301: receiving a touch input acting on a touch part of the touch key;
[0047] In the embodiment of the present application, the touch input is received through the touch part of the touch key, and the pressure of the touch input is transmitted to the first conductive part of the touch key by the touch part, so that the first conductive part is displaced relative to the second conductive part, and the capacitance is changed.
[0048] Step 302: detecting whether there is capacitance change of the second conductive part in a plurality of preset directions;
[0049] In the embodiment of the present application, the electronic device detects the capacitance change of the second conductive part in the plurality of preset directions, so as to determine the direction of displacement of the first conductive part relative to the second conductive part through the specific position of the capacitance change, and further determine the gesture action of the touch input of the user.
[0050] A separate detection module can be arranged in the electronic device, or the detection function is integrated in the processor, and the capacitance change of the second conductive part in the plurality of preset directions is detected through the internal circuit of the electronic device.
[0051] The plurality of preset directions can comprise at least one of the following:
[0052] a first positive direction and a first negative direction along a first axis;
[0053] a second positive direction and a second negative direction along a second axis;
[0054] a third positive direction and a third negative direction along a third axis;
[0055] The first axis, the second axis and the third axis are perpendicular to each other.
[0056] Specifically, referring to FIG. 4, the first conductive part 21 includes a first axis and a second axis in a horizontal direction, and includes a third axis in a vertical direction, for the convenience of description, the first axis is denoted by an x-axis, the second axis is denoted by a y-axis, and the third axis is denoted by a z-axis, further, a first positive direction is denoted by x+, a first negative direction is denoted by x-, a second positive direction is denoted by y+, a second negative direction is denoted by y-, a third positive direction is denoted by z+, and a third negative direction is denoted by z-.
[0057] In some embodiments, if a fingerprint identification module is arranged in the touch part, before step 302 is performed, fingerprint information can be acquired according to the touch input; and in the case that the fingerprint information matches preset fingerprint information, step 302 is performed again.
[0058] In the embodiment of the present application, the fingerprint identification module is arranged in the touch part, so that the touch key has a fingerprint acquisition function, and thus when receiving a touch input acting on the touch key, the fingerprint information of the user can be verified first, and after verification, corresponding control is performed according to the touch input, thereby improving the use safety of the electronic device.
[0059] Step 303: in the case that there is a capacitance change in a target direction among the plurality of preset directions, determining a control instruction corresponding to the target direction;
[0060] In the embodiment of the present application, the target direction refers to the direction in which the capacitance change is detected among the plurality of preset directions.
[0061] Taking the scenario shown in FIG. 4 as an example, if the electronic device detects that there is a capacitance change in the x+ direction, a corresponding first control instruction is determined, correspondingly, the x- direction can correspond to a second control instruction, the y+ direction can correspond to a third control instruction, the y- direction can correspond to a fourth control instruction, the z+ direction can correspond to a fifth control instruction, and the z- direction can correspond to a sixth control instruction, so that six control functions can be integrated on one touch key.
[0062] Optionally, on the basis of the scenario shown in FIG. 4, four preset directions can be added on the horizontal plane, for example, a preset direction is arranged at 45° between the x-axis and the y-axis, and a corresponding control instruction is matched for each preset direction, so that ten control functions can be integrated on one touch key.
[0063] Further, in the case that there is a capacitance change in a target direction among the plurality of preset directions, the method further includes: acquiring a capacitance change parameter in the target direction; determining a corresponding control instruction according to the target direction and the capacitance change parameter; and wherein the capacitance change parameter includes at least one of the following: a capacitance change value, a capacitance change frequency, and a capacitance change duration.
[0064] In the embodiment of the present application, the control instruction corresponding to the target direction can be further refined, and different touch input modes are subdivided by the capacitance change parameter in the target direction, for example, the user is pressed or pressed by the capacitance change value; the user is single-clicked, double-clicked or triple-clicked by the capacitance change times; the user is normally clicked or long-pressed by the capacitance change time.
[0065] In this way, the target direction and the capacitance change parameter in the target direction are comprehensively considered, so that different directions of the touch key correspond to different control instructions, and different input modes in the same direction also correspond to different control instructions, so that more control functions can be integrated on one touch key.
[0066] Referring to FIGS. 5a and 5b, FIG. 5a shows a scene of applying the touch key and control method of the embodiment of the present application to a mobile phone, wherein the touch key 50 is divided into volume +, volume -, start shooting to the left, and lock screen to the right, and one press is power on / off and two presses are screenshot operation. FIG. 5b shows a scene of applying the touch key and control method of the embodiment of the present application to a wireless earphone, wherein the touch key 50 is divided into volume +, volume -, fast forward to the left, and fast backward to the right, one press is power on / off and two presses are pause, and long press for 5 seconds is Bluetooth pairing.
[0067] In the embodiment of the present application, when the touch key receives a touch input, the touch part transmits the pressure to the first conductive part, so that the first conductive part is displaced relative to the second conductive part, and the capacitance is changed. The gesture action of the touch input is determined based on the position of the capacitance change, and different control instructions are determined according to different gesture actions, so that only one touch key needs to be touched by different gesture actions, and multiple control operations can be realized, that is, the number of touch keys is reduced, and the mis-touch phenomenon is avoided.
[0068] FIG. 6 is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present application, which includes a touch key, the touch key including a first conductive part, a second conductive part and a touch part; the second conductive part surrounds the first conductive part, and part of the first conductive part is exposed from the second conductive part, and the part of the first conductive part not exposed has a gap with the second conductive part, and the first conductive part can be displaced relative to the second conductive part; the touch part is in contact with the exposed part of the first conductive part.
[0069] As shown in the figure, the electronic device 600 includes, but is not limited to, a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611, etc. Those skilled in the art can understand that the electronic device structure shown in Figure 6 does not constitute a limitation on the electronic device, and the electronic device can include more or less components than the figure, or combine certain components, or different component arrangements. In embodiments of the present application, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle terminal, a wearable device, and a pedometer, etc.
[0070] Preferably, a computer program stored on the memory 609 and executable on the processor 610, when executed by the processor 610, implements the following steps: receiving a touch input acting on a touch part of the touch key, the touch part transmitting the pressure of the touch input to a first conductive part of the touch key, causing the first conductive part to displace relative to a second conductive part of the touch key; detecting whether there is a change in capacitance in a plurality of preset directions of the second conductive part; and in the case that there is a change in capacitance in a target direction among the plurality of preset directions, determining a control instruction corresponding to the target direction.
[0071] In this way, when the touch key receives a touch input, the touch part transmits the pressure to the first conductive part, causing the first conductive part to displace relative to the second conductive part, changing the capacitance. The gesture action of the touch input is determined based on the position of the capacitance change, and different control instructions are determined according to different gesture actions. In this way, only different gesture actions of touch input on one touch key can achieve multiple control operations, i.e. reducing the number of touch keys and avoiding the occurrence of accidental touch.
[0072] It should be understood that in embodiments of the present application, the radio frequency unit 601 can be used for receiving and transmitting signals in the process of information or communication, specifically, receiving downlink data from a base station for processing by the processor 610; in addition, transmitting uplink data to the base station. Typically, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
[0073] The electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users send and receive emails, browse web pages, and access streaming media, etc.
[0074] The audio output unit 603 can convert audio data, which is received by the radio frequency unit 601 or the network module 602 or stored in the memory 609, into an audio signal and output as sound. Also, the audio output unit 603 can provide an audio output related to a particular function performed by the electronic device 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, and a receiver, etc.
[0075] The input unit 604 is used to receive audio or video signals. The input unit 604 can include a graphics processor (GPU) 6041 and a microphone 6042. The graphics processor 6041 processes image data of a still picture or a video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 606. The image frame processed by the graphics processor 6041 can be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound and can process such sound as audio data. The processed audio data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode.
[0076] The electronic device 600 further includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 6061 and / or the backlight when the electronic device 600 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), and when at rest, can detect the magnitude and direction of gravity, and can be used to identify the electronic device posture (such as screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, knock), etc. The sensor 605 can 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., which will not be described here.
[0077] The display unit 606 is used to display information input by a user or information provided to the user. The display unit 606 can include a display panel 6061, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
[0078] The user input unit 607 can be used to receive inputted numerical or character information, and to generate key signal inputs related to user settings and function controls of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071, also called a touch screen, can collect a user's touch operation (such as a user's operation on or near the touch panel 6071 using a finger, a stylus, or any suitable object or accessory) on or near it. The touch panel 6071 can include two parts, a touch detection device and a touch controller. The touch detection device detects the user's touch position and detects a signal caused by the touch operation, and transmits the signal to the touch controller. The touch controller receives the touch information from the touch detection device, converts it into touch coordinates, and sends it to the processor 610, and receives commands from the processor 610 and executes them. In addition, the touch panel 6071 can be implemented in various types such as a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type. In addition to the touch panel 6071, the user input unit 607 can include other input devices 6072. Specifically, the other input devices 6072 can include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, on / off buttons, etc.), trackballs, mice, joysticks, etc., which will not be described here.
[0079] Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near it, it transmits to the processor 610 to determine the type of touch event, and then the processor 610 provides corresponding visual output on the display panel 6061 according to the type of touch event. Although in FIG. 6, the touch panel 6071 and the display panel 6061 are implemented as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0080] The interface unit 608 is an interface for connecting external devices to the electronic device 600. For example, the external devices can 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, etc. The interface unit 608 can be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600, or can be used to transmit data between the electronic device 600 and external devices.
[0081] The memory 609 can be used to store software programs and various data. The memory 609 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), and the like. In addition, the memory 609 can include a high-speed random access memory, and can also include a nonvolatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0082] The processor 610 is a control center of the electronic device, connects all parts of the electronic device through various interfaces and lines, executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 609 and calling data stored in the memory 609, and thus performs overall monitoring on the electronic device. The processor 610 can include one or more processing units; preferably, the processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 610.
[0083] The electronic device 600 can further include a power supply 611 (such as a battery) for supplying power to various components; preferably, the power supply 611 can be logically connected to the processor 610 through a power management system, so as to realize functions of managing charging, discharging, and power consumption management, and the like through the power management system.
[0084] In addition, the electronic device 600 includes some functional modules which are not shown and will not be described here.
[0085] The embodiment of the application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to realize each process of the account management method embodiment and achieve the same technical effect. To avoid repetition, details are not described herein. The computer readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, and the like.
[0086] It should be noted that, as used 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 can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a", "comprising", or "comprises" does not, without more constraints, preclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0087] The above description is only specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A touch button, comprising: A first conductive part, a second conductive part, and a touch part; The second conductive part surrounds the first conductive part, and a portion of the first conductive part is exposed above the second conductive part. There is a gap between the unexposed portion of the first conductive part and the second conductive part, and the first conductive part can be displaced relative to the second conductive part. The touch unit comes into contact with the first conductive exposed portion.
2. The touch button according to claim 1, wherein, The first conductive part is spherical in shape and can roll relative to the second conductive part.
3. The touch button according to claim 1, wherein, A non-conductive support member is provided between the unexposed portion of the first conductive part and the second conductive part.
4. The touch button according to claim 1, wherein, The touch unit includes a touch control and an elastic element, wherein the touch control contacts the exposed portion of the first conductive part through the elastic element.
5. The touch button according to claim 1, wherein, A fingerprint recognition module is installed inside the touch unit.
6. A control method applied to an electronic device, wherein, The electronic device includes a touch button as described in any one of claims 1 to 5, and the method includes: The touch input is received by the touch portion of the touch button, and the touch portion transmits the pressure of the touch input to the first conductive portion of the touch button, causing the first conductive portion to displace relative to the second conductive portion of the touch button. Detect whether there is a capacitance change in the second conductive part in multiple preset directions; When there is a capacitance change in the target direction among the plurality of preset directions, a control command corresponding to the target direction is determined.
7. The method according to claim 6, wherein, The plurality of preset directions includes at least one of the following: Along the first positive direction and the first negative direction of the first axis; Along the second positive direction and the second negative direction of the second axis; Along the third positive and third negative directions of the third axis; The first axis, the second axis, and the third axis are perpendicular to each other.
8. The method according to claim 6, wherein, When a capacitance change exists in the target direction among the plurality of preset directions, the method further includes: Obtain the capacitance change parameters in the target direction; Based on the target direction and the capacitance change parameters, determine the corresponding control command; The capacitance change parameters include at least one of the following: capacitance change value, number of capacitance changes, and capacitance change duration.
9. The method according to claim 6, wherein, After receiving touch input actuated by the touch portion of the touch button, the method further includes: Fingerprint information is obtained based on the touch input; If the fingerprint information matches the preset fingerprint information, a step is performed to detect whether there is a capacitance change in the second conductive part in multiple preset directions.
10. An electronic device comprising a touch button as described in any one of claims 1 to 5, a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the control method as described in any one of claims 6 to 9.
11. A computer-readable storage medium, wherein, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the control method according to any one of claims 6-9.