A protection circuit, functional component and electronic device

By designing a protection circuit in a mobile communication terminal, and using the switching mechanism of the induction module, switch module and control module, the problem of abnormal triggering after the pressure sensing button is damaged is solved, and the reliability of user operations and the stability of the equipment is improved.

CN112367076BActive Publication Date: 2024-12-27VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011233364.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-06
Publication Date
2024-12-27
Estimated Expiration
2040-11-06

AI Technical Summary

Technical Problem

The pressure sensing buttons in existing mobile communication terminals are easily damaged during fall or bumps, causing the induction module to be triggered all the time, affecting the normal operation of the user.

Method used

A protection circuit is designed, including an induction module, a switching module and a control module. The induction module is connected to the control module through a switching module. The switching module can switch between the first working state and the second working state, and receive the first When an input signal is in the first working state, the sensing module and the control module are in the first working state, and the sensing module are in the second working state when a second input signal is received, the sensing module and the control module are disconnected to avoid damage to the sensing module. Exception triggers.

Benefits of technology

It effectively avoids the problem that has been triggered after the induction module is damaged, ensures the normal operation experience of the user, and improves the reliability of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112367076B_ABST
    Figure CN112367076B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a protection circuit, a functional component and an electronic device, the protection circuit includes: a sensing module, a switch module and a control module, the sensing module is connected to the control module through the switch module, the switch module can be switched between a first working state and a second working state, when the sensing module receives a first input signal, the switch module is in the first working state, the sensing module and the control module are connected, and the control module performs a first operation corresponding to the first input signal, when the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module and the control module are disconnected. Through the embodiment of the present application, the problem that when the sensing module in the electronic device is damaged, the sensing module always triggers the control module corresponding to the sensing module to perform the first operation, causing the electronic device to be in an abnormal state and affecting the normal operation of the user is solved, and the user experience is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit technology, and in particular to a protection circuit, a functional component and an electronic device. Background Art

[0002] In handheld mobile communication terminals, the number of openings and gaps in the body is getting smaller and smaller, and the overall sense is getting better and better, based on the requirements of aesthetics, waterproofness and dustproofness. At present, in order to meet the above requirements, pressure-sensitive buttons are often used in existing mobile communication terminals to replace physical buttons (such as power button, volume +, volume -). In this way, there is no need to open holes in the middle frame. Only a pressure-sensitive sensor is placed on the inside of the middle frame. When the finger presses hard, the middle frame produces a slight deformation. The sensor senses this change and uses it to determine which button is pressed.

[0003] However, since the pressure sensing module of the pressure sensing button is relatively fragile, it is easy to be damaged in a fall or bump. For example, the power button is an important control button of a handheld mobile communication terminal, which is used to turn on and off the machine, lock the screen, and restart by long pressing. When a pressure sensing button is used as a power button, if the pressure sensing button is damaged, it may continue to trigger the power button to be pressed, so that normal operation will be affected. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a protection circuit, a functional component and an electronic device to solve the problem that after the sensing module of the electronic device is damaged, the button corresponding to the sensing module is continuously triggered to be pressed, causing the electronic device to be in an abnormal state and affecting the normal operation of the user.

[0005] In order to solve the above technical problems, the embodiments of the present application are implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a protection circuit, including: a sensing module, a switch module and a control module;

[0007] The sensing module is connected to the control module through the switch module;

[0008] The switch module can switch between a first working state and a second working state. When the sensing module receives a first input signal, the switch module is in the first working state, the sensing module is connected to the control module, and the control module performs a first operation corresponding to the first input signal; when the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module.

[0009] Optionally, the first input signal is a trigger signal of a first preset duration, and the second input signal is a trigger signal of a second preset duration, wherein the second preset duration is greater than the first preset duration, and the trigger signal is a signal generated when the sensing module is pressed.

[0010] Optionally, the control module includes a first control module and a functional module, and the first control module is connected to the switch module and the functional module respectively.

[0011] Optionally, the switch module includes a first switch transistor, a capacitor, a first resistor, a second resistor and a second switch transistor;

[0012] The first end of the first switch transistor is connected to the sensing module, the second end of the first switch transistor is connected to a power supply, the third end of the first switch transistor is respectively connected to the first end of the capacitor and the first end of the first resistor, and the second end of the first resistor is grounded;

[0013] The second end of the capacitor is connected to the first end of the second switch transistor and the first end of the second resistor respectively, and the second end of the second resistor is grounded;

[0014] The second end of the second switch transistor is connected to the first control module, and the third end of the second switch transistor is grounded.

[0015] Optionally, the first switch transistor is a PMOS transistor, and the second switch transistor is an NMOS transistor;

[0016] The gate of the PMOS tube is connected to the sensing module, the source of the PMOS tube is connected to the power supply, the drain of the PMOS tube is respectively connected to the first end of the capacitor and the first end of the first resistor, and the second end of the first resistor is grounded;

[0017] The second end of the capacitor is connected to the gate of the NMOS tube and the first end of the second resistor respectively, and the second end of the second resistor is grounded;

[0018] The source of the NMOS tube is connected to the first control module, and the drain of the NMOS tube is grounded.

[0019] Optionally, the first control module includes a preset signal pin, which is connected to the switch module. When the sensing module receives a first input signal, the switch module is in a first working state, and a third input signal is sent to the switch module, so that the switch module is in a second working state when the third input signal is received, and the sensing module is disconnected from the first control module.

[0020] Optionally, the switch module is a PMOS tube, and the gate of the PMOS tube is connected to the preset signal pin and the first end of the third resistor respectively;

[0021] The source of the PMOS tube is connected to the first control module, the drain of the PMOS tube is connected to the sensing module, the second end of the third resistor is grounded, and the preset signal pin includes a PS-HOLD pin or a SYS-OK pin.

[0022] Optionally, the control module further includes a second control module;

[0023] The second control module is a non-system control circuit in the control module, and the second control module is connected to the sensing module and the functional module respectively, wherein the second control module is used to control the functional module to perform a second operation, and the second control module is composed of a GPIO pin, an ADC or a comparator.

[0024] In a second aspect, an embodiment of the present application provides a functional component, including a protection circuit as described in any one of the first aspects.

[0025] In a third aspect, an embodiment of the present application provides an electronic device comprising the functional components described in the second aspect.

[0026] The protection circuit, functional components and electronic device in the embodiments of the present application, the protection circuit includes: a sensing module, a switch module and a control module, the sensing module is connected to the control module through the switch module, the switch module can be switched between a first working state and a second working state, when the sensing module receives a first input signal, the switch module is in the first working state, the sensing module and the control module are connected, and the control module performs a first operation corresponding to the first input signal, when the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module, so that once the sensing module in the electronic device is damaged, the second input signal is received by the sensing module, so that the sensing module is disconnected from the control module, which effectively avoids the problem that when the sensing module in the electronic device is damaged, the sensing module always triggers the control module corresponding to the sensing module to perform the first operation, causing the electronic device to be in an abnormal state and affecting the normal operation of the user, thereby further improving the user's usage experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0028] Figure 1 A schematic diagram of the first structure of the protection circuit provided in the embodiment of the present application;

[0029] Figure 2 A second structural schematic diagram of a protection circuit provided in an embodiment of the present application;

[0030] Figure 3 A third structural schematic diagram of the protection circuit provided in the embodiment of the present application;

[0031] Figure 4 A diagram showing the internal voltage change of the switch module after the sensing module provided in the embodiment of the present application is damaged;

[0032] Figure 5 A fourth structural schematic diagram of a protection circuit provided in an embodiment of the present application;

[0033] Figure 6 A fifth structural schematic diagram of a protection circuit provided in an embodiment of the present application;

[0034] Figure 7 A sixth structural schematic diagram of a protection circuit provided in an embodiment of the present application;

[0035] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0036] Legend:

[0037] 100-sensing module, 101-switch module, 102-control module, 1021-first control module, 1022-functional module, 1023-second control module, 10211-preset signal pin, Q1-PMOS tube, Q2-NMOS tube, C1-capacitor, R1-first resistor, R2-second resistor, R3-third resistor, S-source, D-drain, G-gate. DETAILED DESCRIPTION

[0038] Embodiments of the present application provide a protection circuit, a functional component, and an electronic device.

[0039] Usually, for handheld mobile communication terminals, based on the requirements of aesthetics, waterproofness and dustproofness, the openings and gaps of the fuselage are getting fewer and fewer, and the overall sense is getting higher and higher. At present, in order to meet the above requirements, pressure-sensing buttons are often used in existing mobile communication terminals to replace physical buttons (such as power buttons, volume +, volume -). In this way, there is no need to open holes on the middle frame. It is only necessary to place a pressure-sensing sensor on the inside of the middle frame. When the finger presses hard, the middle frame produces a slight deformation, and the sensor senses this change to determine which button is pressed. However, since the pressure-sensing module of the above-mentioned pressure-sensing button is relatively fragile, it is easy to be damaged in falling and bumping. For example, the power button is an important control button of a handheld mobile communication terminal, which will be used for functions such as power on and off, lock screen and light screen, long press to restart, etc. When a pressure-sensing button is used as a power button, when the above-mentioned pressure-sensing button is damaged, it may always trigger the power button to be pressed, so that normal operation will be affected. For this reason, the embodiment of the present application provides a solution to the problem that the electronic device sensing module is always triggered to press the corresponding button of the sensing module after being damaged, causing the electronic device to be in an abnormal state and affecting the normal operation of the user.

[0040] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0041] Embodiment 1

[0042] The present application embodiment provides a protection circuit, which is applied to electronic equipment, such as Figure 1 As shown, the protection circuit includes: a sensing module 100 , a switch module 101 and a control module 102 , wherein the sensing module 100 is connected to the control module 102 via the switch module 101 .

[0043] The above-mentioned sensing module 100 can be a sensing module composed of a variety of different components, circuits, etc., wherein the components and circuits contained therein can be selected according to actual conditions. The sensing module 100 may include a circuit or component capable of outputting a first preset voltage signal based on a received first input signal, wherein the above-mentioned first preset voltage signal can be a low-level signal.

[0044] Specifically, for example, the above-mentioned sensing module can be a sound sensing module, and the above-mentioned first input signal can be a voice signal, or it can be a voice signal of a preset duration. The sound sensing module can output a first preset voltage signal based on the acquired voice signal of the user or based on the acquired voice signal of a preset duration; or, the sensing module can also be a pressure sensing module, and the first input signal can be a pressing signal when the user acts on the sensing module, or it can be a pressing signal when the user acts on the sensing module for a preset duration. The pressure sensing module can output a first preset voltage signal based on the received user's pressing signal or based on the received pressing signal of a preset duration.

[0045] The switch module 101 may include a switch circuit, which may include a MOS tube or a triode tube, etc. The switch module 101 may be switched between a first working state and a second working state. When the sensing module 100 receives a first input signal, the switch module 101 may be in the first working state, the sensing module 100 is connected to the control module 102, and the control module 102 performs a first operation corresponding to the first input signal; when the sensing module 100 receives a second input signal, the switch module 101 is in the second working state, and the sensing module 100 is disconnected from the control module 102.

[0046] The first working state may be a closed state, when the switch module 101 is in the closed state, the sensing module 100 is connected to the control module 102. The second working state may be an open state, when the switch module 101 is in the open state, the sensing module 100 is disconnected from the control module 102. The second input signal may be a sound signal, a pressing signal, or a sound signal of a preset duration or a pressing signal of a preset duration.

[0047] The control module 102 may be a module that provides control over multiple functions of the electronic device, for example, a module that controls the power on / off function of the electronic device, or a module that controls the volume key of the electronic device, or a module that controls the screen brightness of the electronic device, etc. Correspondingly, the first operation may be an operation of turning on or off the device, or an operation of increasing or decreasing the volume, or an operation of increasing or decreasing the screen brightness of the electronic device.

[0048] In implementation, taking the sensing module 100 as a pressure sensing module as an example, when the user triggers the pressure sensing module, the pressure sensing module may receive a first input signal and output a first preset voltage signal based on the received first input signal, wherein the sensing module 100 may include an output terminal, which may be connected to the input terminal of the switch module 101, and the switch module 101 may receive the first preset voltage signal output from the output terminal of the sensing module 100 through the input terminal, and when the switch module 101 receives the first preset voltage signal as a low level signal, the switch module 101 may be triggered to be turned on, so that the switch module 101 is in the first working state, and then the sensing module 100 is turned on with the control module 102. Since the switch module 101 is connected to the control module 102, when the switch module 101 is in the first working state, the sensing module 100 is turned on with the control module 102, and the control module 102 may perform a first operation corresponding to the first input signal.

[0049] In order to prevent the sensing module 100 from being damaged, it may output the first preset voltage signal all the time, so that the switch module 101 is in the first working state, so that the control module always performs the first operation corresponding to the first input signal, thereby affecting the normal operation of the user. For example, if the sensing module 100 corresponds to the power button of the electronic device, when the sensing module 100 is damaged, the electronic device may be in a state of repeatedly turning the screen on and off, or repeatedly entering the state of shutting down and restarting, thereby affecting the normal operation of the user. Based on this, the sensing module 100 provided in the embodiment of this specification can make the switch module 101 in the second working state when receiving the second input signal, so that the sensing module 100 is disconnected from the control module 102, so as to effectively ensure that when the sensing module 100 is damaged, it will not affect the normal use of the electronic device by the user, wherein the second input signal can be used to indicate that the sensing module of the electronic device is abnormal.

[0050] In implementation, taking the above-mentioned sensing module 100 as a pressure sensing module, the above-mentioned first input signal as a pressing signal, and the above-mentioned second input signal as a pressing signal of a preset duration as an example, when the above-mentioned sensing module 100 receives the pressing signal, the above-mentioned switch module 101 can be in the first working state, the above-mentioned sensing module 100 is connected with the above-mentioned control module 102, and the above-mentioned control module 102 performs the first operation corresponding to the pressing signal of the first preset duration. When the above-mentioned sensing module 100 detects that the duration of the above-mentioned pressing signal reaches the preset duration, that is, when the above-mentioned sensing module 100 receives the pressing signal of the preset duration, the above-mentioned switch module 101 can be in the second working state, and the above-mentioned sensing module 100 can be disconnected from the above-mentioned control module 102. In this way, when the sensing module 100 receives the pressing signal of the second preset duration, the method of disconnecting the connection with the above-mentioned control module through the above-mentioned switch module 101 effectively avoids the problem that when the sensing module of the electronic device is damaged, the control module 102 always performs the first operation corresponding to the above-mentioned first input signal, thereby affecting the normal operation of the user, and further improves the user's use experience.

[0051] Alternatively, taking the above-mentioned sensing module 100 as a pressure sensing module, the above-mentioned first input signal can be a pressing signal of a first preset time length, and the above-mentioned second input signal can be a pressing signal of a second preset time length, wherein the above-mentioned second preset time length is greater than the first preset time length as an example, when the above-mentioned sensing module 100 receives a pressing signal of the first preset time length, the above-mentioned switch module 101 can be in a first working state, the above-mentioned sensing module 100 is connected with the above-mentioned control module 102, and the above-mentioned control module 102 performs a first operation corresponding to the pressing signal of the first preset time length. When the above-mentioned sensing module 100 receives a pressing signal of the second preset time length, the above-mentioned switch module 101 can be in a second working state, and the above-mentioned sensing module 100 can be disconnected from the above-mentioned control module 102. In this way, when the sensing module 100 receives a pressing signal of the second preset time length, the method of disconnecting the connection with the above-mentioned control module through the above-mentioned switch module 101 effectively avoids the problem that when the sensing module of the electronic device is damaged, the control module 102 always performs the first operation corresponding to the above-mentioned first input signal, thereby affecting the normal operation of the user, and further improves the user's use experience.

[0052] Specifically, taking the above-mentioned first preset time length as 1 second, the above-mentioned second preset time length as 30 seconds, and the above-mentioned first operation as the screen-lighting operation as an example, when the user needs to start the screen-lighting function of the electronic device, the user can press the pressure sensing module inside the electronic device (the pressure sensing module corresponds to the power button of the electronic device, and the power button can be used to indicate the power on and off of the electronic device, lock the screen, light up the screen, long press to restart and other functional operations). If the above-mentioned pressure sensing module receives a 1-second pressing signal, it outputs a first preset voltage signal, so that the above-mentioned switch module 101 is in the first working state, the above-mentioned sensing module 100 is connected to the above-mentioned control module 102, and the above-mentioned control module 102 performs the screen-lighting operation. If the pressure sensing module detects that the pressing time of the received pressing signal reaches 30 seconds, the switch module 101 can be controlled to be in the second working state, and the sensing module 100 can be disconnected from the control module 102. In this way, when the sensing module 100 receives a pressing signal of the second preset time length, the method of disconnecting the connection with the control module through the switch module 101 can effectively avoid the problem that when the sensing module of the electronic device is damaged, the control module 102 always executes the first operation corresponding to the first input signal, thereby affecting the normal operation of the user, thereby further improving the user's experience.

[0053] The protection circuit provided in the embodiment of the present application includes: a sensing module, a switch module and a control module. The sensing module is connected to the control module through the switch module. The switch module can switch between a first working state and a second working state. When the sensing module receives a first input signal, the switch module is in the first working state, the sensing module and the control module are connected, and the control module performs a first operation corresponding to the first input signal. When the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module. In this way, once the sensing module in the electronic device is damaged, the second input signal is received by the sensing module, so that the sensing module is disconnected from the control module, which effectively avoids the problem that when the sensing module in the electronic device is damaged, the sensing module always triggers the control module corresponding to the sensing module to perform the first operation, causing the electronic device to be in an abnormal state and affecting the normal operation of the user, thereby further improving the user's usage experience.

[0054] Embodiment 2

[0055] Figure 2 Another protection circuit provided in the embodiment of the present application. The protection circuit includes Figure 1 All units of the protection circuit shown in the figure are improved on this basis. The improvements are as follows:

[0056] Wherein, the first input signal may be a trigger signal of a first preset duration, and the second input signal may be a trigger signal of a second preset duration, wherein the second preset duration may be greater than the first preset duration, and wherein the trigger signal may be a signal generated when the sensing module is pressed. In this way, the sensing module may control the switch module to switch between the first working state and the second working state by detecting the trigger duration (such as the preset duration) of the received trigger signal. When it is detected that the trigger duration of the trigger signal reaches the second preset duration, it may be determined that the sensing module is abnormal, so that the sensing module is disconnected from the control module, effectively avoiding the problem that when the sensing module in the electronic device is damaged, the sensing module always triggers the control module corresponding to the sensing module to perform the first operation, causing the electronic device to be in an abnormal state and affecting the normal operation of the user, and further improving the user's use experience.

[0057] Further, such as Figure 2 As shown, the control module 102 may include a first control module 1021 and a functional module 1022 , and the first control module 1021 is connected to the switch module 101 and the functional module 1022 , respectively.

[0058] The first control module 1021 may be used to control the functional module 1022 to perform a corresponding first operation, and the functional module 1022 may include a power on / off module, a screen module, a volume module, and the like.

[0059] In actual applications, the first control module 1021 can control the functional module 1022 in the above-mentioned electronic device, for example, control the power on / off module of the electronic device to perform a power on or power off operation, or control the screen module of the electronic device to perform a screen light on or screen off operation, or control the volume module of the electronic device to perform a volume increase or volume decrease operation.

[0060] Further, the corresponding relationship between the state information of the electronic device and the time-matching function module 1022 can be set in advance in the above-mentioned first control module 1021, so that the first control module 1021 can control the function module 102 in the electronic device to perform the corresponding first operation according to the state information of the electronic device and the duration of the above-mentioned first preset voltage signal received from the sensing module. For example, when the first control module 1021 detects that the current electronic device is in the shutdown state and the duration of receiving the first preset voltage signal is less than 3 seconds, the power-on module can be controlled to perform the operation of maintaining the shutdown state. When the first control module 1021 detects that the current electronic device is in the shutdown state and the duration of receiving the first preset voltage signal is 4 seconds, a prompt message of whether to start the device can be displayed on the display screen of the electronic device (such as displaying a sliding touch screen to yes or no on the display screen of the current electronic device), and when receiving the "yes" button clicked by the user, the power-on module is controlled to perform the power-on operation. When the first control module 1021 detects that the current electronic device is in the power-on state and the duration of receiving the first preset voltage signal is less than 3 seconds, the screen module is controlled to perform the operation of keeping the system in a dormant state. When the first control module 1021 detects that the current electronic device is in the power-on state and the duration of the received first control signal is 4 seconds, a prompt message on whether to shut down can be displayed on the display screen of the electronic device (such as sliding the touch screen to yes or no on the display screen of the current electronic device). When the user clicks the "Yes" button, the shutdown module is controlled to perform the shutdown operation.

[0061] Furthermore, the above-mentioned switching module may include a first switching transistor, a capacitor, a first resistor, a second resistor and a second switching transistor. The first end of the above-mentioned first switching transistor is connected to the sensing module, the second end of the first switching transistor is connected to the power supply, the third end of the first switching transistor is respectively connected to the first end of the capacitor and the first end of the first resistor, the second end of the first resistor is grounded, the second end of the above-mentioned capacitor is respectively connected to the first end of the second switching transistor and the first end of the second resistor, the second end of the second resistor is grounded, the second end of the above-mentioned second switching transistor is connected to the first control module, and the third end of the second switching transistor is grounded.

[0062] Specifically, Figure 3As shown, the first switch transistor may be a PMOS transistor Q1, the second switch transistor may be an NMOS transistor Q2, the gate of the PMOS transistor Q1 may be connected to the sensing module 100, the source of the PMOS transistor Q1 may be connected to the power supply, the drain of the PMOS transistor Q1 may be connected to the first end of the capacitor C1 and the first end of the first resistor R1, respectively, and the second end of the first resistor R1 is grounded. The second end of the capacitor C1 is connected to the gate of the NMOS transistor Q2 and the first end of the second resistor R2, respectively, and the second end of the second resistor R2 is grounded. The source of the NMOS transistor Q2 is connected to the first control module 1021, the drain of the NMOS transistor Q2 is grounded, and the first control module 1021 is connected to the functional module 1022.

[0063] Specifically, during the implementation process, Figure 3 and Figure 4 As shown, taking the above-mentioned sensing module 100 as a pressure sensing module as an example, when the pressure sensing module receives the above-mentioned first input signal (such as the user pressing the above-mentioned pressure sensing module, the above-mentioned pressure sensing module receives the signal), it will output a low-level signal (at this time, the level at point A is low), so that the above-mentioned PMOS tube Q1 is turned on (at this time, the level at point B is high). The above-mentioned capacitor C1 can be a DC blocking capacitor. When the voltage at point B is at a high level, since the voltage across the capacitor C1 cannot change suddenly, the level at point C is high. When the voltage at point C is at a high level, the NMOS tube Q2 is turned on. At this time, the level at point D is pulled down to a low level. Since the pin of the above-mentioned first control module 1021 is valid at a low level, at this time, the first control module 1021 can control the functional module 1022 to perform the first operation.

[0064] When the pressure sensing module is damaged, that is, the pressure sensing module receives the second input signal, if point A always outputs a low level, so that the PMOS tube Q1 is always in the open state, the voltage at point B will always be a high level. Due to the characteristics of the capacitor, the voltage on the capacitor cannot change suddenly (it is too late to charge, which is equivalent to a short circuit, V c =0), at this time, the input voltage is completely dropped on the second resistor R2. Subsequently, the voltage of capacitor C1 can be charged and increased rapidly according to the exponential law, and the output voltage decreases accordingly according to the exponential law. After about 5τ (τ = R × C), the voltage at point C is close to 0V. The above voltage change process can be seen in Figure 7 shown.

[0065] When the voltage at point C is lower than the threshold at which the NMOS tube Q2 is turned on, the NMOS tube Q2 is disconnected (the NMOS tube is in the second working state), and the voltage at point D is restored to a high level, which is equivalent to the pressure sensing module releasing the power-on control signal. At this time, even if point A is still at a low level (i.e., the pressure sensing module receives the second input signal), it will not affect the restoration of point D to a high level. Since the power-on pin is valid at a low level, and point D has been restored to a high level at this time, it is equivalent to the disconnection of the sensing module from the first control module, and the sensing module will not control the first control module to perform the power-on action all the time, thereby effectively avoiding the problem that when the sensing module in the electronic device is damaged, the sensing module always triggers the control module corresponding to the sensing module to perform the first operation, causing the electronic device to be in an abnormal state and affecting the normal operation of the user, further improving the user's experience.

[0066] The protection circuit provided in the embodiment of the present application includes: a sensing module, a switch module and a control module. The sensing module is connected to the control module through the switch module. The switch module can switch between a first working state and a second working state. When the sensing module receives a first input signal, the switch module is in the first working state, the sensing module and the control module are connected, and the control module performs a first operation corresponding to the first input signal. When the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module. In this way, once the sensing module in the electronic device is damaged, the second input signal is received by the sensing module, so that the sensing module is disconnected from the control module, which effectively avoids the problem that when the sensing module in the electronic device is damaged, the sensing module always triggers the control module corresponding to the sensing module to perform the first operation, causing the electronic device to be in an abnormal state and affecting the normal operation of the user, thereby further improving the user's usage experience.

[0067] Embodiment 3

[0068] Figure 5 Another protection circuit provided in the embodiment of the present application. The protection circuit includes Figure 2All units of the protection circuit shown in the figure are improved on this basis, and the improvement content is as follows: the above-mentioned control module 102 includes a first control module 1021 and a functional module 1022, the above-mentioned first control module 1021 may include a preset signal pin 10211, the above-mentioned preset signal pin 10211 is respectively connected to the above-mentioned switch module 101 and the functional module 1022, the above-mentioned first control module 1021 is connected to the above-mentioned switch module 101, and the above-mentioned switch module 101 is connected to the sensing module 100, the above-mentioned preset signal pin 10211 is when the above-mentioned sensing module 100 receives the first input signal, the switch module 101 is in the first working state, and the third input signal is sent to the switch module 101, so that the switch module 101 is in the second working state when the third input signal is received, and the sensing module 100 is disconnected from the first control module 1021, wherein the above-mentioned third input signal can be a high level signal.

[0069] In implementation, the sensing module 100 can, when receiving the first input signal, control the switch module 101 to be in the first working state, so that the first control module 1021 performs the first operation corresponding to the first input operation. The first control module 1021 can send a third input signal to the switch module 101 after performing the first operation, so that the switch module 101 is in the second working state after receiving the third input signal, thereby disconnecting the sensing module 100 from the first control module 1021. By adopting the protection circuit, when the first control module 1021 completes the first operation, the third input signal is sent to the switch module 101 to disconnect the connection with the sensing module 100. Even if the sensing module is damaged, the electronic device will not be in an abnormal state, which will affect the normal operation of the user, and the user experience is further improved.

[0070] Specifically, Figure 6 As shown, the control module 102 includes a first control module 1021 and a functional module 1022. The first control module 1021 may include a preset signal pin 10211. The switch module may be a PMOS tube Q1. The gate G of the PMOS tube Q1 may be connected to the preset signal pin 10211 and the first end of the third resistor R3, respectively. The source S of the PMOS tube Q1 may be connected to the first control module 1021. The drain D of the PMOS tube Q1 may be connected to the sensing module 100. The second end of the third resistor R3 is grounded. The preset signal pin 10211 is connected to the functional module 1022. The preset signal pin 10211 may be composed of a PS-HOLD pin or a SYS-OK pin.

[0071] In implementation, the above Figure 6 For example, when the sensing module 100 does not receive a trigger signal from the user, for example, when the user does not trigger the sensing module 100, the preset signal pin (such as PS-HOLD) can be a low level, at which time, the gate G of the PMOS tube Q1 is a low level, and the PMOS tube Q1 is turned on. When the sensing module 100 receives a first input signal (such as a press signal), the level of the first control module 1021 is pulled down to a low level, at which time, the first control module 1021 controls the functional module 1022 to perform a first operation (such as a power-on operation, etc.), and when the first operation is completed, the PS-HOLD can output a high level signal to the switch module 101, and at this time, the PMOS tube Q1 is turned off. Since the PMOS tube Q1 is turned off, the sensing module 100 is isolated from the first control module 1021, and even if the sensing module is damaged, it will not affect the subsequent normal operation of the user.

[0072] Further, such as Figure 7 As shown, the control module 102 includes a first control module 1021 and a functional module 1022. The first control module 1021 may include a preset signal pin 10211. The control module 102 may also include a second control module 1023. The switch module may be a PMOS tube Q1. The gate G of the PMOS tube Q1 may be connected to the preset signal pin 10211 and the first end of the third resistor R3 respectively. The source S of the PMOS tube Q1 may be connected to the first control module 1021. The drain D of the PMOS tube Q1 may be connected to the sensing module 100. The second end of the third resistor R3 is grounded. The above-mentioned preset signal pin 10211 is connected to the above-mentioned functional module 1022, and the above-mentioned second control module 1023 can be a non-system control circuit in the control module 102 connected to the above-mentioned sensing module 100. The above-mentioned second control module 1023 can be connected to the above-mentioned sensing module 100 and the above-mentioned functional module 1022 respectively, wherein the above-mentioned second control module 1023 can be used to control the functional module 1022 to perform a second operation, and the above-mentioned second operation can be operations such as the user entering a phone number, clicking an application, etc. The second control module 1023 can be composed of a GPIO pin, an ADC or a comparator.

[0073] Furthermore, the second control module 1023 may also be configured to send a prompt signal when detecting that the sensing module 100 receives the second input signal.

[0074] In implementation, the second control module can also be used to read the level. When the second control module detects that the sensing module receives the second input signal, for example, when it detects that the duration of the first preset voltage output by the sensing module when receiving the second input signal is greater than the preset duration, a prompt signal can be generated. The prompt signal can be used to prompt the user that the sensing module is damaged, so that the user can go to after-sales service for corresponding inspection after receiving the prompt information. At the same time, the user can double-click the screen of the electronic device to wake up the screen, and the electronic device can call out the virtual lock screen key in the awakened state, so that the user can try to ensure that normal operations can be completed even if the sensing module is damaged, thereby improving the user experience.

[0075] The protection circuit provided in the embodiment of the present application includes: a sensing module, a switch module and a control module. The sensing module is connected to the control module through the switch module. The switch module can switch between a first working state and a second working state. When the sensing module receives a first input signal, the switch module is in the first working state, the sensing module and the control module are connected, and the control module performs a first operation corresponding to the first input signal. When the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module. In this way, once the sensing module in the electronic device is damaged, the second input signal is received by the sensing module, so that the sensing module is disconnected from the control module, which effectively avoids the problem that when the sensing module in the electronic device is damaged, the sensing module always triggers the control module corresponding to the sensing module to perform the first operation, causing the electronic device to be in an abnormal state and affecting the normal operation of the user, thereby further improving the user's usage experience.

[0076] Embodiment 4

[0077] The embodiment of the present application further provides a functional component, which may include the protection circuit in the aforementioned embodiment, wherein the protection circuit is applied to electronic equipment and includes: a sensing module, a switch module and a control module;

[0078] The sensing module is connected to the control module through the switch module;

[0079] The switch module can switch between a first working state and a second working state. When the sensing module receives a first input signal, the switch module is in the first working state, the sensing module is connected to the control module, and the control module performs a first operation corresponding to the first input signal; when the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module.

[0080] Furthermore, the first input signal is a trigger signal of a first preset time length, and the second input signal is a trigger signal of a second preset time length, wherein the second preset time length is greater than the first preset time length, and the trigger signal is a signal generated when the sensing module is pressed.

[0081] Furthermore, the control module includes a first control module and a functional module, and the first control module is connected to the switch module and the functional module respectively.

[0082] Further, the switch module includes a first switch transistor, a capacitor, a first resistor, a second resistor and a second switch transistor;

[0083] The first end of the first switch transistor is connected to the sensing module, the second end of the first switch transistor is connected to a power supply, the third end of the first switch transistor is respectively connected to the first end of the capacitor and the first end of the first resistor, and the second end of the first resistor is grounded;

[0084] The second end of the capacitor is connected to the first end of the second switch transistor and the first end of the second resistor respectively, and the second end of the second resistor is grounded;

[0085] The second end of the second switch transistor is connected to the first control module, and the third end of the second switch transistor is grounded.

[0086] Furthermore, the first switch transistor is a PMOS transistor, and the second switch transistor is an NMOS transistor;

[0087] The gate of the PMOS tube is connected to the sensing module, the source of the PMOS tube is connected to the power supply, the drain of the PMOS tube is respectively connected to the first end of the capacitor and the first end of the first resistor, and the second end of the first resistor is grounded;

[0088] The second end of the capacitor is connected to the gate of the NMOS tube and the first end of the second resistor respectively, and the second end of the second resistor is grounded;

[0089] The source of the NMOS tube is connected to the first control module, and the drain of the NMOS tube is grounded.

[0090] Furthermore, the first control module includes a preset signal pin, which is connected to the switch module. When the sensing module receives the first input signal, the switch module is in the first working state, and a third input signal is sent to the switch module, so that the switch module is in the second working state when the third input signal is received, and the sensing module is disconnected from the first control module.

[0091] Furthermore, the switch module is a PMOS tube, and the gate of the PMOS tube is connected to the preset signal pin and the first end of the third resistor respectively;

[0092] The source of the PMOS tube is connected to the first control module, the drain of the PMOS tube is connected to the sensing module, the second end of the third resistor is grounded, and the preset signal pin includes a PS-HOLD pin or a SYS-OK pin.

[0093] Furthermore, the control module also includes a second control module;

[0094] The second control module is a non-system control circuit in the control module, and the second control module is connected to the sensing module and the functional module respectively, wherein the second control module is used to control the functional module to perform a second operation, and the second control module is composed of a GPIO pin, an ADC or a comparator.

[0095] The functional component provided in the embodiment of the present application includes a protection circuit, which includes: a sensing module, a switch module and a control module. The sensing module is connected to the control module through the switch module. The switch module can switch between a first working state and a second working state. When the sensing module receives a first input signal, the switch module is in the first working state, the sensing module and the control module are connected, and the control module performs a first operation corresponding to the first input signal. When the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module. In this way, once the sensing module in the electronic device is damaged, the second input signal is received by the sensing module, so that the sensing module is disconnected from the control module, which effectively avoids the problem that when the sensing module in the electronic device is damaged, the sensing module always triggers the control module corresponding to the sensing module to perform the first operation, causing the electronic device to be in an abnormal state and affecting the normal operation of the user, thereby further improving the user's usage experience.

[0096] Embodiment 5

[0097] The present application also provides an electronic device, such as Figure 8 As shown, Figure 8A hardware structure diagram of an electronic device for implementing each embodiment of the present application is provided, and the electronic device includes the functional components described in the fourth embodiment, or the protection circuit described in the first, second, or third embodiment. In addition, the electronic device may also include but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will understand that Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present application, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0098] The electronic device may include the functional component, and the functional component may include the protection circuit described in the first, second, or third embodiment.

[0099] The above protection circuit is applied to electronic equipment, including: a sensing module, a switch module and a control module;

[0100] The sensing module is connected to the control module through the switch module;

[0101] The switch module can switch between a first working state and a second working state. When the sensing module receives a first input signal, the switch module is in the first working state, the sensing module is connected to the control module, and the control module performs a first operation corresponding to the first input signal; when the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module.

[0102] Furthermore, the first input signal is a trigger signal of a first preset time length, and the second input signal is a trigger signal of a second preset time length, wherein the second preset time length is greater than the first preset time length, and the trigger signal is a signal generated when the sensing module is pressed.

[0103] Furthermore, the control module includes a first control module and a functional module, and the first control module is connected to the switch module and the functional module respectively.

[0104] Further, the switch module includes a first switch transistor, a capacitor, a first resistor, a second resistor and a second switch transistor;

[0105] The first end of the first switch transistor is connected to the sensing module, the second end of the first switch transistor is connected to a power supply, the third end of the first switch transistor is respectively connected to the first end of the capacitor and the first end of the first resistor, and the second end of the first resistor is grounded;

[0106] The second end of the capacitor is connected to the first end of the second switch transistor and the first end of the second resistor respectively, and the second end of the second resistor is grounded;

[0107] The second end of the second switch transistor is connected to the first control module, and the third end of the second switch transistor is grounded.

[0108] Furthermore, the first switch transistor is a PMOS transistor, and the second switch transistor is an NMOS transistor;

[0109] The gate of the PMOS tube is connected to the sensing module, the source of the PMOS tube is connected to the power supply, the drain of the PMOS tube is respectively connected to the first end of the capacitor and the first end of the first resistor, and the second end of the first resistor is grounded;

[0110] The second end of the capacitor is connected to the gate of the NMOS tube and the first end of the second resistor respectively, and the second end of the second resistor is grounded;

[0111] The source of the NMOS tube is connected to the first control module, and the drain of the NMOS tube is grounded.

[0112] Furthermore, the first control module includes a preset signal pin, which is connected to the switch module. When the sensing module receives the first input signal, the switch module is in the first working state, and a third input signal is sent to the switch module, so that the switch module is in the second working state when the third input signal is received, and the sensing module is disconnected from the first control module.

[0113] Furthermore, the switch module is a PMOS tube, and the gate of the PMOS tube is connected to the preset signal pin and the first end of the third resistor respectively;

[0114] The source of the PMOS tube is connected to the first control module, the drain of the PMOS tube is connected to the sensing module, the second end of the third resistor is grounded, and the preset signal pin includes a PS-HOLD pin or a SYS-OK pin.

[0115] Furthermore, the control module also includes a second control module;

[0116] The second control module is a non-system control circuit in the control module, and the second control module is connected to the sensing module and the functional module respectively, wherein the second control module is used to control the functional module to perform a second operation, and the second control module is composed of a GPIO pin, an ADC or a comparator.

[0117] An electronic device provided in an embodiment of the present application includes a protection circuit, which includes: a sensing module, a switch module and a control module. The sensing module is connected to the control module through the switch module. The switch module can switch between a first working state and a second working state. When the sensing module receives a first input signal, the switch module is in the first working state, the sensing module and the control module are connected, and the control module performs a first operation corresponding to the first input signal. When the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module. In this way, once the sensing module in the electronic device is damaged, the second input signal is received by the sensing module, so that the sensing module is disconnected from the control module, which effectively avoids the problem that when the sensing module in the electronic device is damaged, the sensing module always triggers the control module corresponding to the sensing module to perform the first operation, causing the electronic device to be in an abnormal state and affecting the normal operation of the user, thereby further improving the user's usage experience.

[0118] It should be understood that in the embodiment of the present application, the radio frequency unit 801 can be used for receiving and sending signals during information transmission or calls. Specifically, after receiving downlink data from the base station, it is sent to the processor 810 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 801 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.

[0119] The electronic device provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0120] The audio output unit 803 can convert the audio data received by the RF unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output it as sound. Moreover, the audio output unit 803 can also provide audio output related to a specific function performed by the electronic device 800 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, etc.

[0121] The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processor (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 806. The image frame processed by the graphics processor 8041 can be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 801 in the case of a telephone call mode.

[0122] The electronic device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 8061 and / or the backlight when the electronic device 800 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 805 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0123] The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0124] The user input unit 807 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 8071 or near the touch panel 8071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 8071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 810, receives the command sent by the processor 810 and executes it. In addition, the touch panel 8071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 8071, the user input unit 807 may also include other input devices 8072. Specifically, other input devices 8072 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 described in detail here.

[0125] Furthermore, the touch panel 8071 may be overlaid on the display panel 8061. When the touch panel 8071 detects a touch operation on or near it, it transmits the information to the processor 810 to determine the type of the touch event. Then, the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Figure 8 In the figure, the touch panel 8071 and the display panel 8061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0126] The interface unit 808 is an interface for connecting an external device to the electronic device 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and an external device.

[0127] The memory 809 can be used to store software programs and various data. The memory 809 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 809 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0128] The processor 810 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 809 and calling data stored in the memory 809, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 810.

[0129] The electronic device 800 may also include a power supply 811 (such as a battery) for supplying power to each component. Preferably, the power supply 811 may be logically connected to the processor 810 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0130] In addition, the electronic device 800 includes some functional modules not shown, which will not be described in detail here.

[0131] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0132] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0133] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0134] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0135] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0136] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0137] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0138] It is to be understood that the embodiments described in the embodiments of the present application may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.

[0139] For software implementation, the technology described in the embodiments of the present application can be implemented by a module (such as a process, function, etc.) that performs the functions described in the embodiments of the present application. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0140] It should also be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.

[0141] 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 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 a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0142] 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 implementations, which are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in the field can make various changes and modifications to the present application without departing from the scope of protection of the purpose of the present application and the claims. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.

Claims

1. A protection circuit, characterized in that: include: Sensing module, switch module and control module; The sensing module is connected to the control module through the switch module; The switch module can be switched between a first working state and a second working state. When the sensing module receives a first input signal, the switch module is in the first working state, the sensing module is connected to the control module, and the control module performs a first operation corresponding to the first input signal; when the sensing module receives a second input signal, the switch module is in the second working state, and the sensing module is disconnected from the control module. The first input signal is a trigger signal of a first preset time length, and the second input signal is a trigger signal of a second preset time length, wherein the second preset time length is greater than the first preset time length, and the trigger signal is a signal generated when the sensing module is pressed; The control module includes a first control module and a functional module, and the first control module is connected to the switch module and the functional module respectively.

2. The protection circuit according to claim 1, characterized in that: The switch module includes a first switch transistor, a capacitor, a first resistor, a second resistor and a second switch transistor; The first end of the first switch transistor is connected to the sensing module, the second end of the first switch transistor is connected to a power supply, the third end of the first switch transistor is respectively connected to the first end of the capacitor and the first end of the first resistor, and the second end of the first resistor is grounded; The second end of the capacitor is connected to the first end of the second switch transistor and the first end of the second resistor respectively, and the second end of the second resistor is grounded; The second end of the second switch transistor is connected to the first control module, and the third end of the second switch transistor is grounded.

3. The protection circuit according to claim 2, characterized in that: The first switch transistor is a PMOS transistor, and the second switch transistor is an NMOS transistor; The gate of the PMOS tube is connected to the sensing module, the source of the PMOS tube is connected to the power supply, the drain of the PMOS tube is respectively connected to the first end of the capacitor and the first end of the first resistor, and the second end of the first resistor is grounded; The second end of the capacitor is connected to the gate of the NMOS tube and the first end of the second resistor respectively, and the second end of the second resistor is grounded; The source of the NMOS tube is connected to the first control module, and the drain of the NMOS tube is grounded.

4. The protection circuit according to claim 1, characterized in that: The first control module includes a preset signal pin, which is connected to the switch module. When the sensing module receives a first input signal, the switch module is in a first working state, and a third input signal is sent to the switch module, so that the switch module is in a second working state when the third input signal is received, and the sensing module is disconnected from the first control module.

5. The protection circuit according to claim 4, characterized in that: The switch module is a PMOS tube, and the gate of the PMOS tube is connected to the preset signal pin and the first end of the third resistor respectively; The source of the PMOS tube is connected to the first control module, the drain of the PMOS tube is connected to the sensing module, the second end of the third resistor is grounded, and the preset signal pin includes a PS-HOLD pin or a SYS-OK pin.

6. The protection circuit according to claim 1, characterized in that: The control module also includes a second control module; The second control module is a non-system control circuit in the control module, and the second control module is connected to the sensing module and the functional module respectively, wherein the second control module is used to control the functional module to perform a second operation, and the second control module is composed of a GPIO pin, an ADC or a comparator.

7. A functional component, characterized in that: Comprising the protection circuit as described in any one of claims 1-6.

8. An electronic device, characterized in that: Comprising the functional components as claimed in claim 7.