Water inlet detection method and related device

By triggering the water ingress detection circuit in potential water ingress scenarios, the high power consumption problem in existing technologies is solved, achieving efficient water ingress detection and improved battery life for electronic devices.

CN116699701BActive Publication Date: 2026-05-26HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2022-02-25
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing water ingress detection methods for electronic devices require constant monitoring of electrical signal changes, leading to increased power consumption and reduced battery life.

Method used

By identifying potential water ingress scenarios, the water ingress detection circuit is only triggered in these scenarios, reducing the detection frequency and unnecessary power consumption.

Benefits of technology

This effectively avoids damage to components caused by water ingress and improves the battery life of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116699701B_ABST
    Figure CN116699701B_ABST
Patent Text Reader

Abstract

This application discloses a water ingress detection method and related apparatus. It can identify potential water ingress scenarios by collecting scene information and trigger a water ingress detection circuit to operate when the electronic device is determined to be in a potential water ingress scenario. Upon detecting water ingress, the electronic device can alert the user to remove the water promptly via itself or other associated devices. In this way, the water ingress detection circuit does not need to remain continuously operational, reducing power consumption and improving the battery life of the electronic device while minimizing losses caused by water ingress.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic detection technology, and in particular to a water ingress detection method and related apparatus. Background Technology

[0002] With the development of electronic technology, electronic devices are becoming increasingly integrated into daily life, and their usage scenarios are constantly expanding. This makes electronic devices more susceptible to water damage during daily use. If water damage is not addressed promptly, it can cause damage to the components of the electronic device and reduce its lifespan.

[0003] Therefore, electronic devices need to have water ingress detection capabilities. Electronic devices can be equipped with a water ingress detection circuit, which is connected to an exposed detection element. When the detection element detects water, it generates a changing electrical signal. By monitoring the change in this signal, the system determines whether the electronic device has been infiltrated. When water ingress is detected, the electronic device can prompt the user to take appropriate action. This allows for timely handling of water ingress, reducing damage to electronic components caused by water damage.

[0004] However, the above method requires constant monitoring of changes in electrical signals, which increases the power consumption of electronic devices and reduces their battery life. Summary of the Invention

[0005] This application provides a water ingress detection method and related apparatus, which achieves the goal of reducing power consumption in water ingress detection by identifying potential water ingress scenarios. This eliminates the need for continuous monitoring of the electrical signals in the water ingress detection circuit, thereby reducing losses caused by water ingress and improving the battery life of electronic devices.

[0006] In a first aspect, this application provides a water ingress detection method, comprising: a first electronic device collecting scene information, the scene information including one or more of action information, sound information, and status information; when the first electronic device determines, based on the scene information, that it is in a potential water ingress scene, the first electronic device performs water ingress detection; when the first electronic device determines that it has been ingressed, the first electronic device issues a water ingress warning, or the first electronic device sends first water ingress information to a third electronic device, the first water ingress information being used to instruct the third electronic device to issue a water ingress warning.

[0007] In this way, by identifying potential water ingress scenarios and activating water ingress detection when the first electronic device is in a potential water ingress scenario, the device damage caused by water ingress can be avoided, extending the service life of the first electronic device. It can also avoid the energy consumption caused by frequent water ingress detection, improving the battery life of the first electronic device.

[0008] In one possible implementation, the water ingress alert type includes one or more of the following: display alerts, vibration alerts, sound alerts, and indicator light alerts.

[0009] In one possible implementation, upon determining that the first electronic device has been flooded, the first electronic device determines the location of the flooding. The first electronic device then outputs a flood warning message to alert the user that water has entered the first electronic device, and this message includes the location of the flooding.

[0010] In another possible implementation, the water ingress warning message also includes a water removal method. After determining the location of the water ingress in the first electronic device, the first electronic device determines the water removal method based on the location of the water ingress.

[0011] In one possible implementation, after the first electronic device determines that water has entered it, it monitors the water removal process. The first electronic device outputs a water removal status alert, or it sends first water removal information to a third electronic device, which instructs the third electronic device to output a water removal status alert. This water removal status alert serves to indicate the water removal status of the first electronic device.

[0012] In one possible implementation, when the first electronic device determines that it is in a potential water ingress scenario based on scenario information, the water ingress detection process includes the following steps: When the first electronic device determines that it is in a potential water ingress scenario based on scenario information, the first electronic device determines the scenario type of the potential water ingress scenario. When the scenario type of the potential water ingress scenario is determined to be a first type, the first electronic device performs water ingress detection at a first water ingress detection time and a first water ingress detection frequency. When the scenario type of the potential water ingress scenario is determined to be a second type, the first electronic device performs water ingress detection at a second water ingress detection time and a second water ingress detection frequency. Wherein, the first type and the second type are different. The first water ingress detection time and the second water ingress detection time are different, and / or, the first water ingress detection frequency and the second water ingress detection frequency are different.

[0013] In one possible implementation, upon determining that the first electronic device has been infiltrated by water, the first electronic device automatically removes the water. This way, even if the user cannot remove the water in time, the first electronic device can automatically expel the water, preventing damage to the device caused by water ingress.

[0014] In one possible implementation, the first electronic device includes a charging compartment for housing and charging the second electronic device.

[0015] In one possible implementation, the product type of the first electronic device includes wearable devices and charging cases, and the product type of the second electronic device includes headphones.

[0016] In one possible implementation, the process of the first electronic device sending the first water ingress information to the third electronic device includes the following steps: the first electronic device sends the first water ingress information to the second electronic device, and the second electronic device forwards the first water ingress information to the third electronic device.

[0017] In this way, even if the first electronic device cannot directly establish a communication connection with the third electronic device, the first electronic device can still send the first water ingress information to the third electronic device through the second electronic device.

[0018] Secondly, this application provides a water ingress detection method, comprising: a first electronic device collecting scene information, the scene information including one or more of action information, sound information, and status information; when the first electronic device determines that it is in a potential water ingress scene based on the scene information, the first electronic device sends a water ingress detection notification to a second electronic device; in response to the water ingress detection notification, the second electronic device performs water ingress detection; when the second electronic device determines that it has been ingressed, the second electronic device issues a water ingress warning, or the second electronic device sends first water ingress information to the first electronic device or a third electronic device, the first water ingress information being used to instruct the first electronic device or the third electronic device to issue a water ingress warning.

[0019] In this way, by detecting water ingress in the second electronic device, the water ingress status can be determined more accurately, thereby avoiding or reducing the damage caused by water ingress to the second electronic device.

[0020] Thirdly, this application provides an electronic device, a first electronic device, which includes one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, which includes computer instructions. When the one or more processors execute the computer instructions, the first electronic device performs the water ingress detection method in any possible implementation of any of the above aspects.

[0021] Fourthly, this application provides a computer storage medium including computer instructions that, when executed on a first electronic device, cause the first electronic device to perform the water ingress detection method in any of the possible implementations of any of the above aspects.

[0022] Fifthly, this application provides a computer program product that, when run on a computer, causes the computer to execute the water ingress detection method in any of the possible implementations of any of the above aspects.

[0023] Sixthly, this application provides an electronic device, which is a first electronic device, comprising modules / units for performing the methods described in the first aspect or any possible design of the first aspect. These modules / units can be implemented in hardware or by executing corresponding software in hardware.

[0024] For the beneficial effects of aspects three through six, please refer to the beneficial effects of aspect one, which will not be repeated here. Attached Figure Description

[0025] Figure 1A A schematic diagram of the architecture of a water ingress detection system 10 provided in an embodiment of this application;

[0026] Figure 1B A schematic diagram of the architecture of a water ingress detection system 20 provided in an embodiment of this application;

[0027] Figure 1C A schematic diagram of the architecture of a water ingress detection system 30 provided in an embodiment of this application;

[0028] Figure 2A This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0029] Figure 2B This is a schematic diagram of a water ingress detection circuit provided in an embodiment of this application;

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

[0031] Figure 3 A schematic flowchart of a water ingress detection method provided in an embodiment of this application;

[0032] Figure 4 A schematic diagram of a water inlet position detection circuit provided in an embodiment of this application;

[0033] Figures 5A to 5C A set of schematic diagrams of water ingress warning interfaces provided in the embodiments of this application;

[0034] Figure 5D A schematic diagram illustrating the relationship between water inflow and current, provided for an embodiment of this application;

[0035] Figure 5E This is a schematic diagram of a water removal progress interface provided in an embodiment of this application;

[0036] Figure 5F This is a schematic diagram of the water removal time interface provided in an embodiment of this application;

[0037] Figure 6 A schematic flowchart of another water ingress detection method provided in an embodiment of this application;

[0038] Figures 7A to 7E A set of schematic diagrams of water inlet detection settings interfaces provided in the embodiments of this application;

[0039] Figure 8 This is a schematic diagram of the functional modules of a water ingress detection system provided in an embodiment of this application. Detailed Implementation

[0040] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

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

[0042] The following describes a water ingress detection system architecture provided by an embodiment of this application.

[0043] Figure 1A This paper shows a schematic diagram of the architecture of a water ingress detection system 10 provided in an embodiment of this application.

[0044] like Figure 1A As shown, the water ingress detection system 10 may include: electronic device 100 and electronic device 200.

[0045] In this embodiment, electronic device 100 can be a wearable device such as a watch or bracelet, and electronic device 100 can charge electronic device 200. Electronic device 200 can be a device such as headphones, and the number of electronic devices 200 can be one or more.

[0046] Taking an electronic device 200 that includes two earphones as an example, the two earphones can be placed in the electronic device 100 for charging. In some embodiments, the electronic device 100 can communicate with the two earphones to perform operations such as forced pairing and power on / off. The charging interface and communication interface between the two earphones and the electronic device 100 can exist independently or be combined.

[0047] Electronic devices 100 and 200 can communicate via Bluetooth technology (including basic rate (BR) / enhanced rate (EDR) Bluetooth and Bluetooth Low Energy (BLE)). In some embodiments, electronic devices 100 and 200 can also communicate via contact methods such as data transmission contacts or metal pins.

[0048] Figure 1B This paper shows a schematic diagram of the architecture of a water ingress detection system 20 provided in an embodiment of this application.

[0049] like Figure 1B As shown, the water ingress detection system 20 may include electronic device 100 and electronic device 200.

[0050] In this embodiment, the electronic device 100 can be an earphone charging case, which can charge the electronic device 200. The electronic device 200 can be an earphone or other device, and there can be one or more electronic devices 200.

[0051] Taking an electronic device 200 comprising two earphones as an example, the two earphones can be placed in the earphone charging case for charging. In some embodiments, the electronic device 100 can communicate with the two earphones to perform operations such as forced pairing and power on / off. The charging interface and communication interface between the two earphones and the electronic device 100 can exist independently or be combined.

[0052] In some embodiments, electronic device 100 and electronic device 200 can communicate via contact methods such as data transmission contacts or metal pins. Optionally, in some embodiments, electronic device 100 and electronic device 200 can also communicate via Bluetooth technology (including basic rate (BR) / enhanced data rate (EDR) Bluetooth and Bluetooth Low Energy (BLE)).

[0053] Figure 1C A schematic diagram of the architecture of a water ingress detection system 30 is shown.

[0054] like Figure 1C As shown, the water ingress detection system 30 includes electronic equipment 100.

[0055] Among them, electronic device 100 can be wearable devices such as wristbands and watches, or electronic devices such as smartphones, media players (such as MP3, MP4, etc.) or personal digital assistants (PDAs).

[0056] The electronic device 100 may include a watch strap 131 and a watch face 132, wherein the watch face 132 is detachable and the detached watch face 132 can be used as headphones.

[0057] Figure 2A A schematic diagram of the structure of the electronic device 100 is shown.

[0058] The following description uses electronic device 100 as an example to illustrate the embodiment. It should be understood that... Figure 2A The electronic device 100 shown is merely an example, and the electronic device 100 may have more than Figure 2A The more or fewer components shown can be combined into two or more components, or they can have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0059] like Figure 2A As shown, the electronic device 100 may include: a processor 101, a memory 102, a Bluetooth communication module 103, an audio module 104, a power module 105, an input / output interface 106, a sensor module 107, a water ingress detection module 108, and a display screen 109. Wherein:

[0060] Processor 101 can be used to read and execute computer-readable instructions. In a specific implementation, processor 101 mainly includes a controller, an arithmetic logic unit (ALU), and registers. The controller is primarily responsible for instruction decoding and issuing control signals for the operations corresponding to the instructions. The ALU is primarily responsible for storing register operands and intermediate operation results temporarily stored during instruction execution. In a specific implementation, the hardware architecture of processor 101 can be an application-specific integrated circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, or an NP architecture, etc.

[0061] In some embodiments, the processor 101 can be used to analyze signals collected by the sensor module 107, or to analyze signals collected by the audio module 104, etc. The processor 101 can be used to perform corresponding processing operations based on the analysis results, such as determining whether the electronic device 100 is in a specific scenario based on the collected signals, etc.

[0062] Memory 102 is coupled to processor 101 and is used to store various software programs and / or sets of instructions. In specific implementations, memory 102 may include high-speed random access memory and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 102 may store an operating system, such as uCOS, VxWorks, RTLinux, or other embedded operating systems. Memory 102 may also store communication programs that can be used to communicate with electronic device 100, one or more servers, or other devices.

[0063] Optionally, the electronic device 100 may also include a Bluetooth communication module 103. The Bluetooth communication module 103 may include a Bluetooth chip. The electronic device 100 can pair with and establish a Bluetooth connection with the Bluetooth chips of other electronic devices through this Bluetooth chip, thereby enabling wireless communication and service processing between the electronic device 100 and other devices. Typically, the Bluetooth chip can support BR / EDR Bluetooth and BLE, for example, it can receive / receive page messages and send / receive BLE broadcast messages.

[0064] In addition, the Bluetooth communication module 103 may also include an antenna. The Bluetooth communication module 103 receives electromagnetic waves through the antenna, modulates and filters the electromagnetic wave signal, and sends the processed signal to the processor 101. The Bluetooth communication module 103 can also receive signals to be transmitted from the processor 101, modulate and amplify them, and then convert them into electromagnetic waves for radiation through the antenna.

[0065] Optionally, the electronic device 100 may also include an audio module 104. The audio module 104 can be used to manage audio data and enable the electronic device 100 to input and output audio signals. The audio module 104 may include a speaker (or earpiece, receiver) assembly for outputting audio signals, a microphone (or microphone), and a microphone recording circuit that works in conjunction with the microphone. The speaker can be used to convert audio electrical signals into sound signals and play them. The microphone can be used to convert sound signals into audio electrical signals. For example, the audio module 104 can use the microphone to collect sound signals from the environment in which the electronic device 100 is located. The audio module 104 can also output water ingress warning notifications through the speaker, and so on.

[0066] The power module 105 can be used to provide system power to the electronic device 100, powering various modules of the electronic device 100; and supporting the electronic device 100 to receive charging input, etc. The power module 105 may include a power management unit (PMU) and a battery. The PMU can receive external charging input; provide the electrical signal input from the charging circuit to the battery for charging; and can also provide the electrical signal provided by the battery to other modules such as the audio module 104 and the Bluetooth communication module 103 to prevent overcharging, over-discharging, short circuits, or overcurrent of the battery. In some embodiments, the PMU can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). Additionally, in some embodiments, the power module 105 can also be used to charge the electronic device 200.

[0067] Multiple input / output interfaces 106 can be used to provide wired connections for charging or communication between electronic device 100 and electronic device 200. In some embodiments, the input / output interface can be a USB interface. In other embodiments, the input / output interface 106 can be a headphone connector, allowing electronic device 200 to connect electrically to electronic device 100 via the headphone connector when electronic device 200 is placed inside electronic device 100, thereby charging the battery in electronic device 200. In some embodiments, after the electrical connection is established, electronic device 100 can also communicate data with electronic device 200, for example, by sending pairing commands, power-on commands, power-off commands, etc.

[0068] Sensor module 107 may include one or more different sensors. For example, sensor module 107 may include an accelerometer, a gyroscope, etc. Sensor module 107 can be used to acquire motion signals from electronic device 100.

[0069] For example, the sensor module 107 may also include: a touch sensor for detecting user touch operations; a fingerprint sensor for detecting user fingerprints and identifying user identity; an ambient light sensor that can adaptively adjust some parameters (such as volume) according to the perceived brightness of ambient light; and other sensors.

[0070] In some embodiments, the touch sensor can detect touch operations such as single click, double click, multiple clicks, long press, and heavy pressure, and can also perform user fingerprint recognition to authenticate user identity in business scenarios such as payment transactions.

[0071] The water ingress detection module 108 may include a water ingress detection circuit, which can be used to detect whether water has entered the electronic device 100. For example, Figure 2B A circuit diagram of a water ingress detection circuit is shown.

[0072] like Figure 2B As shown, the water ingress detection circuit may include a water ingress sensor TS, a resistor R1, an ammeter A, a DC power supply DC, and a switch K. All circuit components are connected in series, and the connection order is not limited. The resistance of the water ingress sensor TS varies greatly depending on the water ingress state. For example, when not in contact with water, the resistance of the water ingress sensor TS can be considered infinite; when in contact with water, the resistance of the water ingress sensor TS is relatively small (e.g., 1 ohm, 0.1 ohm, etc.).

[0073] When switch K is closed, the water ingress detection circuit is activated. When water enters electronic device 100, the water ingress sensor TS comes into contact with the water, its resistance drops significantly, the current in the circuit increases significantly, and the reading of ammeter A increases significantly. Thus, by monitoring the current in the circuit with ammeter A, the change in the resistance of the water ingress sensor TS can be determined, thereby confirming whether electronic device 100 has been flooded.

[0074] It is understood that the embodiments of this application only provide an exemplary structure of a water ingress detection circuit. In some embodiments, other water ingress detection circuits may also be provided in the electronic device 100. For example, the water ingress detection circuit may also determine whether water has entered by monitoring data such as voltage, current or conductivity. This application does not limit this.

[0075] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the electronic device 100, and it may have more than Figure 2A The electronic device 100 may include more or fewer components, or it may combine two or more components, or it may have different component configurations. For example, the outer surface of the electronic device 100 may also include components such as buttons, indicator lights (which can indicate battery level, incoming / outgoing calls, pairing mode, etc.), and a display screen 109 (which can display relevant information to the user). The buttons may be physical buttons or touch buttons (used in conjunction with a touch sensor), and are used to trigger operations such as power on, power off, pause, play, record, start pairing, and reset.

[0076] Figure 2C A schematic diagram of the structure of the electronic device 200 is shown.

[0077] The following description uses electronic device 200 as an example to illustrate the embodiment. It should be understood that... Figure 2C The electronic device 200 shown is merely an example, and the electronic device 200 may have more than Figure 2CThe more or fewer components shown can be combined into two or more components, or they can have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0078] like Figure 2C As shown, the electronic device 200 may include: a processor 201, a memory 202, a Bluetooth communication module 203, an audio module 204, a power module 205, an input / output interface 206, a sensor 207, and a button 208. Wherein:

[0079] Processor 201 can be used to read and execute computer-readable instructions. In a specific implementation, processor 201 mainly includes a controller, an arithmetic logic unit (ALU), and registers. The controller is primarily responsible for instruction decoding and issuing control signals for the operations corresponding to the instructions. The ALU is primarily responsible for storing register operands and intermediate operation results temporarily stored during instruction execution. In a specific implementation, the hardware architecture of processor 201 can be an application-specific integrated circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, or an NP architecture, etc.

[0080] In some embodiments, the processor 201 can be used to parse signals received by the Bluetooth communication module 203, such as pairing mode modification requests sent by the electronic device 100 or other electronic devices, etc. The processor 201 can be used to perform corresponding processing operations based on the parsing results, such as generating a pairing mode modification response, etc.

[0081] Memory 202 is coupled to processor 201 and is used to store various software programs and / or sets of instructions. In specific implementations, memory 202 may include high-speed random access memory and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 202 may store an operating system, such as uCOS, VxWorks, RTLinux, or other embedded operating systems. Memory 202 may also store communication programs that can be used to communicate with electronic device 200, one or more servers, or other devices.

[0082] The Bluetooth communication module 203 may include a Bluetooth chip. Electronic device 200 can pair with and establish a Bluetooth connection with Bluetooth chips in other electronic devices through this Bluetooth chip, enabling wireless communication and service processing between electronic device 200 and other devices. Typically, the Bluetooth chip supports BR / EDR Bluetooth and BLE, for example, it can receive / read page messages and send / receive BLE broadcast messages.

[0083] In addition, the Bluetooth communication module 203 may also include an antenna. The Bluetooth communication module 203 receives electromagnetic waves through the antenna, modulates and filters the electromagnetic wave signal, and sends the processed signal to the processor 201. The Bluetooth communication module 203 can also receive signals to be transmitted from the processor 201, modulate and amplify them, and then convert them into electromagnetic waves for radiation through the antenna.

[0084] The audio module 204 can be used to manage audio data, enabling the electronic device 200 to input and output audio signals. For example, the audio module 204 can acquire audio signals from or transmit audio signals to the Bluetooth communication module 203, enabling functions such as answering phone calls, playing audio, activating / deactivating the voice assistant of a terminal connected to a headset, and receiving / sending user voice data through the electronic device 200. The audio module 204 may include a speaker (or earpiece, receiver) assembly for outputting audio signals, a microphone (or microphone), and a microphone recording circuit that works with the microphone. The speaker can be used to convert audio electrical signals into sound signals and play them. The microphone can be used to convert sound signals into audio electrical signals.

[0085] The power module 205 provides system power to the electronic device 200, supplying power to its various modules and supporting charging input. The power module 205 may include a power management unit (PMU) and a battery. The PMU receives external charging input, provides electrical signals from the charging circuit to the battery, and can also provide electrical signals from the battery to other modules such as the audio module 204 and the Bluetooth communication module 203 to prevent overcharging, over-discharging, short circuits, or overcurrent. In some embodiments, the power module 205 may also include a wireless charging coil for wireless charging of the electronic device 200. Additionally, the PMU can monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance).

[0086] Multiple input / output interfaces 206 can be used to provide wired connections for charging or communication between electronic devices 200 and 100. In some embodiments, the input / output interface can be a USB interface. In other embodiments, the input / output interface 206 can be a headphone connector, which allows the electronic device 200 to connect electrically to the electronic device 100 when the headphone connector is placed inside the electronic device 100, thereby charging the battery in the electronic device 200. In some embodiments, after the electrical connection is established, the electronic device 200 can also communicate data with the electronic device 100, for example, receiving pairing commands, power-on commands, power-off commands, etc., sent by the electronic device 100.

[0087] The electronic device 200 may also include a sensor 207. For example, the sensor 207 may be a distance sensor or a proximity light sensor, used to determine whether the electronic device 200 is being worn by a user. For instance, the electronic device 200 may use a distance sensor to detect whether there is an object nearby, thereby determining whether the electronic device 200 is being worn by a user. When it is determined that the electronic device 200 is being worn, the electronic device 200 may turn on its speaker. As another example, the sensor 207 may also include: a touch sensor for detecting user touch operations; a fingerprint sensor for detecting user fingerprints and identifying user identity; an ambient light sensor that can adaptively adjust parameters (such as volume) based on the perceived brightness of ambient light; and other sensors.

[0088] In some embodiments, the touch sensor can detect touch operations such as single click, double click, multiple clicks, long press, and heavy pressure, and can also perform user fingerprint recognition to authenticate user identity in business scenarios such as payment transactions.

[0089] In some embodiments, the electronic device 200 may further include a water ingress detection module 209. This water ingress detection module 209 can be used to detect whether the electronic device 200 has been infiltrated by water. Specific details of the water ingress detection module 209 can be found in the descriptions in the above embodiments, and will not be repeated here.

[0090] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the electronic device 200, which may have more than Figure 2C The electronic device 200 may include more or fewer components, combinations of two or more components, or different component configurations. For example, the outer surface of the electronic device 200 may also include buttons, indicator lights (indicating battery level, incoming / outgoing calls, pairing mode, etc.), and a display screen (providing relevant information to the user). The buttons may be physical buttons or touch buttons (used in conjunction with a touch sensor), used to trigger operations such as power on / off, pause, play, record, initiate pairing, and reset.

[0091] For example, when electronic device 100 and electronic device 200 are respectively Figure 1A When the wearable device and earphones in the water ingress detection system 10 shown are used, the wearable device may include a housing and internal components, with the internal components disposed within a cavity formed by the housing. The internal components may include the aforementioned... Figure 2A The components in the power module, Bluetooth communication module, and other modules shown are illustrated. The electronic device 200 may include one or more earphones, and any one of the earphones may include a housing and internal components, with the internal components also disposed within a cavity formed by the housing. These internal components may include the aforementioned... Figure 2C The components shown are in the power module, audio module, and Bluetooth communication module, among others.

[0092] The wearable device may include a charging case disposed within a cavity formed by the outer shell of the wearable device. A user can place one or more earbuds into the charging case for charging. In some embodiments, the charging case may contain one or more magnets to attract the earbuds into the case. After an electrical connection is established between the wearable device and the electrical connector of the one or more earbuds, the wearable device can charge the battery in the earbuds using its own battery.

[0093] This wearable device can detect water ingress. Upon detecting water ingress, it can alert the user through one or more methods, such as text, images, vibration, or sound. The wearable device can directly remind the user to remove the water promptly using these methods, or it can establish a connection with other electronic devices via Bluetooth communication module 103 or other communication methods, and the other electronic devices can then remind the user to remove the water. In some embodiments, the wearable device can also send a water ingress alert notification to electronic device 200 via a data transmission point or contact transmission method such as a metal needle, and electronic device 200 can then remind the user, or other electronic devices that have established a communication connection with electronic device 200 can remind the user to remove the water promptly.

[0094] For example, when electronic device 100 and electronic device 200 are respectively Figure 1B When the headphone charging case and headphones are included in the water ingress detection system 20 shown, the electronic device 200 may include one or more headphones. A user can place the one or more headphones into the headphone charging case for charging. In some embodiments, the headphone charging case may have one or more magnets to attract the headphones into the charging case. After an electrical connection is established between the headphone charging case and the electrical connector of the one or more headphones, the headphone charging case can charge the batteries in the headphones using its own battery.

[0095] In other embodiments, the earphone charging case may be equipped with at least one touch control, which can be used to trigger functions such as charging the electronic device 200 or pairing one or more electronic devices 200. The earphone charging case may also be equipped with one or more power indicator lights to indicate to the user the battery level in the earphone charging case and the battery level in each earphone in the earphone charging case.

[0096] When electronic device 100 Figure 1BWhen the earphone charging case is included in the water ingress detection system 20 shown, the Bluetooth communication module 103 is an optional module. If the earphone charging case does not include the Bluetooth communication module 103, data communication between the earphone charging case and the earphones can be achieved through contact transmission methods such as data transmission contacts or metal pins.

[0097] The earphone charging case can detect water ingress. Upon detecting water damage, the charging case can alert the user through one or more methods, such as text, images, vibration, or sound. The method by which the charging case alerts the user to remove water is similar to the method used in the wearable devices described in the previous embodiments, and will not be repeated here.

[0098] For example, when electronic device 100 is Figure 1C When the wearable device is included in the water ingress detection system 30 shown, the electronic device 100 may include a Bluetooth communication module 103. In this case, when the wearable device detects water ingress, it can establish a communication connection with other electronic devices via the Bluetooth communication module 103 and remind the user to treat the water ingress in a timely manner through these other electronic devices. In some embodiments, the wearable device may also remind the user to treat the water ingress directly through one or more methods such as sound, text, or images, without relying on other electronic devices.

[0099] In some water ingress detection scenarios, the earphone charging case is equipped with a water ingress detection circuit. This circuit is connected to an exposed detection element. When the detection element detects water, it generates a changing electrical signal. By monitoring the change in this signal, the system determines whether water has entered the earphone charging case. When water ingress is detected, the earphone charging case can prompt the user to take appropriate action.

[0100] However, the above-mentioned water ingress detection method requires the earphone charging case to constantly monitor changes in the electrical signal in the circuit, which means that the water ingress detection circuit must remain in a working state. This will generate a large amount of power consumption and reduce the battery life of the earphone charging case or water ingress detection system.

[0101] Therefore, this application provides a water ingress detection method that reduces the detection frequency of the water ingress detection circuit by identifying potential water ingress scenarios. Specifically, when the scenario in which the electronic device is located is determined to be a potential water ingress scenario, the water ingress detection circuit is triggered to enter working state, and when water ingress is detected, it reminds the user to remove the water promptly. In this way, the water ingress detection circuit does not need to remain in working state continuously, which can reduce power consumption and improve the battery life of the electronic device or water ingress detection system.

[0102] The following is a flowchart illustrating a water ingress detection method provided in an embodiment of this application.

[0103] like Figure 3 As shown, this application provides a water ingress detection method that may include:

[0104] S301, Electronic device 100 collects scene information, which includes one or more of the following: action information, sound information, and status information.

[0105] The electronic device 100 can collect motion information from one or more sensors, such as accelerometers and gyroscopes. The electronic device 100 can also collect sound information from its surroundings from one or more sensors, such as microphones and pickups. In some embodiments, the scene information may further include state information. For example, when the electronic device 100 is charging the electronic device 200 via an input / output interface, or when the electronic device 100 is charging the electronic device 200 via an input / output interface, the input / output interface can provide state information to the electronic device 100 to determine that the electronic device 100 is in a charging scenario.

[0106] It should be noted that in this application, electronic device 100 may also be referred to as the first electronic device, and electronic device 200 may also be referred to as the second electronic device.

[0107] S302, Electronic device 100 determines whether it is in a potential water ingress scenario based on scene information.

[0108] The electronic device 100 can determine whether it is in a potential water ingress scenario based on the collected scenario information. Potential water ingress scenarios may include: washing hands, closing the case (closing the charging case or earphone charging case), charging, soaking, rain, etc.

[0109] For example, the electronic device 100 can extract scene feature values ​​from scene information, and then determine whether it is in a potential water ingress scene by the relationship between the scene feature values ​​and specific scene feature values ​​corresponding to the potential water ingress scene. The specific implementation method may include the following steps:

[0110] (1) Electronic device 100 can extract one or more sets of scene feature values ​​from the collected scene information, for example, extract a set of action feature values ​​from action information, or extract a set of sound feature values ​​from sound information.

[0111] (2) The electronic device 100 compares the set or more sets of scene feature values ​​with the set of specific scene feature values ​​corresponding to multiple potential water ingress scenarios pre-stored in the electronic device 100.

[0112] (3) When the electronic device 100 determines that the set of one or more sets of scene feature values ​​is the same as or similar to one of the sets of specific scene feature values, the electronic device 100 is determined to be in a potential water ingress scenario. Otherwise, the electronic device 100 is determined not to be in a potential water ingress scenario.

[0113] For example, electronic device 100 can also determine whether it is in a potential water ingress scenario by recognizing specific actions and / or specific sound waveforms in the scene information. A specific implementation may include the following steps:

[0114] (1) The electronic device 100 can identify specific action behavior in the collected action information, and can also identify specific sound waveforms in the collected sound information.

[0115] The specific action is the action that the electronic device 100 may take in a potential water ingress scenario. The specific sound waveform is the sound waveform that may occur in a potential water ingress scenario. The aforementioned specific action and / or specific sound waveform are both pre-stored in the electronic device 100.

[0116] For example, in a handwashing scenario, the specific action may include one or more of the following: turning the wrist, rotating back and forth, or moving back and forth a short distance (e.g., 3-20 cm) in a regular manner. The specific sound waveform may include the sound waveform corresponding to the sound of running water from a faucet or the sound waveform corresponding to the sound of splashing water, etc.

[0117] In the scenario of closing the charging case or earphone charging case, the specific sound waveform can be the sound waveform corresponding to the sound of the case lid or case lid closing, and the specific action behavior can be the action of closing the case lid or case lid.

[0118] In a rainy scenario, the specific sound waveform can include the sound waveform corresponding to light rain, moderate rain, heavy rain, lightning, and thunderstorm.

[0119] It is understood that the specific actions and sound waveforms described above are merely illustrative examples. The specific actions or sound waveforms corresponding to the potential water ingress scenario may also include other actions or sound waveforms. This application does not specifically limit the specific actions or sound waveforms in the potential water ingress scenario.

[0120] (2) When the electronic device 100 identifies a specific action or a specific sound waveform from the collected scene information, it determines that the electronic device 100 is in a potential water ingress scenario.

[0121] (3) When the electronic device 100 fails to identify a specific action or sound waveform from the collected scene information, it is determined that the electronic device 100 is not in a potential water ingress scenario.

[0122] It is understood that the above implementation is merely an exemplary illustration of how to determine whether electronic device 100 is in a potential water ingress scenario, and this application does not limit it.

[0123] When the electronic device 100 determines that it is not in a potential water ingress scenario, the electronic device 100 executes step S301 to continue collecting scenario information. When the electronic device 100 determines that it is in a potential water ingress scenario, the electronic device 100 executes the following step S303.

[0124] S303, When the electronic device 100 is in a potential water ingress scenario, the electronic device 100 performs water ingress detection.

[0125] When it is determined that the electronic device 100 is in a potential water ingress scenario, the electronic device 100 is triggered to perform water ingress detection, that is, the water ingress detection circuit in the electronic device 100 is triggered to enter the working state.

[0126] by Figure 2B Taking the water ingress detection circuit shown as an example, when the electronic device is determined to be in a potential water ingress scenario, the switch K in the water ingress detection circuit is closed, and the water ingress detection circuit enters the working state. When the electronic device 100 is not in a potential water ingress scenario, the switch K in the water ingress detection circuit is open, and the water ingress detection circuit remains in the non-working state.

[0127] After the water ingress detection circuit enters the working state, it can be used to detect water ingress in the electronic device 100. For example, the specific implementation of water ingress detection may include the following steps:

[0128] (1) Measure the electrical signal in the water inlet detection circuit and obtain the measured value of the electrical signal.

[0129] The electrical signals may include current, voltage, conductance, or resistance, etc., in the water inlet detection circuit. One or more of these electrical signals can be measured using components such as ammeters, voltmeters, or multimeters.

[0130] (2) Compare the measured value of the electrical signal with the detection threshold corresponding to the electrical signal to determine the result of the water inlet detection.

[0131] by Figure 2B Taking the water ingress detection circuit shown as an example, the electrical signal measured in this circuit is current. After the water ingress detection circuit enters the working state, the current measurement value in the circuit can be obtained through the ammeter A in the water ingress detection circuit. This water ingress detection circuit has a corresponding current detection threshold, which is pre-stored in the electronic device 100. When the current measurement value is greater than the current detection threshold, the water ingress detection result is water ingress; when the current measurement value is less than or equal to the current detection threshold, the water ingress detection result is no water ingress.

[0132] The aforementioned current detection threshold can be obtained based on the aforementioned water ingress detection circuit. For example, the current detection threshold can be the current measurement value of the water ingress detection circuit in its normal operating state (i.e., no water ingress state).

[0133] It is understood that the above-described water ingress detection circuit is only one possible implementation of water ingress detection provided in the embodiments of this application. Other circuits with water ingress detection functions may also be used in this application, and this application does not limit them here.

[0134] In some embodiments, when performing water ingress detection, the electronic device 100 can not only detect whether water has entered the device, but also detect the location of the water ingress. This can be achieved by setting one or more detection elements on the electronic device 100 (e.g., as described above). Figure 2B This is achieved using the water inlet sensor TS in the water inlet detection circuit shown.

[0135] The electronic device 100 can place the aforementioned detection element at locations where water is likely to enter the electronic device 100 or at locations where water-damaged components are located. For example, the detection element can be placed near the input / output interface of the electronic device 100, inside the charging case, near the gap between the charging case lid and the case body, or near the gap between the headphone charging case lid and the case body, etc. The aforementioned detection element can be a water ingress sensor (e.g., the one mentioned above). Figure 2B The water inlet sensor TS is shown in the water inlet detection circuit.

[0136] If the electronic device 100 has only one detection element, and the water ingress detection result indicates water ingress, then the location of that detection element is the location of the water ingress. If the electronic device 100 has two or more detection elements, it can be determined whether water ingress has occurred at the location of each detection element by detecting the electrical signal of the branch where each detection element is located.

[0137] For example, taking an electronic device 100 that includes two detection elements as an example, Figure 4 A schematic diagram of a water inlet position detection circuit is shown. (For example...) Figure 4As shown, the water ingress location detection circuit may include two detection elements (water ingress sensors TS1 and TS2), resistors R1 and R2, ammeters A1 and A2, a DC power supply, and a switch K. Ammeter A1, resistor R1, and water ingress sensor TS1 are connected in series in the first branch, and ammeter A2, resistor R2, and water ingress sensor TS2 are connected in series in the second branch. The two branches are connected in parallel. The DC power supply can power both branches, and switch K controls whether the DC power supply is connected to the circuit. Water ingress sensor TS1 is located at position one on the electronic device 100 (e.g., at the charging port), and water ingress sensor TS2 is located at position two on the electronic device 100 (e.g., inside the charging compartment). The resistance values ​​of water ingress sensors TS1 and TS2 will change significantly depending on the water ingress state. When switch K is closed, the water ingress detection circuit is operational. When water enters at position one, water ingress sensor TS1 comes into contact with the water, its resistance drops significantly, the current in the first branch increases significantly, and the reading of ammeter A1 increases significantly. Similarly, when water enters at location two, the water inlet sensor TS2 comes into contact with the water, its resistance drops significantly, the current in the second branch increases significantly, and the reading of ammeter A2 increases significantly.

[0138] Thus, when ammeter A1 detects that the current in the first branch is greater than the first current detection threshold, electronic device 100 can determine that water ingress has occurred at location one (e.g., the charging port). When ammeter A2 detects that the current in the second branch is greater than the second current detection threshold, electronic device 100 can determine that water ingress has occurred at location two (e.g., inside the charging compartment).

[0139] It is understood that the embodiments of this application only provide an exemplary structure of a water inlet position detection circuit. In some embodiments, other water inlet position detection circuits may also be provided in the electronic device 100, and this application does not limit them here.

[0140] In this way, the specific location of water ingress in the electronic device 100 can be determined by setting detection elements at different locations, which facilitates accurate and effective handling of water ingress.

[0141] S304, determine whether electronic device 100 has been exposed to water.

[0142] The electronic device 100 can determine whether water has entered the device by the water ingress detection result of the water ingress detection circuit. When the water ingress detection result is no water ingress, it is determined that the electronic device 100 has not entered the device. In this case, the electronic device 100 executes step S301 to continue collecting scene information.

[0143] When the water ingress detection result indicates water ingress, it is determined that the electronic device 100 has been infiltrated. In this case, the electronic device 100 performs the following step S305.

[0144] S305, when it is determined that the electronic device has been submerged in water, a water ingress warning is issued.

[0145] When water ingress is detected in electronic device 100, it can be triggered to issue a water ingress warning. Electronic device 100 can issue a water ingress warning to the user through one or more of the following methods: screen display (e.g., text, images, etc.), light, sound, vibration, etc., reminding the user to remove the water in time.

[0146] Electronic device 100 can display text and / or patterns on its screen to remind the user to perform water removal. For example, a wearable device with a screen is used as an example. Figure 5A A water ingress warning interface 500 is shown. For example... Figure 5A As shown, the water ingress alert interface 500 may include a water ingress notification 501. The water ingress notification 501 may be in text form (e.g., "Water has entered the device, please handle it as soon as possible!"). In some embodiments, the water ingress notification 501 may also be in graphic form (e.g., a water droplet pattern, a warning symbol, etc.) or a combination of text and graphics. Optionally, in some embodiments, the text or graphics in the water ingress notification may also include animation effects such as flashing, shaking, or emphasis, which can better attract the user's attention and achieve the effect of notifying the user as soon as possible, thereby ensuring that the water ingress of the device can be handled in a timely manner.

[0147] In some embodiments, when water ingress is detected in the electronic device 100, the electronic device 100 may also output an audio notification (e.g., "Water ingress detected, please handle immediately!") via an audio module to remind the user to handle the water ingress promptly. In some embodiments, the electronic device 100 may also remind the user of water ingress by flashing lights, color changes of lights, or specific colored lights (e.g., yellow, red, or orange, etc.). In other embodiments, the electronic device 100 may also remind the user to remove water promptly by vibrating a motor. In other embodiments, the electronic device 100 may also combine any two or more of the above-mentioned water ingress notification methods. For example, when water ingress is detected in the electronic device 100, the electronic device 100 may start the motor while playing an audio notification, which can better attract the user's attention and ensure that the water ingress of the device is handled promptly.

[0148] Optionally, in some embodiments, the electronic device 100 may select one or more of the above notification methods to remind the user of water ingress based on the usage scenario. For example, when the electronic device 100 is in a noisy environment (such as a handwashing scenario), after detecting water ingress, the electronic device 100 may use a combination of screen display and vibration to remind the user, while avoiding sound notification as much as possible. As another example, taking a wearable device as an example, when the electronic device 100 (the wearable device) is not worn, after detecting water ingress, the electronic device 100 may use sound notification or vibration, while avoiding screen display notification as much as possible. In this way, by combining different notification methods, it can better adapt to different usage scenarios, ensuring that the user is promptly notified to remove water in different usage scenarios, thereby extending the service life of the electronic device. It should be noted that the electronic device 100 can determine the above usage scenario based on the scenario information collected in the aforementioned steps.

[0149] In this way, by identifying potential water ingress scenarios and activating water ingress detection when the electronic device 100 is in such a scenario, damage to components caused by water ingress can be avoided, extending the lifespan of the electronic device 100. It also avoids the energy consumption associated with frequent water ingress detection, improving the battery life of the electronic device 100. Furthermore, when the electronic device 200 is placed inside the electronic device 100, the above method can also detect water ingress in a timely manner, preventing damage to the electronic device 200, which has relatively low waterproof performance, caused by water ingress.

[0150] In one possible implementation, when water is detected in electronic device 100, other associated electronic devices can also alert the user to remove the water promptly. In this application, these other associated electronic devices can also be referred to as third electronic devices.

[0151] When the electronic device 100 is equipped with a Bluetooth communication module or other communication module, for example, the electronic device 100 is... Figure 1A or Figure 1C When the wearable device shown is used, the electronic device 100 can establish a communication connection with other associated electronic devices and send information about water damage to the associated electronic device through the communication connection. The associated electronic devices can be smartphones, media players (e.g., MP3, MP4), tablets, personal digital assistants (PDAs), televisions, or smartwatches, etc.

[0152] For example, the specific implementation of the electronic device 100 providing a water ingress warning through an associated device may include the following steps:

[0153] (1) Electronic device 100 establishes a first communication connection with associated electronic device.

[0154] (2) When electronic device 100 determines that water ingress has occurred, electronic device 100 sends the first water ingress information to associated electronic device through the first communication connection.

[0155] (3) The associated electronic device receives the first water inlet information and reminds the user to remove the water in time.

[0156] The associated electronic device can alert the user to water damage through one or more methods, such as screen display (e.g., text, images, etc.), light, sound, and vibration. See the above for details. Figure 3 The method by which the electronic device 100 provides a water ingress warning as described in step S305 of the illustrated embodiment will not be repeated here.

[0157] In cases where the electronic device 100 does not have a Bluetooth communication module or other communication module, for example, the electronic device 100 is... Figure 1B When using the earphone charging case shown, the earphone charging case can also provide cross-device water damage alerts via associated electronic devices.

[0158] For example, the specific implementation of the earphone charging case providing a water damage warning via a linked device may include the following steps:

[0159] (1) Electronic device 100 determines that water has entered the device and can send the first water entry information to electronic device 200 through a metal needle or a data transmission point.

[0160] (2) Electronic device 200 can establish a second communication connection with other associated electronic devices through Bluetooth communication module.

[0161] (3) Electronic device 200 can receive the first water ingress information and forward the first water ingress information to the associated electronic device through the second communication connection.

[0162] (4) The associated electronic device receives the first water inlet information and reminds the user to remove the water in time.

[0163] The associated electronic device can alert the user to water damage through one or more methods, such as screen display (e.g., text, images, etc.), light, sound, and vibration. For details, please refer to the above. Figure 3 The method by which the electronic device 100 provides a water ingress warning as described in step S305 of the illustrated embodiment will not be repeated here.

[0164] In one possible implementation, after the water ingress detection circuit in the electronic device 100 enters the working state, the electronic device 100 can also determine the continuous detection time of the water ingress detection circuit and / or determine the water ingress detection frequency of the water ingress detection circuit according to different potential water ingress scenarios.

[0165] For example, in a handwashing scenario, the electronic device 100 can maintain the water ingress detection circuit in an active state throughout the handwashing process, and deactivate the water ingress detection circuit after a certain period of time (e.g., 60 seconds) after handwashing ends. When the lid of the charging case or earphone charging case of the electronic device 100 is just closed, the electronic device 100 can maintain the water ingress detection circuit in an active state for a certain period of time (e.g., 120 seconds) after the lid is closed, and then switch the water ingress detection circuit from an active state to a non-active state. In a charging scenario, especially when the electronic device 100 is charging, the water ingress detection circuit can remain active at all times, and the power consumption generated by water ingress detection can be replenished in a timely manner. This also ensures timely detection of water ingress into the device, avoiding damage caused by water ingress.

[0166] In some embodiments, the electronic device 100 may also determine the detection frequency of the water ingress detection circuit based on different potential water ingress scenarios. For example, in a handwashing scenario, the water ingress detection frequency may be frequency one (e.g., once every ten seconds). In a scenario where the electronic device 100 is charging the electronic device 200, the water ingress detection frequency may be frequency two (e.g., once every twenty seconds). When the electronic device 100 is in a charging state, the water ingress detection frequency may be frequency three (e.g., once every five seconds), and so on.

[0167] In other embodiments, the electronic device 100 may also determine the detection frequency of the water ingress detection circuit and the duration of each water ingress detection based on different potential water ingress scenarios. For details, please refer to the relevant descriptions in the foregoing embodiments, which will not be repeated here.

[0168] The operating duration or detection frequency of the water ingress detection circuit can be determined based on different potential water ingress scenarios. This allows for the identification of a suitable solution for each scenario, balancing the power consumption and timeliness of water ingress detection, and expanding the application scenarios of the water ingress detection method.

[0169] In one possible implementation, the water ingress alert can output water ingress notification information to inform the user of the water ingress status of the electronic device 100. This water ingress notification information may include one or more of the following: the location of the water ingress, the water removal method, and the location information of the electronic device 100, etc. Among them:

[0170] The water inlet location can be determined using the relevant information in step S303 of the above embodiment.

[0171] The water removal method can be determined based on the water inlet location, according to a pre-stored relationship between the water inlet location and the water removal method. For example, when the water inlet is inside the charging case, the water removal method could be to open the charging case and wipe it. When the water inlet is at the input / output port, the water removal method could be to flick the wrist. The water removal method could also be to use a hair dryer to dry the water inside the charging case, and so on.

[0172] For example, when electronic device 100 detects water ingress into the charging case, electronic device 100 can display... Figure 5B The water ingress warning interface 510 is shown. Figure 5B As shown, the water ingress warning interface 510 may include a water ingress warning notification 511, which may be a text notification such as "Water has entered the charging case. It is recommended to open the case and wipe it clean immediately!"

[0173] As another example, electronic device 100 can display Figure 5C The water ingress warning interface 520 shown may include a water ingress location display diagram 521 and a water ingress location indicator 522. The water ingress location display diagram 521 and the water ingress location indicator 522 are used to indicate the location of water ingress into the user's electronic device 100. The water ingress location indicator may be a highlight, circle, dot, or other marking that serves an identifying function. For example, Figure 5C In the diagram, Figure 521 shows the internal structure of the charging compartment, and the water ingress location is indicated by a water ingress location marker 522 in the recessed area of ​​the internal structure. This can alert the user that water has entered the recessed area inside the charging compartment.

[0174] For example, the electronic device 100 can also notify the user of the location information of the electronic device 100 at the same time as the water ingress warning. The specific implementation method may include the following steps:

[0175] (1) Electronic device 100 determines the first location information of the electronic device 100 based on positioning technology (such as ultra wide band, UWB technology, global positioning system, GPS technology, etc.).

[0176] (2) When electronic device 100 determines that water has entered the device, electronic device 100 can send first water entry information and first location information to associated electronic device.

[0177] It is understood that the reminders regarding the aforementioned water inlet treatment can also be made through other related devices, as described in the above embodiments, and will not be repeated here.

[0178] In one possible implementation, after determining that water has entered the electronic device 100, the electronic device 100 can continuously monitor the water removal process and issue one or more water removal status reminders. These reminders may include water removal progress, water removal completion messages, and the duration of each water removal step.

[0179] The water removal progress can be determined by real-time monitoring of electrical signal changes by the inlet water detection circuit. For example, Figure 5D A method for determining the dewatering progress based on the value of the current in the water inlet detection circuit is shown.

[0180] like Figure 5D As shown, the horizontal axis represents the water volume (in milliliters) near the water inlet sensor in the water inlet detection circuit, and the vertical axis represents the current (in amperes) flowing through the water inlet sensor in the water inlet detection circuit. The curve shows the relationship between the water volume near the water inlet sensor and the magnitude of the current flowing through the water inlet sensor. Based on this curve, the water removal progress can be determined by formula (1).

[0181] P=(N0-N1) / N0*100% Formula (1)

[0182] In the above formula (1), P represents the water removal progress, N0 represents the initial water inflow, and N1 represents the current water inflow. The value of N1 is less than that of N0. The electronic device 100 can determine the water inflow near the water inflow sensor by measuring the value of the current flowing through the water inflow sensor and based on the relationship curve between the current and the water inflow.

[0183] For example, Figure 5D The curve shown includes two points, Q1 and Q2. The coordinates of point Q1 are (X1, Y1), and the coordinates of point Q2 are (X2, Q2). Assume that when electronic device 100 first detects water ingress, the current value in the water ingress detection circuit is Y2. During the water removal process, the current value in the circuit during the previous water ingress detection is Y1. At this time, according to the aforementioned content, the water removal progress can be determined by formula (2), i.e.

[0184] P1=(X2-X1) / X2*100% Formula (2)

[0185] Understandable, Figure 5D The curve showing the relationship between current and water inflow is merely an illustrative example. The relationship between the current value flowing through the water inflow sensor and the water inflow near the water inflow sensor can also be represented by other curves, which are not limited here.

[0186] For example, when the electronic device 100 detects that dewatering has started, it can prompt the user about the dewatering progress through a screen display. Figure 5E A water removal progress interface 530 is shown. For example... Figure 5E As shown, the dewatering progress interface 530 includes a dewatering progress bar 531. The dewatering progress bar 531 includes a circular pattern and a number (e.g., 50%), which represents the dewatering progress and can be determined in the manner described above. The filled area of ​​the circular pattern also represents the dewatering progress and is consistent with the numerical value represented by the number. In some embodiments, the dewatering progress bar 531 can also be a bar-shaped progress bar, a fan-shaped progress bar, or a teardrop-shaped progress bar, etc., which is not limited herein. Optionally, the dewatering progress interface 530 may also include text prompts 532, such as "Dewatering is halfway done, please keep going!" or "Dewatering progress has reached 50%, please continue to vigorously shake your wrist!"

[0187] The duration of the dehydration step can be a preset time period (e.g., 30 seconds or 1 minute, etc.) or the number of specific actions (e.g., wrist flicking, wiping, etc.).

[0188] For example, electronic device 100 detects water ingress and anticipates that blowing with a hair dryer for 30 seconds will remove the water. Figure 5F A schematic diagram of a water removal time interface 540 is shown. For example... Figure 5F As shown, the dewatering time interface 540 may include a number 541 representing the remaining time (e.g., 30 seconds) and a time pattern 542. The time pattern 542 can be a circular pattern, an alarm clock pattern, or other patterns. This time pattern 542 represents the remaining time, and the remaining time represented by this pattern is the same as the remaining time represented by the number 541. For example, the dewatering time interface 540 indicates that the dewatering step still needs to continue for 30 seconds to achieve the desired dewatering effect.

[0189] For example, electronic device 100 detects water ingress and anticipates that five wrist flicks will remove the water. In this case, during the wrist flicking process, electronic device 100 can detect the number of flicks and display the remaining number of flicks (e.g., three) on the screen. In some embodiments, if the water ingress location is matched with a water removal method that requires opening the lid before flicking the wrist, electronic device 100 can detect whether the lid is open during the wrist flicking process. If the lid is not open, it can remind the user to open the lid before flicking the wrist. It is understood that in other water removal methods that require opening the lid, electronic device 100 can also detect the lid's status and remind the user; this application does not limit this.

[0190] The water removal completion message can be determined based on the real-time detection results of the water ingress detection circuit. For example, if the current water ingress detection result is no water ingress, and the previous water ingress detection result was water ingress, the electronic device 100 can determine that water removal is complete. In some embodiments, the water removal completion message can also be determined based on the aforementioned water removal progress, that is, water removal is determined to be complete when the water removal progress reaches 100%. In other embodiments, the water removal completion message can also be determined based on the aforementioned water removal step duration, that is, water removal is determined to be complete when the water removal step duration ends.

[0191] It is understood that the notification method for water removal can also be one or more of screen display, light, sound or vibration, and the water removal notification can also remind the user through associated devices. For details, please refer to the aforementioned implementation method of water ingress notification, which will not be repeated here.

[0192] It should be noted that the water inlet detection circuit can monitor the changes in the electrical signal in the water inlet detection circuit during the water removal process. It can also determine the working duration or water inlet detection frequency of the water inlet detection circuit according to different potential water inlet scenarios. For details, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0193] In one possible implementation, the electronic device 100 can also automatically remove water after determining that water ingress has occurred. For example, the electronic device 100 can initiate the automatic water removal operation when the water ingress detection result confirms water ingress. Alternatively, the electronic device 100 can initiate the automatic water removal operation after a period of time (e.g., 5 minutes) after alerting the user to water ingress. The automatic water removal can be achieved through sound waves, vibration, or other methods.

[0194] In this way, even if the user cannot remove the water in time, the electronic device 100 can automatically remove the water, avoiding damage to the components caused by water ingress. Furthermore, switching from manual to automatic water removal simplifies the operation.

[0195] In one possible implementation, water ingress detection can be performed by electronic device 200. The following is a flowchart illustrating another water ingress detection method provided by an embodiment of this application.

[0196] like Figure 6 As shown, another water ingress detection method provided in this application embodiment may include the following steps:

[0197] S601, Electronic device 100 collects scene information, which includes one or more of the following: action information, sound information, and status information.

[0198] S602, Electronic device 100 determines whether electronic device 100 or electronic device 200 is in a potential water ingress scenario based on scenario information.

[0199] The specific details of steps S601 and S602 can be found in the foregoing. Figure 3 The relevant descriptions of steps S301 and S302 in the illustrated embodiments will not be repeated here.

[0200] S603, when a potential water ingress scenario is determined, electronic device 100 sends a water ingress detection notification to electronic device 200.

[0201] S604, upon receiving and responding to the water ingress detection notification, the electronic device 200 performs water ingress detection and obtains the water ingress detection result.

[0202] The electronic device 200 can also perform water ingress detection by setting a water ingress detection circuit. The water ingress detection circuit can be referred to the relevant description in step S303 of the above embodiment, and will not be repeated here.

[0203] S605, Electronic Equipment 200 determines whether water has entered the device based on the water ingress detection results.

[0204] The electronic device 200 can determine whether water has entered the electronic device 200 based on the water ingress detection results in step S604 above.

[0205] S606, when the water ingress detection result is water ingress, the electronic device 200 will issue a water ingress reminder.

[0206] Electronic device 200 can alert the user to water ingress via sound. Electronic device 200 can also send a water ingress notification to electronic device 100 via its communication connection with electronic device 100, which instructs electronic device 100 to alert the user to water ingress. Furthermore, electronic device 200 can also alert the user to water ingress via other associated electronic devices.

[0207] The specific implementation method for water ingress warning can be found above. Figure 3 The relevant descriptions in the illustrated embodiments will not be repeated here.

[0208] S607, when the water ingress detection result is no water ingress, electronic device 200 sends an information collection notification to electronic device 100.

[0209] S608, upon receiving and responding to the information collection notification, the electronic device 100 executes step S601.

[0210] In this way, electronic device 200 can detect whether it has been infiltrated by water. For electronic device 200 with low waterproof performance, water ingress detection by itself is more accurate than water ingress detection by electronic device 100, thereby reducing the damage to electronic device 200 components.

[0211] The following describes a set of water inlet detection settings interfaces provided in the embodiments of this application.

[0212] Taking electronic device 100 as a wearable device as an example, such as Figure 7A As shown, the electronic device 100 displays an icon interface 700, which displays one or more application icons (e.g., calculator application icon, settings application icon 701, weather application icon, and browser application icon, etc.).

[0213] Electronic device 100 can receive and respond to user actions on settings application icon 701, displaying, for example... Figure 7B The settings interface 710 shown. The settings interface 710 may include multiple settings controls (e.g., wireless and network settings controls, device connection settings controls, water ingress detection settings controls 711, battery settings controls, and storage settings controls, etc.).

[0214] Electronic device 100 can receive and respond to user operations on water ingress detection setting control 711, displaying, for example... Figure 7C The water ingress detection settings interface 720 is shown. The water ingress detection settings interface 720 may include one or more settings controls related to water ingress detection, such as a potential water ingress scenario settings control 721 and a notification reminder method settings control 722. Wherein:

[0215] Electronic device 100 can respond to user operation of control 721 for potential water ingress scenarios, displaying, for example... Figure 7D The scene setup interface 730 is shown. The scene setup interface 730 can be used to set up potential water ingress scenarios. For example, as shown... Figure 7D As shown, the scene setting interface 730 may include one or more potential water ingress scene names 731 (e.g., handwashing, closing the box, soaking, charging, rain, etc.) and selection controls 732 corresponding to the potential water ingress scene names. The selection control 732 can indicate the selection state (e.g., selected or unselected) of its corresponding potential water ingress scene name. The electronic device 100 can respond to the operation of the selection control 732 by switching the corresponding potential water ingress scene name from a selected state to an unselected state, or from an unselected state to a selected state. Figure 7DIn the scene settings interface 730 shown, handwashing, soaking, charging, and rain are selected, while closing the box is not selected. In this case, when the electronic device 100 determines whether its current scene is a potential water ingress scene, it will identify handwashing, soaking, charging, and rain as potential water ingress scenes, but will not identify the closing the box scene as a potential water ingress scene.

[0216] Electronic device 100 can also respond to the user's operation of the control 722 for setting notification reminder methods, and display, for example... Figure 7E The notification settings interface 740 is shown. The notification settings interface 740 can be used to configure the notification method for water ingress alerts. For example, as shown... Figure 7E As shown, the notification settings interface 740 may include one or more notification methods 741 (e.g., screen display, sound alert, light alert, vibration alert, and cross-device alert, etc.) and a method selection control 742 corresponding to each notification method. The method selection control 742 can indicate the selected state of its corresponding notification method. The electronic device 100 can switch the selected state of the corresponding notification method in response to the operation of the method selection control 742. Figure 7E In the notification settings interface 740 shown, screen display and vibration alert are selected, while the other notification methods are unselected. In this state, when the electronic device 100 determines that water has entered its system, it will use a combination of screen display and vibration alert to remind the user to address the water ingress promptly.

[0217] The functional modules of a water inlet detection system provided in the embodiments of this application are described below.

[0218] like Figure 8 As shown, the water ingress detection system 80 may include a scene recognition module 801, a water ingress detection module 802, and a notification and reminder module 803. The scene recognition module 801, the water ingress detection module 802, and the notification and reminder module 803 are located within the electronic device 100. In some embodiments, the water ingress detection module 802 and the notification and reminder module 803 may also be located within the electronic device 200.

[0219] For example, the specific process of water ingress detection by the water ingress detection system 80 may include the following steps:

[0220] 1. Scene recognition module 801 collects scene information.

[0221] 2. The scene recognition module 801 can determine whether the scene in which the electronic device 100 or the electronic device 200 is located is a potential water ingress scene based on the collected scene information.

[0222] When the scene recognition module 801 determines that the current scene is a potential water ingress scene, the scene recognition module 801 can perform the following step 3.

[0223] 3. The scene recognition module 801 can send a water ingress detection notification to the water ingress detection module 802.

[0224] 4. Upon receiving and responding to the water ingress detection notification, the water ingress detection module 802 performs water ingress detection.

[0225] The water ingress detection module 802 can perform water ingress detection through the water ingress detection circuit in the aforementioned embodiment.

[0226] When the water ingress detection result is water ingress, the water ingress detection module 802 can execute the following step 5.

[0227] 5. The water ingress detection module 802 can send a water ingress notification to the notification and reminder module 803.

[0228] 6. Receive and respond to water ingress notifications. The notification reminder module 803 can remind the user to handle water ingress through one or more of the following methods: sound, screen display, or vibration.

[0229] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.

[0230] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0231] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0232] In summary, the above description is merely an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made according to the disclosure of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for detecting water ingress, characterized in that, include: The first electronic device collects scene information, which includes one or more of action information, sound information, and status information. The action information is used to indicate the movement trajectory of the first electronic device following the user's hand movements. The sound information is used to indicate whether there are sound waveforms related to water or closing the compartment in the environment where the first electronic device is located. The status information is used to indicate whether the first electronic device is in a charging state. When the first electronic device determines that it is in a potential water ingress scenario based on the scenario information, water ingress detection is performed. When the first electronic device determines that it has been infiltrated by water, it sends a first water ingress message to the third electronic device, which instructs the third electronic device to issue a water ingress warning.

2. The method according to claim 1, characterized in that, The first electronic device includes a charging compartment for accommodating and charging a second electronic device.

3. The method according to claim 2, characterized in that, The product types of the first electronic device include wearable devices and charging cases, and the product types of the second electronic device include earphones.

4. The method according to claim 2 or 3, characterized in that, The first electronic device sends first water ingress information to the third electronic device, including: The first electronic device sends the first water ingress information to the second electronic device; The second electronic device forwards the first water ingress information to the third electronic device.

5. The method according to any one of claims 1-3, wherein the type of water ingress alert includes one or more of the following: Display prompts, vibration prompts, sound prompts, and indicator light prompts.

6. The method according to any one of claims 1-3, characterized in that, The method further includes: When it is determined that the first electronic device has been flooded, the first electronic device determines the location of the flooding.

7. The method according to claim 6, characterized in that, The water inlet alert includes a water removal output method; the method further includes: After determining the water inlet location of the first electronic device, the first electronic device determines the water removal method based on the water inlet location.

8. The method according to any one of claims 1-3, characterized in that, After the first electronic device determines that it has been flooded, the method further includes: The first electronic device monitors the water removal process; The first electronic device outputs a water removal status reminder, or the first electronic device sends first water removal information to the third electronic device, the first water removal information being used to instruct the third electronic device to output the water removal status reminder, the water removal status reminder being used to inform the user of the water removal status of the first electronic device.

9. The method according to any one of claims 1-3, characterized in that, When the first electronic device determines, based on the scene information, that it is in a potential water ingress scenario, water ingress detection is performed, including: When the first electronic device determines that it is in a potential water ingress scenario based on the scenario information, the first electronic device determines the scenario type of the potential water ingress scenario in which it is located; When the scenario type of the potential water ingress scenario is determined to be the first type, the first electronic device performs water ingress detection at the first water ingress detection time and the first water ingress detection frequency; When the scenario type of the potential water ingress scenario is determined to be the second type, the first electronic device performs water ingress detection at the second water ingress detection time and the second water ingress detection frequency. Wherein, the first type and the second type are different; the first water inlet detection time and the second water inlet detection time are different; and / or, the first water inlet detection frequency and the second water inlet detection frequency are different.

10. The method according to any one of claims 1-3, characterized in that, The method further includes: When it is determined that the first electronic device has been infiltrated by water, the first electronic device automatically removes the water from the first electronic device.

11. An electronic device, specifically a first electronic device, characterized in that: include: One or more processors and one or more memories; the one or more memories are coupled to the one or more processors, the one or more memories being used to store computer program code, the computer program code including computer instructions, which, when executed by the one or more processors, cause the first electronic device to perform the method of any one of claims 1-10.

12. A computer-readable storage medium comprising computer instructions, characterized in that, When the computer instructions are executed on the first electronic device, the first electronic device causes the first electronic device to perform the method of any one of claims 1-10.

13. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method according to any one of claims 1-10.

14. A method for detecting water ingress, characterized in that, include: The first electronic device collects scene information, which includes one or more of action information, sound information, and status information. The action information is used to indicate the movement trajectory of the first electronic device following the user's hand movements. The sound information is used to indicate whether there are sound waveforms related to water or closing the compartment in the environment where the first electronic device is located. The status information is used to indicate whether the first electronic device is in a charging state. When the first electronic device determines that it is in a potential water ingress scenario based on the scenario information, the first electronic device sends a water ingress detection notification to the second electronic device. In response to the water ingress detection notification, the second electronic device performs water ingress detection; When the second electronic device determines that it has been flooded, it sends a first flooding information to the first or third electronic device. The first flooding information is used to instruct the first or third electronic device to issue a flooding warning.