Electronic device, control method, and readable storage medium

By using a conductive circuit consisting of a first electrode and a second electrode in capacitive touchscreen electronic devices, the user's handhold status is detected, and the touch function is activated only when there is effective coupling, which solves the problem of accidental touch in enclosed spaces and improves the device's battery life.

CN122431553APending Publication Date: 2026-07-21HKC CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HKC CORP LTD
Filing Date
2026-04-30
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Existing capacitive touch screen electronic devices are prone to generating invalid touch signals due to squeezing or friction in enclosed spaces, leading to accidental touches, excessive power consumption, and affecting user experience and device battery life.

Method used

A conductive circuit consisting of a first electrode and a second electrode is used. The detection module determines whether the user is holding the device. The touch function is activated only when a valid coupling signal is detected; otherwise, the touch function is disabled to reduce accidental touches and power consumption.

Benefits of technology

It effectively avoids accidental touches in enclosed spaces, reduces touchscreen power consumption, and improves the battery life of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122431553A_ABST
    Figure CN122431553A_ABST
Patent Text Reader

Abstract

The application discloses an electronic device, a control method and a readable storage medium. The electronic device comprises a shell, a touch screen and a detection module. The shell is provided with at least one first electrode, the touch screen comprises a second electrode and a touch control module, and the detection module is connected with the first electrode and the touch control module respectively. When a user holds the electronic device and uses the touch screen, the second electrode, human tissue (for example, a palm) and the first electrode jointly form a closed loop, so that a scanning signal output by the second electrode can be coupled to the first electrode through the human tissue. When the detection module identifies that the first electrode receives the scanning signal, it can be determined that the user is holding the electronic device, so that a touch enable signal can be selected to be output, and the touch function of the touch screen is activated. Thus, the interference of the false touch caused by the false touch in a pocket or the desktop sliding and the like on the electronic device is avoided, the energy consumption of the touch screen is reduced, and the endurance time of the electronic device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of display device technology, and particularly relates to electronic devices, control methods and readable storage media. Background Technology

[0002] Currently, capacitive touchscreen electronic devices, represented by smartphones, have become indispensable tools in people's lives. Capacitive touchscreens achieve touch positioning by detecting the coupling capacitance formed between the human finger and the screen electrodes, resulting in intuitive operation and rapid response.

[0003] However, while existing capacitive screen technology offers convenient operation, it also commonly suffers from accidental touches due to unintended actions. Especially when the device is in a confined space such as a pocket or bag, the screen is easily subjected to pressure and friction, generating invalid touch signals. This can lead to problems such as accidental dialing, accidental sending of messages, and excessive battery drain, seriously affecting user experience and device battery life. Summary of the Invention

[0004] The purpose of this application is to provide an electronic device, a control method, and a readable storage medium, which aims to solve the problem of accidental touch control in traditional electronic devices.

[0005] A first aspect of this application provides an electronic device, comprising: a housing having at least one first electrode; a touchscreen disposed on the housing, the touchscreen including a second electrode and a touch control module, the second electrode being used to output a scanning signal; and a detection module connected to both the first electrode and the touch control module, the detection module being used to output a touch enable signal to the touch control module when the first electrode receives the scanning signal, the touch enable signal being used to activate the touch function of the touchscreen; and, when the touch enable signal is not received, the touch control module being used to disable the touch function of the touchscreen.

[0006] In one embodiment, the detection module includes: a signal acquisition circuit connected to the first electrode, used to generate and output a first detection signal based on the signal acquired by the first electrode; a signal conditioning circuit connected to the signal acquisition circuit, used to amplify and / or filter the first detection signal to generate and output a second detection signal; and a control circuit connected to the signal conditioning circuit, used to compare the second detection signal with a recognition condition and output the touch enable signal based on the comparison result.

[0007] In one embodiment, the control circuit includes: a threshold determination unit connected to the signal conditioning circuit, the threshold determination unit being used to compare the second detection signal and the recognition condition, and output a comparison result; a logic control unit connected to the threshold determination unit, the logic control unit being used to determine the operating state of the electronic device according to preset configuration information and the comparison result; wherein the operating state includes a touch enable state; and an enable control unit connected to both the logic control unit and the touch control module, the enable control unit being used to output the touch enable signal in the touch enable state.

[0008] In one embodiment, the detection module further includes a compensation circuit connected to the control circuit, the compensation circuit being used to adjust the recognition conditions based on environmental parameters.

[0009] In one embodiment, the first electrode includes a flexible electrode, and all the flexible electrodes are connected to the detection module.

[0010] In one embodiment, the housing includes a rear cover and a middle frame, and the first electrode is disposed on the rear cover and / or the middle frame.

[0011] In one embodiment, the electronic device includes a first housing and a second housing, the first housing and the second housing being rotatably connected, and both the first housing and the second housing being provided with the first electrode.

[0012] In one embodiment, the electronic device further includes a folding state detection module, which is used to switch the detection priority of the first electrode on the first housing and the first electrode on the second housing according to the folding state.

[0013] A second aspect of this application provides a control method applied to an electronic device as described above. The control method includes: when the electronic device is in a standby state, a second electrode outputs a scanning signal and a detection module acquires the signal at a first sampling frequency; when the detection module acquires the scanning signal at the first sampling frequency, the detection module acquires the scanning signal at a second sampling frequency; wherein the second sampling frequency is greater than the first sampling frequency; and when the detection module acquires the scanning signal at the second sampling frequency, a touch enable signal is output to a touch control module.

[0014] A third aspect of this application provides a computer-readable storage medium storing a computer program configured to execute the control method described above during runtime.

[0015] The beneficial effects of this application embodiment compared with the prior art are: when the user holds the electronic device and uses the touch screen, the second electrode, human tissue (e.g., palm) and the first electrode together form a closed loop, so that the scanning signal output by the second electrode can be coupled to the first electrode through the human tissue.

[0016] When the detection module detects that the first electrode has received a scanning signal, it can determine that the user is holding the electronic device and output a touch enable signal to activate the touch screen's touch function. Conversely, if no effective coupling signal is detected, the touch control module can continuously disable the touch screen's touch function to avoid accidental touches caused by pocket touches, desktop swiping, or other scenarios that could interfere with the electronic device, reduce the touch screen's power consumption, and thus improve the electronic device's battery life. Attached Figure Description

[0017] Figure 1 A schematic diagram of an electronic device provided according to an embodiment of this application; Figure 2 A schematic diagram of a detection module provided in one embodiment of this application; Figure 3 A schematic diagram of a finite state machine architecture provided in an embodiment of this application; Figure 4 A schematic diagram of a compensation circuit and power supply module provided in an embodiment of this application; Figure 5 A structural diagram of the housing provided in one embodiment of this application; Figure 6 Another schematic diagram of an electronic device provided in an embodiment of this application Figure 7 This is a schematic diagram of a control method provided in an embodiment of this application.

[0018] Figure Descriptions: 10. Electronic device; 100. Housing; 110. First electrode; 120. Back cover; 130. Middle frame; 140. First housing; 150. Second housing; 200. Touch screen; 210. Second electrode; 220. Touch control module; 300. Detection module; 310. Signal acquisition circuit; 320. Signal conditioning circuit; 321. Amplification unit; 322. Filtering unit; 330. Control circuit; 331. Threshold determination unit; 332. Logic control unit; 333. Enable control unit; 340. Compensation circuit; 400. Power supply module; 500. Folding state detection module. Detailed Implementation

[0019] To make the technical problems, technical solutions, and beneficial effects to be solved by this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of this application.

[0020] It should be noted that when a component is referred to as being "fixed to" or "set on" another component, it can be directly on or indirectly on that other component. When a component is referred to as being "connected to" another component, it can be directly connected to or indirectly connected to that other component.

[0021] It should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.

[0022] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0023] Figure 1 A schematic diagram of an electronic device according to an embodiment of this application is shown. For ease of explanation, only the parts related to this embodiment are shown, and the details are as follows: An electronic device 10 includes: a housing 100, a touch screen 200, and a detection module 300. Specifically, the electronic device 10 can be a smart device such as a mobile phone or tablet computer.

[0024] The housing 100 is provided with at least one first electrode 110. The first electrode 110 can be arranged according to the user's grip position when the electronic device 10 is in use, so that the human body can contact one or more of the first electrodes 110 when the user is using the electronic device 10 normally. For example, multiple first electrodes 110 can be arranged on the side, back, or frame of the housing 100 for scenarios such as left-hand grip, right-hand grip, and two-hand grip, ensuring that the human body contacts at least one of the first electrodes 110 in different grip postures.

[0025] Specifically, in some embodiments, the individual first electrodes 110 are insulated from each other, thereby ensuring that the multiple detection signals are independent of each other and do not interfere with each other.

[0026] A touchscreen 200 is mounted on the housing 100. The touchscreen 200 includes a second electrode 210 and a touch control module 220. The second electrode 210 is used to output scanning signals. When a user holds the device, their fingers touch the touchscreen 200, while their palm or another part of their fingers touches the first electrode 110 on the housing 100. At this time, the user's body forms a conductor, connecting the second electrode 210 of the touchscreen 200, the user's body, and the first electrode 110 on the housing 100, forming a complete conductive circuit. Since the second electrode 210 continuously outputs scanning signals, these signals are coupled to the first electrode 110 through the human body conductor.

[0027] Specifically, the second electrode 210 can be the screen capacitor electrode of the touch screen 200.

[0028] The detection module 300 is connected to both the first electrode 110 and the touch control module 220. When the first electrode 110 acquires a scanning signal, the detection module 300 outputs a touch enable signal to the touch control module 220. The touch control module 220 disables the touch function of the touchscreen 200 when it does not receive the touch enable signal. The touchscreen 200 also includes a touch sensing layer. When a user touches the touchscreen 200, it simultaneously couples with the second electrode 210 and the touch sensing layer. The touch sensing layer senses the touch position and generates raw touch data to achieve accurate touch positioning and response. Specifically, disabling the touch function of the touchscreen 200 means stopping the power supply to the touch sensing layer and the corresponding signal recognition module. The touch control module 220 can restore the power supply to the touch sensing layer and the corresponding signal recognition module upon receiving the touch enable signal, thereby restoring the touch function.

[0029] Understandably, when the detection module 300 determines that the first electrode 110 has received a scanning signal, it can determine that the user is holding the electronic device 10, and thus output a touch enable signal (such as a high-level signal) to activate the touch function of the touch screen 200, which can also be considered as deactivating the touch screen's shielding state. That is, if the user clicks the touch screen, the electronic device can perform the corresponding operation. Conversely, if the detection module 300 determines that the first electrode 110 has not received a scanning signal, the detection module 300 will not output a touch enable signal or will output a touch shielding signal. The touch control module 220 can then shield the touch function of the touch screen 200. When the touch function is shielded, even if the user touches the touch screen 200 of the electronic device, the electronic device will not respond to the user's operation, nor will it perform operations such as turning on the screen. That is, the electronic device 10 is in a standby state, avoiding accidental touches caused by pocket touches, desktop swiping, etc., which could interfere with the electronic device 10, reduce the power consumption of the touch screen 200, and thus improve the battery life of the electronic device 10.

[0030] In some embodiments, the touch control module 220 can also be configured to: upon receiving a touch enable signal, stop receiving signals output by the detection module 300 and continuously output a touch enable signal. The touch enable signal can be provided by the control system of the electronic device 10 under user control.

[0031] Understandably, users can manually select the corresponding control mode according to their specific usage. One of these control modes is the hands-free mode, which is used when the user places the electronic device 10 on a table or stand and only performs touch operations on the touch screen 200. In hands-free mode, the control system of the electronic device 10 can continuously provide a touch-on signal to the touch control module 220 to disable the grip detection function of the electronic device 10 and continuously enable the touch function of the touch screen 200.

[0032] In one embodiment, the detection module 300 can be configured to acquire the signal received by the first electrode 110 at a preset sampling frequency, identify it, and determine whether the signal received by the first electrode 110 is a scanning signal.

[0033] In other embodiments, the detection module 300 can be configured to collect the signal received by the first electrode 110 at a first sampling frequency when the electronic device 10 is in standby or locked state, and to collect the signal received by the first electrode 110 at a second sampling frequency when the electronic device is in screen-on state. The first sampling frequency is lower than the second sampling frequency to reduce the power consumption of the detection module 300 in standby mode while maintaining response sensitivity when the screen is on.

[0034] In one embodiment, such as Figure 2As shown, the detection module 300 includes: a signal acquisition circuit 310, a signal conditioning circuit 320, and a control circuit 330.

[0035] The signal acquisition circuit 310 is connected to the first electrode 110 and is used to generate and output a first detection signal based on the signal acquired by the first electrode 110.

[0036] When the signal acquisition circuit 310 generates and outputs the first detection signal, it indicates that an effective conductive loop has been formed between the first electrode 110 and the second electrode 210.

[0037] Specifically, the signal acquisition circuit 310 can be implemented in various ways, such as a charge-discharge detection circuit based on a charge amplifier, or a level detection circuit based on a voltage comparator. In one example, the signal acquisition circuit 310 is a capacitor-to-digital converter capable of converting minute capacitance changes on the first electrode 110 into a digital signal output.

[0038] The signal conditioning circuit 320 is connected to the signal acquisition circuit 310 and is used to amplify and / or filter the first detection signal to generate and output the second detection signal. Since the first detection signal is usually very weak and mixed with various environmental noises and interferences (such as power frequency interference, radio frequency interference, etc.), it needs to be conditioned. The signal conditioning circuit 320 uses a multi-stage low-noise operational amplifier and an adaptive bandpass filter working together. In some embodiments, such as Figure 2 As shown, the signal conditioning circuit 320 may include an amplification unit 321 and a filtering unit 322. The amplification unit 321 (such as a programmable gain amplifier) ​​is used to amplify the weak signal to an amplitude range suitable for subsequent processing. The filtering unit 322 (such as a low-pass filter or a band-pass filter) is used to filter out high-frequency noise and interference in specific frequency bands from the signal, retaining only the effective components related to the human body circuit characteristic signals, thereby generating a second detection signal with a higher signal-to-noise ratio.

[0039] In some embodiments, the signal conditioning circuit 320 can first amplify the first detection signal, and then pass it through anti-interference filtering to eliminate high-frequency disturbances such as environmental noise and clothing friction, thereby improving the signal-to-noise ratio and ensuring the reliability of subsequent judgments.

[0040] The control circuit 330 is connected to the signal conditioning circuit 320 and is used to compare the second detection signal with the recognition conditions and output a touch enable signal based on the comparison result.

[0041] It is understandable that the recognition conditions can be set according to the actual situation. For example, in some embodiments, when multiple first electrodes 110 are provided, independent recognition conditions can be configured for each first electrode 110 to adapt to the user's grip posture.

[0042] Specifically, the identification conditions may include parameters such as voltage comparison threshold and level width threshold. These identification conditions can be obtained by performing extensive field tests and calibrations on the electronic device 10 under different conditions.

[0043] For example, in some embodiments, the identification conditions include a voltage comparison threshold and a level width threshold. When the voltage amplitude of the second detection signal exceeds the voltage comparison threshold and the duration is greater than the level width threshold, the control circuit 330 can determine that the first electrode 110 has received a scanning signal and a stable human body conductive path has been established between the first electrode 110 and the second electrode 210. At this time, the control circuit 330 can immediately output a touch enable signal to activate the touch function of the touch screen.

[0044] In one embodiment, such as Figure 2 As shown, the control circuit 330 includes: a threshold determination unit 331, a logic control unit 332, and an enable control unit 333.

[0045] The threshold determination unit 331 is connected to the signal conditioning circuit 320. The threshold determination unit 331 compares the second detection signal with the recognition condition and outputs the comparison result. The threshold determination unit 331 (e.g., a hysteresis comparator) compares the second detection signal with the recognition condition and outputs a binary comparison result representing a valid "present / absent" signal. Using a hysteresis comparator avoids frequent output jumps caused by signal fluctuations near the threshold, improving system stability.

[0046] The logic control unit 332 is connected to the threshold determination unit 331. The logic control unit 332 is used to determine the operating state of the electronic device 10 based on preset configuration information and comparison results. The operating state includes a touch-enabled state. The preset configuration information may include conditions such as the number of first electrodes 110 receiving scan signals or the duration for which the first electrodes 110 receive scan signals.

[0047] Specifically, the logic control unit 332 can adopt a finite state machine architecture, which can achieve millisecond-level response through multiple preset state nodes. The state transition strictly follows the hardware triggering mechanism to avoid the delay introduced by software polling.

[0048] The enable control unit 333 is connected to the logic control unit 332 and the touch control module 220 respectively. The enable control unit 333 is used to output a touch enable signal when the touch is enabled.

[0049] The enable control unit 333 can directly drive the enable pin of the touch control module 220, and its output level strictly corresponds to the current state.

[0050] Exemplary, in one embodiment, such as Figure 3As shown, the specific working states include S0 standby shielding state, S1 pre-detection state, S2 valid determination state, S3 touch enable state, and S4 hysteresis hold state.

[0051] When in the S0 standby disabled state, the touch function is completely turned off. The detection module 300 periodically checks whether a signal appears on the first electrode 110 using a low first sampling frequency (e.g., 10Hz-50Hz). Once any signal is detected, it immediately switches to the S1 pre-detection state. The S0 standby disabled state is suitable for scenarios such as when the phone is locked, placed in a pocket, or when there is no operation for a long time.

[0052] In the S1 pre-detection state, the detection module 300 can continuously acquire multiple sets of signals using a higher second sampling frequency (e.g., 200Hz-500Hz), and combine anti-interference filtering and dynamic compensation algorithms to correct baseline drift in real time. If the first electrode 110 continuously determines that it has received a scanning signal according to the identification conditions, it can be confirmed as a valid wake-up action, and transition to the S2 valid determination state. Otherwise, it automatically falls back to the S0 standby shielded state within 100ms to ensure low power consumption and fast response. The S1 pre-detection state is suitable for the transition stage of detecting weak signal changes and initial system wake-up, balancing sensitivity and energy efficiency.

[0053] In the S2 valid determination state, the detection module 300 can further increase the sampling frequency, thereby improving the accuracy of detection. The S2 valid determination state is suitable for the precise determination process after pre-detection triggering, ensuring that the touch function is activated only under genuine handheld intent.

[0054] In the S3 touch-enabled state, the touch control module 220 allows the touch function to operate normally while continuously monitoring changes in the signal received by the first electrode 110. For example, it can dynamically update the recognition conditions every 20ms. If a sudden change in the amplitude of the second detection signal is detected and the recognition conditions are not met, it can be determined that the finger has slipped, and the system immediately enters the S4 hysteresis hold state. If a system screen lock command or screen off signal is received, the system jumps to the S0 standby shielded state without delay. The S3 touch-enabled state is suitable for effective handheld operation scenarios, in which the touch function is always available.

[0055] In the S4 hysteresis hold state, the detection module 300 maintains the touch enable command output and continuously monitors whether the loop transmitting the scan signal is restored within a preset time (e.g., 150ms). If the detection module 300 determines that the first electrode 110 has not received the scan signal again within the preset time, it triggers a timeout determination (i.e., the second detection signal does not meet the recognition condition within the preset time). The detection module 300 sends a touch screen 200 shielding command to the touch control module 220 and automatically falls back to the S0 standby shielding state. If the detection module 300 determines that the first electrode 110 has received the scan signal again before the timeout, it smoothly returns to the S3 touch enable state to avoid operation interruption. This hysteresis mechanism effectively handles boundary scenarios such as brief touch loss and fine adjustment while holding the device, balancing response continuity and robustness against accidental touches.

[0056] Through a finite state machine (FSM) architecture, the electronic device 10 can accurately distinguish between intentional user operations and various invalid interferences, providing a smooth operating experience indistinguishable from native touch control while ensuring an excellent anti-mistouch effect. Furthermore, the logic control unit 332 is configured to handle high-priority global events. For example, regardless of the current state, upon receiving a system lock screen signal, it will forcibly jump to the S0 standby shielded state to ensure absolute system security and low power consumption.

[0057] In some embodiments, when multiple first electrodes 110 are provided, multiple channels are formed, and each channel can obtain a corresponding comparison result. The logic control unit 332 then performs logical AND, logical OR, and other comprehensive operations based on preset configuration information (e.g., whether all channels are required to detect a valid signal, or only any one channel needs to detect one) and the comparison results of each channel. Only when the comprehensive result meets preset handheld conditions (e.g., when the second detection signals of multiple channels all meet the recognition conditions, or when the second detection signal of at least one channel meets the recognition conditions for a set duration), does the logic control unit 332 finally output a touch enable signal.

[0058] In one embodiment, such as Figure 4 As shown, the detection module 300 also includes a compensation circuit 340, which is connected to the control circuit 330. The compensation circuit 340 is used to adjust the recognition conditions based on environmental parameters and reference signals.

[0059] The compensation circuit 340 can be used to acquire changes in real-time monitored environmental parameters (such as temperature and humidity) or reference signals, and dynamically adjust the recognition conditions used in the judgment accordingly, or adjust the gain of the signal conditioning circuit 320. For example, in high temperature and / or high humidity environments, the conductivity of the human body increases, and the signal strength may increase. The compensation circuit 340 can appropriately increase the threshold (for example, by increasing the values ​​of the thresholds in the initial recognition conditions to obtain new recognition conditions) to prevent oversensitivity. Conversely, in dry environments, the signal strength may weaken. The compensation circuit 340 can appropriately decrease the threshold (for example, by decreasing the values ​​of the thresholds in the initial recognition conditions to obtain new recognition conditions) to ensure that a valid handheld device can be reliably recognized. In the embodiments of this application, high temperature or high humidity environments can refer to temperatures greater than a temperature threshold and humidity greater than a humidity threshold.

[0060] In some embodiments, such as Figure 4 As shown, the compensation circuit 340 is also connected to the amplification unit 321. The compensation circuit 340 can also adjust the gain coefficient of the amplification unit 321 based on environmental parameters, so that the signal conditioning process always adapts to the capacitance change characteristics under the current environment.

[0061] For example, in environments where the scanning signal is difficult to transmit from the second electrode 210 through the human body to the first electrode 110, the gain coefficient of the amplification unit 321 can be increased to improve the recognizability of the scanning signal; while in ideal environments with high signal-to-noise ratios, the gain coefficient of the amplification unit 321 can be appropriately reduced to avoid saturation distortion and achieve adaptive gain adjustment. Combined with dynamic threshold compensation for recognition conditions, the consistency of handheld detection results under different conditions can be ensured.

[0062] The reference signal can originate from the electrode self-test circuit or the reference capacitor unit, and its stability directly affects the accuracy of dynamic compensation. The compensation circuit 340 can periodically sample the reference signal and compare it with historical data to identify slow drift trends, thereby linearly correcting the identification conditions or gain parameters to ensure the consistency of the judgment results.

[0063] In one embodiment, such as Figure 3 As shown, the detection module 300 also includes a power supply module 400, which is connected to each circuit and module to provide stable voltage and current output.

[0064] Specifically, the power supply module 400 can be connected to the signal acquisition circuit 310, the amplification unit 321, the filtering unit 322 and the threshold determination unit 331, and provide independent power supply to the signal acquisition circuit 310, the amplification unit 321, the filtering unit 322 and the threshold determination unit 331 respectively, so as to implement precise power management under different working conditions and realize hierarchical power supply.

[0065] In one embodiment, the first electrode 110 includes flexible electrodes (e.g., flexible circuit board, conductive cloth, conductive silicone, or metal coating on a flexible substrate), and each flexible electrode is connected to the detection module 300.

[0066] The flexible electrodes can fit well onto the curved or irregular surfaces of the housing 100 without affecting the appearance and grip of the device.

[0067] In one embodiment, such as Figure 5 As shown, the housing 100 includes a back cover 120 and a middle frame 130. The middle frame 130 is disposed between the back cover 120 and the touch screen 200. The touch screen 200, the middle frame 130 and the back cover 120 together constitute the complete housing structure of the device.

[0068] The first electrode 110 is disposed on the rear cover 120 and / or the middle frame 130. The first electrode 110 may be disposed only on the inner wall of the rear cover 120, or only on the inner or outer side of the middle frame 130; more preferably, it may be disposed on both the rear cover 120 and the middle frame 130 simultaneously to achieve multi-directional detection. Flexible electrodes may be embedded in the sides of the middle frame 130 and the edge areas of the rear cover 120, forming a surrounding human contact sensing network. In some embodiments, the flexible electrodes can be distributed along the user's natural grip trajectory, covering high-frequency contact areas such as the 120-degree side of the back cover and the 130-degree corner of the middle frame, to ensure that at least one electrode is stably coupled to the human body to form a closed loop under different grip postures.

[0069] In one embodiment, such as Figure 6 As shown, the electronic device 10 includes a first housing 140 and a second housing 150, the first housing 140 and the second housing 150 are rotatably connected, and both the first housing 140 and the second housing 150 are provided with a first electrode 110.

[0070] The electronic device 10 can specifically be a device with a foldable screen. The first housing 140 and the second housing 150 can be opened and closed through a hinge structure. The touch screen 200 can be a flexible foldable screen covering the two housings 100.

[0071] In one embodiment, such as Figure 6 As shown, the electronic device 10 also includes a folding state detection module 500, which is used to switch the detection priority of the first electrode 110 on the first housing 140 and the first electrode 110 on the second housing 150 according to the folding state.

[0072] For example, when the electronic device 10 is in an unfolded state (such as tablet mode), the user typically holds the side of the first housing 140 and the second housing 150. In this case, the first electrode 110 on the first housing 140 and the first electrode 110 on the second housing 150 can be simultaneously activated and detected in a balanced manner. In the folded state, since part of the housing 100 cannot directly contact the user, the first electrode 110 on the housing 100 that will actually contact the user's palm can be activated first, while the electrode on the other housing 100 enters a low-power listening state or temporarily goes into sleep mode to save power. This dynamic switching mechanism implemented by the folding state detection module 500 allows the anti-mistouch solution to perfectly adapt to the usage needs of various forms of foldable screen devices.

[0073] For example, in one embodiment, the first housing 140 may be the main screen housing and the second housing 150 may be the secondary screen housing. When in the folded state, only the first electrode 110 on the secondary screen housing may be enabled. When in the unfolded state, the signal detection of the first electrode 110 on the main screen housing is used as the primary basis and the signal detection of the first electrode 110 on the secondary screen housing is used as an auxiliary reference.

[0074] It should be noted that the folding state detection module 500 may include a Hall sensor or an angle sensor to detect the relative angle between the first housing 140 and the second housing 150, thereby determining whether the electronic device 10 is currently in an unfolded state, a folded state, or an intermediate state.

[0075] Figure 7 A schematic diagram of a control method provided in an embodiment of this application is shown. For ease of explanation, only the parts relevant to this embodiment are shown, and the details are as follows: A control method is applied to an electronic device 10 as described in any of the above embodiments, the control method comprising steps S100 to S300.

[0076] Step S100: When the electronic device 10 is in standby mode, the second electrode 210 outputs a scanning signal and the detection module 300 acquires the signal at the first sampling frequency.

[0077] When the electronic device 10 is in standby mode, it can save power by periodically checking whether a signal appears on the first electrode 110 using a low first sampling frequency (e.g., 10Hz-50Hz).

[0078] Step S200: When the detection module 300 acquires a scanning signal at a first sampling frequency, the detection module 300 acquires a signal at a second sampling frequency. The second sampling frequency is greater than the first sampling frequency.

[0079] It is understandable that when the detection module 300 determines that the acquired signal meets the set conditions corresponding to the scanning signal (i.e., the second detection signal meets the recognition conditions), it can determine that the scanning signal has been acquired based on the comparison results.

[0080] When a potentially valid signal is detected at the first sampling frequency, the detection module 300 can be woken up. In order to more accurately confirm whether the signal is a real human body circuit signal and to eliminate transient interference, the detection module 300 can immediately switch to a higher second sampling frequency (e.g., 100Hz-200Hz) in step S200 to perform multiple consecutive samplings, so as to reduce the power consumption of the detection module 300 in standby mode and take into account the response sensitivity of the detection module 300 when the screen is on.

[0081] Step S300: When the detection module 300 acquires the scanning signal at the second sampling frequency, the detection module 300 outputs a touch enable signal to the touch control module 220.

[0082] After sampling multiple times at the second sampling frequency in step S200, if the detected signal still meets the preset valid conditions (for example, the signal strength continues to exceed the threshold and the waveform is stable), it can be finally determined as a valid human handheld operation, and then a touch enable signal is output to activate the touch function of the touch screen 200.

[0083] A hierarchical sampling strategy can be implemented through control methods, which maximizes the system's energy efficiency ratio and reduces energy consumption while ensuring detection reliability.

[0084] This application also provides a readable storage medium storing a computer program, wherein the computer program is configured to execute the control method as described in any of the above embodiments when it is run.

[0085] Readable storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution media, etc. The processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0086] This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the control method as described in any of the above embodiments.

[0087] From the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0088] It should be understood that the apparatuses and methods disclosed in the several embodiments provided in this application can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of modules or units is only a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components being combined or integrated into another device. In addition, some features may be omitted or not performed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.

[0089] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units. That is, it can be located in one place or distributed in multiple different locations. Depending on the actual needs, some or all of the units can be selected to achieve the purpose of this solution.

[0090] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit; they can also exist physically separately; or some units can be integrated into one unit while others exist physically separately. The integrated units described above can be implemented in hardware or as software functional units.

[0091] It should be noted that all or part of the above embodiments provided in this application (e.g., part or all of any feature) can be arbitrarily combined or combined with each other.

[0092] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An electronic device, characterized in that, include: A housing, wherein at least one first electrode is provided on the housing; A touch screen is disposed on the housing, and the touch screen includes a second electrode and a touch control module, wherein the second electrode is used to output a scanning signal; A detection module is connected to the first electrode and the touch control module respectively. The detection module is used to output a touch enable signal to the touch control module when the first electrode receives the scanning signal. The touch enable signal is used to activate the touch function of the touch screen. If the touch enable signal is not received, the touch control module is used to disable the touch function of the touch screen.

2. The electronic device as claimed in claim 1, characterized in that, The detection module includes: A signal acquisition circuit, which is connected to the first electrode, is used to output a first detection signal based on the signal acquired by the first electrode; A signal conditioning circuit, connected to the signal acquisition circuit, is used to amplify and / or filter the first detection signal and output a second detection signal. A control circuit, connected to the signal conditioning circuit, is used to compare the second detection signal with the recognition conditions and output the touch enable signal based on the comparison result.

3. The electronic device as described in claim 2, characterized in that, The control circuit includes: A threshold determination unit is connected to the signal conditioning circuit. The threshold determination unit is used to compare the second detection signal and the recognition condition, and output the comparison result. A logic control unit is connected to the threshold determination unit. The logic control unit is used to determine the operating state of the electronic device based on preset configuration information and the comparison result; wherein, the operating state includes a touch enable state. An enable control unit is connected to both the logic control unit and the touch control module. The enable control unit is used to output the touch enable signal in the touch enable state.

4. The electronic device as claimed in claim 2, characterized in that, The detection module also includes: A compensation circuit, connected to the control circuit, is used to adjust the identification conditions based on environmental parameters and a reference signal.

5. The electronic device according to any one of claims 1 to 4, characterized in that, The first electrode includes a flexible electrode, which is connected to the detection module.

6. The electronic device according to any one of claims 1 to 4, characterized in that, The housing includes a rear cover and a middle frame, and the first electrode is disposed on the rear cover and / or the middle frame.

7. The electronic device according to any one of claims 1 to 4, characterized in that, The electronic device includes a first housing and a second housing, the first housing and the second housing being rotatably connected, and both the first housing and the second housing being provided with the first electrode.

8. The electronic device as claimed in claim 7, characterized in that, The electronic device further includes a folding state detection module, which is used to switch the detection priority of the first electrode on the first housing and the first electrode on the second housing according to the folding state.

9. A control method, characterized in that, The control method, applied to an electronic device as described in any one of claims 1 to 8, comprises: When the electronic device is in standby mode, the second electrode outputs a scanning signal and the detection module acquires the signal at a first sampling frequency; When the detection module acquires a scanning signal at the first sampling frequency, the detection module acquires a signal at a second sampling frequency; wherein the second sampling frequency is greater than the first sampling frequency; When the detection module acquires the scanning signal at the second sampling frequency, the detection module outputs a touch enable signal to the touch control module.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the control method as described in claim 9 at runtime.