Terminal drowning processing method, device and readable storage medium

By detecting the terminal's test breakpoint, touch panel capacitance value, and air pressure, the system can determine the drowning state and control the shutdown, thus solving the problem of damage caused by terminal drowning and achieving rapid and reliable drowning detection and loss reduction.

CN116359295BActive Publication Date: 2026-02-13BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111616965.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2026-02-13
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

Existing terminals are prone to damage when submerged in water, especially when powered on, as the electrolytes in the water can exacerbate the damage, and there is a lack of effective waterproofing methods.

Method used

By acquiring the capacitance value at the test breakpoint in the terminal and the capacitance value at the addressable electrode in the touch panel, and combining it with the air pressure value, the drowning state of the terminal is determined, including full drowning and partial drowning, and the terminal is controlled to shut down to avoid further damage.

Benefits of technology

Quickly and reliably detect the drowning status of terminals, reduce losses, avoid equipment damage, simplify the detection process, and reduce power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116359295B_ABST
    Figure CN116359295B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a terminal drowning processing method, device and readable storage medium. The method comprises: obtaining a capacitance value at a test breakpoint in the terminal and a capacitance value at an addressable electrode of a touch panel of the terminal; and determining a drowning state of the terminal according to the capacitance value at the test breakpoint in the terminal and the capacitance value at the addressable electrode in the touch panel of the terminal. In this way, without making large changes to the terminal, the drowning state of the terminal can be quickly determined through parameter detection of the existing devices in the terminal, so that timely remedial measures can be taken after drowning, and the loss caused by terminal drowning can be reduced. The method provided by the present disclosure is simple, fast in detection, accurate in result and high in reliability.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of terminal state automatic detection, in particular to a terminal drowning processing method and device and a readable storage medium. BACKGROUND

[0002] Most of the terminals used in daily life do not support waterproof, at least do not support IP68 waterproof. Drowning is a very serious problem for the terminal itself, which may cause partial device failure, mainboard damage or even burnout. Especially when the terminal is in the power-on state, it is more likely to cause damage due to the effect of electrolytes in water. From the after-sales point of view, terminal drowning still occurs from time to time. SUMMARY

[0003] The purpose of the present disclosure is to provide a terminal drowning processing method, device and readable storage medium, which can quickly and reliably detect the drowning state of the terminal.

[0004] According to a first aspect of the embodiments of the present disclosure, a terminal drowning processing method is provided, comprising:

[0005] obtaining a capacitance value at a test breakpoint in the terminal and a capacitance value at an addressable electrode in a touch panel of the terminal;

[0006] determining a drowning state of the terminal according to the capacitance value at the test breakpoint in the terminal and the capacitance value at the addressable electrode in the touch panel of the terminal.

[0007] Optionally, the obtaining the capacitance value at the test breakpoint in the terminal and the capacitance value at the addressable electrode in the touch panel of the terminal comprises:

[0008] obtaining the capacitance value at the test breakpoint in the terminal;

[0009] If the capacitance value at at least one test breakpoint in the terminal is greater than a predetermined first capacitance threshold, the capacitance value at the addressable electrode in the touch panel of the terminal is obtained.

[0010] Optionally, the determining the drowning state of the terminal according to the capacitance value at the test breakpoint in the terminal and the capacitance value at the addressable electrode in the touch panel of the terminal comprises:

[0011] If the capacitance values at all test breakpoints in the terminal are greater than the predetermined first capacitance threshold, and the number of addressable electrodes with a capacitance value greater than the predetermined second capacitance threshold in the touch panel of the terminal is greater than a predetermined first number, it is determined that the terminal is in a full-drowning state.

[0012] If the capacitance value at one of the test breakpoints in the terminal is greater than the first capacitance threshold value, and the number of addressable electrodes in the terminal whose internal capacitive value is greater than the second capacitance threshold value is greater than the preset second number and less than the first number, the terminal is determined to be in a partial drowning state.

[0013] Optionally, the method further comprises: if the capacitance value at at least one of the test breakpoints in the terminal is greater than the predetermined first capacitance threshold value, obtaining the capacitance value at the addressable electrodes in the target region of the touch panel of the terminal.

[0014] If the capacitance value at at least one of the test breakpoints in the terminal is greater than the predetermined first capacitance threshold value, the capacitance value at the addressable electrodes in the target region of the touch panel of the terminal is obtained, wherein the target region is a region corresponding to the position of the test breakpoint whose capacitance value is greater than the first capacitance threshold value.

[0015] Optionally, the method further comprises: obtaining the air pressure value in the internal cavity of the terminal.

[0016] The method further comprises: determining the drowning state of the terminal according to the capacitance value at the test breakpoints in the terminal and the capacitance value at the addressable electrodes in the touch panel of the terminal.

[0017] The method further comprises: determining the drowning state of the terminal according to the air pressure value in the internal cavity of the terminal, the capacitance value at the test breakpoints in the terminal, and the capacitance value at the addressable electrodes in the touch panel of the terminal.

[0018] Optionally, the method further comprises: obtaining the capacitance value at the test breakpoints in the terminal and the capacitance value at the addressable electrodes in the touch panel of the terminal.

[0019] If the air pressure value in the internal cavity of the terminal is greater than the predetermined air pressure threshold value, the capacitance value at the test breakpoints in the terminal is obtained.

[0020] If the capacitance value at at least one of the test breakpoints in the terminal is greater than the predetermined first capacitance threshold value, the capacitance value at the addressable electrodes in the touch panel of the terminal is obtained.

[0021] Optionally, the method further comprises: determining the drowning state of the terminal according to the air pressure value in the internal cavity of the terminal, the capacitance value at the test breakpoints in the terminal, and the capacitance value at the addressable electrodes in the touch panel of the terminal.

[0022] If the air pressure value in the internal cavity of the terminal is greater than a predetermined air pressure threshold, the capacitance values at all test breakpoints in the terminal are greater than a predetermined first capacitance threshold, and the number of addressable electrodes with a capacitance value greater than a predetermined second capacitance threshold in the internal capacitance of the touch panel of the terminal is greater than a predetermined first number, the terminal is determined to be in a full submersion state.

[0023] If the air pressure value in the internal cavity of the terminal is greater than a predetermined air pressure threshold, the capacitance values at some test breakpoints in the terminal are greater than the first capacitance threshold, and the number of addressable electrodes with a capacitance value greater than the second capacitance threshold in the internal capacitance of the touch panel of the terminal is greater than a predetermined second number and less than the first number, the terminal is determined to be in a partial submersion state.

[0024] Optionally, if the terminal is determined to be in a full submersion state or a partial submersion state, the terminal is controlled to shut down.

[0025] According to a second aspect of the embodiments of the present disclosure, a terminal submersion processing apparatus is provided, comprising:

[0026] a first obtaining module configured to obtain capacitance values at test breakpoints in the terminal and capacitance values at addressable electrodes in the internal capacitance of the touch panel of the terminal;

[0027] a determining module configured to determine a submersion state of the terminal according to the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the internal capacitance of the touch panel of the terminal.

[0028] According to a third aspect of the embodiments of the present disclosure, a terminal submersion processing apparatus is provided, comprising:

[0029] a processor;

[0030] a memory for storing processor-executable instructions;

[0031] wherein the processor is configured to:

[0032] obtain capacitance values at test breakpoints in the terminal and capacitance values at addressable electrodes in the internal capacitance of the touch panel of the terminal;

[0033] determine a submersion state of the terminal according to the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the internal capacitance of the touch panel of the terminal.

[0034] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, which stores computer program instructions, and the computer program instructions are executed by a processor to implement the steps of the terminal submersion processing method provided in the first aspect of the present disclosure.

[0035] The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects.

[0036] The submersion state of the terminal is determined according to the capacitance value at the test breakpoint in the terminal and the capacitance value at the addressable electrode of the touch panel of the terminal, so that the submersion state of the terminal can be quickly determined by detecting the parameters of the existing devices in the terminal without making large changes to the terminal, and remedial measures can be taken in time after submersion, thereby reducing the loss caused by submersion of the terminal. The method provided by the disclosure is simple, fast in detection, accurate in result, and high in reliability.

[0037] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0038] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the disclosure and serve to explain the principles of the disclosure together with the specification.

[0039] Figure 1 is a flowchart of a terminal submersion processing method according to an exemplary embodiment.

[0040] Figure 2 is a flowchart of a terminal submersion processing method according to another exemplary embodiment.

[0041] Figure 3 is a block diagram of a terminal submersion processing device according to an exemplary embodiment.

[0042] Figure 4 is a block diagram of a terminal submersion processing device according to another exemplary embodiment.

[0043] Figure 5 is a block diagram of a terminal submersion processing device according to an exemplary embodiment. DETAILED DESCRIPTION

[0044] The exemplary embodiments will be described in detail hereinafter with reference to the accompanying drawings. In the following description, the same numbers refer to the same elements throughout the drawings, unless otherwise represented. The embodiments described in the following exemplary embodiments do not represent all the embodiments consistent with the disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the disclosure as detailed in the appended claims.

[0045] Figure 1 is a flowchart of a terminal submersion processing method according to an exemplary embodiment, which is used in a terminal, as shown in Figure 1 includes the following steps:

[0046] In step S101, the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes of the touch panel of the terminal are obtained.

[0047] The test point is a sensing element arranged in the terminal for measuring capacitance, for example, a physical spring made of copper. The test point of the existing Specific Absorption Rate (SAR) sensor in the terminal can be used for detection.

[0048] The number and position of the test points on the terminal are pre-set according to design requirements. For example, four test points are arranged on the terminal, which are arranged at the upper left, upper right, lower left and lower right corners of the terminal, respectively.

[0049] As known by those skilled in the art, coupling capacitances can be formed between the addressable electrodes in the touch panel. Since the human finger is conductive, when a user touches the touch panel, the capacitance value of the coupling capacitance between the addressable electrodes at the touched part of the touch panel will be affected. Therefore, by detecting the capacitance value of the coupling capacitance between the addressable electrodes in the touch panel, the touch position of the user on the touch panel can be determined. The capacitance value of the coupling capacitance is the capacitance value at the addressable electrodes in the touch panel of the terminal.

[0050] Since the "impure" water is conductive, if water enters the test point, the capacitance value at the test point will increase; if the touch panel contacts water, the capacitance value of the coupling capacitance between the addressable electrodes in the touch panel will also change. In step S101, the capacitance values at all test points in the terminal and the capacitance values at all addressable electrodes in the touch panel of the terminal can be obtained.

[0051] In step S102, the water submersion state of the terminal is determined according to the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal.

[0052] As described above, when the terminal is in a water submersion state, the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal will change. Therefore, in step S102, the water submersion state of the terminal can be determined according to the comprehensive judgment of the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal obtained in step S101.

[0053] According to the technical solution, the submersion state of the terminal is determined according to the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal, so that the submersion state of the terminal can be quickly determined by detecting the parameters of the existing devices in the terminal without making large changes to the terminal, and timely remedial measures can be taken after submersion, thereby reducing the loss caused by submersion of the terminal. The method provided by the present disclosure is simple, fast in detection, accurate in result, and high in reliability.

[0054] In yet another embodiment, determining the submersion state of the terminal according to the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal in step S102 can include:

[0055] If the capacitance values at all the test breakpoints in the terminal are greater than a predetermined first capacitance threshold value, and the number of addressable electrodes in the touch panel of the terminal with capacitance values greater than a predetermined second capacitance threshold value is greater than a preset first number, it is determined that the submersion state of the terminal is full submersion.

[0056] If the capacitance values at a part of the test breakpoints in the terminal are greater than the first capacitance threshold value, and the number of addressable electrodes in the touch panel of the terminal with capacitance values greater than the second capacitance threshold value is greater than a preset second number and less than the first number, it is determined that the submersion state of the terminal is partial submersion.

[0057] The first capacitance threshold value and the second capacitance threshold value can be determined in advance by experimental methods. Specifically, the terminal is placed in water to simulate the situation when the terminal is submerged, and the first capacitance threshold value is determined according to the detected capacitance values at the test breakpoints, and the second capacitance threshold value is determined according to the detected capacitance values at the addressable electrodes in the touch panel. If the capacitance value at a test breakpoint is greater than the first capacitance threshold value, it can be considered that water has entered the test breakpoint, and if the capacitance value at an addressable electrode in the touch panel is greater than the second capacitance threshold value, it can be considered that the touch panel has been wet at the addressable electrode.

[0058] The first number can be determined according to the number of coupling capacitances that can be formed by the addressable electrodes in the touch panel. For example, the number of all coupling capacitances for detecting touch conditions that can be formed by the addressable electrodes in the touch panel can be determined as the first number. For another example, 90% of the number of all coupling capacitances for detecting touch conditions that can be formed by the addressable electrodes in the touch panel can be determined as the first number. When it is detected that the capacitance values at the test breakpoints in the terminal are all greater than the first capacitance threshold value, and the number of addressable electrodes in the touch panel of the terminal with capacitance values greater than the predetermined second capacitance threshold value is greater than the preset first number, it is determined that the submersion state of the terminal is full submersion.

[0059] The second quantity can be pre-configured according to the terminal device. For example, when the terminal device is in a stable submersion state (for example, the terminal device can only reach a partial submersion state due to water depth), the terminal device will not be damaged regardless of the angle at which the terminal device falls into the water when the water-logged area of the terminal touch panel is less than a certain ratio, and the terminal device can be damaged when the water-logged area of the terminal touch panel reaches the ratio. The number of coupling capacitances formed by the addressable electrodes corresponding to the ratio can be determined as the second quantity. For example, when the terminal device is in a stable submersion state, the terminal device will not be damaged regardless of the angle at which the terminal device falls into the water when the water-logged area of the terminal touch panel is less than 20%, and the terminal device can be damaged when the water-logged area of the terminal touch panel reaches 20%. At this time, 20% of the number of coupling capacitances formed by the addressable electrodes in the touch panel for detecting the touch condition can be determined as the second quantity. If the capacitance value at a part of the test breakpoints in the terminal is greater than the first capacitance threshold, and the number of addressable electrodes in the terminal touch panel whose capacitance value is greater than the second capacitance threshold is greater than the pre-configured second quantity and less than the first quantity, it is determined that the submersion state of the terminal is a partial submersion.

[0060] In this embodiment, the submersion state of the terminal is determined by simple data comparison, which has high reliability, fast data processing speed, and is not prone to errors.

[0061] In yet another embodiment, the step of obtaining the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal in step S101 can include: obtaining the capacitance values at the test breakpoints in the terminal; and if the capacitance value at at least one of the test breakpoints in the terminal is greater than a predetermined first capacitance threshold, obtaining the capacitance values at the addressable electrodes in the touch panel of the terminal.

[0062] That is, the capacitance values at the test breakpoints in the terminal are obtained first, and when it is detected that the capacitance value at at least one of the test breakpoints in the terminal is greater than a predetermined first capacitance threshold, the capacitance values at the addressable electrodes in the touch panel of the terminal are obtained. In the case where the capacitance values at all the test breakpoints in the terminal are not greater than the first capacitance threshold, the capacitance values at the addressable electrodes in the touch panel of the terminal are not obtained.

[0063] For example, during the running of the terminal device, it is detected that the capacitance values at 4 test breakpoints (there are a total of 4 test breakpoints in the terminal device) are all greater than the first capacitance threshold, indicating that the terminal device can be in a full submersion state. At this time, the capacitance values at the addressable electrodes in the touch panel are triggered to further determine whether the terminal device is in a full submersion state.

[0064] For another example, during the running of the terminal, if the terminal detects that the capacitance value at only one of the four test points (there are four test points in the terminal) is greater than the predetermined first capacitance threshold, it indicates that the terminal is likely to be in a partial submersion state. At this time, the capacitance value at the addressable electrodes in the touch panel is triggered to be detected to further determine whether the terminal is in a partial submersion state.

[0065] In this embodiment, by using the method of first acquiring the capacitance value at the test points in the terminal, and then starting the touch panel to acquire the capacitance value at the addressable electrodes in the touch panel in the case that there is a test point in the terminal with a capacitance value greater than the first capacitance threshold, the terminal submersion state is finally determined. This avoids unnecessary detection, thereby reducing the power consumption for terminal submersion detection.

[0066] In another embodiment, the above-mentioned acquiring the capacitance value at the addressable electrodes in the target region of the touch panel of the terminal if the capacitance value at at least one of the test points in the terminal is greater than the predetermined first capacitance threshold can include:

[0067] If the capacitance value at at least one of the test points in the terminal is greater than the predetermined first capacitance threshold, the capacitance value at the addressable electrodes in the target region of the touch panel of the terminal is acquired. The target region is a region corresponding to the position of the test point with a capacitance value greater than the first capacitance threshold.

[0068] The position of the test point refers to the position of the test point in the terminal, and the target region refers to the region in the touch panel corresponding to the position of the test point. For example, in the case that four test points are arranged at the upper left, upper right, lower left and lower right corners of the terminal, the touch panel can be equally divided into four parts by drawing the median lines of the long side and the short side of the touch panel. The test point at the upper left corner corresponds to the upper left region of the touch panel, the test point at the upper right corner corresponds to the upper right region of the touch panel, the test point at the lower left corner corresponds to the lower left region of the touch panel, and the test point at the lower right corner corresponds to the lower right region of the touch panel. During the running of the terminal, if the capacitance values at the test points at the upper left and upper right corners are detected to be greater than the first capacitance threshold, the target regions corresponding to these two test points are the upper half region of the touch panel, and the capacitance value at the addressable electrodes in the upper half region of the touch panel is acquired. For another example, if the capacitance value at the test point at the upper left corner is detected to be greater than the first capacitance threshold, the capacitance value at the addressable electrodes in the upper left region of the touch panel is acquired.

[0069] In this embodiment, the capacitance value at the addressable electrodes in the corresponding target region can be acquired according to the position of the test point with a capacitance value greater than the first capacitance threshold, thereby avoiding the detection of some unnecessary capacitance values, thereby reducing the power consumption for terminal submersion detection.

[0070] Figure 2 is a flowchart of a terminal drowning processing method according to yet another exemplary embodiment, as shown in Figure 2 based on the method shown in Figure 1 , the method further comprises a step S101'.

[0071] In step S101', the air pressure value in the terminal internal cavity is acquired.

[0072] In this embodiment, the determining of the terminal drowning state according to the capacitance value at the test breakpoint in the terminal and the capacitance value at the addressable electrode in the touch panel of the terminal in step S102 can comprise step S1021.

[0073] In step S1021, the terminal drowning state is determined according to the air pressure value in the terminal internal cavity, the capacitance value at the test breakpoint in the terminal and the capacitance value at the addressable electrode in the touch panel of the terminal.

[0074] For the terminal configured with the air pressure sensor, the air pressure value in the terminal internal cavity can be detected by the existing sensor of the terminal. When the terminal is drowned, the air pressure value in the terminal internal cavity will sharply increase, thus, the air pressure value in the terminal internal cavity can also be used as a basis for judging the terminal drowning.

[0075] In this embodiment, the air pressure value in the terminal internal cavity is added as a basis for judging the terminal drowning, which further enhances the accuracy of the terminal drowning judgment result.

[0076] In yet another embodiment, the determining of the terminal drowning state according to the air pressure value in the terminal internal cavity, the capacitance value at the test breakpoint in the terminal and the capacitance value at the addressable electrode in the touch panel of the terminal in step S1021 can comprise:

[0077] If the air pressure value in the terminal internal cavity is greater than a predetermined air pressure threshold value, the capacitance values at all test breakpoints in the terminal are all greater than a predetermined first capacitance threshold value, and the number of addressable electrodes with capacitance values greater than a predetermined second capacitance threshold value in the touch panel of the terminal is greater than a predetermined first number, then the terminal drowning state is determined as full drowning;

[0078] If the air pressure value in the terminal internal cavity is greater than a predetermined air pressure threshold value, the capacitance values at a part of test breakpoints in the terminal are greater than the first capacitance threshold value, and the number of addressable electrodes with capacitance values greater than the second capacitance threshold value in the touch panel of the terminal is greater than a predetermined second number and less than the first number, then the terminal drowning state is determined as partial drowning.

[0079] The air pressure threshold value can be preset by experiment. Specifically, the air pressure threshold value can be determined by simulating a terminal submersion scenario, obtaining the air pressure value measured by the air pressure sensor under the submersion condition of the terminal, and determining the air pressure threshold value according to the air pressure value. For example, the air pressure threshold value can be set as 95% of the air pressure value measured by the air pressure sensor under the simulated terminal submersion scenario.

[0080] If the air pressure value in the internal cavity of the terminal is greater than the predetermined air pressure threshold value, the capacitance values at all test breakpoints in the terminal are greater than the predetermined first capacitance threshold value, and the number of addressable electrodes with capacitance values greater than the predetermined second capacitance threshold value in the touch panel of the terminal is greater than the predetermined first number, it can be considered that the terminal has been completely immersed in water at this time, i.e., the submersion state of the terminal is determined to be complete submersion.

[0081] If the air pressure value in the internal cavity of the terminal is greater than the predetermined air pressure threshold value, the capacitance values at a part of the test breakpoints in the terminal are greater than the first capacitance threshold value, and the number of addressable electrodes with capacitance values greater than the second capacitance threshold value in the touch panel of the terminal is greater than the predetermined second number and less than the first number, it can be considered that the terminal has been partially immersed in water at this time, i.e., the submersion state of the terminal is determined to be partial submersion.

[0082] In this embodiment, the necessary condition that the air pressure value in the internal cavity of the terminal is greater than the predetermined air pressure threshold value is added to determine whether the submersion state of the terminal is complete submersion or partial submersion, so that the determination result of the submersion state of the terminal is more accurate.

[0083] In yet another embodiment, the obtaining of the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal in step S101 can include: if the air pressure value in the internal cavity of the terminal is greater than the predetermined air pressure threshold value, obtaining the capacitance values at the test breakpoints in the terminal; and if the capacitance value at at least one test breakpoint in the terminal is greater than the predetermined first capacitance threshold value, obtaining the capacitance values at the addressable electrodes in the touch panel of the terminal.

[0084] That is, the air pressure value in the internal cavity of the terminal is first obtained, and then the capacitance values at the test breakpoints in the terminal are obtained when the air pressure value in the internal cavity of the terminal is greater than the air pressure threshold value. If the air pressure value in the internal cavity of the terminal is not greater than the air pressure threshold value, the obtaining of the capacitance values at the test breakpoints in the terminal is not triggered. The air pressure sensor can be set to be always on, and when the air pressure value detected by the air pressure sensor is greater than the air pressure threshold value, the SAR sensor in the terminal is woken up to measure the capacitance values at all test breakpoints in the terminal. Furthermore, if the capacitance value at at least one test breakpoint in the terminal is greater than the predetermined first capacitance threshold value, the capacitance values at the addressable electrodes in the touch panel of the terminal are obtained. If the capacitance values at all test breakpoints in the terminal are not greater than the predetermined first capacitance threshold value, the obtaining of the capacitance values at the addressable electrodes in the touch panel of the terminal is not triggered.

[0085] For example, when it is detected that the air pressure value of the internal cavity of the terminal is greater than the air pressure threshold, the SAR sensor in the terminal is woken up, the capacitance values of all test breakpoints in the terminal are measured, and if it is detected that the capacitance value of a test breakpoint (for example, the test breakpoint located at the upper left corner) is greater than a first capacitance threshold, the capacitance values at addressable electrodes in a target region of the touch panel (the upper left region of the touch panel) of the terminal are obtained.

[0086] For example, when it is detected that the air pressure value of the internal cavity of the terminal is greater than the air pressure threshold, the SAR sensor in the terminal is woken up, the capacitance values of all test breakpoints in the terminal are measured, and if it is detected that the capacitance value of a test breakpoint (for example, the test breakpoint located at the upper left corner) is greater than a first capacitance threshold, the capacitance values at addressable electrodes in a target region of the touch panel (the upper left region of the touch panel) of the terminal are obtained.

[0087] In this embodiment, the capacitance values at the test breakpoints and the capacitance values at the addressable electrodes in the touch panel are obtained when the air pressure value of the internal cavity of the terminal is greater than the air pressure threshold, thus avoiding unnecessary detection of capacitance values and reducing power consumption for terminal submersion detection.

[0088] In yet another embodiment, the terminal submersion processing method further includes: if it is determined that the submersion state of the terminal is complete submersion or partial submersion, controlling the terminal to shut down.

[0089] Since the terminal is still likely to be damaged when it is powered on during submersion, controlling the terminal to shut down when it is detected that the terminal is in a complete submersion state or a partial submersion state can avoid the terminal being powered on during submersion and reduce the likelihood of damage to the terminal.

[0090] Based on the same inventive concept, the disclosure also provides a terminal submersion processing apparatus. Figure 3 is a block diagram of a terminal submersion processing apparatus according to an exemplary embodiment. Referring to Figure 3 The terminal submersion processing apparatus 300 includes a first obtaining module 301 and a determining module 302.

[0091] The first obtaining module 301 is configured to obtain the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal.

[0092] The determining module 302 is configured to determine the submersion state of the terminal based on the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal.

[0093] Optionally, the first obtaining module 301 is further configured to: obtain the capacitance values at the test breakpoints in the terminal; and if the capacitance value at at least one test breakpoint in the terminal is greater than a predetermined first capacitance threshold, obtain the capacitance values at the addressable electrodes in the touch panel of the terminal.

[0094] Figure 4 is a terminal drowning processing apparatus block diagram shown according to still another exemplary embodiment. Referring to Figure 4 , on the basis of Figure 3 , the determining module 302 comprises a first determining submodule 3021 and a second determining submodule 3022.

[0095] The first determining submodule 3021 is configured to determine that the terminal is in an all-drowning state if the capacitance values at all the test breakpoints in the terminal are greater than a predetermined first capacitance threshold value, and the number of addressable electrodes in the terminal whose touch panel internal capacitance values are greater than a predetermined second capacitance threshold value is greater than a preset first number.

[0096] The second determining submodule 3022 is configured to determine that the terminal is in a partial-drowning state if the capacitance values at a part of the test breakpoints in the terminal are greater than the first capacitance threshold value, and the number of addressable electrodes in the terminal whose touch panel internal capacitance values are greater than the second capacitance threshold value is greater than a preset second number and less than the first number.

[0097] Optionally, the first obtaining module 301 is further configured to:

[0098] if the capacitance value at at least one test breakpoint in the terminal is greater than a predetermined first capacitance threshold value, obtain the capacitance values at the addressable electrodes in a target region of the touch panel of the terminal, wherein the target region is a region corresponding to the position of the test breakpoint whose capacitance value is greater than the first capacitance threshold value.

[0099] Optionally, the terminal drowning processing apparatus 300 further comprises a second obtaining module.

[0100] The second obtaining module is configured to obtain the air pressure value of the internal cavity of the terminal.

[0101] The determining module 302 is further configured to:

[0102] determine the drowning state of the terminal according to the air pressure value in the internal cavity of the terminal, the capacitance values at the test breakpoints in the terminal, and the capacitance values at the addressable electrodes in the touch panel of the terminal.

[0103] Optionally, the first obtaining module 301 is further configured to:

[0104] if the air pressure value in the internal cavity of the terminal is greater than a predetermined air pressure threshold value, obtain the capacitance values at the test breakpoints in the terminal;

[0105] if the capacitance value at at least one test breakpoint in the terminal is greater than a predetermined first capacitance threshold value, obtain the capacitance values at the addressable electrodes in the touch panel of the terminal.

[0106] Optionally, the determining module 302 comprises a third determining submodule and a fourth determining submodule.

[0107] The third determining submodule is configured to determine that the terminal is in a full submersion state if the air pressure value in the internal cavity of the terminal is greater than the predetermined air pressure threshold, the capacitance values at all test breakpoints in the terminal are greater than the predetermined first capacitance threshold, and the number of addressable electrodes with capacitance values greater than the predetermined second capacitance threshold in the touch panel of the terminal is greater than the predetermined first number.

[0108] The fourth determining submodule is configured to determine that the terminal is in a partial submersion state if the air pressure value in the internal cavity of the terminal is greater than the predetermined air pressure threshold, the capacitance values at some test breakpoints in the terminal are greater than the first capacitance threshold, and the number of addressable electrodes with capacitance values greater than the second capacitance threshold in the touch panel of the terminal is greater than the predetermined second number and less than the first number.

[0109] Optionally, the terminal submersion processing apparatus 300 further comprises a control module.

[0110] The control module is configured to control the terminal to shut down if it is determined that the terminal is in a full submersion state or a partial submersion state.

[0111] As to the apparatuses in the above embodiments, the specific manners in which the various modules perform operations have been described in detail in the embodiments of the method, and thus will not be described in detail here.

[0112] According to the above technical solution, the submersion state of the terminal is determined according to the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal, so that without making large changes to the terminal, the submersion state of the terminal can be quickly determined through parameter detection of the existing devices in the terminal, and timely remedial measures can be taken after submersion, thereby reducing the loss caused by terminal submersion. The method provided by the present disclosure is simple, fast in detection, accurate in result, and high in reliability.

[0113] The present disclosure also provides a terminal submersion processing apparatus, comprising a processor and a memory for storing processor-executable instructions. Wherein the processor is configured to: acquire the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal; and determine the submersion state of the terminal according to the capacitance values at the test breakpoints in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal.

[0114] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the terminal submersion processing method provided by the present disclosure.

[0115] Figure 5is a block diagram of a terminal drowning processing apparatus 500 according to an exemplary embodiment. For example, the apparatus 500 can be a mobile phone, a computer, a digital broadcasting terminal, a messaging equipment, a game console, a tablet equipment, a medical equipment, a fitness equipment, a personal digital assistant, or the like.

[0116] Referring to Figure 5 The apparatus 500 can include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.

[0117] The processing component 502 usually controls overall operations of the apparatus 500, such as operations associated with displaying, making phone calls, data communications, camera operations, and recording operations. The processing component 502 can include one or more processors 520 to execute instructions to complete all or part of steps of the above-described terminal drowning processing method. In addition, the processing component 502 can include one or more modules to facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

[0118] The memory 504 is configured to store various types of data to support operations of the apparatus 500. Examples of these data include instructions for any application or method operating on the apparatus 500, contact data, phonebook data, messages, pictures, videos, and the like. The memory 504 can be realized by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0119] The power component 506 provides power to various components of the apparatus 500. The power component 506 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 500.

[0120] The multimedia component 508 includes a screen providing an output interface between the device 500 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swiping, and gestures on the touch panel. The touch sensors can not only sense a boundary of a touching or swiping action, but also detect duration and pressure related to the touching or swiping action. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front and rear camera can be a fixed optical lens system or have a focal length and optical zooming capability.

[0121] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC) to receive an external audio signal when the device 500 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further includes a speaker for outputting audio signals.

[0122] The I / O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0123] The sensor component 514 includes one or more sensors to provide various state assessments for the device 500. For example, the sensor component 514 can detect an open / closed state of the device 500, relative positioning of components, such as a display and a keypad of the device 500, a change in position of the device 500 or a component of the device 500, presence or absence of user contact with the device 500, a change in orientation of the device 500 or acceleration / deceleration of the device 500, and a temperature change of the device 500. The sensor component 514 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 514 can further include a light sensor, such as a CMOS or CCD image sensor, for use in an imaging application. In some embodiments, the sensor component 514 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0124] The communication component 516 is configured to facilitate wired or wireless communication between the device 500 and other devices. The device 500 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate close proximity communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technology.

[0125] In an exemplary embodiment, the device 500 can be implemented with one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components, for performing the above-described terminal drowning processing method.

[0126] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 504 including instructions, is also provided, which can be executed by the processor 520 of the device 500 to complete the above-described terminal drowning processing method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0127] In another exemplary embodiment, a computer program product is also provided, which contains a computer program capable of being executed by a programmable device, the computer program having code portions for executing the above-described terminal drowning processing method when executed by the programmable device.

[0128] Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the present disclosure. It is intended that the present disclosure cover any and all variations of the present disclosure including those variations that can be incorporated into the above detailed description and making use of known additives and known methodology that have been published in prior patents and publications. The specification and examples given are intended as illustrative only and are not intended to limit the true scope and spirit of the present disclosure as set forth in the following claims.

[0129] It should be understood that the present disclosure is not limited to the precise structures herein described and illustrated in the drawings and that various modifications and changes in form and detail can be made without departing from its scope. It is intended that the scope of the present disclosure be limited only by the appended claims.

Claims

1. A terminal drowning processing method, characterized by, The method comprises: obtaining the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal, the test points being sensing elements arranged in the terminal for measuring capacitance; determining the water submersion state of the terminal according to the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal.

2. The method of claim 1, wherein, The obtaining the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal comprises: obtaining the capacitance values at the test points in the terminal; if the capacitance values at at least one of the test points in the terminal are greater than a predetermined first capacitance threshold, obtaining the capacitance values at the addressable electrodes in the touch panel of the terminal.

3. The method according to claim 1 or 2, characterized in that, The determining the water submersion state of the terminal according to the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal comprises: if the capacitance values at all the test points in the terminal are greater than the predetermined first capacitance threshold, and the number of addressable electrodes in the touch panel of the terminal whose capacitance values are greater than a predetermined second capacitance threshold is greater than a predetermined first number, determining that the water submersion state of the terminal is total submersion; if the capacitance values at a part of the test points in the terminal are greater than the first capacitance threshold, and the number of addressable electrodes in the touch panel of the terminal whose capacitance values are greater than the second capacitance threshold is greater than a predetermined second number and smaller than the first number, determining that the water submersion state of the terminal is partial submersion.

4. The method of claim 2, wherein, The obtaining the capacitance values at the addressable electrodes in the touch panel of the terminal if the capacitance values at at least one of the test points in the terminal are greater than a predetermined first capacitance threshold comprises: if the capacitance values at at least one of the test points in the terminal are greater than a predetermined first capacitance threshold, obtaining the capacitance values at the addressable electrodes in a target region of the touch panel of the terminal, wherein the target region corresponds to the positions of the test points whose capacitance values are greater than the first capacitance threshold.

5. The method of claim 1, wherein, The method further comprises: obtaining the air pressure value of the internal cavity of the terminal; The determining the water submersion state of the terminal according to the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal comprises: determining the water submersion state of the terminal according to the air pressure value of the internal cavity of the terminal, the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal.

6. The method of claim 5, wherein, The obtaining the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal comprises: if the air pressure value of the internal cavity of the terminal is greater than a predetermined air pressure threshold, obtaining the capacitance values at the test points in the terminal; if the capacitance values at at least one of the test points in the terminal are greater than a predetermined first capacitance threshold, obtaining the capacitance values at the addressable electrodes in the touch panel of the terminal.

7. The method of claim 5, wherein, The determining the water submersion state of the terminal according to the air pressure value of the internal cavity of the terminal, the capacitance values at the test points in the terminal and the capacitance values at the addressable electrodes in the touch panel of the terminal comprises: if the air pressure value of the internal cavity of the terminal is greater than a predetermined air pressure threshold, and the capacitance values at all the test points in the terminal are greater than a predetermined first capacitance threshold, and the number of addressable electrodes in the touch panel of the terminal whose capacitance values are greater than a predetermined second capacitance threshold is greater than a predetermined first number, determining that the water submersion state of the terminal is total submersion; If the air pressure value in the internal cavity of the terminal is greater than a predetermined air pressure threshold, the capacitance values at all test breakpoints in the terminal are greater than a predetermined first capacitance threshold, and the number of addressable electrodes with a capacitance value greater than a predetermined second capacitance threshold in the touch panel of the terminal is greater than a predetermined first number, the terminal is determined to be in a full submersion state. If the air pressure value in the internal cavity of the terminal is greater than a predetermined air pressure threshold, the capacitance values at some test breakpoints in the terminal are greater than the first capacitance threshold, and the number of addressable electrodes with a capacitance value greater than the second capacitance threshold in the touch panel of the terminal is greater than a predetermined second number and less than the first number, the terminal is determined to be in a partial submersion state.

8. The method according to any one of claims 1 to 7, characterized in that, Further comprising: If the terminal is determined to be in a full submersion state or a partial submersion state, the terminal is controlled to shut down.

9. A terminal drowning treatment device characterized by comprising: Comprising: a first obtaining module configured to obtain capacitance values at test breakpoints in the terminal and at addressable electrodes in the touch panel of the terminal, the test breakpoints being sensing elements arranged in the terminal for measuring capacitance; a determining module configured to determine a submersion state of the terminal according to the capacitance values at the test breakpoints in the terminal and at the addressable electrodes in the touch panel of the terminal.

10. A terminal drowning treatment device characterized by comprising: Comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: obtain capacitance values at test breakpoints in the terminal and at addressable electrodes in the touch panel of the terminal, the test breakpoints being sensing elements arranged in the terminal for measuring capacitance; determine a submersion state of the terminal according to the capacitance values at the test breakpoints in the terminal and at the addressable electrodes in the touch panel of the terminal.

11. A computer-readable storage medium having stored thereon computer program instructions, wherein, The program instructions, when executed by the processor, implement the steps of the method of any one of claims 1-8.

Citation Information

Patent Citations

  • Water inlet detecting device, mobile terminal control method and mobile terminal

    CN106840543A

  • Mobile terminal control method and mobile terminal

    CN107517286A