Terminal equipment key, key module control method, electronic equipment and storage medium

By combining the design of the capacitive flexible circuit board and the pressure -sensitive flexible circuit board in the mobile terminal button, the performance differences of existing keys in the case of high humidity environment and user's fingers are solved, and a better user experience and terminal Device key performance.

CN119376576APending Publication Date: 2025-01-28ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411526111.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The existing mobile terminal keys have shortcomings in performance, user experience and waterproof performance, especially in high humidity environments or when users point out sweat, the keys have poor responsiveness.

Method used

The combination of the combination of the key cover, the capacitor flexible circuit board and the pressure -sensitive flexible circuit board, the capacitive flexible circuit board is connected to the pressure -sensitive flexible circuit board, and the working method of controlling the key module according to the application status is determined. Performance and user experience of keys.

Benefits of technology

This design can reduce user fatigue when it does not need to operate, and maintains high performance in high humidity environment or sweating, significantly improves the performance and user experience of the terminal equipment buttons.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376576A_ABST
    Figure CN119376576A_ABST
Patent Text Reader

Abstract

The invention discloses a terminal equipment key, a key module control method, electronic equipment and a storage medium, belongs to the technical field of mobile terminals, and is used for improving the performance of the terminal equipment key. The terminal equipment key comprises a key cover plate, a capacitor flexible circuit board and a pressure-sensitive flexible circuit board, one surface of the capacitor flexible circuit board is connected with one surface of the key cover plate, and the other surface of the capacitor flexible circuit board is connected with the pressure-sensitive flexible circuit board.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of mobile terminals, and specifically relates to a terminal device button, a button module control method, an electronic device and a storage medium. Background Art

[0002] There are currently three main implementation schemes for mobile terminal buttons (such as game shoulder buttons): ultrasonic shoulder button solution, pressure sensing solution, and capacitive touch solution. The ultrasonic shoulder button solution mainly uses ultrasonic sensors to realize the conversion from physical operation to touch simulation. The ultrasonic shoulder button solution is costly and difficult to process. The pressure sensing solution realizes various function controls by detecting the pressure changes on the surface of the button, but the user experience of the pressure sensing solution is poor. The capacitive touch solution is based on the principle of capacitive sensing. When a finger touches the button, a coupling capacitor is formed between the finger and the conductor layer on the button. The change in this capacitance will be captured by the button sensor, but the capacitive touch solution has poor waterproof performance. When there is water or sweat on the button, the capacitive button will not respond, which will also affect the user experience and the performance of the mobile terminal button. Summary of the invention

[0003] The embodiments of the present application provide a terminal device button, a button module control method, an electronic device and a storage medium, which can solve the problem of poor button performance of a mobile terminal.

[0004] In the first aspect, an embodiment of the present application provides a terminal device button, which includes: a button cover, a capacitive flexible circuit board and a pressure-sensitive flexible circuit board; one side of the capacitive flexible circuit board is connected to one side of the button cover, and the other side of the capacitive flexible circuit board is connected to the pressure-sensitive flexible circuit board.

[0005] In the second aspect, an embodiment of the present application provides a button module control method, the method comprising: determining a capacitance baseline value based on a first capacitance value of a capacitive button module of a terminal device; controlling the button module of the terminal device to operate based on an operating status of a predetermined application in the terminal device and the capacitance baseline value, the button module comprising the capacitive button module and a solid-state button module.

[0006] The third method, an embodiment of the present application provides a button module control device, which includes: a determination module, used to determine a capacitance baseline value according to a first capacitance value of a capacitive button module of a terminal device; a working module, used to control the button module of the terminal device to work according to the running status of a predetermined application in the terminal device and the capacitance baseline value, the button module including the capacitive button module and the solid-state button module.

[0007] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the second aspect.

[0008] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the second aspect are implemented.

[0009] In an embodiment of the present application, the terminal device button includes: a button cover, a capacitive flexible circuit board and a pressure-sensitive flexible circuit board; one side of the capacitive flexible circuit board is connected to one side of the button cover, and the other side of the capacitive flexible circuit board is connected to the pressure-sensitive flexible circuit board. Combining the capacitive flexible circuit board and the pressure-sensitive flexible circuit board allows the user to place his fingers on the buttons when no operation is required, thereby reducing user fatigue. The combination of the capacitive flexible circuit board and the pressure-sensitive flexible circuit board allows the user to use the buttons with high performance in a high humidity environment / sweaty fingers / glove mode, thereby improving the performance of the terminal device buttons. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 It is a structural schematic diagram of a terminal device button provided in an embodiment of the present application; Figure 2 is a schematic diagram of the structure of another terminal device button provided in an embodiment of the present application; Figure 3 This is a schematic diagram of the principle of a key module provided in an embodiment of the present application; Figure 4 It is a flowchart of a key module control method provided in an embodiment of the present application; Figure 5 It is a structural schematic diagram of a key module control device provided in an embodiment of the present application; Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0011] Description of reference numerals: 101-button cover, 102-capacitor flexible circuit board, 103-pressure-sensitive flexible circuit board, 104-cover adhesive, 105-steel sheet. DETAILED DESCRIPTION

[0012] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0013] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0014] In conjunction with the accompanying drawings, the terminal device buttons, button module control method, electronic device and storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0015] Figure 1 A terminal device button provided in an embodiment of the present application is shown, and the terminal device button includes: a button cover 101, a capacitive flexible circuit board 102 and a pressure-sensitive flexible circuit board 103; one side of the capacitive flexible circuit board 102 is connected to one side of the button cover 101, and the other side of the capacitive flexible circuit board 102 is connected to the pressure-sensitive flexible circuit board 103.

[0016] Specifically, the terminal device may be a game console, a controller, a mobile phone, or other device, and the present application embodiment does not specifically limit the terminal device. Figure 1 As shown, the surface layer of the terminal device key is a key cover 101, and the middle layer is a cover adhesive 104. The cover adhesive 104 is used to stick the terminal key as a whole on the middle frame of the terminal device. The terminal key includes a capacitive flexible circuit board 102 (FPC) and a pressure-sensitive flexible circuit board 103 (FPC). Figure 1 As shown, one side of the capacitive flexible circuit board 102 is connected to one side of the key cover 101, and the other side of the capacitive flexible circuit board 102 is connected to the pressure-sensitive flexible circuit board 103. Figure 2 As shown, the capacitive flexible circuit board 102 can be adhered to the key cover plate 101 by adhesive, and the capacitive flexible circuit board 102 and the pressure-sensitive flexible circuit board 103 can be connected together by the steel sheet 105 in the middle.

[0017] In one implementation, the capacitive flexible circuit board 102 is used to obtain a capacitance value when a button of the terminal device is touched.

[0018] Specifically, when a user touches a button of the terminal device, the capacitance value of the button of the terminal device can be obtained through the capacitive flexible circuit board 102, and the terminal device can work according to the obtained capacitance value.

[0019] In one implementation, the pressure-sensitive flexible circuit board 103 is used to obtain a touch pressure value when a button of the terminal device is touched.

[0020] Specifically, when the user touches a button of the terminal device, the touch pressure value when touching the button of the terminal device is obtained through the pressure-sensitive flexible circuit board 103, and the terminal device works according to the obtained touch pressure value.

[0021] In this way, the terminal device button includes: a button cover 101, a capacitive flexible circuit board 102 and a pressure-sensitive flexible circuit board 103; one side of the capacitive flexible circuit board 102 is connected to one side of the button cover 101, and the other side of the capacitive flexible circuit board 102 is connected to the pressure-sensitive flexible circuit board 103. Combining the capacitive flexible circuit board 102 and the pressure-sensitive flexible circuit board 103 allows the user to place his fingers on the buttons when no operation is required, thereby reducing the user's fatigue. The combination of the capacitive flexible circuit board 102 and the pressure-sensitive flexible circuit board 103 allows the user to use the buttons with high performance in a high humidity environment / sweaty fingers / glove mode, thereby improving the terminal device button performance, and the capacitive flexible circuit board 102 and the pressure-sensitive flexible circuit board 103 are directly connected, which can reduce the handshake time between modules.

[0022] Figure 3 A schematic diagram of a key module provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the key module includes a touch panel, which is also the touch panel of the terminal device key. The touch panel connects the solid-state key module and the capacitive key module, and the capacitive key module and the solid-state key module are respectively connected to the application processing module.

[0023] Figure 4 A key module control method provided by an embodiment of the present application is shown, and the method can be executed by a terminal device, wherein the terminal device can be, for example, a game controller or a mobile phone terminal. Figure 3 and Figure 4 The key module control method of the embodiment of the present application is described in detail, and the key module control method includes the following steps: Step 402: Determine a capacitance baseline value according to a first capacitance value of a capacitive button module of a terminal device.

[0024] In the embodiment of the present application, when the terminal device is started, the capacitive key module and the solid-state key module are in an on state. The capacitance baseline value refers to a stable capacitance value or signal level presented by the capacitive key module when there is no touch or the key is not activated. Therefore, when the user touches the terminal device key (touch panel), the capacitive key module of the terminal device will obtain the first capacitance value generated when the user touches the terminal device key, and then determine the capacitance baseline value cap_base based on the first capacitance value.

[0025] Step 404: Control the key module of the terminal device to operate according to the running state of the predetermined application in the terminal device and the capacitance baseline value.

[0026] Specifically, the predetermined application in the terminal device may be an application that determines the performance of the terminal device, such as a game application. When the game application is in the startup state, the terminal device usually uses the performance mode. When the game application is in the shutdown state, the terminal device usually uses the normal mode.

[0027] It should be understood that other applications that can affect the performance of the terminal device can also be used as predetermined applications. The application processing module of the terminal device can control the key module of the terminal device to work according to the running state of the predetermined application in the terminal device and the capacitance baseline value.

[0028] like Figure 3 As shown, the key module includes a capacitive key module and a solid-state key module, wherein the capacitive key module corresponds to Figure 1 The capacitive flexible circuit board shown in the figure corresponds to the solid-state key module Figure 1 The pressure-sensitive flexible circuit board shown in the figure can transmit the capacitance data obtained through the capacitive flexible circuit board to the capacitive button module for processing, and the touch pressure value obtained through the pressure-sensitive flexible circuit board can be transmitted to the solid-state button module for processing. That is, the application processing module of the terminal device can control the operation of the capacitive button module and the solid-state button module according to the running status of the predetermined application in the terminal device and the capacitance baseline value.

[0029] The solid-state button module mainly realizes the processing and execution of different operation modes of solid-state buttons (pressure-sensitive flexible circuit boards). The high control mode is a high-precision mode. In this mode, the solid-state button can realize high-precision touch events. The solid-state button module receives the operation mode instructions from the application processing module in real time. The capacitive button module mainly realizes the processing and execution of different operation modes of capacitive buttons (capacitive flexible circuit boards). The high control mode is a high-precision mode. In this mode, the capacitive button module can realize high-precision touch events. The capacitive button module receives the operation mode instructions from the application processing module.

[0030] The button module control method provided in the embodiment of the present application determines a capacitance baseline value according to a first capacitance value of a capacitive button module of a terminal device; controls the button module of the terminal device to work according to the running state of a predetermined application in the terminal device and the capacitance baseline value; the button module includes the capacitive button module and the solid-state button module; combining the capacitive button module and the solid-state button module allows the user to place his fingers on the buttons when no operation is required, thereby reducing user fatigue; the combination of the capacitive button module and the solid-state button module allows the user to use the buttons with high performance in a high humidity environment / sweaty fingers / glove mode, thereby improving the button performance of the terminal device and the user experience; and by controlling the capacitive button and solid-state button modules of the terminal device to work in a graded manner, the response speed can be improved.

[0031] In one implementation, controlling the key module of the terminal device to operate according to the running state of the predetermined application in the terminal device and the capacitance baseline value includes: According to the running status of the predetermined application in the terminal device, the capacitance baseline value and the touch pressure value obtained by the solid-state key module, the key module is controlled to process the collected second capacitance value and / or pressure data corresponding to the touch pressure value.

[0032] Specifically, the touch pressure value when the user touches the button can be obtained from the pressure-sensitive flexible circuit board of the touch panel through the solid-state button module. Then, the operation status of the predetermined application in the terminal device, the capacitance baseline value and the touch pressure value obtained through the solid-state button module can be used to control the button module to process the pressure data corresponding to the collected second capacitance value and / or touch pressure value. The application processing module of the terminal device actively obtains the original data cap_signal and the capacitance baseline value cap_base of the capacitance button module through IIC, or the capacitance button processing module actively transmits the original data cap_signal and the capacitance baseline value cap_base of the capacitance button processing module to the application processing module, and then obtains the user's finger data cap_diff=Cap_signal-cap_base from the original data Cap_signal and the capacitance baseline value cap_base. The above original data is obtained by converting the second capacitance value. In this way, the control of the capacitance button module and the solid-state button module to work can be realized.

[0033] In one implementation, the control of the button module to process the collected second capacitance value and / or pressure data corresponding to the touch pressure value according to the running state of a predetermined application in the terminal device, the capacitance baseline value and the touch pressure value obtained by the solid-state button module includes: when the running state of the predetermined application is not running, the capacitance baseline value is less than or equal to the first baseline threshold, the touch pressure value is greater than the first pressure threshold and the effective pressure time of the touch pressure value is greater than the first time threshold, controlling the solid-state button module to send a first trigger signal to the capacitive button module; when the original data is greater than the data threshold and the capacitive button module receives the first trigger signal, controlling the capacitive button module to upload the original data, the original data being obtained by converting the second capacitance value.

[0034] Specifically, when the predetermined application is not running, the terminal device is in normal mode. If the capacitance baseline value cap_base is less than or equal to the first baseline threshold value cap_base_ref, the application processing module sends the touch monitoring mode parameters to the capacitance button module through the IIC / SPI2 signal to switch the capacitance button module to the touch monitoring mode.

[0035] At the same time, the application processing module sends the anti-false touch mode parameters to the solid-state button module through the IIC / SPI2 signal. In this mode, the capacitive button module collects the second capacitance value of the capacitive flexible circuit board in real time, and converts the second capacitance value into the original data value after mean filtering / jitter filtering, and makes a preliminary judgment between the original data value and the data threshold. When the original data value is greater than the data threshold and is interpreted as a "touch" of the capacitive flexible circuit board, the capacitive button module waits to receive the first trigger signal (Trig trigger signal) from the solid-state button module in real time.

[0036] The solid-state key module controls the output voltage of the solid-state key pressure resistor power supply PBVS to PBVS_touch, and sets the pressure judgment threshold to the first pressure threshold Vol_touch. When the solid-state key module performs pressure touch event judgment in this mode, when the solid-state key module detects that the current touch pressure value is greater than the first pressure threshold Vol_touch, the solid-state key processing module timing starts, and when the effective touch pressure time is greater than the first time threshold Time_e, the solid-state key processing judges that this is a normal touch event, and the solid-state key module outputs the first trigger signal through the Trig signal, that is, the Trig_touch instruction to the capacitive key module. When the capacitive key module recognizes the effective first trigger signal, the capacitive key module uploads the filtered raw data value cap_signal to the application processing module. In this way, the capacitive key module and the solid-state key module can be coordinated and layered, the response speed can be improved, the parameters of different modes are differentiated, and the touch effect can be improved. The combination of the capacitive key module touch monitoring mode and the solid-state key module anti-mistouch mode can prevent users from accidentally touching the keys. The capacitive key module and the solid-state key module work in combination, allowing users to place their mobile phones on the touch keys when they do not need to operate the game, reducing the user's mobile phone fatigue. It allows users to use touch buttons with high performance even in high humidity environments / sweating hands / glove mode, thereby improving button performance.

[0037] In one implementation, the button module is controlled to process the collected pressure data corresponding to the second capacitance value and / or the touch pressure value according to the running state of the predetermined application in the terminal device, the capacitance baseline value and the touch pressure value obtained by the solid-state button module, including: when the running state of the predetermined application is not running, the capacitance baseline value is greater than the first baseline threshold and less than the second baseline threshold, and the touch pressure value is greater than the first pressure threshold, the solid-state button module is controlled to upload the pressure data; when the capacitance baseline value is less than the third baseline threshold, the capacitance button module is controlled to switch operation.

[0038] Specifically, if the running state of the predetermined application is not running, the terminal device is in normal mode. In this mode, if the capacitance baseline value cap_base is greater than the first baseline threshold value cap_base_ref and less than the second baseline threshold value cap_base_ref_max, the application processing module sets the solid-state key module as the main pressure detection module, and sends the auxiliary liquid monitoring mode parameters to the capacitance key module through the IIC signal. At the same time, the application processing module sends the pressure detection mode parameters to the solid-state key module through the IIC / SPI2 signal. The instruction is the auxiliary liquid monitoring mode, and the touch key processing module converts the collected second capacitance value into the original data value cap_signal.

[0039] In the pressure detection mode, the solid-state button module controls the output voltage of the solid-state button pressure resistor power supply PBVS to PBVS_touch, and sets the pressure judgment threshold to the first pressure threshold Vol_touch. When the solid-state button module performs the first-level pressure touch event judgment in this mode, when the solid-state button module detects that the current touch pressure value is greater than the first pressure threshold Vol_touch, the solid-state button module transmits the pressure data to the application processing module through the IIC / SPI signal. The application processing module receives the pressure data Pressure_signal from the solid-state button module in real time, and the application processing module further determines whether the data is a normal touch event. If so, the application processing module executes the corresponding response event, otherwise it is determined to be abnormal data and discards the data. At the same time, when the capacitive button module detects that the capacitance baseline value cap_base is less than the third baseline threshold cap_base_ref-cap_base_offset, the capacitive button module sends the touch monitoring mode to the application processing module through the IIC signal, and then controls the capacitive button module to switch to the touch monitoring mode. In this way, the working mode combination of the capacitive button module and the solid-state button module can be realized, and the coordination and layered processing of the capacitive button module and the solid-state button module can be realized, the response speed can be improved, and the parameters of different modes can be differentiated to improve the touch effect. The combination of the capacitive button module and the solid-state button module allows users to place their mobile phones on the touch buttons when they do not need to operate the game, reducing the user's mobile phone fatigue. It allows users to use the touch buttons with high performance in high humidity environments / sweating hands / glove mode, improving button performance.

[0040] In one implementation, the method controls the button module to process the collected second capacitance value and / or pressure data corresponding to the touch pressure value according to the running state of a predetermined application in the terminal device, the capacitance baseline value and the touch pressure value obtained by the solid-state button module, including: when the running state of the predetermined application is not running, the capacitance baseline value is greater than or equal to the second baseline threshold, and the touch pressure value is greater than the first pressure threshold, controlling the solid-state button module to upload the pressure data, and the capacitance button module is in a disabled state.

[0041] Specifically, if the running state of the predetermined application is not running, the terminal device is in normal mode. In this mode, if the capacitance baseline value cap_base is greater than the second baseline threshold value cap_base_ref_max, the application processing module sets the solid-state button module to the pressure monitoring mode, and controls the capacitance button module to be in a disabled state through the IIC signal. At the same time, the application processing module sends the pressure monitoring mode parameters to the solid-state button module through the IIC / SPI2 signal. In this mode, the solid-state button module controls the output voltage of the solid-state button pressure resistor power supply PBVS to PBVS_touch, and sets the pressure judgment threshold to the first pressure Vol_touch. When the solid-state button module performs the first-level pressure touch event judgment in this mode, when the solid-state button module detects that the current touch pressure value is greater than the set first pressure threshold value Vol_touch, the solid-state button module uploads the pressure data to the application processing module through the IIC / SPI signal. At this time, the capacitance button module is in a disabled state, and it only starts working again when the application calls the solid-state button module and the capacitance button module. In this way, the working mode combination of the capacitive button module and the solid-state button module can be realized, and the coordination and layered processing of the capacitive button module and the solid-state button module can be realized, the response speed can be improved, and the parameters of different modes can be differentiated to improve the touch effect. The combination of the capacitive button module and the solid-state button module allows users to place their mobile phones on the touch buttons when they do not need to operate the game, reducing the user's mobile phone fatigue. It allows users to use the touch buttons with high performance in high humidity environments / sweating hands / glove mode, improving button performance.

[0042] In one implementation, the control of the button module to process the collected second capacitance value and / or pressure data corresponding to the touch pressure value according to the running state of the predetermined application in the terminal device, the capacitance baseline value and the touch pressure value obtained by the solid-state button module includes: when the running state of the predetermined application is running, the capacitance baseline value is less than or equal to the first baseline threshold, the touch pressure value is greater than the second pressure threshold and the effective pressure time of the touch pressure value is greater than the second time threshold, controlling the solid-state button module to upload a second trigger signal; when the effective pressure time of the touch pressure value is less than or equal to the second time threshold, controlling the solid-state button module to upload a third trigger signal; when the capacitance button module receives the third trigger signal, controlling the capacitance button module to upload the original data value, wherein the original data value is obtained by converting the second capacitance value.

[0043] Specifically, when the running status of the predetermined application is running, it means that the terminal device is in performance mode. The application processing module of the terminal device can actively obtain the original data cap_signal and the capacitance baseline value cap_base of the capacitive button module through IIC, or the capacitive button module actively uploads the original data cap_signal and the capacitance baseline value cap_base of the capacitive button module to the application processing module, and then obtains the data cap_diff=Cap_signal-cap_base of the user's finger touch button according to the original data Cap_signal and the capacitance baseline value cap_base.

[0044] In an embodiment of the present application, when the terminal device is in performance mode, if the capacitance baseline value cap_base is less than the first baseline threshold value cap_base_ref, the application processing module sends the super performance mode parameters to the capacitive button module through the IIC signal, and the application processing module sends the auxiliary hover detection mode parameters to the solid-state button module through the IIC / SPI2 signal. In this mode, the capacitive button module converts the collected second capacitance into a raw data number cap_signal. The raw data of the capacitive button module changes with changes in environmental factors such as temperature and humidity. Therefore, the raw data is low-pass filtered to generate a new count value as the baseline Cap_baseline, which continuously tracks and compensates for the gradual changes in the raw data.

[0045] The touch key processing module transmits the raw data cap_signal and the baseline Cap_baseline to the application processing module through the IIC / SPI signal. The solid-state key module controls the output voltage of the solid-state key pressure resistor power supply PBVS to PBVS_low, and sets the pressure judgment threshold to the second pressure threshold Vol_low. When the solid-state key module performs pressure touch event judgment in this mode, when the solid-state key module detects that the current touch pressure value is greater than the second pressure threshold Vol_low, the solid-state key module starts timing, when the effective touch pressure time is greater than the second time threshold Time_low, the solid-state key module determines that this is a touch hover event, otherwise it is judged as a normal touch event, when the solid-state key module determines that this is a touch hover event, the solid-state key module outputs the second trigger signal Trig_on to the application processing module through the Trig signal, when the solid-state key module detects that the current touch pressure value is less than the second pressure threshold Vol_low, the solid-state key processing determines that this is an exit touch hover event, and the solid-state key module outputs the third trigger signal Trig_off instruction to the application processing module through the Trig signal. When the capacitive key module recognizes the effective third trigger Trig_off, the capacitive key module uploads the filtered raw data cap_signal to the application processing module. In this way, the capacitive key module and the solid-state key module work together, allowing users to place their phones on the touch keys when they do not need to operate games, reducing the user's fatigue with the phone. It allows users to use touch keys with high performance in high humidity environments / sweating hands / glove mode, improving key performance.

[0046] In one implementation, the control of the button module to process the collected second capacitance value and / or pressure data corresponding to the touch pressure value according to the running state of the predetermined application in the terminal device, the capacitance baseline value and the touch pressure value obtained by the solid-state button module includes: when the running state of the predetermined application is running, the capacitance baseline value is greater than the first baseline threshold and less than the second baseline threshold, and the touch pressure value is greater than the third pressure threshold, controlling the solid-state button module to upload the pressure data; when the capacitance baseline value is less than the third baseline threshold, controlling the capacitance button module to switch operation.

[0047] Specifically, when the running status of the predetermined application is running, it means that the terminal device is in performance mode. At this time, if the capacitance baseline value cap_base is greater than the first baseline threshold cap_base_ref and less than the second set threshold cap_base_ref_max, the application processing module sets the solid-state button module as the main pressure detection module, and sends the auxiliary liquid monitoring mode parameters to the capacitance button module through the IIC signal. At the same time, the application processing module sends the super performance mode parameters to the solid-state button module through the IIC / SPI2 signal.

[0048] The solid-state button module performs the first-level pressure touch event judgment. When the solid-state button module detects that the current touch pressure value is greater than the third pressure threshold Vol_pre, the solid-state button module uploads the pressure data to the application processing module through the IIC / SPI signal. At the same time, when the capacitive button module detects that the capacitance baseline value cap_base is less than the third set threshold cap_base_ref-cap_base_offset, the capacitive button module sends the touch monitoring mode to the application processing module through the IIC signal, and the application processing module switches the working mode of the capacitive button module at the appropriate time according to the task scheduling. In this way, the working mode combination of the capacitive button module and the solid-state button module can be realized, and the coordination and layered processing of the capacitive button module and the solid-state button module can be realized, the response speed can be improved, and the parameters of different modes can be differentiated to improve the touch effect. The combination of the capacitive button module and the solid-state button module allows users to place their mobile phones on the touch buttons when they do not need to operate the game, reducing the user's mobile phone fatigue. It allows users to use touch buttons with high performance in high humidity environments / sweating hands / glove mode to improve button performance.

[0049] In one implementation, when the running state of the predetermined application is running, the capacitance baseline value is greater than or equal to the second baseline threshold, and the touch pressure value is greater than the third pressure threshold, the solid-state button module is controlled to upload the pressure data, wherein the capacitance button module is in a disabled state.

[0050] Specifically, when the running state of the predetermined application is running, it means that the terminal device is in performance mode. At this time, if the capacitance baseline value cap_base is greater than the second baseline threshold value cap_base_ref_max, the application processing module sets the solid-state key module as the main pressure detection module, and controls the capacitance key module to be in a disabled state through the IIC signal. At the same time, in this mode, the solid-state key module performs the first-level pressure touch event judgment. When the solid-state key module detects that the current touch pressure value is greater than the third pressure threshold value Vol_pre, the solid-state key module uploads the pressure data to the application processing module through the IIC / SPI signal. In this way, the working mode combination of the capacitance key module and the solid-state key module can be realized, and the coordination and layered processing of the capacitance key module and the solid-state key module can be realized, the response speed can be improved, and the parameters of different modes can be differentiated to improve the touch effect. The combination of the capacitance key module and the solid-state key module allows users to place their mobile phones on the touch keys when they do not need to operate the game, reducing the user's mobile phone fatigue. It allows users to use touch keys with high performance in high humidity environments / sweating hands / glove modes to improve key performance.

[0051] The key module control method provided in the embodiment of the present application is specifically described below by using a specific example: The terminal device is in the game mode (performance mode), the terminal device application processing module actively obtains the original data cap_signal and the capacitance baseline value cap_base of the capacitive key module through IIC, or the capacitive key module actively transmits the original data cap_signal and the capacitance baseline value cap_base of the capacitive key module to the application processing module, and then obtains the finger data cap_diff=Cap_signal-cap_base from the original data Cap_signal and the capacitance baseline value cap_base. If the capacitance baseline value cap_base is less than the first baseline threshold value cap_base_ref, the application processing module sends the super performance mode parameter to the capacitive key module through the IIC signal, and at the same time, the application processing module sends the auxiliary hover detection mode parameter to the solid-state key module through the IIC / SPI2 signal. The application processing module receives the original data Cap_signal from the capacitive key module in real time, and at the same time, the application processing module receives the pressure data Pressure_signal from the solid-state key module in real time. The application processing module further determines that the Pressure_signal signal is greater than the set pressure threshold and the duration is greater than the set time Time_skystop, then it is determined to be the hover mode. In this mode, the application processing module does not execute the touch event response of the capacitive key module. After a certain period of time, when the application processing module further determines that the Pressure_signal signal is less than the set threshold, the application processing module will exit the hover mode; the application processing module continues to receive the original touch data Cap_signal from the capacitive button module in real time, and at the same time, the application processing module receives the pressure data Pressure_signal from the solid-state button module in real time. The application processing module further determines that the Pressure_signal signal is greater than the set threshold and the duration is less than the set time Time_skystop, then it is determined to be a normal touch event, and the application processing module executes the corresponding response event.

[0052] It should be noted that the key module control method provided in the embodiment of the present application can be executed by a key module control device, or a control module in the key module control device for executing the key module control method. In the embodiment of the present application, the key module control device provided in the embodiment of the present application is described by taking the key module control device executing the key module control method as an example.

[0053] Figure 5 is a schematic diagram of the structure of the key module control device according to an embodiment of the present application. Figure 5 As shown, the key module control device 500 includes: a determination module 510 and a working module 520 .

[0054] The determination module 510 is used to determine the capacitance baseline value according to the first capacitance value of the capacitance button module of the terminal device; the working module 520 is used to control the button module of the terminal device to work according to the running status of the predetermined application in the terminal device and the capacitance baseline value, and the button module includes the capacitance button module and the solid-state button module.

[0055] In one implementation, the working module 520 is used to control the button module to process the collected second capacitance value and / or pressure data corresponding to the touch pressure value according to the running status of a predetermined application in the terminal device, the capacitance baseline value and the touch pressure value obtained by the solid-state button module.

[0056] In one implementation, the working module 520 is used to control the solid-state button module to send a first trigger signal to the capacitive button module when the running state of the predetermined application is not running, the capacitance baseline value is less than or equal to the first baseline threshold, the touch pressure value is greater than the first pressure threshold, and the effective pressure time of the touch pressure value is greater than the first time threshold; when the original data is greater than the data threshold and the capacitive button module receives the first trigger signal, control the capacitive button module to upload the original data, and the original data is obtained by converting the second capacitance value.

[0057] In one implementation, the working module 520 is used to control the solid-state button module to upload the pressure data when the running state of the predetermined application is not running, the capacitance baseline value is greater than the first baseline threshold and less than the second baseline threshold, and the touch pressure value is greater than the first pressure threshold; and control the capacitance button module to switch operation when the capacitance baseline value is less than the third baseline threshold.

[0058] In one implementation, the working module 520 controls the solid-state button module to upload the pressure data, and the capacitive button module is in a disabled state when the running state of the predetermined application is not running, the capacitance baseline value is greater than or equal to the second baseline threshold, and the touch pressure value is greater than the first pressure threshold.

[0059] In one implementation, the working module 520 is used to control the solid-state key module to upload a second trigger signal when the running state of the predetermined application is running, the capacitance baseline value is less than or equal to the first baseline threshold, the touch pressure value is greater than the second pressure threshold, and the effective pressure time of the touch pressure value is greater than the second time threshold; When the effective pressure time of the touch pressure value is less than or equal to the second time threshold, controlling the solid-state key module to upload a third trigger signal; When the capacitive button module receives the third trigger signal, the capacitive button module is controlled to upload an original data value, where the original data value is obtained by converting the second capacitance value.

[0060] In one implementation, the working module 520 is used to control the solid-state button module to upload the pressure data when the running status of the predetermined application is running, the capacitance baseline value is greater than the first baseline threshold and less than the second baseline threshold, and the touch pressure value is greater than the third pressure threshold; and control the capacitance button module to switch operation when the capacitance baseline value is less than the third baseline threshold.

[0061] In one implementation, the working module 520 is used to control the solid-state button module to upload the pressure data when the running status of the predetermined application is running, the capacitance baseline value is greater than or equal to the second baseline threshold, and the touch pressure value is greater than the third pressure threshold, wherein the capacitance button module is in a disabled state.

[0062] The key module control device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0063] The key module control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0064] The key module control device provided in the embodiment of the present application can achieve Figure 4 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0065] like Figure 6As shown, an embodiment of the present application further provides an electronic device 600, including a processor 601 and a memory 602, wherein the memory 602 stores a program or instruction that can be executed on the processor 601, and when the program or instruction is executed by the processor 601, it is implemented as follows: determining a capacitance baseline value according to a first capacitance value of a capacitive button module of a terminal device; controlling a button module of the terminal device to operate according to an operating state of a predetermined application in the terminal device and the capacitance baseline value, wherein the button module includes the capacitive button module and a solid-state button module.

[0066] In one implementation, the button module is controlled to process the collected second capacitance value and / or pressure data corresponding to the touch pressure value based on the running status of a predetermined application in the terminal device, the capacitance baseline value, and the touch pressure value obtained by the solid-state button module.

[0067] In one implementation, when the running state of the predetermined application is not running, the capacitance baseline value is less than or equal to the first baseline threshold, the touch pressure value is greater than the first pressure threshold, and the effective pressure time of the touch pressure value is greater than the first time threshold, the solid-state button module is controlled to send a first trigger signal to the capacitance button module; when the original data is greater than the data threshold and the capacitance button module receives the first trigger signal, the capacitance button module is controlled to upload the original data, and the original data is obtained by converting the second capacitance value.

[0068] In one implementation, when the running state of the predetermined application is not running, the capacitance baseline value is greater than a first baseline threshold and less than a second baseline threshold, and the touch pressure value is greater than a first pressure threshold, the solid-state button module is controlled to upload the pressure data; when the capacitance baseline value is less than a third baseline threshold, the capacitance button module is controlled to switch operation.

[0069] In one implementation, when the running state of the predetermined application is not running, the capacitance baseline value is greater than or equal to the second baseline threshold, and the touch pressure value is greater than the first pressure threshold, the solid-state button module is controlled to upload the pressure data and the capacitance button module is disabled.

[0070] In one implementation, when the running state of the predetermined application is running, the capacitance baseline value is less than or equal to the first baseline threshold, the touch pressure value is greater than the second pressure threshold, and the effective pressure time of the touch pressure value is greater than the second time threshold, the solid-state button module is controlled to upload a second trigger signal; when the effective pressure time of the touch pressure value is less than or equal to the second time threshold, the solid-state button module is controlled to upload a third trigger signal; when the capacitance button module receives the third trigger signal, the capacitance button module is controlled to upload an original data value, wherein the original data value is obtained by converting the second capacitance value.

[0071] In one implementation, when the running state of the predetermined application is running, the capacitance baseline value is greater than the first baseline threshold and less than the second baseline threshold, and the touch pressure value is greater than the third pressure threshold, the solid-state button module is controlled to upload the pressure data; when the capacitance baseline value is less than the third baseline threshold, the capacitance button module is controlled to switch operation.

[0072] In one implementation, when the running state of the predetermined application is running, the capacitance baseline value is greater than or equal to the second baseline threshold, and the touch pressure value is greater than the third pressure threshold, the solid-state button module is controlled to upload the pressure data, wherein the capacitance button module is in a disabled state.

[0073] The specific execution steps can refer to the various steps of the above-mentioned key module control method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0074] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices except terminals.

[0075] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0076] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a 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 random access memory (DRRAM).

[0077] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.

[0078] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned key module control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0079] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as ROM, RAM, magnetic disk or optical disk.

[0080] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0081] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0082] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A terminal device key, characterized in that: Including: key cover, capacitive flexible circuit board and pressure-sensitive flexible circuit board; One side of the capacitive flexible circuit board is connected to one side of the key cover plate, and the other side of the capacitive flexible circuit board is connected to the pressure-sensitive flexible circuit board.

2. The terminal device key according to claim 1, characterized in that: The capacitive flexible circuit board is used to obtain the capacitance value when the button of the terminal device is touched.

3. The terminal device key according to claim 1, characterized in that: The pressure-sensitive flexible circuit board is used to obtain the touch pressure value when touching the button of the terminal device.

4. A key module control method, characterized in that: include: Determine a capacitance baseline value according to a first capacitance value of a capacitive button module of the terminal device; According to the running state of the predetermined application in the terminal device and the capacitance baseline value, the key module of the terminal device is controlled to work, and the key module includes the capacitive key module and the solid-state key module.

5. The method according to claim 4, characterized in that According to the running status of the predetermined application in the terminal device, the capacitance baseline value and the touch pressure value obtained by the solid-state key module, the key module is controlled to process the collected second capacitance value and / or pressure data corresponding to the touch pressure value.

6. The method according to claim 5, characterized in that When the running state of the predetermined application is not running, the capacitance baseline value is less than or equal to the first baseline threshold, the touch pressure value is greater than the first pressure threshold, and the effective pressure time of the touch pressure value is greater than the first time threshold, controlling the solid-state button module to send a first trigger signal to the capacitive button module; When the original data is greater than the data threshold and the capacitive button module receives the first trigger signal, the capacitive button module is controlled to upload the original data, where the original data is obtained by converting the second capacitance value.

7. The method according to claim 5, characterized in that When the running state of the predetermined application is not running, the capacitance baseline value is greater than the first baseline threshold and less than the second baseline threshold, and the touch pressure value is greater than the first pressure threshold, controlling the solid-state key module to upload the pressure data; When the capacitance baseline value is less than a third baseline threshold, the capacitance button module is controlled to switch operation.

8. The method according to claim 5, characterized in that When the running state of the predetermined application is not running, the capacitance baseline value is greater than or equal to the second baseline threshold, and the touch pressure value is greater than the first pressure threshold, the solid-state button module is controlled to upload the pressure data, and the capacitance button module is in a disabled state.

9. The method according to claim 5, characterized in that When the running state of the predetermined application is running, the capacitance baseline value is less than or equal to the first baseline threshold, the touch pressure value is greater than the second pressure threshold, and the effective pressure time of the touch pressure value is greater than the second time threshold, controlling the solid-state key module to upload a second trigger signal; When the effective pressure time of the touch pressure value is less than or equal to the second time threshold, controlling the solid-state key module to upload a third trigger signal; When the capacitive button module receives the third trigger signal, the capacitive button module is controlled to upload an original data value, where the original data value is obtained by converting the second capacitance value.

10. The method according to claim 5, characterized in that When the running state of the predetermined application is running, the capacitance baseline value is greater than the first baseline threshold and less than the second baseline threshold, and the touch pressure value is greater than the third pressure threshold, controlling the solid-state key module to upload the pressure data; When the capacitance baseline value is less than a third baseline threshold, the capacitance button module is controlled to switch operation.

11. The method according to claim 5, characterized in that When the running state of the predetermined application is running, the capacitance baseline value is greater than or equal to the second baseline threshold, and the touch pressure value is greater than the third pressure threshold, the solid-state button module is controlled to upload the pressure data, wherein the capacitance button module is in a disabled state.

12. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the key module control method as described in any one of claims 4 to 11.

13. A readable storage medium, characterized in that: The readable storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, the steps of the key module control method as described in any one of claims 4-11 are implemented.