Key module, key signal recognition method and electronic device

By using an expansive fluid from a buffer component in the button module in conjunction with a conductive spring, and controlling the conductive contact by changing the viscosity according to the shear rate, the problem of high false touch rate in the button module is solved, and the accuracy and reliability of button operation are achieved.

CN120149092BActive Publication Date: 2025-11-18VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510303050.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-11-18
Estimated Expiration
2045-03-13

AI Technical Summary

Technical Problem

In existing technologies, button modules are prone to accidental touches due to user gripping or object squeezing, causing electronic devices to perform operations not intended by the user, resulting in a high accidental touch rate.

Method used

A buffer component is adopted, including a buffer layer and an expansive fluid. By setting the expansive fluid and the conductive spring at intervals, the viscosity of the expansive fluid is changed at different shear rates to control the contact and separation of the conductive spring and the circuit board, thereby reducing the accidental contact rate.

Benefits of technology

It effectively reduces the false touch rate of the button module, ensures the accuracy and reliability of button operation, and avoids false touches caused by slow pressing or object squeezing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120149092B_ABST
    Figure CN120149092B_ABST
Patent Text Reader

Abstract

The application discloses a key module, a key signal recognition method and an electronic device, and belongs to the technical field of electronic devices. The key module comprises a key, a conductive spring, a circuit board and a buffer assembly. The buffer assembly comprises a buffer layer and an inflatable fluid. The buffer layer is arranged on the side of the circuit board away from the key. The buffer layer has a sealed accommodating cavity, and the inflatable fluid is filled into the accommodating cavity. When the key module is in a second state, the conductive spring bears the pressing of the key and generates a shear rate greater than or equal to a first rate, the viscosity of the inflatable fluid is greater than or equal to a first viscosity, the conductive spring deforms in a direction away from the key and is in contact with the circuit board to conduct electricity. When the key module is in a third state, the conductive spring bears the pressing of the key and generates a shear rate less than the first rate, the viscosity of the inflatable fluid is less than the first viscosity, the conductive spring is spaced from the conductive circuit of the circuit board, and the conductive spring deforms in a direction away from the key together with the circuit board.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic equipment technology, specifically relating to a button module, a button signal recognition method, and an electronic device. Background Technology

[0002] To improve the utilization of buttons in electronic devices, different number of presses of the same button can trigger different responses from the electronic device. For example, a single press of the power button can lock the screen, while pressing the power button five times consecutively can trigger emergency contact and send an emergency call.

[0003] In related technologies, buttons, conductive springs, and circuit boards are arranged sequentially. Pressing the button causes it to push the conductive spring into contact with the circuit board, enabling the button module to emit an electrical signal. However, when a user holds the electronic device or an object squeezes it, the button may be repeatedly pressed, causing the conductive spring and circuit board to mis-touch. This results in a high rate of false touches in the button module of these technologies, causing the electronic device to perform operations not intended by the user. Summary of the Invention

[0004] The purpose of this application is to provide a button module, a button signal recognition method, and an electronic device that can solve the technical problem of high false touch rate of button modules.

[0005] In a first aspect, embodiments of this application provide a button module, including:

[0006] The buttons, conductive springs, and circuit board are arranged sequentially along the first direction;

[0007] A buffer assembly includes a buffer layer and an expandable fluid. The buffer layer is disposed on the side of the circuit board away from the button. The buffer layer has a sealed receiving cavity. The expandable fluid is filled into the receiving cavity. The expandable fluid and the conductive spring are spaced apart along a first direction.

[0008] When the button module is in the first state, the conductive spring does not bear the button press, and the conductive spring is spaced apart from the conductive lines of the circuit board.

[0009] When the button module is in the second state, the conductive spring is subjected to button pressing and generates a shear rate greater than or equal to the first rate. The viscosity of the expansive fluid is greater than or equal to the first viscosity. The conductive spring deforms in the direction away from the button and makes contact with the conductive lines of the circuit board to conduct electricity.

[0010] When the button module is in the third state, the conductive spring is subjected to button pressure and generates a shear rate less than the first rate. The viscosity of the expansive fluid is less than the first viscosity. The conductive spring is spaced from the conductive lines of the circuit board. The conductive spring and the circuit board deform together in the direction away from the button.

[0011] Secondly, embodiments of this application provide a method for recognizing key signals, applied to an electronic device having a key module as provided in the first aspect. The method includes:

[0012] If the button module is detected to output n first press signals within a first preset time period, calculate the interval between the first press signals with adjacent output times, where n≥2;

[0013] Whether to respond to n first press signals is determined based on the duration of the first press signal and the interval duration.

[0014] Thirdly, embodiments of this application provide an electronic device, which includes a processor, a memory, and a button module as provided in the first aspect. The memory stores programs or instructions that can run on the processor, and when the programs or instructions are executed by the processor, they implement the steps of the method as provided in the first aspect.

[0015] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, and when the program or instructions are executed by a processor, they implement the steps of the method as described in the second aspect.

[0016] Fifthly, embodiments of this application provide a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method as described in the second aspect.

[0017] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method as described in the second aspect.

[0018] In this embodiment, by setting the expandable fluid and the conductive spring to be spaced apart along a first direction, the expandable fluid can exhibit a solid-like state at a shear rate greater than or equal to a first rate. The expandable fluid supports the circuit board and fixes it, causing the conductive spring to deform away from the button and make contact with the conductive lines of the circuit board, thereby outputting an electrical signal for the user's rapid button press. Alternatively, the expandable fluid can exhibit a liquid-like state at a shear rate less than the first rate, with the expandable fluid, buffer layer, circuit board, and conductive spring deforming together, so that the conductive spring and the conductive lines of the circuit board are not connected. Thus, the signal output of the button module is not affected by the user's slow button press or the continuous pressure of an object on the button, reducing the false touch rate of the button module. Attached Figure Description

[0019] Figure 1 This is a cross-sectional structural diagram of a button module in a first state provided in one embodiment of this application;

[0020] Figure 2 This is a cross-sectional structural diagram of a button module in a second state provided in one embodiment of this application;

[0021] Figure 3 This is a cross-sectional structural diagram of a button module in a third state provided in one embodiment of this application;

[0022] Figure 4 This is a flowchart illustrating a method for recognizing key signals provided in one embodiment of this application;

[0023] Figure 5 This is a schematic diagram of the structure of a key signal recognition device provided in another embodiment of this application;

[0024] Figure 6 This is a schematic diagram of the structure of an electronic device provided in another embodiment of this application;

[0025] Figure 7 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Attached image description:

[0027] 1. Button; 11. Acupressure point; 12. Conductive part; 13. Engaging part; 2. Conductive spring; 3. Circuit board; 4. Buffer assembly; 41. Buffer layer; 411. First buffer sub-layer; 4111. First buffer part; 4112. Second buffer part; 412. Second buffer sub-layer;

[0028] 42. Receiving cavity; 43. Expandable fluid; 44. Snap-fit;

[0029] X, the first direction. Detailed Implementation

[0030] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0031] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0032] The button module, button signal recognition method, and electronic device provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0033] Please see Figure 1 , Figure 2 and Figure 3 This application provides a button module, which includes a button 1, a conductive spring 2 and a circuit board 3 arranged sequentially along a first direction X, and a buffer assembly 4. The buffer assembly 4 includes a buffer layer 41 and an expandable fluid 43. The buffer layer 41 is disposed on the side of the circuit board 3 away from the button 1. The buffer layer 41 has a sealed receiving cavity 42. The expandable fluid 43 is filled into the receiving cavity 42. The expandable fluid 43 and the conductive spring 2 are spaced apart along the first direction X.

[0034] When the button module is in the first state, the conductive spring 2 is not pressed by the button 1, and the conductive spring 2 and the conductive lines of the circuit board 3 are spaced apart.

[0035] When the button module is in the second state, the conductive spring 2 is pressed by the button 1 and generates a shear rate greater than or equal to the first rate. The viscosity of the expansive fluid 43 is greater than or equal to the first viscosity. The conductive spring 2 deforms in the direction away from the button 1 and contacts the circuit board 3 to conduct electricity.

[0036] When the button module is in the third state, the conductive spring 2 is pressed by the button 1 and generates a shear rate less than the first rate. The viscosity of the expansive fluid 43 is less than the first viscosity. The conductive spring 2 is separated from the conductive line of the circuit board 3. The conductive spring 2 and the circuit board 3 deform together in the direction away from the button 1.

[0037] The button module can be installed in electronic devices such as mobile phones, tablets, laptops, PDAs, and in-vehicle devices; this application does not impose specific limitations on its implementation. The button module can serve as the input module of the entire device or as one of multiple input units within an input module. The input module can be a keyboard, a screen-off control button, a volume control button, a brightness control button, etc. Multiple input units can be multiple buttons located on a keyboard. The following explanation uses a button module installed in a mobile phone, with the button module being the power button, as an example.

[0038] Button 1 is the component for user interaction with the button module. Users can operate the button module through button 1 to facilitate the operation of electronic devices.

[0039] The conductive spring 2 is partially or entirely made of conductive material, and it is positioned opposite to the conductive lines in the circuit board 3. Under external force, the conductive spring 2 deforms, and the deformed spring 2 contacts the conductive lines on the circuit board 3 to form a circuit. The circuit board 3 then outputs a changing electrical signal. A processor connected to the circuit board 3 analyzes this electrical signal to execute the corresponding operation. The conductive spring 2 can be a circular metal spring, a cross-shaped metal spring, a triangular metal spring, an elliptical metal spring, etc.

[0040] The buffer layer 41 is made of a material with good deformation capacity and elasticity, such as polyurethane or silicone. The buffer layer 41 has a sealed receiving cavity 42, which allows the expansive fluid 43 to fill the receiving cavity 42 without leakage.

[0041] The expansive fluid 43 is a non-Newtonian fluid. The viscosity of the expansive fluid 43 increases with increasing shear rate. When the shear rate applied to the expansive fluid 43 increases, its viscosity increases significantly. Under a constant shear rate, the viscosity of the expansive fluid 43 does not change with time.

[0042] Please see Figure 1 When the user does not press button 1 or no object squeezes button 1, the button module is in the first state. The conductive spring 2 is not pressed by button 1, and the conductive spring 2 is spaced apart from the circuit board 3, so that the conductive spring 2 and the circuit board 3 are not conductive.

[0043] Please see Figure 2 When the user presses button 1 quickly, the button module is in the second state. The conductive spring 2 withstands the pressure of button 1 and generates a shear rate greater than or equal to the first rate. The viscosity of the expansive fluid 43 is greater than or equal to the first viscosity, causing the expansive fluid 43 to exhibit a solid-like state. The expansive fluid 43 and the buffer layer 41 can effectively support the circuit board 3 to remain fixed, causing the conductive spring 2 to deform in the direction away from button 1 and make contact with the conductive lines of the circuit board 3.

[0044] Please see Figure 3 When the user slowly presses button 1 or an object slowly squeezes button 1, the button module is in the third state. The conductive spring 2 is pressed by button 1 and generates a shear rate less than the first rate. The viscosity of the expansive fluid 43 is less than the first viscosity, so that the expansive fluid 43 exhibits a liquid-like state. The expansive fluid 43 and the buffer layer 41 deform together under the force transmitted from button 1. The circuit board 3 loses the support of the expansive fluid 43. The conductive spring 2 and the circuit board 3 deform together in the direction away from button 1, so that the conductive spring 2 and the conductive line of the circuit board 3 do not contact each other and the conductive spring 2 and the circuit board 3 are not conductive.

[0045] The viscosity of the expandable fluid 43 can be adjusted by changing the composition of the expandable fluid 43, so that the expandable fluid 43 can exhibit a solid-like state at a shear rate greater than or equal to the first rate, and a liquid-like state at a shear rate less than the first rate.

[0046] In this application, by setting the expandable fluid 43 and the conductive spring 2 at intervals along the first direction X, the expandable fluid 43 can exhibit a solid-like state at a shear rate greater than or equal to the first rate. The expandable fluid 43 supports the circuit board 3 and fixes it, so that the conductive spring 2 deforms away from the button 1 and makes contact with the conductive lines of the circuit board 3 to conduct electricity, thereby outputting an electrical signal for the user's operation of pressing the button 1 quickly; the expandable fluid 43 can also exhibit a liquid-like state at a shear rate less than the first rate. The expandable fluid 43, the buffer layer 41, the circuit board 3, and the conductive spring 2 deform together, so that the conductive spring 2 and the conductive lines of the circuit board 3 are not connected, so that the signal output of the button module is not affected by the user's slow pressing of the button 1 or the continuous pressure of the object on the button 1, reducing the false touch rate of the button module.

[0047] In one possible implementation, the button 1 includes a pressure point 11 and a conductive part 12 connected together. The conductive part 12 is disposed between the pressure point 11 and the conductive spring 2. The orthographic projection of the conductive part 12 along the first direction X onto the buffer layer 41 at least partially overlaps with the orthographic projection of the expansive fluid 43 along the first direction X onto the buffer layer 41.

[0048] The acupressure part 11 has a surface for contact with the user, who applies force to the button 1 by contacting this surface. The acupressure part 11 may be plate-shaped.

[0049] The conductive part 12 can be integrally formed with the acupressure part 11, or the conductive part 12 can be pre-prepared and then assembled onto the acupressure part 11. The conductive part 12 is used to transmit the force received by the acupressure part 11 to the conductive spring 2. The orthographic projection of the conductive part 12 along the first direction X onto the buffer layer 41 at least partially overlaps with the orthographic projection of the expansive fluid 43 along the first direction X onto the buffer layer 41, so that when the conductive part 12 rapidly presses the conductive spring 2, the conductive spring 2 can make stable contact with the portion of the circuit board 3 effectively supported by the expansive fluid 43.

[0050] Optionally, the orthographic projection of the conductive part 12 along the first direction X onto the buffer layer 41 is located within the orthographic projection of the expansive fluid 43 along the first direction X onto the buffer layer 41, so that the entire deformed conductive spring 2 is in stable contact with the portion of the circuit board 3 effectively supported by the expansive fluid 43.

[0051] The button 1 may include multiple conductive parts 12, which are connected to a finger pressure part 11. Each conductive part 12 corresponds to a different conductive spring 2, and each conductive spring 2 corresponds to a different conductive line on the circuit board 3. Thus, when the entire button 1 is pressed quickly, each conductive part 12 can deform its corresponding conductive spring 2, allowing each conductive spring 2 to contact a different conductive line on the circuit board 3. When a portion of the button 1 is pressed quickly, a single conductive part 12 can deform its corresponding conductive spring 2, allowing that single conductive spring 2 to contact its corresponding conductive line.

[0052] In one possible implementation, the buffer layer 41 includes at least two buffer sub-layers stacked along the first direction X, and one or more of the at least two buffer sub-layers form a receiving cavity 42.

[0053] The buffer layer 41 may have multiple buffer sublayers, and different buffer sublayers may be made of different materials so that the buffer layer 41 has different physical and chemical characteristics. The receiving cavity 42 may be formed by hollowing out one buffer sublayer or by hollowing out multiple buffer sublayers together.

[0054] In one possible implementation, at least two buffer sublayers include a first buffer sublayer 411 and a second buffer sublayer 412. The first buffer sublayer 411 includes a first buffer portion 4111 and a second buffer portion 4112 connected to each other. A receiving cavity 42 is formed in the first buffer portion 4111. The second buffer sublayer 412 is stacked on the side of the second buffer portion 4112 near the button 1.

[0055] The materials of the first buffer sublayer 411 and the second buffer sublayer 412 can be polyurethane prepared using different processes. Optionally, the rebound rate of the first buffer sublayer 411 is less than that of the second buffer sublayer 412, so that the first buffer sublayer 411 can adapt to deform along with the expandable fluid 43 in a liquid-like state, and after the pressure applied to the button 1 is removed, the first buffer sublayer 411 adapts to the expansionable fluid 43 switching from a liquid-like state to a solid-like state.

[0056] In one possible implementation, the second buffer portion 4112 is disposed around the first buffer portion 4111, and the second buffer sub-layer 412 is stacked on the side of the second buffer portion 4112 near the button 1, so that the compressed circuit board 3 can directly act on the first buffer sub-layer 411, and the part of the button 1 that does not contact the conductive spring 2 can directly act on the second buffer sub-layer 412.

[0057] In one possible implementation, the first buffer portion 4111 protrudes towards the button 1, the thickness of the first buffer portion 4111 along the first direction X is H1, and the thickness of the second buffer portion 4112 along the first direction X is H2, where H1 > H2.

[0058] The surface of the first buffer sub-layer 411 facing away from the button 1 can be flat, so that when the button module is installed in the electronic device, the first buffer sub-layer 411 can be supported on other structures of the electronic device. Other structures can be the mid-frame, motherboard, etc. of the electronic device.

[0059] The first buffer portion 4111 protrudes towards the button 1 relative to the surface of the second buffer portion 4112 near the button 1, and H1 > H2 is set to ensure that the first buffer portion 4111 has sufficient thickness to form the receiving cavity 42, and the sidewalls surrounding the receiving cavity 42 have sufficient thickness so that the first buffer portion 4111 can deform along with the expansive fluid 43, avoiding the first buffer portion 4111 from rupturing under pressure and causing the expansive fluid 43 to leak. The sufficient thickness of the sidewalls surrounding the receiving cavity 42 also allows the first buffer portion 4111 to recover its shape after the external force is removed, and the recovered shape of the first buffer portion 4111 drives the expansive fluid 43 in the receiving cavity 42 to recover its shape.

[0060] In one possible implementation, the button 1 further includes a locking part 13 connected to the acupressure part 11, and the buffer assembly 4 further includes a buckle 44 disposed on the buffer layer 41, with the locking part 13 engaging with the buckle 44.

[0061] The engaging part 13 engages with the latch 44 to ensure a stable connection between the button 1 and the buffer layer 41. When the button module is in the third state, the conductive spring 2 is pressed by the button 1 and generates a shear rate lower than the first rate. The viscosity of the expansive fluid 43 is lower than the first viscosity. The conductive spring 2 and the circuit board 3 deform together, and the engaging part 13 compresses the buffer layer 41, allowing the user to feel a damping sensation.

[0062] Please see Figure 4 This application provides a method for use in an electronic device, the electronic device having a button module as described above, the method comprising:

[0063] S100, if the button module outputs n first press signals within a first preset time period, calculate the interval between the first press signals with adjacent output times, where n≥2;

[0064] S200 determines whether to respond to n first press signals based on the duration of the first press signal and the interval duration.

[0065] Electronic devices can be mobile phones, tablets, laptops, handheld computers, in-vehicle electronic devices, mobile internet devices (MID), augmented reality (AR) / virtual reality (VR) devices, robots, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc. They can also be servers, network attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. The embodiments in this application do not impose specific limitations.

[0066] The button module can serve as the input module of the entire device or as one of multiple input units within an input module. The input module can be a keyboard, screen-off control button, volume control button, brightness control button, etc. Multiple input units can be multiple buttons located on the keyboard. The circuit board of the button module is electrically connected to the processor of the electronic device. When the conductive contacts in the button module are electrically connected to the circuit board, the button module outputs changing electrical signals to the processor. These changing electrical signals include a first press signal and a second press signal. The first press signal and the second press signal can be a high-level signal and a low-level signal, respectively, in the output electrical signals.

[0067] Optionally, when the conductive spring in the button module is electrically connected to the conductive line of the circuit board, the button module outputs a low-level signal to the processor; when the conductive spring in the button module is disconnected from the conductive line of the circuit board, the button module outputs a high-level signal to the processor. If the user presses the button quickly three times, the conductive spring and the conductive line of the circuit board will sequentially connect and disconnect three times, causing the button module to output alternating low-level and high-level signals to the processor.

[0068] Optionally, when the conductive spring in the button module is electrically connected to the conductive line of the circuit board, the button module outputs a high-level signal to the processor; when the conductive spring in the button module is disconnected from the circuit board, the button module outputs a low-level signal to the processor. If the user presses the button quickly three times, the conductive spring and the conductive line of the circuit board will sequentially connect and disconnect three times, causing the button module to output alternating high-level and low-level signals to the processor.

[0069] The first preset duration and n value are pre-set values ​​to identify multiple button presses by the user within a short period of time. Optionally, the first preset duration is 3s to 4s, and n is 5.

[0070] When the first press signal is a high-level signal, n high-level signals are output sequentially in time. The n high-level signals are sorted according to their output time. The interval between the high-level signal at position P2 and the high-level signal at position P1 is calculated, the interval between the high-level signal at position P3 and the high-level signal at position P2 is calculated, and so on, until the interval between the high-level signal at position Pn-1 and the high-level signal at position Pn is calculated. This gives the interval between press signals with adjacent output times.

[0071] The duration of the first press signal and the interval between adjacent press signals reflect the duration and interval of the user's button press. If the interval is within a reasonable range, the button press is considered a genuine user intention; if the interval is too long or too short, the button press is considered a mis-press. Similarly, if the duration is within a reasonable range, the button press is considered a genuine user intention; if the duration is too long or too short, the button press is considered a mis-press.

[0072] In this application, by setting whether to respond to n first press signals based on the duration and interval of the first press signal, it is possible to determine whether the press signal is a false touch by outputting the interval and duration of the press signal, thereby reducing the false touch rate of the button module.

[0073] In one possible implementation, S200 includes:

[0074] S210, when the duration of m consecutive intervals is greater than the second preset duration, determine the adjacent first press signals that are calculated in pairs for the duration of m intervals, and calculate the average value based on the first press signal with the earlier output time among the adjacent first press signals, m≤n;

[0075] S220, responds to n first press signals when the average value is greater than or equal to a preset press threshold.

[0076] The m-value and preset press threshold are pre-set values ​​to identify the m rapid presses of the button module by the user within a short period of time. Optionally, m is 3. When the first press signal is a high-level signal, the preset press threshold is 270ms to 300ms. When the first press signal is a low-level signal, the preset press threshold is 200ms to 230ms.

[0077] For example, when the first press signal is a high-level signal, the preset press threshold is 280ms. The first press signals H1, H2, and H3 are output sequentially, T... H2-> T H1 ≤280ms, T H3-> T H2 ≤280ms, T H4-> T H3 If the time is ≤280ms, then the press input corresponding to the first press signals H1, H2, and H3 is considered as three rapid button presses. Calculate the average value of H1, H2, and H3, and compare this average value with a preset press threshold. If the average value is greater than or equal to the preset press threshold, respond to n first press signals; if the average value is less than the preset press threshold, do not respond to n first press signals.

[0078] When the button module is the power button, responding to n first press signals can trigger an emergency call.

[0079] In some embodiments, S220 includes:

[0080] S221, Detecting whether electronic devices are wearing protective cases;

[0081] S222, When the electronic device is not wearing a protective case, if the average value is greater than or equal to the first preset pressing threshold, it responds to n first pressing signals;

[0082] S223, When the electronic device is wearing a protective case, if the average value is greater than or equal to the second preset pressing threshold, it responds to n first pressing signals;

[0083] The first preset press threshold is set based on the duration of the press signal output by the button module when the electronic device is not wearing a protective case.

[0084] The second preset press threshold is set based on the duration of the press signal output by the button module when the electronic device is wearing a protective case, according to the user pressing the button module.

[0085] A protective case is a casing that is fitted over the outside of an electronic device to protect it from external damage. The casing can also have different patterns to enhance the appearance of the electronic device.

[0086] Because protective cases on electronic devices may partially obstruct buttons or hinder button presses to varying degrees, users' pressing habits differ depending on whether the device is protected or not. Users can pre-enter first and / or second preset button press thresholds based on their button press habits. Then, by determining whether the device is protected, the calculated average value is compared to the corresponding preset button press thresholds for that state, thereby improving the recognition of accidental touches and reducing the accidental touch rate.

[0087] In S221, a sensor installed on the electronic device can be used to detect whether the electronic device is wearing a protective case. The sensor can be a specific absorption rate sensor.

[0088] In some embodiments, prior to S220, the following is included:

[0089] Receive the first input;

[0090] Output the first prompt message, which is used to prompt the user to press the button module n times in succession when the electronic device is wearing a protective case;

[0091] Record n ​​third press signals output by the button module. The third press signals include low-level signals and high-level signals. Set the average value of the low-level signals or the average value of the high-level signals in the third press signals to a second preset press threshold.

[0092] Output a second prompt message, which prompts the user to press the button module n times consecutively when the electronic device is not wearing a protective case.

[0093] Record n ​​fourth press signals output by the button module. The fourth press signals include low-level signals and high-level signals. Set the average value of the low-level signals or the average value of the high-level signals in the fourth press signals to a second preset press threshold.

[0094] The first and second prompts can be text or image information displayed on a screen, or they can be voice information played through a speaker, vibration information output by a vibration module, etc.

[0095] It should be noted that the key signal recognition method provided in this application embodiment can be executed by a key signal recognition device. This application embodiment uses a key signal recognition device executing the key signal recognition method as an example to illustrate the key signal recognition device provided in this application embodiment.

[0096] Figure 5This is a schematic diagram of the structure of a key signal recognition device provided in another embodiment of this application, as shown below. Figure 5 As shown, the device for recognizing the key signal may include:

[0097] As mentioned above, button module 501;

[0098] The calculation module 502 is used to calculate the interval between the first press signals with adjacent output times when the button module 501 outputs n first press signals within a first preset time period, where n≥2;

[0099] The response module 503 is used to determine whether to respond to n first press signals based on the duration of the first press signal and the interval duration.

[0100] In an optional example, response module 503 includes:

[0101] The first calculation unit is used to determine adjacent first press signals that are paired and calculated for m consecutive intervals when the duration of each interval is greater than the second preset duration, and to calculate the average value of the first press signal with the earlier output time among the adjacent first press signals, where m≤n;

[0102] The first response unit is used to respond to n first press signals when the average value is greater than or equal to a preset press threshold.

[0103] In another optional example, the first response unit is also used for:

[0104] Check if electronic devices are wearing protective cases;

[0105] When the electronic device is not wearing a protective case, it responds to n first press signals if the average value is greater than or equal to the first preset press threshold.

[0106] When the electronic device is wearing a protective case, it responds to n first press signals if the average value is greater than or equal to the second preset press threshold.

[0107] The first preset press threshold is set according to the duration of the press signal output by the button module 501 when the electronic device is not wearing a protective case.

[0108] The second preset press threshold is set based on the duration of the press signal output by the button module 501 when the electronic device is wearing a protective case, according to the user pressing the button module 501.

[0109] The key signal recognition device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0110] The button signal recognition device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0111] The key signal recognition device provided in this application embodiment can achieve Figure 3 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0112] Optionally, such as Figure 6 As shown, this application embodiment also provides an electronic device 100, including a processor 101, a memory 102, and a button module as described above. A program or instruction stored in the memory 102 and executable on the processor 101 is provided. When the program or instruction is executed by the processor 101, it implements the various processes of the above-described button signal recognition method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0113] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.

[0114] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0115] The electronic device 1000 includes, but is not limited to, components such as: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, and processor 710.

[0116] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 710 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 7 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0117] The processor 710 is used to calculate the interval between the first press signals with adjacent output times when the button module outputs n first press signals within a first preset time period, where n≥2.

[0118] The processor 710 is used to determine whether to respond to n first press signals based on the duration of the first press signal and the interval duration.

[0119] In an optional example, the processor 710 is configured to determine adjacent first press signals with a duration of m consecutive intervals that are all greater than a second preset duration, and calculate the average value based on the first press signal with the earlier output time among the adjacent first press signals, where m ≤ n;

[0120] The processor 710 is used to respond to n first press signals when the average value is greater than or equal to a preset press threshold.

[0121] In another optional example, processor 710 detects whether the electronic device is wearing a protective case;

[0122] When the electronic device is not wearing a protective case, the processor 710 responds to n first press signals if the average value is greater than or equal to a first preset press threshold.

[0123] When the electronic device is wearing a protective case, the processor 710 responds to n first press signals if the average value is greater than or equal to a second preset press threshold.

[0124] The first preset press threshold is set based on the duration of the press signal output by the button module when the electronic device is not wearing a protective case.

[0125] The second preset press threshold is set based on the duration of the press signal output by the button module when the electronic device is wearing a protective case, according to the user pressing the button module.

[0126] It should be understood that, in this embodiment, the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042. The GPU 7041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0127] The memory 709 can be used to store software programs and various data. The memory 709 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 709 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 709 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0128] Processor 710 may include one or more processing units; optionally, processor 710 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 710.

[0129] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described key signal recognition method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0130] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0131] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described key signal recognition method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0132] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0133] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the key signal recognition method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0134] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0135] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0136] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A button module, characterized in that, The button module includes: The buttons, conductive springs, and circuit board are arranged sequentially along the first direction; A buffer assembly includes a buffer layer and an expandable fluid. The buffer layer is disposed on the side of the circuit board opposite to the button. The buffer layer has a sealed receiving cavity. The expandable fluid is filled into the receiving cavity. The expandable fluid and the conductive spring are spaced apart along the first direction. When the button module is in the first state, the conductive spring does not bear the button press, and the conductive spring is spaced apart from the conductive lines of the circuit board; When the button module is in the second state, the conductive spring is subjected to the button press and generates a shear rate greater than or equal to the first rate. The viscosity of the expansive fluid is greater than or equal to the first viscosity. The conductive spring deforms in the direction away from the button and makes contact with the conductive lines of the circuit board to conduct electricity. When the button module is in the third state, the conductive spring is subjected to the button press and generates a shear rate less than the first rate. The viscosity of the expansive fluid is less than the first viscosity. The conductive spring is spaced apart from the conductive lines of the circuit board. The conductive spring and the circuit board deform together in a direction away from the button.

2. The button module according to claim 1, characterized in that, The button includes a pressure point and a conductive part connected together. The conductive part is disposed between the pressure point and the conductive spring. The orthographic projection of the conductive part along the first direction onto the buffer layer at least partially overlaps with the orthographic projection of the expansive fluid along the first direction onto the buffer layer.

3. The button module according to claim 1, characterized in that, The buffer layer includes at least two buffer sub-layers stacked along the first direction, and one or more of the at least two buffer sub-layers form the receiving cavity.

4. The button module according to claim 3, characterized in that, The at least two buffer sublayers include a first buffer sublayer and a second buffer sublayer. The first buffer sublayer includes a first buffer portion and a second buffer portion connected together. The receiving cavity is formed in the first buffer portion. The second buffer sublayer is stacked on the side of the second buffer portion near the button.

5. The button module according to claim 4, characterized in that, The first buffer portion protrudes in the direction close to the button, the thickness of the first buffer portion along the first direction is H1, and the thickness of the second buffer portion along the first direction is H2, where H1 > H2.

6. The button module according to claim 2, characterized in that, The button also includes a locking part connected to the acupressure part, and the buffer assembly also includes a buckle disposed on the buffer layer, wherein the locking part engages with the buckle.

7. A method for recognizing key signals, characterized in that, Applied to an electronic device having a button module as described in any one of claims 1 to 6, the method comprises: If the button module is detected to output n first press signals within a first preset time period, the interval between the first press signals with adjacent output times is calculated, where n≥2; Whether to respond to the n first press signals is determined based on the duration of the first press signal and the interval duration.

8. The method for recognizing key signals according to claim 7, characterized in that, The step of determining whether to respond to the n first press signals based on the duration of the first press signal and the interval duration includes: If the duration of each of the m consecutive intervals is greater than the second preset duration, the adjacent first press signals with the duration of the m intervals are determined to be calculated in pairs, and the average value is calculated based on the first press signal with the earlier output time among the adjacent first press signals, where m≤n; If the average value is greater than or equal to a preset pressure threshold, the n first pressure signals are responded to.

9. The method for recognizing key signals according to claim 8, characterized in that, The step of responding to the n first press signals when the average value is greater than or equal to a preset press threshold includes: Detect whether the electronic device is wearing a protective case; When the electronic device is not wearing a protective case, it responds to the n first press signals if the average value is greater than or equal to a first preset press threshold. When the electronic device is wearing a protective case, it responds to the n first press signals if the average value is greater than or equal to the second preset press threshold. Wherein, the first preset press threshold is set according to the duration of the press signal output by the button module when the electronic device is not wearing a protective case; The second preset press threshold is set according to the duration of the press signal output by the button module when the electronic device is wearing a protective case.

10. An electronic device, characterized in that, The device includes a processor, a memory, and a key module as described in any one of claims 1 to 6, wherein the memory stores a program or instructions that can run on the processor, and the program or instructions, when executed by the processor, implement the steps of the key signal recognition method as described in any one of claims 7 to 9.

Citation Information

Patent Citations

  • Keyboard

    CN101499379A

  • Key protection device and electronic equipment

    CN217008969U