Liquid inlet detection method and device, electronic equipment and storage medium
CN119846335APending Publication Date: 2025-04-18BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by
Patent Information
- Application Number
- CN202311345139.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-17
- Publication Date
- 2025-04-18
Smart Images

Figure CN119846335A_ABST
Abstract
The invention provides a liquid inlet detection method and device, electronic equipment and a storage medium. The method comprises the steps that the connection state of a USB Type-C port is acquired; the connection state comprises a first state of being connected to external equipment and a second state of being not connected to the external equipment; in response to the connection state being a second state, determining an event of whether liquid enters the port according to a resistance value of a first pin of the USB Type-C port; and in response to the connection state being the first state, determining whether liquid enters the port according to the voltage value of the second pin of the USB Type-C port. According to the embodiment of the invention, the liquid inlet event is determined by combining the voltage value of the first power supply pin and the USB Type-C port and adopting the resistance value or the voltage value, so that the use or non-use scene of the USB Type-C port can be covered, the purpose of preventing the inlet liquid from corroding the port is achieved, and the reliable work of the port is ensured.
Need to check novelty before this filing date? Find Prior Art