CN107422194B - Screen static detection control method, storage device and mobile terminal - Google Patents
Screen static detection control method, storage device and mobile terminal Download PDFInfo
- Publication number
- CN107422194B CN107422194B CN201710536572.5A CN201710536572A CN107422194B CN 107422194 B CN107422194 B CN 107422194B CN 201710536572 A CN201710536572 A CN 201710536572A CN 107422194 B CN107422194 B CN 107422194B
- Authority
- CN
- China
- Prior art keywords
- voltage signal
- screen
- voltage
- detection module
- preset
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R29/00—Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
- G01R29/12—Measuring electrostatic fields or voltage-potential
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16566—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
- G01R19/16576—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533 comparing DC or AC voltage with one threshold
Abstract
The invention discloses a screen static detection control method, a storage device and a mobile terminal, wherein the method comprises the following steps: when a screen of the mobile terminal is lightened, starting a preset voltage detection module and starting to acquire a voltage signal of the surface of the screen; dividing the voltage signal into a plurality of sections according to a preset time length, and calculating the voltage signal difference between two adjacent sections in the continuous preset section; and when the voltage signal difference values between two adjacent segments in the continuous preset segment are smaller than a preset threshold value, closing the voltage detection module. According to the invention, the voltage signal difference value between two adjacent ends in the continuous preset section is calculated and compared with the preset threshold value, when the voltage signal difference values are smaller than the threshold value, the voltage signal change of the continuous preset section is judged to be smaller, and the voltage detection module is closed, so that the working time of the voltage detection module is reduced, the purposes of reducing power consumption, saving battery power and improving the cruising ability of the mobile terminal are achieved, and convenience is provided for users.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a screen static electricity detection control method, a storage device and a mobile terminal.
Background
With the rapid popularization of mobile terminals, the mobile terminals have become essential tools in daily life of people, and the mobile terminals bring much convenience to the life of people.
At present, a large screen is generally adopted by a mobile terminal, and the area of the screen usually occupies a large part of the mobile terminal, so that in daily use, the screen of the mobile terminal can contact various environments, such as human hands, human sweaters, animal hair and the like. The objects are easy to be charged with static electricity and easy to generate static electricity effect with the screen of the mobile terminal, the static electricity can penetrate through the surface of the screen and enter the chip or the circuit of the screen of the mobile terminal, and although the current of the static electricity is small, the static electricity can cause the related chip or the circuit of the mobile terminal to be damaged due to high instantaneous voltage.
In the prior art, a voltage detection module is arranged near a screen and used for detecting voltage change near the surface of the screen at regular time, when the voltage change is large, electrostatic interference is considered to be generated, and the risk that a relevant chip or circuit of the mobile terminal is damaged due to the fact that the screen is temporarily closed when the electrostatic instantaneous voltage is high can be prevented. However, in the prior art, the voltage detection module needs to be in an operating state all the time, which is relatively power consuming and reduces the endurance of the mobile terminal.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The present invention provides a screen static electricity detection control method, a storage device and a mobile terminal, aiming at dividing a voltage signal acquired by a voltage detection module into a plurality of segments according to a preset time length, calculating a voltage signal difference between two adjacent ends in the continuous preset segment, comparing the voltage signal difference with a preset threshold, when the voltage signal difference is smaller than the threshold, determining that the voltage signal change of the continuous preset segment is small, and turning off the voltage detection module, thereby reducing the working time of the voltage detection module, so as to achieve the purposes of reducing power consumption, saving battery power and improving the endurance of the mobile terminal, and providing convenience for users.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a screen static electricity detection control method, wherein the method comprises the following steps:
a, when a screen of the mobile terminal is lightened, starting a preset voltage detection module and starting to acquire a voltage signal of the surface of the screen;
step B, dividing the voltage signal into a plurality of sections according to a preset time length, and calculating the voltage signal difference between two adjacent sections in the continuous preset section;
and step C, when the voltage signal difference values between two adjacent segments in the continuous preset segment are smaller than a preset threshold value, closing the voltage detection module.
The screen static electricity detection control method further comprises the following steps before the step A:
and S, presetting a voltage detection module for detecting a voltage signal on the surface of the screen of the mobile terminal.
The screen static electricity detection control method further comprises the following steps after the step C:
and D, after the voltage detection module is closed, the voltage detection module is restarted after a preset time interval, and the voltage signal of the surface of the screen is continuously acquired.
The screen static electricity detection control method is characterized in that the preset time interval is 2 seconds.
The screen static electricity detection control method comprises the following specific steps:
step A1, the mobile terminal receives an operation instruction of a user and lights up a screen;
and A2, starting the preset voltage detection module and starting to acquire the voltage signal of the screen surface.
The screen static electricity detection control method comprises the following steps:
step B1, presetting a time length as a unit quantity for dividing the voltage signal;
step B2, dividing the voltage signal acquired by the voltage detection module into a plurality of sections according to a preset time length;
and step B3, calculating a voltage signal difference value of the voltage signals between two adjacent segments in the continuous preset segment, and acquiring the voltage signal difference value.
The screen static electricity detection control method is characterized in that the continuous preset section is 5 continuous sections.
The screen static electricity detection control method comprises the following specific steps:
step C1, comparing the obtained voltage signal difference value with the preset threshold value;
and step C2, when the voltage signal difference values are all smaller than the threshold value, judging that the voltage signal change of the continuous preset segment is smaller, and closing the voltage detection module.
A storage device having a plurality of instructions stored thereon, wherein the instructions are adapted to be loaded and executed by a processor to implement any of the screen static detection control methods described above.
A mobile terminal, comprising: a processor, a storage device communicatively coupled to the processor, the storage device adapted to store a plurality of instructions; the processor is suitable for calling instructions in the storage device to execute the screen static electricity detection control method for realizing any one of the above.
The invention has the beneficial effects that: according to the invention, the voltage signal acquired by the voltage detection module is divided into a plurality of sections according to a preset time length, the voltage signal difference value between two adjacent ends in the continuous preset section is calculated and compared with the preset threshold value, when the voltage signal difference value is smaller than the threshold value, the voltage signal change of the continuous preset section is judged to be smaller, and the voltage detection module is closed, so that the working time of the voltage detection module is reduced, the purposes of reducing power consumption, saving battery power and improving the cruising ability of the mobile terminal are achieved, and convenience is provided for a user.
Drawings
FIG. 1 is a flowchart illustrating a control method for electrostatic discharge detection of a screen according to a preferred embodiment of the present invention.
Fig. 2 is a functional block diagram of a preferred embodiment of the mobile terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a flowchart illustrating a screen static electricity detection control method according to a preferred embodiment of the present invention shown in fig. 1. The screen static electricity detection control method comprises the following steps:
step S100, when the screen of the mobile terminal is lighted, starting a preset voltage detection module and starting to acquire a voltage signal of the screen surface.
Preferably, the step S100 further includes, before:
and S001, presetting a voltage detection module for detecting a voltage signal on the surface of the screen of the mobile terminal.
In specific implementation, when the mobile terminal is in a normal working state, a normal power supply voltage exists on the screen, and when static electricity exists in the environment (for example, when the mobile terminal is placed in a pocket of a user and contacts with clothes and cloth to generate static electricity), the generated static voltage can be superposed on the power supply voltage, and when the static voltage is superposed on a certain value, certain damage is caused to an internal chip or a circuit of the mobile terminal. Therefore, in order to better detect the voltage value of the screen surface of the mobile terminal, the invention is provided with a voltage detection module in advance, which is used for acquiring the voltage signal of the screen surface of the mobile terminal and better acquiring the voltage signal generated by the electrostatic environment.
Further preferably, the step S100 specifically includes:
step S101, the mobile terminal receives an operation instruction of a user and lights a screen;
and step S102, starting the preset voltage detection module and starting to acquire the voltage signal of the screen surface.
When the mobile terminal is implemented specifically, the mobile terminal receives an operation instruction of lighting the screen by a user, and the screen is lighted. Such as a user waking up the screen of the mobile terminal using a key of the mobile terminal, fingerprint recognition, or double-clicking the screen. After the screen is lighted, the preset voltage detection module acquires a voltage signal on the surface of the screen, so that the voltage detection module can work only when the screen is in a lighting working state. The reason is that when the screen is in the dormant black screen, the screen does not have a power supply voltage, and a voltage signal generated by static electricity is small and is not enough to damage the mobile terminal, so that the voltage detection module does not work when the screen is in the dormant black screen.
Step S200, dividing the voltage signal into a plurality of sections according to a preset time length, and calculating the voltage signal difference between two adjacent sections in the continuous preset section.
Preferably, the step S200 specifically includes:
step S201, presetting a time length which is used as a unit quantity for dividing the voltage signal;
step S202, dividing the voltage signal acquired by the voltage detection module into a plurality of sections according to a preset time length;
step S203, calculating a voltage signal difference value of the voltage signals between two adjacent segments in the continuous preset segment, and obtaining the voltage signal difference value.
In specific implementation, in order to better judge the degree of change of the voltage signal acquired by the voltage detection module, the voltage signal acquired by the voltage detection module needs to be divided into a plurality of segments according to a preset time length. The preset time length can be set automatically according to actual needs. For example, the acquired voltage signal is described as a function f (t) of time t, the preset time length is t1, the time for starting the voltage detection module is t0, and the current time is t2, the voltage signal acquired by the voltage detection module will be divided into the following segments:
f(t), t0≤t≤t1;
f(t), t1≤t≤2*t1;
f(t), 2*t1≤t≤3*t1;
f(t), 3*t1≤t≤4*t1;
……
f(t), t2-t1≤t≤t2。
after dividing into a plurality of segments, a voltage signal difference is calculated for the voltage signals between two adjacent segments in the continuous preset segment. The continuous preset section can be set according to actual needs. Preferably, the continuous preset segment is 5 continuous segments, that is, the voltage signals between two adjacent segments are differenced in the 5 continuous segments. For example, when required
(1)f(t), t2-t1*2≤t≤t2-t1;
(2)f(t), t2-t1≤t≤t2。
When the two voltage signals are different, the voltage signal of the (1) th section is shifted to the right by t1, or the voltage signal of the (2) th section is shifted to the left by t1, so that the two voltage signals are at the same time point, and then the voltage signal values of the corresponding time points are subtracted to obtain a voltage signal difference. Similarly, the voltage signal difference between two adjacent segments in 5 consecutive segments is determined by the method described above. According to the method, the voltage signal acquired by the voltage detection module is divided in equal time periods, and the voltage signal difference between two adjacent sections in the continuous preset section is calculated, so that the change degree of the voltage signal can be judged visually, whether the voltage generated by static electricity can damage the mobile terminal or not can be judged conveniently, and convenience is provided for users.
Step 300, when the voltage signal difference values between two adjacent segments in the continuous preset segment are all smaller than a preset threshold value, the voltage detection module is closed.
Preferably, the step S300 specifically includes:
step S301, comparing the obtained voltage signal difference value with the preset threshold value;
step S302, when the voltage signal difference values are all smaller than the threshold value, judging that the voltage signal change of the continuous preset segment is smaller, and closing the voltage detection module.
During specific implementation, the obtained voltage signal difference value is compared with a preset threshold value, and the preset threshold value can be set automatically according to actual requirements. And when the voltage signal difference values are smaller than the threshold value, namely the voltage signal difference values between two adjacent sections in the 5 continuous sections are smaller than the threshold value, judging that the voltage signal change of the continuous preset section is smaller and is almost similar to a straight horizontal straight line, and closing the voltage detection module. Preferably, after the voltage detection module is turned off, the voltage detection module is turned on again after a preset time interval, and continues to acquire the voltage signal of the screen surface. The preset time interval is 2 seconds, and the automatic setting can be carried out according to actual requirements. And when the voltage change degree is small, namely the voltage signal difference value between two adjacent sections in the 5 continuous sections is smaller than the threshold value, the voltage detection module is closed, the working time of the voltage detection module is shortened, the power consumption of the mobile terminal is reduced, and the electric energy is saved. When the voltage detection module is closed for 2 seconds, the voltage detection module can be restarted to continuously acquire the voltage signal on the surface of the screen of the mobile terminal, so that the problem that the voltage change is too large and unknown due to the fact that the voltage detection module is closed for a long time is solved, and convenience is provided for a user.
Based on the embodiment, the invention also discloses a mobile terminal. As shown in fig. 2, includes: a processor (processor)10, a storage device (memory)20 connected to the processor; the processor 10 is configured to call program instructions in the storage device 20 to execute the method provided in the foregoing embodiments, for example, to execute:
step S100, when a screen of the mobile terminal is lightened, starting a preset voltage detection module and starting to acquire a voltage signal of the surface of the screen;
step S200, dividing the voltage signal into a plurality of sections according to a preset time length, and calculating the voltage signal difference between two adjacent sections in the continuous preset section;
step 300, when the voltage signal difference values between two adjacent segments in the continuous preset segment are all smaller than a preset threshold value, the voltage detection module is closed.
The embodiment of the invention also provides a storage device, wherein a computer instruction is stored on the storage device, and the computer instruction enables a computer to execute the method provided by each embodiment.
In summary, the screen static electricity detection control method, the storage device and the mobile terminal provided by the invention include: when a screen of the mobile terminal is lightened, starting a preset voltage detection module and starting to acquire a voltage signal of the surface of the screen; dividing the voltage signal into a plurality of sections according to a preset time length, and calculating the voltage signal difference between two adjacent sections in the continuous preset section; and when the voltage signal difference values between two adjacent segments in the continuous preset segment are smaller than a preset threshold value, closing the voltage detection module. According to the invention, the voltage signal difference value between two adjacent ends in the continuous preset section is calculated and compared with the preset threshold value, when the voltage signal difference values are smaller than the threshold value, the voltage signal change of the continuous preset section is judged to be smaller, and the voltage detection module is closed, so that the working time of the voltage detection module is reduced, the purposes of reducing power consumption, saving battery power and improving the cruising ability of the mobile terminal are achieved, and convenience is provided for users.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.
Claims (7)
1. A screen static electricity detection control method is characterized by comprising the following steps:
a, when a screen of the mobile terminal is lightened, starting a preset voltage detection module and starting to acquire a voltage signal of the surface of the screen;
the voltage detection module works only when the screen is in a lighting working state; when the screen is in a black screen, no power supply voltage exists, and a voltage signal generated by static electricity is not enough to cause damage to the mobile terminal;
step B, dividing the voltage signal into a plurality of sections according to a preset time length, and calculating the voltage signal difference between two adjacent sections in the continuous preset section;
the step B specifically comprises the following steps:
step B1, presetting a time length as a unit quantity for dividing the voltage signal;
step B2, dividing the voltage signal acquired by the voltage detection module into a plurality of sections according to a preset time length;
step B3, calculating a voltage signal difference value of the voltage signal between two adjacent segments in the continuous preset segment, and acquiring the voltage signal difference value;
step C, when the voltage signal difference values between two adjacent segments in the continuous preset segment are smaller than a preset threshold value, the voltage detection module is closed;
the step C specifically comprises the following steps:
step C1, comparing the obtained voltage signal difference value with the preset threshold value;
step C2, when the voltage signal difference values are all smaller than the threshold value, judging that the voltage signal change of the continuous preset segment is smaller, and closing the voltage detection module;
judging the voltage change degree by comparing the calculated voltage signal difference value with a preset threshold value, and when the voltage change degree is smaller, closing the voltage detection module if the voltage signal difference value between two adjacent segments in the continuous preset segment is smaller than the threshold value;
and D, after the voltage detection module is closed, the voltage detection module is restarted after a preset time interval, and the voltage signal of the surface of the screen is continuously acquired.
2. The screen static electricity detection control method according to claim 1, further comprising before the step a:
and S, presetting a voltage detection module for detecting a voltage signal on the surface of the screen of the mobile terminal.
3. The screen static electricity detection control method according to claim 1, wherein the preset time interval is 2 seconds.
4. The screen static electricity detection control method according to claim 1, wherein the step a specifically comprises:
step A1, the mobile terminal receives an operation instruction of a user and lights up a screen;
and A2, starting the preset voltage detection module and starting to acquire the voltage signal of the screen surface.
5. The screen static electricity detection control method according to claim 1, wherein the continuous preset segment is a continuous 5 segment.
6. A storage device having stored thereon a plurality of instructions adapted to be loaded and executed by a processor to implement the screen static detection control method of any of claims 1-5.
7. A mobile terminal, comprising: a processor, a storage device communicatively coupled to the processor, the storage device adapted to store a plurality of instructions; the processor is adapted to call instructions in the storage device to execute the method for implementing the screen static electricity detection control of any one of the preceding claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710536572.5A CN107422194B (en) | 2017-07-04 | 2017-07-04 | Screen static detection control method, storage device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710536572.5A CN107422194B (en) | 2017-07-04 | 2017-07-04 | Screen static detection control method, storage device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107422194A CN107422194A (en) | 2017-12-01 |
CN107422194B true CN107422194B (en) | 2020-07-14 |
Family
ID=60426422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710536572.5A Active CN107422194B (en) | 2017-07-04 | 2017-07-04 | Screen static detection control method, storage device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107422194B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109547647B (en) * | 2019-01-16 | 2020-10-16 | Oppo广东移动通信有限公司 | Electrostatic interference control method and related product |
CN111638403B (en) * | 2020-05-22 | 2022-07-29 | Tcl华星光电技术有限公司 | Static electricity testing method and testing device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7181169B2 (en) * | 2003-02-15 | 2007-02-20 | Lg Electronics Inc. | Controlling apparatus and method of mobile communication terminal using electrostatic detection |
KR101300396B1 (en) * | 2012-02-01 | 2013-08-26 | 박정훈 | Electro Static Graphic Display Equipment |
CN103063437A (en) * | 2013-01-14 | 2013-04-24 | 南京航空航天大学 | Simulation experiment device for aero-engine suction object on-line static monitoring system |
CN106093561B (en) * | 2016-06-22 | 2018-07-20 | 华立科技股份有限公司 | The power consumption control method of the full decompression logout of ammeter power down |
-
2017
- 2017-07-04 CN CN201710536572.5A patent/CN107422194B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107422194A (en) | 2017-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA3079795C (en) | Emergency starting power supply and emergency start method | |
CN106786958B (en) | Charging method, device and terminal | |
JP5713301B2 (en) | Battery charging method and mobile terminal | |
CN103501390B (en) | Mobile terminal with reminding function and reminding realization method thereof | |
CN107422194B (en) | Screen static detection control method, storage device and mobile terminal | |
CN109067416B (en) | Method for realizing hot plug and start of SIM card and intelligent hardware | |
CN105468217A (en) | Mobile terminal for replacing power button by capacitive sensor and relation method of mobile terminal | |
CN109413532B (en) | Bluetooth headset charging circuit and Bluetooth headset | |
CN105141762B (en) | A kind of low electric closedown method and system of mobile terminal | |
CN108845727B (en) | Mutual capacitance type touch screen based awakening method and device | |
CN105528171A (en) | Method and system for quickly starting application of intelligent terminal, and intelligent terminal | |
CN110636598B (en) | Terminal power saving control method and device, mobile terminal and storage medium | |
CN106532876B (en) | Power supply control method and device and computer equipment | |
CN114257474A (en) | Power utilization control method and device for intelligent gateway, computer equipment and storage medium | |
CN106101406B (en) | Shutdown alarm triggering processing method based on mobile terminal and mobile terminal | |
CN110416643A (en) | A kind of processing method, device and electronic equipment | |
CN110708219A (en) | Household appliance control method and household appliance | |
CN107565643B (en) | Method for starting battery charging based on power consumption detection, storage device and terminal | |
CN105322622A (en) | Temperature-based method and system for setting charging current of mobile terminal | |
CN104348140A (en) | Low electric quantity prompting method and electronic equipment | |
CN108232346B (en) | Charging method and device | |
CN105490319A (en) | Information processing method and electronic equipment | |
CN114552710A (en) | Automatic power-off method and device for intelligent charger, electronic equipment and medium | |
CN113660149A (en) | Device control method and apparatus, storage medium, and electronic device | |
CN103095929B (en) | Method and system capable of preventing terminal from restarting repeatedly and mobile terminal using the same |
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 |