Electronic device and control method thereof
Patent Information
- Application Number
- CN202611000479.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-06
- Publication Date
- 2026-10-23
AI Technical Summary
然而现有技术中的充电接口容易流入液体,进而导致充电接口的引脚之间连通,发生电化学腐蚀
本发明实施例提供的控制方法,通过检测电子设备的目标接口是否进液,并在目标接口进液后截断脉冲信号第一时长后再恢复脉冲信号的输出,由于液体渗入后通信引脚与其他引脚的导通会形成电化学腐蚀;而在该截断输出的第一时长内消除了电化学腐蚀的形成条件,只剩下速度较慢的纯化学腐蚀影响,可以缓解腐蚀速率。在第一时长之后将恢复脉冲信号的输出,可以保证目标接口仍然可以与外部设备进行通信,避免对目标接口的正常工作造成较大影响。如此,可兼顾目标接口缓解腐蚀和正常工作的需求,延长目标接口的使用寿命。
Smart Images

Figure CN122962998A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of corrosion control technology for electronic device interfaces, and more particularly to an electronic device and its control method. Background Technology
[0002] With the development of electronic devices, their applications are becoming increasingly widespread. Most electronic devices in current technology are rechargeable, typically connected to an external power source via a charging interface. However, liquids can easily seep into these charging interfaces, causing the pins to connect and resulting in electrochemical corrosion. Summary of the Invention
[0003] Based on this, embodiments of the present invention provide an electronic device and a control method thereof that can slow down the rate of interface corrosion caused by liquid ingress.
[0004] This invention provides a control method for an electronic device, applied to the electronic device to detect whether a target interface of the electronic device has been infiltrated by liquid; adjusting the state of a pulse signal applied to a communication pin of the target interface according to whether liquid has been infiltrated by liquid; the pulse signal is used to communicate with an external device connected to the target interface; if liquid has been infiltrated by liquid, the application of the pulse signal to the communication pin of the target interface is stopped for a first duration, and then the pulse signal is applied to the communication pin again.
[0005] In some embodiments, the pulse signal includes a first pulse signal and a second pulse signal, wherein the frequency of the first pulse signal is higher than the frequency of the second pulse signal; the step of stopping applying the pulse signal to the communication pin of the target interface for a first duration and then applying the pulse signal to the communication pin again specifically means: stopping applying the first pulse signal to the communication pin of the target interface, and then applying the second pulse signal to the communication pin after stopping applying the first pulse signal for a first duration.
[0006] In some embodiments, the control method further includes: When the second pulse signal is applied to the communication pin, it is detected whether liquid has entered the target interface; If the target interface is not exposed to liquid, the pulse signal applied to the communication pin is the first pulse signal; if the target interface is exposed to liquid, the pulse signal applied to the communication pin is the second pulse signal.
[0007] In some embodiments, when the second pulse signal is applied to the communication pin, detecting whether liquid has entered the target interface specifically includes: acquiring level change information of a reference pin of the target interface; and determining whether liquid has entered the target interface based on the level change information.
[0008] In some embodiments, determining whether the target interface has been infiltrated based on the level change information specifically includes: when the target interface is infiltrated, the frequency of the level change information is the same as the frequency of the second pulse signal.
[0009] In some embodiments, the control method further includes: if the target interface is electrically connected to the external device, then stopping the detection of whether liquid has entered the target interface of the electronic device.
[0010] In some embodiments, stopping the application of the pulse signal to the communication pin specifically includes: controlling the communication pin to ground.
[0011] In some embodiments, the frequency of the second pulse signal is 0.01Hz-0.03Hz, and / or the first time is 30s-90s.
[0012] In some embodiments, detecting whether the target interface has been infiltrated by liquid includes: acquiring level change information of a reference pin of the target interface; and determining whether the target interface has been infiltrated by liquid based on the level change information.
[0013] This invention also provides an electronic device, which includes a target interface and a control chip. The target interface includes communication pins, and the control chip is electrically connected to the target interface. The control chip is used to execute the aforementioned electronic device control method.
[0014] The control method for electronic devices provided in this embodiment of the invention has at least the following beneficial effects: The control method provided in this invention detects whether liquid has entered the target interface of an electronic device. After liquid enters the target interface, the pulse signal is interrupted for a first duration before being restored. Since liquid penetration can cause electrochemical corrosion due to the connection between communication pins and other pins, the conditions for electrochemical corrosion are eliminated during the first duration of output interruption, leaving only the slower-moving pure chemical corrosion, thus mitigating the corrosion rate. Restoring the pulse signal output after the first duration ensures that the target interface can still communicate with external devices, avoiding significant impact on its normal operation. In this way, the needs for both corrosion mitigation and normal operation of the target interface are met, extending its service life. Attached Figure Description
[0015] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0016] Figure 1 This is a flowchart illustrating a control method for an electronic device according to an embodiment of the present invention.
[0017] Figure 2This is a schematic diagram of a target interface provided in an embodiment of the present invention.
[0018] Figure 3 This is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of the present invention.
[0019] Figure 4 A schematic diagram of the circuit structure of an electronic device provided in another embodiment of the present invention.
[0020] [Explanation of Labels in the Attached Image] 1. Control chip; 2. Device identification circuit; 3. Charging chip. Detailed Implementation
[0021] To make the above-mentioned objectives, features and advantages of the present invention more readily understood, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0022] To enable those skilled in the art to better understand the technical solutions of the present invention, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0024] It should also be noted that the division of multiple embodiments in this invention is only for the convenience of description and should not constitute a special limitation. Features in various embodiments can be combined and referenced in each other without contradiction.
[0025] This invention provides an electronic device, which, for example, includes a target interface and a control chip 1. The target interface includes communication pins. The control chip and the target interface are electrically connected.
[0026] Among them, the control chip 1 can be an MCU (Microcontroller Unit). As the core control unit, the control chip 1 integrates functional modules such as processor, memory (RAM / ROM), and I / O interface.
[0027] The control chip 1 is configured to execute an electronic device control method to mitigate the corrosion rate of the target interface.
[0028] Specifically, the electronic device control method includes steps S1 and S2. S1: Detecting whether liquid has entered the target interface of the electronic device; S2: Adjusting the state of the pulse signal applied to the communication pin of the target interface according to whether liquid has entered the target interface; wherein, the pulse signal is used to communicate with an external device connected to the target interface; specifically, if liquid has entered the target interface, then step S2.1 is executed: stopping the application of the pulse signal to the communication pin of the target interface for a first duration, and then applying the pulse signal to the communication pin again.
[0029] For example, the target interface could be a charging port, which could be a Type-C port, a micro USB port, a Lightning port, etc. The corresponding pulse signal is used to identify the external device connected to the charging port. For instance, outputting this pulse signal is used to determine if a power supply device is connected to the charging port. When an external device is detected connected to the target interface, it indicates that the user needs to use the target interface to interact with the external device.
[0030] In some specific embodiments, the target interface may further include, for example, a reference pin, for reference to Figure 4 The electronic device also includes, for example, a device identification circuit 2. The control chip 1 is electrically connected to the device identification circuit 2 and a reference pin, and the device identification circuit 2 is electrically connected to a communication pin. The control chip 1 is used to apply a pulse signal to the communication pin of the target interface through the device identification circuit 2 to identify the device connected to the target interface. It is understood that the pulse signal is generated by the control chip 1, and the first pulse signal is a periodic DC voltage signal.
[0031] In some specific embodiments, taking a Type-C interface as an example, electronic devices connect to external devices via the Type-C interface for charging, discharging, or data transmission. Since the Type-C interface includes two rows of pins arranged symmetrically in a central configuration, when the Type-C interface is connected to an external device, the connection orientation of the external device needs to be determined before charging, discharging, and data transmission can proceed. Therefore, the Type-C interface needs to periodically emit pulse signals through its communication pins to confirm whether the external device is connected to the Type-C interface and to confirm the connection orientation of the external device.
[0032] However, in actual use, liquids can easily seep into the Type-C interface and other related ports of electronic devices. For example, when a user uses an electronic device after washing their hands or when their hands are sweaty, water or sweat can easily flow to the Type-C interface. Since the pins of the Type-C interface are close together, if water or sweat flows to the Type-C interface, it can easily cause communication between the pins and other pins due to the water or sweat. See some specific embodiments for details. Figure 2 For example, the communication pin is pin CC1, and the reference pin is pin DP1. Pin CC1 and pin DP1 are arranged adjacent to each other. In this way, after liquid enters the Type-C interface, the communication pin and the reference pin are more likely to conduct.
[0033] When the communication pin is connected to other pins, a direct current is generated between them due to the continuous pulse signal emitted by the communication pin. Since the pins of the target interface are all metal, the formation of a direct current between the communication pin and other pins will cause electrochemical corrosion. The oxidation corrosion rate of the anodic metal pins will be significantly faster than when there is no current between the pins, which will greatly reduce the pin life of the target interface and thus affect normal use.
[0034] The working principle of a specific embodiment of the above control method is as follows: Under normal conditions, control chip 1 continuously outputs pulse signals to the communication pin through device identification circuit 2 to detect whether the target interface is connected to an external device. When outputting a pulse signal to the communication pin, the communication pin is in a high-level state; after the pulse signal output is complete, the communication pin returns to a low-level state, thus forming a complete cycle, and the communication pin exhibits periodic level changes. In step S1, control chip 1 collects information from the target interface pins and then detects whether liquid has entered the target interface based on the collected information. It can be understood that if no liquid has entered the target interface, control chip 1 continues to output pulse signals to the communication pin through device identification circuit 2.
[0035] In step S2, if liquid enters the target interface, the pulse signal applied to the communication pin is interrupted for a first duration. That is, when step S2.1 is executed, the communication pin no longer receives pulse signals for a first duration after the pulse signal is stopped. Therefore, during this first duration, no current generated by the pulse signal will be formed between the communication pin and other pins, thus mitigating electrochemical corrosion and improving the service life of the target interface.
[0036] In some embodiments, the pulse signal includes a first pulse signal and a second pulse signal, wherein the frequency of the first pulse signal is higher than the frequency of the second pulse signal. Step S2.1 specifically includes steps S2.11: stopping the application of the first pulse signal to the communication pin of the target interface, and S2.12, and after a first duration of stopping the application of the first pulse signal, applying the second pulse signal to the communication pin.
[0037] In step S2.1, during the first duration after the first pulse signal is truncated, the target interface cannot communicate with external devices (e.g., detect whether an external device is inserted) because the communication pin does not output any pulse signal to the outside. To enable communication between the target interface and the external device, the control device identification circuit 2 applies a second pulse signal to the communication pin during the first duration. At this time, the communication pin can output the second pulse signal, thus enabling the target interface to communicate with the external device. Furthermore, since the frequency of the second pulse signal is lower than that of the first pulse signal, the proportion of the high-level state of the communication pin during the output of the second pulse signal is lower than that during the output of the first pulse signal. That is, within the same time frame, the communication pin is in a high-level state for a shorter period of time when outputting the second pulse signal, thus reducing the corrosion rate and improving corrosion resistance.
[0038] In some specific embodiments, the frequency of the first pulse signal is, for example, 10Hz (Hertz) - 20Hz. The first pulse signal is used for the detection and identification of external devices. Therefore, the high frequency of the first pulse signal facilitates rapid detection of external devices, thereby enabling quick transmission of current or signals with external devices and providing a good user experience.
[0039] In some embodiments, the frequency of the second pulse signal is 0.01Hz-0.03Hz. For example, the frequency of the second pulse signal is 0.01Hz, 0.02Hz, or 0.03Hz. Thus, the low frequency of the second pulse signal results in a low duty cycle (the proportion of the time the signal remains high within the entire cycle), meaning the time for electrochemical corrosion to occur is reduced. Therefore, the rate of electrochemical corrosion can be effectively slowed down, extending the service life.
[0040] In some embodiments, the first duration is 30s-90s. For example, the first duration is 30s, 40s, 50s, 60s, 70s, 80s, or 90s. This allows the first pulse signal applied to the communication pin to be promptly interrupted after liquid ingress into the target interface, thereby preventing electrochemical corrosion within the first duration. By maintaining the target interface under liquid ingress for the first duration, the liquid entering the target interface can flow away or partially evaporate, thus helping to slow down the rate of electrochemical corrosion. A first duration of 30s-90s allows sufficient time for the liquid entering the target interface to flow away or partially evaporate while avoiding excessive time that could lead to delayed detection of external devices and negatively impact user experience.
[0041] In some embodiments, the control method further includes: S3: When a second pulse signal is applied to the communication pin, detect whether liquid has entered the target interface.
[0042] S4: If the target interface is not liquid, apply a first pulse signal to the communication pin; if the target interface is liquid, apply a second pulse signal to the permeability pin.
[0043] When a second pulse signal is applied to the communication pin, the target interface needs to be detected to determine its liquid ingress status. Therefore, step S3 is executed to detect the liquid ingress status of the target interface. It is understood that the target interface is more sensitive to external devices when a first pulse signal is applied to the communication pin. Step S4 executes different operations based on the liquid ingress status of the target interface. If the target interface is not liquid-filled, the pulse signal applied to the communication pin is the first pulse signal. Since the target interface is not liquid-filled, meaning the communication pin is not connected to other pins, there will be no short circuit between the communication pin and other pins due to liquid. Therefore, applying the first pulse signal to the communication pin will not cause electrochemical corrosion and will help improve the communication sensitivity between the target interface and external devices. If the target interface is liquid-filled, the second pulse signal is applied to the communication pin. Since the target interface still contains liquid, applying the second pulse signal can slow down the electrochemical corrosion rate while maintaining communication capability with external devices.
[0044] The execution flow of a specific embodiment of steps S1 to S4 can be referred to Figure 1 .
[0045] Specifically, the target interface also includes a reference pin; step S3, detecting whether liquid has entered the target interface, specifically includes: S31: Obtain the level change information of the reference pin.
[0046] S32: Determine whether liquid has entered the target interface based on the level change information.
[0047] When liquid enters the target interface, the reference pin and the communication pin can become conductive through the liquid. Therefore, changes in the voltage level of the communication pin will cause changes in the voltage level of the reference pin. In other words, when the communication pin outputs a second pulse signal, the voltage level of the reference pin will change periodically with the second pulse signal. Thus, by acquiring the voltage level change information of the reference pin, it is possible to determine whether the communication pin and the reference pin are conductive, and consequently, whether liquid has entered the target interface.
[0048] In some specific embodiments, obtaining the level change information of the reference pin specifically includes: S311: Detects whether a rising edge or falling edge occurs on the reference pin.
[0049] S312: When a rising edge appears on the reference pin, timing starts and stops when another rising edge appears on the reference pin, and the time is recorded as the first time interval; or when a falling edge appears on the reference pin, timing starts and stops when another falling edge appears on the reference pin, and the time is recorded as the first time interval.
[0050] A rising edge on the reference pin indicates that the reference pin's level is driven high by the second pulse signal. A falling edge on the reference pin indicates that after the second pulse signal completes its high-level output, the reference pin's level returns to low. Recording the first time interval between either the detected rising edge or the first time interval between the detected falling edge provides the reference pin's level change information.
[0051] Specifically, determining whether a target interface has been infiltrated based on level change information includes: if the frequency of the first time interval matches the frequency of the second pulse signal, then the target interface has been infiltrated. If the frequency of the first time interval does not match the frequency of the second pulse signal, then the target interface has not been infiltrated. The first time interval and the second pulse signal being in frequency means that their frequencies are the same. That is, the frequency of the level change of the reference pin is the same as the frequency of the second pulse signal. Thus, by detecting the time interval between adjacent high levels on the reference pin, it is possible to confirm whether the target interface has been infiltrated, without interfering with the communication pins, and the process is simple and quick.
[0052] In some specific embodiments, determining whether the target interface has been liquid-infiltrated based on the level change information specifically includes: S321: If the frequency of the level change information is the same as the frequency of the second pulse signal, then liquid enters the target interface.
[0053] S322: If the frequency of the level change information is not the same as the frequency of the second pulse signal, then the target interface has not been filled with liquid.
[0054] When the reference pin and communication pin are connected, the voltage level change of the reference pin is caused by the communication pin. Therefore, when liquid enters the target interface, the frequency of the voltage level change information detected by the reference pin will be the same as the frequency of the second pulse signal. However, if the reference pin is not connected, i.e., when no liquid enters the target interface, even if the voltage level of the reference pin changes due to other reasons, it will not have the same frequency as the second pulse signal. In other words, when no liquid enters the target interface, the frequency of the voltage level change information detected by the reference pin will be different from the frequency of the second pulse signal. Thus, determining whether liquid has entered the target interface by the frequency of the voltage level change information of the reference pin is simple and efficient, and detecting the reference pin can avoid affecting the communication pin.
[0055] In some embodiments, the control method further includes: S4: Detect whether the target interface is electrically connected to an external device.
[0056] S5: If the target interface is electrically connected to an external device, stop detecting whether liquid has entered the target interface of the electronic device.
[0057] When the target interface is electrically connected to an external device, it needs to transmit current or signals, meaning that each pin of the target interface, such as communication pins and reference pins, needs to transmit current or signals. When the target interface is electrically connected to an external device, it may or may not be infiltrated by liquid. In both cases, it is necessary to avoid affecting the transmission of current or signals. Therefore, at this time, the detection of whether the target interface of the electronic device is infiltrated by liquid is stopped, so that even if the target interface is infiltrated by liquid, step S2.1 will not be executed, thus not affecting the transmission of current or signals. Specific methods for detecting whether the target interface is electrically connected to an external device can be found in existing technologies.
[0058] Devices with charging interfaces in the current technology, such as power banks and charging heads, often adapt to different charging protocols and have different circuit structures. Therefore, the specific implementation methods for stopping the application of pulse signals to the communication pins are different.
[0059] For example, the electronic device provided in this embodiment of the invention is compatible with the PD (Power Delivery) protocol. The control chip 1 can directly control the output of pulse signals to the communication pin. The control chip 1 can be configured to stop the device identification circuit 2 from outputting pulse signals to the communication pin. In this way, the electronic device compatible with the PD protocol can truncate the output of pulse signals to the communication pin, thereby slowing down the corrosion rate.
[0060] Specifically, see Figure 3 , Figure 3 The control chip 1 can directly control the device identification circuit 2, thereby controlling whether to output pulse signals to the communication pin.
[0061] In some specific embodiments, stopping the application of the first pulse signal to the communication pin specifically includes: S2.13: Control communication pin grounded.
[0062] For example, the control chip 1 of the electronic device provided in this embodiment of the invention cannot directly control the output of pulse signals on the communication pin. The electronic device also includes, for example, a charging chip electrically connected to the communication pin, which controls the charging and discharging of the electronic device. In other words, the control chip 1 cannot directly control the voltage output to the communication pin. Therefore, by grounding the communication pin, it is prevented from outputting pulse signals to other pins, thereby avoiding electrochemical corrosion.
[0063] Specifically, see Figure 4 , Figure 4 The control chip 1 in the circuit cannot directly control the output of the pulse signal on the communication pin. Therefore, by setting MOSFETs Q1 and Q2, the grounding of the communication pin is controlled, so that the communication pin cannot output pulse signals to other pins, thereby avoiding electrochemical corrosion.
[0064] In some embodiments, detecting whether liquid has entered the target interface in step S1 includes: S11: Obtain the level change information of the reference pin.
[0065] S12: Determine whether liquid has entered the target interface based on the level change information.
[0066] By acquiring the level change information of the reference pin, it is possible to determine whether the communication pin and the reference pin are conducting, and thus determine whether liquid has entered the target interface.
[0067] Specifically, obtaining the level change information of the reference pin includes: S111: Detects whether a rising or falling edge occurs on the reference pin; S112: When a rising edge appears on the reference pin, start timing; when another rising edge appears on the reference pin, stop timing and record the time as the first time interval; or when a falling edge appears on the reference pin, start timing; when another falling edge appears on the reference pin, stop timing and record the time as the first time interval.
[0068] The first time interval between detected adjacent rising edges, or the first time interval between detected adjacent falling edges, constitutes the level change information of the reference pin. In other words, the first time interval is the time interval between two adjacent high levels on the reference pin.
[0069] Furthermore, determining whether the target interface has been infiltrated based on level change information specifically includes: when the first time interval is within the effective interval range, the effective cumulative count is incremented by 1; when the effective cumulative count reaches the first effective count, the target interface is determined to have been infiltrated. The effective interval range is the time interval between two consecutive high-level outputs of the first pulse signal, i.e., the time interval between the rising edge of the previous high level and the falling edge of the subsequent high level. Specifically, the effective interval range is, for example, 10ms-200ms. It is understandable that due to various interferences, a rising or falling edge may be detected on the reference pin even when the target interface has not been infiltrated. Therefore, to reduce false positives, a first effective count is set; the target interface is only determined to have been infiltrated if the effective cumulative count meets the first effective count. This effectively reduces the probability of falsely determining that the target interface has been infiltrated, thus improving the user experience.
[0070] In some specific embodiments, the effective cumulative count is 8-12 times. For example, the effective cumulative count may be 8, 9, 10, 11, or 12 times. It is understood that the specific value of the effective cumulative count can be adjusted according to specific circumstances. For example, when the probability of false positives is high, the effective cumulative count can be increased to reduce the probability of false positives; conversely, when the probability of false positives is low, the effective cumulative count can be decreased. This makes the detection of liquid ingress into the Type-C interface more sensitive. This allows for easy adaptation to different situations.
[0071] Comparative Example 1 Test subject: The Type-C interface of the PB19 power bank. The Type-C interface is made of gold-plated material.
[0072] Test procedure: Liquid was introduced into the Type-C interface and left for 20 minutes.
[0073] Test results: The Type-C interface of the PB19 power bank is malfunctioning and shows severe corrosion.
[0074] Comparative Example 2 Test subject: The Type-C interface of the L-type data cable connected to the PB19 power bank. The Type-C interface is made of nickel-tungsten alloy.
[0075] Test procedure: Immerse the Type-C interface of the L-type data cable in water for 20 minutes.
[0076] Test results: The Type-C interface of the L-type data cable is functioning normally, but corrosion marks are visible.
[0077] Example 1 Test object: The Type-C interface of the L-type data cable connected to the PB19 power bank. The Type-C interface is made of nickel-tungsten alloy, and the PB19 power bank is configured to execute the control method described in the above embodiments of the present invention.
[0078] Test procedure: Immerse the Type-C interface of the L-type data cable in water for 12 hours.
[0079] Test results: The Type-C interface of the L-type data cable functions normally and no corrosion marks are found.
[0080] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.
Claims
1. A control method for an electronic device, characterized in that, include: Detect whether liquid has entered the target interface of the electronic device; The state of the pulse signal applied to the communication pin of the target interface is adjusted according to whether liquid is entering the target interface; the pulse signal is used to communicate with external devices connected to the target interface; If liquid enters the target interface, the pulse signal is stopped from being applied to the communication pin of the target interface for a first duration, and then the pulse signal is applied to the communication pin again.
2. The control method according to claim 1, characterized in that, The pulse signal includes a first pulse signal and a second pulse signal, wherein the frequency of the first pulse signal is higher than the frequency of the second pulse signal; the step of stopping applying the pulse signal to the communication pin of the target interface for a first duration and then applying the pulse signal to the communication pin specifically means: Stop applying the first pulse signal to the communication pin of the target interface, and after a first duration of stopping the application of the first pulse signal, apply the second pulse signal to the communication pin.
3. The control method according to claim 2, characterized in that, The control method further includes: When the second pulse signal is applied to the communication pin, it is detected whether liquid has entered the target interface; If the target interface is not exposed to liquid, the pulse signal applied to the communication pin is the first pulse signal; if the target interface is exposed to liquid, the pulse signal applied to the communication pin is the second pulse signal.
4. The control method according to claim 3, characterized in that, When the second pulse signal is applied to the communication pin, detecting whether liquid has entered the target interface specifically includes: Obtain the level change information of the reference pin of the target interface; The level change information is used to determine whether liquid has entered the target interface.
5. The control method according to claim 4, characterized in that, Determining whether the target interface has been liquid-infiltrated based on the level change information specifically includes: When liquid enters the target interface, the frequency of the level change information is the same as the frequency of the second pulse signal.
6. The control method according to claim 1, characterized in that, The control method further includes: If the target interface is electrically connected to the external device, then the detection of whether liquid has entered the target interface of the electronic device is stopped.
7. The control method according to claim 1, characterized in that, The specific steps of stopping the application of the pulse signal to the communication pin include: Control the communication pin to ground.
8. The control method according to claim 2, characterized in that, The frequency of the second pulse signal is 0.01Hz-0.03Hz, and / or the first time is 30s-90s.
9. The control method according to claim 1, characterized in that, Detecting whether liquid has entered the target interface includes: acquiring the level change information of the reference pin of the target interface; The level change information is used to determine whether liquid has entered the target interface.
10. An electronic device, characterized in that, The electronic device includes a target interface and a control chip. The target interface includes communication pins. The control chip is electrically connected to the target interface and is used to execute the electronic device control method according to any one of claims 1-9.