CN107831983B - Overvoltage protection control method and device, mobile terminal and readable storage medium - Google Patents

Overvoltage protection control method and device, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN107831983B
CN107831983B CN201711044449.8A CN201711044449A CN107831983B CN 107831983 B CN107831983 B CN 107831983B CN 201711044449 A CN201711044449 A CN 201711044449A CN 107831983 B CN107831983 B CN 107831983B
Authority
CN
China
Prior art keywords
change
threshold
value
angular velocity
change data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711044449.8A
Other languages
Chinese (zh)
Other versions
CN107831983A (en
Inventor
古启才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201711044449.8A priority Critical patent/CN107831983B/en
Publication of CN107831983A publication Critical patent/CN107831983A/en
Priority to PCT/CN2018/110298 priority patent/WO2019085732A1/en
Application granted granted Critical
Publication of CN107831983B publication Critical patent/CN107831983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/20Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess voltage

Abstract

The invention provides an overvoltage protection control method and device, a mobile terminal and a readable storage medium. The method is applied to the mobile terminal, and the mobile terminal comprises an overvoltage protection chip for overvoltage protection. And detecting to obtain attitude change data of the mobile terminal, and comparing the detected attitude change data with a preset attitude change data threshold value to obtain a comparison result. And if the comparison result is that the attitude change data is larger than a preset attitude change data threshold, controlling the overvoltage protection chip to work. Therefore, when the posture change data is larger than the preset posture change data threshold value, the overvoltage protection function of the overvoltage protection chip is started in advance, and the situation that the overvoltage protection function of the overvoltage protection chip is started after the mobile terminal falls into liquid to cause short circuit of the main board is avoided.

Description

Overvoltage protection control method and device, mobile terminal and readable storage medium
Technical Field
The invention relates to the technical field of electronic equipment, in particular to an overvoltage protection control method and device, a mobile terminal and a readable storage medium.
Background
At present, most of mobile terminals are provided with overvoltage protection chips, and the overvoltage protection function is started by detecting data of the overvoltage protection chips at regular time or when the overvoltage protection chips reach critical threshold values (set temperature, voltage or current) so as to avoid short circuit of a main board of the mobile terminal. However, the above method has the following disadvantages: there is a time delay; different leakage solutions have different impedances and different critical thresholds, and have certain differences, thereby possibly causing misjudgment.
Disclosure of Invention
In order to overcome the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is to provide an overvoltage protection control method, device, mobile terminal and readable storage medium, which can compare the posture change data of the mobile terminal with a preset posture change threshold, and control whether to pre-start the overvoltage protection function of the overvoltage protection chip according to the comparison result, so as to avoid the occurrence of a short circuit of the main board due to the overvoltage protection function of the overvoltage protection chip being started only after the mobile terminal falls into the liquid.
The embodiment of the invention provides an overvoltage protection control method, which is applied to a mobile terminal, wherein the mobile terminal comprises an overvoltage protection chip for overvoltage protection, and the method comprises the following steps:
detecting attitude change data of the mobile terminal;
comparing the detected attitude change data with a preset attitude change data threshold value to obtain a comparison result;
and when the comparison result shows that the attitude change data is larger than a preset attitude change data threshold value, controlling the overvoltage protection chip to work.
The embodiment of the invention also provides an overvoltage protection control device, which is applied to a mobile terminal, wherein the mobile terminal comprises an overvoltage protection chip for overvoltage protection, and the device comprises:
the detection module is used for detecting attitude change data of the mobile terminal;
the comparison module is used for comparing the detected attitude change data with a preset attitude change data threshold value to obtain a comparison result;
and the control module is used for controlling the overvoltage protection chip to work when the comparison result shows that the attitude change data is greater than a preset attitude change data threshold value.
An embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes an overvoltage protection chip for performing overvoltage protection, and the mobile terminal further includes:
a memory;
a processor; and
an overvoltage protection control device installed in said memory and including one or more software functional modules executed by said processor, said device comprising:
the detection module is used for detecting attitude change data of the mobile terminal;
the comparison module is used for comparing the detected attitude change data with a preset attitude change data threshold value to obtain a comparison result;
and the control module is used for controlling the overvoltage protection chip to work when the comparison result shows that the attitude change data is greater than a preset attitude change data threshold value.
Embodiments of the present invention also provide a readable storage medium, which includes a computer program,
when the computer program runs, the computer program controls the device where the readable storage medium is located to execute any one of the overvoltage protection control methods.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides an overvoltage protection control method and device, a mobile terminal and a readable storage medium. The method is applied to the mobile terminal, and the mobile terminal comprises an overvoltage protection chip for overvoltage protection. And detecting to obtain the attitude change data of the mobile terminal, and comparing the detected attitude change data with a preset attitude change data threshold value to obtain a comparison result. And when the comparison result shows that the attitude change data is larger than a preset attitude change data threshold value, controlling the overvoltage protection chip to work. Therefore, the posture change data of the mobile terminal is compared with the preset posture change threshold value, and whether the overvoltage protection function of the overvoltage protection chip is started in advance is controlled according to the comparison result, so that the situation that the main board is short-circuited due to the fact that the overvoltage protection function of the overvoltage protection chip is started after the mobile terminal falls into liquid is avoided.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of an overvoltage protection control method according to an embodiment of the present invention.
Fig. 3 is one of the flow diagrams of the sub-steps included in step S120 in fig. 2.
Fig. 4 is a second schematic flowchart of the sub-steps included in step S120 in fig. 2.
Fig. 5 is a third schematic flowchart of the sub-steps included in step S120 in fig. 2.
Fig. 6 is a second schematic flow chart of the overvoltage protection control method according to the embodiment of the invention.
Fig. 7 is a block diagram of an overvoltage protection control device provided by an embodiment of the invention.
Icon: 100-a mobile terminal; 110-a memory; 120-a memory controller; 130-a processor; 200-overvoltage protection control means; 210-a detection module; 220-an alignment module; 230-a control module; 240-prompt module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a block diagram of a mobile terminal 100 according to an embodiment of the present invention. The mobile terminal 100 in the embodiment of the present invention may be, but is not limited to, a smart phone, a tablet computer, and the like. As shown in fig. 1, the mobile terminal 100 includes: memory 110, memory controller 120, processor 130, and overvoltage protection control device 200.
The elements of the memory 110, the memory controller 120 and the processor 130 are electrically connected directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 110 stores an overvoltage protection control device 200, and the overvoltage protection control device 200 includes at least one software functional module which can be stored in the memory 110 in the form of software or firmware (firmware). The processor 130 executes various functional applications and data processing by running software programs and modules stored in the memory 110, such as the overvoltage protection control device 200 in the embodiment of the present invention, so as to implement the overvoltage protection control method in the embodiment of the present invention.
The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 110 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction. Access to the memory 110 by the processor 130 and possibly other components may be under the control of the memory controller 120.
The processor 130 may be an integrated circuit chip having signal processing capabilities. The Processor 130 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. But may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It is to be understood that the configuration shown in fig. 1 is merely exemplary, and that the mobile terminal 100 may include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, fig. 2 is a flowchart of an overvoltage protection control method according to an embodiment of the invention. The method is applied to the mobile terminal 100. The process of fig. 2 may be implemented by the processor 130.
The following describes the specific flow of the overvoltage protection control method in detail.
The mobile terminal 100 is provided with an external port (e.g., a USB port, a TYPEC interface, etc.). When the external port is immersed in liquid or leaked liquid, the input voltage of the external port may become high after a certain period of time, and the high input voltage may cause a short circuit of the main board of the mobile terminal 100. Therefore, the mobile terminal 100 further includes an overvoltage Protection chip (OVP chip) for performing overvoltage Protection. The overvoltage protection chip is arranged between an input voltage VIN pin of an external port of the mobile terminal 100 and a PMIC input voltage, and the overvoltage protection chip is electrically connected with the input voltage VIN pin of the external port of the mobile terminal 100.
Step S110, detecting posture change data of the mobile terminal 100.
In this embodiment, the mobile terminal 100 may detect the posture change data of the mobile terminal 100 through timing detection, triggering detection by a specific condition (for example, the current angular velocity of the mobile terminal 100 exceeds a set angular velocity), or constant detection.
The mobile terminal 100 may further include a sensor (e.g., an angular velocity meter, a gyroscope, etc.) for detecting attitude change data of the mobile terminal 100. When the posture change of the mobile terminal 100 is required to be detected, the sensor may be controlled to enter a working state, so as to obtain posture change data.
Step S120, comparing the detected posture change data with a preset posture change data threshold to obtain a comparison result.
In the embodiment of the present embodiment, the posture change data of the mobile terminal 100 under the condition (for example, falling, throwing, etc.) that may cause the mobile terminal 100 to enter the liquid is detected in advance and stored as the preset posture change data.
Referring to fig. 3, fig. 3 is a flowchart illustrating one of the sub-steps included in step S120 in fig. 2. The step S120 may include a substep S121, a substep S122, and a substep S123.
In this embodiment, the gesture change data threshold includes a time threshold of change and an angular velocity change threshold, and the gesture change data includes a time value of change and an angular velocity change value. Wherein the changed time value is a time length during which the angular velocity is continuously greater than a preset angular velocity.
The time value of the change, the angular velocity change value and the preset angular velocity can be set according to actual conditions.
Substep S121, comparing the time value of the change with the time threshold of the change.
And a substep S122, comparing the angular velocity change value with the angular velocity change threshold value.
And a substep S123 of determining that the posture change data is greater than a preset posture change data threshold when the time value of the change is greater than the time threshold of the change and the angular velocity change value is greater than the angular velocity change threshold.
Specifically, a sensor for obtaining an angular velocity of the mobile terminal 100, such as a gyroscope, is provided in the mobile terminal 100. At rest, the output value of the gyroscope is substantially constant; during shaking, the output value of the gyroscope changes. Comparing the angular velocity obtained by the gyroscope with a preset angular velocity, and obtaining the time length of the angular velocity continuously greater than the preset angular velocity as the time value of the change in a manner of timing at the starting point of the angular velocity greater than the preset angular velocity. Further, an angular velocity change value may also be obtained from the obtained angular velocity.
And comparing the obtained time value of the change with the time threshold value of the change, and comparing the change value of the angular velocity with the change threshold value of the angular velocity, thereby judging whether the posture change data conforms to the preset posture change data threshold value.
When the time value of the change is greater than the time threshold of the change and the angular velocity change value is greater than the angular velocity change threshold, determining that the posture change data is greater than a preset posture change threshold, that is, the posture change data conforms to the preset posture change data threshold. Otherwise, the posture change data is judged to be smaller than a preset posture change threshold value, namely the posture change data does not accord with the preset posture change data threshold value.
For example, if the duration of the time continuously longer than the preset angular velocity is 500ms, and the mobile terminal 100 always rotates at an angular velocity of 90 degrees per second within 500ms, and the change time threshold is set to 100ms, and the angular velocity change value is 30 degrees per second, it may be determined that the posture change data matches the preset posture change data threshold.
Referring to fig. 4, fig. 4 is a second schematic flowchart of the sub-steps included in step S120 in fig. 2. The step S120 may include a substep S121, a substep S125, and a substep S126.
In this embodiment, the attitude change data threshold includes a time threshold of change and an acceleration change threshold, and the attitude change data includes a time value of change and an acceleration change value. And the time value of the change is the time length of the acceleration continuously larger than the preset acceleration.
The time value of the change, the acceleration change value and the preset angular velocity can be set according to actual conditions.
Substep S121, comparing the time value of the change with the time threshold of the change.
And a substep S125, comparing the acceleration change value with the acceleration change threshold value.
And a substep S126, determining that the posture change data is greater than a preset posture change data threshold when the time value of the change is greater than the time threshold of the change and the acceleration change value is greater than the acceleration change threshold.
Specifically, the mobile terminal 100 is provided with a sensor for obtaining an acceleration of the mobile terminal 100, such as a three-axis accelerometer. The change of the acceleration value of the mobile terminal 100 can be detected by the three-axis accelerometer. Comparing the acceleration of each axial direction obtained by the triaxial accelerometer with the preset acceleration, and obtaining the time length of the acceleration continuously greater than the preset acceleration as the time value of the change in a mode of timing at the starting point of the acceleration greater than the preset acceleration. Further, an acceleration change value may also be obtained from the obtained acceleration.
And comparing the obtained time value of the change with the time threshold value of the change, and comparing the acceleration change value with the acceleration change threshold value, thereby judging whether the posture change data conforms to the preset posture change data threshold value.
When the time value of the change is greater than the time threshold of the change and the acceleration change value is greater than the acceleration change threshold, determining that the posture change data is greater than a preset posture change threshold, that is, the posture change data conforms to the preset posture change data threshold. Otherwise, the posture change data is judged to be smaller than a preset posture change threshold value, namely the posture change data does not accord with the preset posture change data threshold value.
Referring to fig. 5, fig. 5 is a third schematic flowchart illustrating the sub-steps included in step S120 in fig. 2. The step S120 may include a substep S121, a substep S122, a substep S125, and a substep S128.
In this embodiment, the attitude change data threshold includes a time threshold of change, an angular velocity change threshold, and an acceleration change threshold, and the attitude change data includes a time value of change, an angular velocity change value, and an acceleration change value. And the time value of the change is the time length that the angular velocity is continuously greater than the preset angular velocity and the acceleration is continuously greater than the preset acceleration.
Substep S121, comparing the time value of the change with the time threshold of the change.
And a substep S122, comparing the angular velocity change value with the angular velocity change threshold value.
Substep S125, comparing the acceleration change value with the acceleration change threshold value;
and a substep S128 of determining that the posture change data is greater than a preset posture change data threshold when the time value of the change is greater than the time threshold of the change, the angular velocity change value is greater than the angular velocity change threshold, and the acceleration change value is greater than the acceleration change threshold.
Specifically, the mobile terminal 100 is provided with a sensor for obtaining an angular velocity and an acceleration of the mobile terminal 100, such as a gyroscope and a three-axis accelerometer. The angular velocity of the mobile terminal 100 is obtained by a gyroscope, and the acceleration of each axis of the mobile terminal 100 is obtained by a triaxial accelerometer. The angular velocity is compared with a preset angular velocity, the acceleration is compared with a preset acceleration, and the time length that the angular velocity is continuously greater than the preset angular velocity and the acceleration is continuously greater than the preset acceleration can be obtained as the time value of the change in a mode of timing at the starting point that the angular velocity is greater than the preset angular velocity and the acceleration is greater than the preset acceleration.
And comparing the obtained time value of the change with the time threshold value of the change, comparing the change value of the angular velocity with the change threshold value of the angular velocity, and comparing the change value of the acceleration with the change threshold value of the acceleration, thereby judging whether the posture change data conforms to the posture change data threshold value set in advance.
When the time value of the change is greater than the time threshold of the change, the angular velocity change value is greater than the angular velocity change threshold, and the acceleration change value is greater than the acceleration change threshold, it is determined that the posture change data is greater than a preset posture change threshold, that is, the posture change data conforms to a preset posture change data threshold.
And step S130, when the comparison result shows that the attitude change data is larger than a preset attitude change data threshold, controlling the overvoltage protection chip to work.
In this embodiment, the posture change data is greater than a preset posture change data threshold, that is, the posture change data conforms to the preset posture change data threshold, and represents that the mobile terminal 100 is in a posture (for example, falling, throwing, etc.) that may cause the mobile terminal 100 to enter the liquid. In this case, the overvoltage protection chip may be activated through the bus interface to control the external switch circuit, so as to cut off the path between the VIN and the PMIC, and prevent the mobile terminal 100 from being corroded by the liquid to cause an internal short circuit, so as to perform advanced protection.
By the above manner, after the mobile terminal 100 enters the liquid, high voltage, high current, high temperature and the like caused by liquid corrosion are avoided, and further time delay, misjudgment and the like caused by controlling the operation of the overvoltage protection chip by the high voltage, the high current, the high temperature and the like are avoided. However, since different leakage has different impedances, the voltage threshold, the current threshold, the temperature threshold, and the like, which correspond to different leakage, are different. However, the set voltage threshold, the set current threshold, and the set temperature threshold corresponding to the operation of the overvoltage protection chip are fixed, which may cause erroneous determination.
Referring to fig. 6, fig. 6 is a second schematic flow chart of the overvoltage protection control method according to the embodiment of the invention. After step S130, the method may further include step S140.
Step S140, triggering a prompt message for indicating that the overvoltage protection function of the overvoltage protection chip is turned on.
In this embodiment, when the comparison result is that the posture change data is greater than the preset posture change data threshold, a prompt message may be triggered to prompt that the overvoltage protection function of the overvoltage protection chip is turned on. The prompt information can be in a mode of vibration, popup window, ringing and the like.
Further, if the posture change data does not meet the set posture change threshold, the overvoltage protection function of the overvoltage protection chip does not need to be started, so that the mobile terminal 100 can normally operate.
Referring to fig. 7, fig. 7 is a block diagram of an overvoltage protection control device 200 according to an embodiment of the present invention. The overvoltage protection control device 200 is applied to the mobile terminal 100. The mobile terminal 100 includes an overvoltage protection chip for performing overvoltage protection. The overvoltage protection control device 200 may include a detection module 210, a comparison module 220, and a control module 230.
A detecting module 210, configured to detect posture change data of the mobile terminal 100.
In this embodiment, the detection module 210 is configured to execute step S110 in fig. 2, and the detailed description about the detection module 210 may refer to the description of step S110 in fig. 2.
The comparison module 220 is configured to compare the detected posture change data with a preset posture change data threshold to obtain a comparison result.
In an implementation manner of this embodiment, the gesture change data threshold includes a changed time threshold and an angular velocity change threshold, and the gesture change data includes a changed time value and an angular velocity change value, where the changed time value is a time length during which an angular velocity is continuously greater than a preset angular velocity, and the manner of comparing the detected gesture change data with the preset gesture change data threshold by the comparison module 220 to obtain the comparison result includes:
comparing the time value of the change to a time threshold of the change;
comparing the angular velocity change value with the angular velocity change threshold value;
and when the time value of the change is larger than the time threshold of the change and the angular velocity change value is larger than the angular velocity change threshold, judging that the posture change data is larger than a preset posture change data threshold.
In another implementation manner of this embodiment, the gesture change data threshold includes a changed time threshold and an acceleration change threshold, and the gesture change data includes a changed time value and an acceleration change value, where the changed time value is a time length during which the acceleration is continuously greater than a preset acceleration, and the manner of comparing the detected gesture change data with the preset gesture change data threshold by the comparison module 220 to obtain the comparison result includes:
comparing the time value of the change to a time threshold of the change;
comparing the acceleration change value with the acceleration change threshold value;
and when the time value of the change is larger than the time threshold of the change and the acceleration change value is larger than the acceleration change threshold, judging that the posture change data is larger than a preset posture change data threshold.
In another implementation manner of this embodiment, the gesture change data threshold includes a changed time threshold, an angular velocity change threshold, and an acceleration change threshold, and the gesture change data includes a changed time value, an angular velocity change value, and an acceleration change value, where the changed time value is a time length during which an angular velocity is continuously greater than a preset angular velocity and an acceleration is continuously greater than a preset acceleration, and the manner of comparing the detected gesture change data with the preset gesture change data threshold by the comparison module 220 to obtain the comparison result includes:
comparing the time value of the change to a time threshold of the change;
comparing the angular velocity change value with the angular velocity change threshold value;
comparing the acceleration change value with the acceleration change threshold value;
and when the time value of the change is greater than the time threshold of the change, the angular velocity change value is greater than the angular velocity change threshold, and the acceleration change value is greater than the acceleration change threshold, determining that the posture change data is greater than a preset posture change data threshold.
In this embodiment, the comparing module 220 is configured to execute step S120 in fig. 2, and the detailed description about the comparing module 220 may refer to the description of step S120 in fig. 2.
And the control module 230 is configured to control the overvoltage protection chip to work when the comparison result indicates that the posture change data is greater than a preset posture change data threshold.
In the present embodiment, the control module 230 is configured to execute step S130 in fig. 2, and the detailed description about the control module 230 may refer to the description of step S130 in fig. 2.
Referring again to fig. 7, the overvoltage protection control device 200 may further include a prompt module 240.
And the prompt module 240 is used for triggering prompt information for representing that the overvoltage protection function of the overvoltage protection chip is started.
In this embodiment, the prompting module 240 is configured to execute step S140 in fig. 6, and the detailed description about the prompting module 240 may refer to the description of step S140 in fig. 6.
The embodiment of the invention also provides a readable storage medium, which comprises a computer program, and the computer program controls the device where the readable storage medium is located to execute the overvoltage protection control method when running. The detailed description may refer to the description of the overvoltage protection control method.
In summary, the present invention provides an overvoltage protection control method, an overvoltage protection control device, a mobile terminal and a readable storage medium. The method is applied to the mobile terminal, and the mobile terminal comprises an overvoltage protection chip for overvoltage protection. And detecting to obtain the attitude change data of the mobile terminal, and comparing the detected attitude change data with a preset attitude change data threshold value to obtain a comparison result. And when the comparison result shows that the attitude change data is larger than a preset attitude change data threshold value, controlling the overvoltage protection chip to work. From this, change data and the gesture of mobile terminal change threshold value of presetting with mobile terminal's gesture and compare, whether open the overvoltage protection function of overvoltage protection chip in advance according to the comparative result control to avoid just opening the overvoltage protection function of overvoltage protection chip and lead to the condition emergence of mainboard short circuit after mobile terminal falls into liquid, thereby promote user experience.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. An overvoltage protection control method is applied to a mobile terminal, wherein the mobile terminal comprises an overvoltage protection chip for performing overvoltage protection, and the method comprises the following steps:
detecting attitude change data of the mobile terminal;
comparing the detected attitude change data with a preset attitude change data threshold value to obtain a comparison result;
when the comparison result is that the attitude change data is larger than a preset attitude change data threshold value, controlling the overvoltage protection chip to work, wherein when the comparison result is that the attitude change data is larger than the preset attitude change data threshold value, the mobile terminal is in a falling state;
when the gesture change data threshold includes a changed time threshold and an angular velocity change threshold, the gesture change data includes a changed time value and an angular velocity change value, wherein the changed time value is a time length during which the angular velocity is continuously greater than a preset angular velocity, and the detected gesture change data is compared with the preset gesture change data threshold to obtain a comparison result, including:
comparing the time value of the change to a time threshold of the change;
comparing the angular velocity change value with the angular velocity change threshold value;
and when the time value of the change is larger than the time threshold of the change and the angular velocity change value is larger than the angular velocity change threshold, judging that the posture change data is larger than a preset posture change data threshold.
2. The method according to claim 1, wherein when the gesture change data threshold includes a change time threshold, an angular velocity change threshold and an acceleration change threshold, the gesture change data includes a change time value, an angular velocity change value and an acceleration change value, wherein the change time value is a time length during which an angular velocity is continuously greater than a preset angular velocity and an acceleration is continuously greater than a preset acceleration, and the comparing the detected gesture change data with the preset gesture change data threshold to obtain the comparison result comprises:
comparing the time value of the change to a time threshold of the change;
comparing the angular velocity change value with the angular velocity change threshold value;
comparing the acceleration change value with the acceleration change threshold value;
and when the time value of the change is greater than the time threshold of the change, the angular velocity change value is greater than the angular velocity change threshold, and the acceleration change value is greater than the acceleration change threshold, determining that the posture change data is greater than a preset posture change data threshold.
3. The method according to claim 1, wherein after the step of controlling the overvoltage protection chip to operate when the comparison result indicates that the posture change data is greater than a preset posture change data threshold, the method further comprises:
and triggering prompt information for representing that the overvoltage protection function of the overvoltage protection chip is started.
4. An overvoltage protection control device, applied to a mobile terminal, wherein the mobile terminal includes an overvoltage protection chip for performing overvoltage protection, the device includes:
the detection module is used for detecting attitude change data of the mobile terminal;
the comparison module is used for comparing the detected attitude change data with a preset attitude change data threshold value to obtain a comparison result;
the control module is used for controlling the overvoltage protection chip to work when the posture change data is larger than a preset posture change data threshold value according to the comparison result, wherein the mobile terminal is in a falling state when the posture change data is larger than the preset posture change data threshold value according to the comparison result;
when the gesture change data threshold includes a changed time threshold and an angular velocity change threshold, the gesture change data includes a changed time value and an angular velocity change value, wherein the changed time value is a time length that the angular velocity is continuously greater than a preset angular velocity, and the mode that the comparison module compares the detected gesture change data with the preset gesture change data threshold to obtain the comparison result includes:
comparing the time value of the change to a time threshold of the change;
comparing the angular velocity change value with the angular velocity change threshold value;
and when the time value of the change is larger than the time threshold of the change and the angular velocity change value is larger than the angular velocity change threshold, judging that the posture change data is larger than a preset posture change data threshold.
5. The apparatus according to claim 4, wherein when the gesture change data threshold includes a change time threshold, an angular velocity change threshold and an acceleration change threshold, the gesture change data includes a change time value, an angular velocity change value and an acceleration change value, wherein the change time value is a time length during which an angular velocity is continuously greater than a preset angular velocity and an acceleration is continuously greater than a preset acceleration, and the manner of comparing the detected gesture change data with the preset gesture change data threshold by the comparison module to obtain the comparison result includes:
comparing the time value of the change to a time threshold of the change;
comparing the angular velocity change value with the angular velocity change threshold value;
comparing the acceleration change value with the acceleration change threshold value;
and when the time value of the change is greater than the time threshold of the change, the angular velocity change value is greater than the angular velocity change threshold, and the acceleration change value is greater than the acceleration change threshold, determining that the posture change data is greater than a preset posture change data threshold.
6. The apparatus of claim 4, further comprising:
and the prompt module is used for triggering prompt information for representing that the overvoltage protection function of the overvoltage protection chip is started.
7. A mobile terminal, wherein the mobile terminal includes an overvoltage protection chip for performing overvoltage protection, the mobile terminal further comprising:
a memory;
a processor; and
an overvoltage protection control device installed in said memory and including one or more software functional modules executed by said processor, said device comprising:
the detection module is used for detecting attitude change data of the mobile terminal;
the comparison module is used for comparing the detected attitude change data with a preset attitude change data threshold value to obtain a comparison result;
the control module is used for controlling the overvoltage protection chip to work when the posture change data is larger than a preset posture change data threshold value according to the comparison result, wherein the mobile terminal is in a falling state when the posture change data is larger than the preset posture change data threshold value according to the comparison result;
when the gesture change data threshold includes a changed time threshold and an angular velocity change threshold, the gesture change data includes a changed time value and an angular velocity change value, wherein the changed time value is a time length that the angular velocity is continuously greater than a preset angular velocity, and the mode that the comparison module compares the detected gesture change data with the preset gesture change data threshold to obtain the comparison result includes:
comparing the time value of the change to a time threshold of the change;
comparing the angular velocity change value with the angular velocity change threshold value;
and when the time value of the change is larger than the time threshold of the change and the angular velocity change value is larger than the angular velocity change threshold, judging that the posture change data is larger than a preset posture change data threshold.
8. A readable storage medium, the readable storage medium comprising a computer program, characterized in that:
the computer program controls the readable storage medium to execute the overvoltage protection control method according to any one of claims 1 to 3 when running.
CN201711044449.8A 2017-10-31 2017-10-31 Overvoltage protection control method and device, mobile terminal and readable storage medium Active CN107831983B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711044449.8A CN107831983B (en) 2017-10-31 2017-10-31 Overvoltage protection control method and device, mobile terminal and readable storage medium
PCT/CN2018/110298 WO2019085732A1 (en) 2017-10-31 2018-10-15 Over-voltage protection control method and apparatus, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711044449.8A CN107831983B (en) 2017-10-31 2017-10-31 Overvoltage protection control method and device, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN107831983A CN107831983A (en) 2018-03-23
CN107831983B true CN107831983B (en) 2020-10-27

Family

ID=61651063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711044449.8A Active CN107831983B (en) 2017-10-31 2017-10-31 Overvoltage protection control method and device, mobile terminal and readable storage medium

Country Status (2)

Country Link
CN (1) CN107831983B (en)
WO (1) WO2019085732A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831983B (en) * 2017-10-31 2020-10-27 深圳市万普拉斯科技有限公司 Overvoltage protection control method and device, mobile terminal and readable storage medium
CN109710076B (en) * 2018-12-30 2022-05-03 厦门盈趣科技股份有限公司 Automatic detection method and device for circuit board

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427092A (en) * 2013-08-22 2015-03-18 中兴通讯股份有限公司 Automatic shutdown method and device for mobile terminal and mobile terminal
CN105262908A (en) * 2015-11-24 2016-01-20 上海斐讯数据通信技术有限公司 Terminal falling-overboard protection method and system
JP5893919B2 (en) * 2011-12-28 2016-03-23 メタウォーター株式会社 Human body behavior detection method and system for water treatment facilities
CN105843726A (en) * 2016-03-21 2016-08-10 广东欧珀移动通信有限公司 Terminal protection method and apparatus
CN105979100A (en) * 2016-06-30 2016-09-28 维沃移动通信有限公司 Method for recovering working condition of inertial sensor and mobile terminal
CN106941561A (en) * 2017-02-16 2017-07-11 上海与德通讯技术有限公司 Mobile terminal falls detection method, fall protection method and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103258A (en) * 2016-02-23 2017-08-29 西安中兴新软件有限责任公司 A kind of terminal protecting methdo and device
CN105844179A (en) * 2016-03-18 2016-08-10 广东欧珀移动通信有限公司 Terminal protection method and device
CN107831983B (en) * 2017-10-31 2020-10-27 深圳市万普拉斯科技有限公司 Overvoltage protection control method and device, mobile terminal and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5893919B2 (en) * 2011-12-28 2016-03-23 メタウォーター株式会社 Human body behavior detection method and system for water treatment facilities
CN104427092A (en) * 2013-08-22 2015-03-18 中兴通讯股份有限公司 Automatic shutdown method and device for mobile terminal and mobile terminal
CN105262908A (en) * 2015-11-24 2016-01-20 上海斐讯数据通信技术有限公司 Terminal falling-overboard protection method and system
CN105843726A (en) * 2016-03-21 2016-08-10 广东欧珀移动通信有限公司 Terminal protection method and apparatus
CN105979100A (en) * 2016-06-30 2016-09-28 维沃移动通信有限公司 Method for recovering working condition of inertial sensor and mobile terminal
CN106941561A (en) * 2017-02-16 2017-07-11 上海与德通讯技术有限公司 Mobile terminal falls detection method, fall protection method and mobile terminal

Also Published As

Publication number Publication date
WO2019085732A1 (en) 2019-05-09
CN107831983A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN107831983B (en) Overvoltage protection control method and device, mobile terminal and readable storage medium
EP3401636A1 (en) Battery deformation detection method and device
US8015449B2 (en) Computer, and method for error-detecting and booting of BIOS thereof
CN108255343B (en) Flash lamp adjusting method, user terminal and medium product
CN106412293B (en) Foreign matter detection method and device and terminal equipment
US9535510B2 (en) Input precision method for minimizing erroneous entries stemming from instability of a mobile device using an accelerometer and apparatus to detect a shake and apparatus and computer program thereof
US20190164169A1 (en) Electronic device having waterproof warranty condition judgment system
US8762792B2 (en) Event monitor having switch matrix, separate counter, and compare circuitry
CN110062921B (en) Electronic device, tablet terminal, input control method, and storage medium
CN109709849B (en) Method and device for controlling safe operation of single chip microcomputer
CN115421859B (en) Dynamic loading method and device for configuration file, computer equipment and storage medium
CN103885697A (en) Page operating system and method
CN105988835B (en) Software upgrading method and terminal
CN106655339B (en) A kind of charging management method of mobile terminal, device and mobile terminal
US9830242B2 (en) Loading calculation method and loading calculation system for processor in electronic device
CN108513013B (en) Mode control method, device, user terminal and readable storage medium
CN110460723B (en) Screen protection method and device, computer equipment and computer readable storage medium
CN110134570B (en) Server and shock protection device thereof
CN112416776A (en) Selection method and device of operating environment, test equipment and storage medium
US20200028957A1 (en) Control method and device for sensors of mobile terminal, storage medium and mobile terminal
CN105446903A (en) Information processing method and electronic device
CN114489852B (en) Memory chip starting method and device, computer equipment and storage medium
CN114579198B (en) Memory chip starting method and device, computer equipment and storage medium
JP2018133665A (en) Input signal erroneous determination prevention circuit
CN111694300B (en) Automatic configuration method and device for control panel input and output ports

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant