CN105717409A - Electronic device electric leakage detection method and electronic device electric leakage detection system - Google Patents

Electronic device electric leakage detection method and electronic device electric leakage detection system Download PDF

Info

Publication number
CN105717409A
CN105717409A CN201610039020.9A CN201610039020A CN105717409A CN 105717409 A CN105717409 A CN 105717409A CN 201610039020 A CN201610039020 A CN 201610039020A CN 105717409 A CN105717409 A CN 105717409A
Authority
CN
China
Prior art keywords
electronic equipment
detection
scene
current scene
current
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.)
Granted
Application number
CN201610039020.9A
Other languages
Chinese (zh)
Other versions
CN105717409B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610039020.9A priority Critical patent/CN105717409B/en
Publication of CN105717409A publication Critical patent/CN105717409A/en
Application granted granted Critical
Publication of CN105717409B publication Critical patent/CN105717409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The invention provides an electronic device electric leakage detection method and an electronic device electric leakage detection system. The electronic device electric leakage detection method is characterized in that current scene information of an electronic device can be acquired; the first actual power consumption of the electronic device on the current scene can be detected; the electric leakage detection threshold value on the current scene can be acquired according to the current scene information; whether the electric leakage of the electronic device occurs can be determined according to the first actual power consumption and the electric leakage detection threshold value on the current scene. The function of fast and convenient detection of the electric leakage of the electronic device can be provided, and the user experience can be improved.

Description

The electrical leakage detecting method of electronic equipment and system
Technical field
The present invention relates to electronic device field, particularly relate to electrical leakage detecting method and the system of a kind of electronic equipment.
Background technology
Along with the development of smart mobile phone, the function of smart mobile phone gets more and more, and its power consumption is also more and more faster.Thus mobile phone continuation of the journey becomes a key factor of restriction smart mobile phone development.But, along with the life-time service of smart mobile phone, it is likely to produce fault on hardware and software, thus causing the decline of flying power.Such as, the inefficacy of mainboard device and the leak of software flow all can cause that smart mobile phone power consumption increases, and is unfavorable for the continuation of the journey of smart mobile phone.
Therefore, prior art existing defects, need badly and a kind of can quickly detect the method and system whether electronic equipment leaks electricity.
Summary of the invention
The embodiment of the present invention provides a kind of electrical leakage detecting method and system that can detect whether electronic equipment leak electricity quickly and easily, so that electronic equipment can detect rapidly when producing fault.
The embodiment of the present invention provides the electrical leakage detecting method of a kind of electronic equipment, comprises the following steps:
Obtain the current scene information of described electronic equipment;
Detect the described electronic equipment the first actual power loss under current scene;
The detection of electrical leakage threshold value under current scene is obtained according to described current scene information;
Whether electronic equipment according to the detection of electrical leakage threshold decision under described first actual power loss and described current scene leaks electricity.
In the electrical leakage detecting method of electronic equipment of the present invention, after the step whether described electronic equipment according to the detection of electrical leakage threshold decision under described first actual power loss and described current scene leaks electricity, further comprising the steps of:
When described electronic equipment leaks electricity, restart described electronic equipment;
Described electronic equipment is returned to the scene before restarting;
Detect the described electronic equipment the second actual power loss under current scene;
Whether electronic equipment according to the detection of electrical leakage threshold decision under described second actual power loss and described current scene leaks electricity;
If electric leakage, then judge the hardware failure of described electronic equipment;Otherwise, then the software failure of described electronic equipment is judged.
In the electrical leakage detecting method of electronic equipment of the present invention, before the described step according to the detection of electrical leakage threshold value under described current scene information acquisition current scene, further comprising the steps of:
Obtain described electronic equipment rated disspation data under each scene;
According to the detection of electrical leakage threshold value under each corresponding scene of described electronic equipment rated disspation data setting under each scene.
In the electrical leakage detecting method of electronic equipment of the present invention, the step of the current scene information of the described described electronic equipment of acquisition includes:
Detect the current health information of described electronic equipment to obtain current scene information;Or, preset the operation conditions that described electronic equipment is current, and obtain current scene information according to described operation conditions.
In the electrical leakage detecting method of electronic equipment of the present invention, the step of the first actual power loss that the described described electronics of detection is arranged under current scene comprises the following steps:
Under current scene, read the electricity twice of described electronic equipment and obtain the first charge value Q1 and the second charge value Q2 successively, and this twi-read interval scheduled time T;
Calculating obtains described first actual power loss W, wherein, and W=(Q1-Q2)/T.
Present invention also offers the current leakage detection system of a kind of electronic equipment, including:
Scene information acquisition module, for obtaining the current scene information of described electronic equipment;
First consumption detection module, for detecting the described electronic equipment the first actual power loss under current scene;
Detection of electrical leakage threshold value acquisition module, for obtaining the detection of electrical leakage threshold value under current scene according to described current scene information;
Whether the first electric leakage judge module, leak electricity for electronic equipment according to the detection of electrical leakage threshold decision under described first actual power loss and described current scene.
In the current leakage detection system of electronic equipment of the present invention, also include:
Restart module, for restarting described electronic equipment when described electric leakage judge module judges the electric leakage of described electronic equipment;
Scene recovers module, for the described electronic equipment after restarting is returned to the scene before restarting;
Second consumption detection module, for detecting the described electronic equipment the second actual power loss under current scene;
Whether the second electric leakage judge module, leak electricity for electronic equipment according to the detection of electrical leakage threshold decision under described current scene;
Fault type judge module, for when described second electric leakage judge module judges the electric leakage of described electronic equipment, judge the hardware failure of described electronic equipment, and for when described second electric leakage judge module judges described electronic equipment leakproof, it is determined that the software failure of described electronic equipment.
In the current leakage detection system of electronic equipment of the present invention, also include:
Power consumption acquisition module, for obtaining described electronic equipment rated disspation data under each scene;
Detection of electrical leakage threshold setting module, according to the detection of electrical leakage threshold value under each corresponding scene of described electronic equipment rated disspation data setting under each scene.
In the current leakage detection system of electronic equipment of the present invention, described scene information acquisition module is for detecting the current health information of described electronic equipment to obtain current scene information;Or, for presetting the operation conditions that described electronic equipment is current, and obtain current scene information according to described operation conditions.
In the current leakage detection system of electronic equipment of the present invention, described first consumption detection module includes:
Electricity reads unit, and under current scene, the electricity of electronic equipment described in twi-read also obtains the first charge value Q1 and the second charge value Q2 successively, and this twi-read interval scheduled time T;
Power consumption calculation unit, obtains described first actual power loss W for calculating, wherein, and W=(Q1-Q2)/T.
The electrical leakage detecting method of the electronic equipment of the present invention is by detecting the current scene information of electronic equipment and by inquiring about the detection of electrical leakage threshold value obtaining this electronic equipment this current scene corresponding, then the first actual power loss under detection current scene, compare finally by by this first actual power loss and detection of electrical leakage threshold value, such that it is able to realize detecting automatically, quickly and easily surveying whether electronic equipment leaks electricity, there is the beneficial effect improving Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart of the first preferred embodiment of the electrical leakage detecting method of the electronic equipment of the present invention;
Fig. 2 is the flow chart of the second preferred embodiment of the electrical leakage detecting method of the electronic equipment of the present invention;
Fig. 3 is the flow chart of the third preferred embodiment of the electrical leakage detecting method of the electronic equipment of the present invention;
Fig. 4 a is the structure chart of the first preferred embodiment of the current leakage detection system of the electronic equipment of the present invention;
Fig. 4 b is the structure chart of the second preferred embodiment of the current leakage detection system of the electronic equipment of the present invention;
Fig. 4 c is the structure chart of the third preferred embodiment of the current leakage detection system of the electronic equipment of the present invention.
Detailed description of the invention
Refer to graphic, wherein identical element numbers represents identical assembly, and principles of the invention is to be implemented in a suitable computing environment to illustrate.The following description is based on the illustrated specific embodiment of the invention, and it is not construed as other specific embodiment that the restriction present invention is not detailed herein.
In the following description, step and the symbol of reference operation performed by or multi-section computer are illustrated by specific embodiments of the invention, unless otherwise stating clearly.Therefore, it will appreciate that these steps and operation, wherein has and mentions for several times as being performed by computer, includes and is handled by the computer processing unit of the electronic signal represented with the data in a structuring pattern.These data of this manipulation transforms or the position in being maintained at the memory system of this computer, it is reconfigurable or additionally changes running of this computer in a manner familiar to those skilled in the art.The provider location that data structure is this internal memory that these data maintain, it has the particular characteristics defined by this data form.But, the principle of the invention illustrates with above-mentioned word, and it is not represented as a kind of restriction, and those skilled in the art will appreciate that the plurality of step of the following stated and operation also may be implemented in the middle of hardware.
Embodiment one
Refer to the flow chart of the first preferred embodiment of the electrical leakage detecting method of a kind of electronic equipment that Fig. 1, Fig. 1 are the present invention.This electronic equipment can be smart mobile phone, panel computer etc..The electrical leakage detecting method of the electronic equipment of this preferred embodiment comprises the following steps:
Step S101, obtains the current scene information of electronic equipment;
Step S102, detects this electronic equipment the first actual power loss under current scene;
Step S103, obtains the detection of electrical leakage threshold value under current scene according to current scene information;
Step S104, according to whether the detection of electrical leakage threshold decision electronic equipment under the first actual power loss and current scene leaks electricity.
The idiographic flow of each step of electrical leakage detecting method the following detailed description of the electronic equipment of this preferred embodiment.
In step S101, the scene that scene information is corresponding can be standby scene, bright screen scene, plays music scenario, play video scene or scene etc. of conversing.The current scene information obtaining electronic equipment can adopt various ways.Method one: detect the current health information of electronic equipment to obtain current scene information;Such as, detect when this electronic equipment is currently running music player, it is determined that current scene is for playing music scenario.Method two: the operation conditions that this electronic equipment of preset in advance is current, and obtain current scene information according to operation conditions;Such as, presetting an operating instruction in this electronic equipment, electronic equipment runs according to this operating instruction, and obtains current scene information from this operating instruction.Such as, if needing detection to play the power consumption under video scene, it is possible to presetting a video playback instruction in advance in the electronic device, then when meeting the predetermined condition such as scheduled time, electronic equipment carries out video playback, then carries out actual power loss detection again.
In step s 102, the step detecting the first actual power loss under this current scene specifically includes:
Under current scene, the electricity twice of this electronic equipment should be read and obtains the first charge value Q1 and the second charge value Q2 successively, and this twi-read interval scheduled time T;Calculating obtains the first actual power loss W, wherein, and W=(Q1-Q2)/T.
In step s 103, the memory area storage in electronic equipment has the mapping relations table of scene information and detection of electrical leakage threshold value, and it is corresponding with it that the scene that each scene information is corresponding has all pre-saved a detection of electrical leakage threshold value.When reading current scene information, from the mapping table of memory area, inquire about the detection of electrical leakage threshold value corresponding with this current scene information according to this current scene information.
In step S104, the detection of electrical leakage threshold value inquired in first actual power loss and step S103 is compared, if the first actual power loss is more than or equal to this detection of electrical leakage threshold value, judge that this electronic equipment leaks electricity, when first actual power loss is less than detection of electrical leakage threshold value, it is determined that this electronic equipment leakproof.
The electrical leakage detecting method of the electronic equipment of this preferred embodiment is by detecting the current scene information of electronic equipment and by inquiring about the detection of electrical leakage threshold value obtaining this electronic equipment this current scene corresponding, then the first actual power loss under detection current scene, compare finally by by this first actual power loss and detection of electrical leakage threshold value, such that it is able to realize detection quickly and easily to survey whether electronic equipment leaks electricity, there is the beneficial effect improving Consumer's Experience.
Embodiment two
Refer to the flow chart of the second preferred embodiment of the electrical leakage detecting method of a kind of electronic equipment that Fig. 2, Fig. 2 are the present invention.
The electrical leakage detecting method of the electronic equipment of this preferred embodiment comprises the following steps:
Step S201, obtains described electronic equipment rated disspation data under each scene;
Step S202, according to the detection of electrical leakage threshold value under each corresponding scene of described electronic equipment rated disspation data setting under each scene.
Step S203, obtains the current scene information of electronic equipment;
Step S204, detects this electronic equipment the first actual power loss under current scene;
Step S205, obtains the detection of electrical leakage threshold value under current scene according to current scene information;
Step S206, according to whether the detection of electrical leakage threshold decision electronic equipment under the first actual power loss and current scene leaks electricity.
The idiographic flow of each step of electrical leakage detecting method the following detailed description of the electronic equipment of this preferred embodiment.
In step s 201, each scene is pre-set out in the electronic device respectively, for instance, standby scene, bright screen scene, broadcasting music scenario, broadcasting video scene or call scene etc..Then, detect the rated disspation data under each scene respectively, and by the scene information correspondence rated disspation data of this each scene to be saved in the memory area of electronic equipment in the way of mapping table, query calls during for needs.The such as rated disspation of standby scene is W1, and the rated disspation of bright screen scene is W2, and the rated disspation playing music scenario is W3, and playing video scene rated disspation is W4, and call scene rated disspation is W5.
In step S202, owing to electronic equipment is in actual use procedure, its actual power loss is often more than its rated disspation, for instance, when dtr signal, electronic equipment is in order to constantly obtain signal, and its actual power loss is commonly greater than rated disspation.Accordingly, it would be desirable to according to detection of electrical leakage threshold value corresponding to the rated disspation data setting of each scene and its correspondence, and preserve in the electronic device with the form of mapping relations table.Such as, the detection of electrical leakage threshold value of standby scene is W11, and the detection of electrical leakage threshold value of bright screen scene is W12, and the detection of electrical leakage threshold value playing music scenario is W13, and the detection of electrical leakage threshold value playing video scene is W14, and the detection of electrical leakage threshold value of call scene is W15.
In step S203, the scene that scene information is corresponding can be standby scene, bright screen scene, plays music scenario, play video scene or scene etc. of conversing.The current scene information obtaining electronic equipment can adopt various ways.Method one: detect the current health information of electronic equipment to obtain current scene information;Such as, detect when this electronic equipment is currently running music player, it is determined that current scene is for playing music scenario.Method two: the operation conditions that this electronic equipment of preset in advance is current, and obtain current scene information according to operation conditions;Such as, presetting an operating instruction in this electronic equipment, electronic equipment runs according to this operating instruction, and obtains current scene information from this operating instruction.Such as, if needing detection to play the power consumption under video scene, it is possible to presetting a video playback instruction in advance in the electronic device, then when meeting the predetermined condition such as scheduled time, electronic equipment carries out video playback, then carries out actual power loss detection again.
In step S204, the step detecting the first actual power loss under this current scene specifically includes:
Under current scene, the electricity twice of this electronic equipment should be read and obtains the first charge value Q1 and the second charge value Q2 successively, and this twi-read interval scheduled time T;Calculating obtains the first actual power loss W, wherein, and W=(Q1-Q2)/T.
In step S205, the memory area storage in electronic equipment has the mapping relations table of scene information and detection of electrical leakage threshold value, and it is corresponding with it that the scene that each scene information is corresponding has all pre-saved a detection of electrical leakage threshold value.When reading current scene information, inquire about the detection of electrical leakage threshold value corresponding with this current scene information according to this current scene information from memory area.Wherein, detection of electrical leakage threshold value W1x=rated disspation Wx+ side-play amount W0x;That is to say W11=W1+W01, W12=W1+W02, W13=W3+W03, W14=W4+W04, W15=W5+W05, wherein, W0x is the side-play amount under corresponding scene, and x=1,2,3,4 or 5.Wherein side-play amount W0x can be by test of many times the fixed value measured.As long as that is to say and reading current scene information, can tabling look-up and obtain a fixing offset value, certainly adopting this calculation benefit is that speed is fast, and shortcoming is that degree of accuracy is relatively low.
Certainly, it can also be the dynamic value carrying out real-time change according to current environment factor;Therefore, the detection of electrical leakage threshold value that this step S205 obtains under current scene according to current scene information comprises the following steps:
The current ambient parameter corresponding according to current scene information detection and the side-play amount computing formula of correspondence, calculate current side-play amount according to current ambient parameter and side-play amount computing formula, and calculate the detection of electrical leakage threshold value of correspondence according to the side-play amount calculated.
Wherein, side-play amount W0x=detection of electrical leakage threshold value W1x* current environment parameter k/ standard environment parameter k0, wherein standard environment parameter k0 is referring to the ambient parameter corresponding when measuring rated disspation data.Such as, when current scene is bright screen scene or broadcasting video scene, the current environment parameter that k represents is brightness value, and k0 is the brightness value under standard environment.During when current scene for online scene or call scene, the current environment parameter that k represents is current signal strength value, and k0 is the signal strength values under standard environment.
In step S206, the detection of electrical leakage threshold value obtained in first actual power loss and step S205 is compared, if the first actual power loss is more than or equal to this detection of electrical leakage threshold value, it is determined that this electronic equipment leaks electricity, when first actual power loss is less than detection of electrical leakage threshold value, it is determined that this electronic equipment leakproof.
Embodiment three
Refer to the flow chart of the third preferred embodiment of the electrical leakage detecting method of a kind of electronic equipment that Fig. 3, Fig. 3 are the present invention.
The electrical leakage detecting method of the electronic equipment of this preferred embodiment comprises the following steps:
Step S301, obtains described electronic equipment rated disspation data under each scene;
Step S302, according to the detection of electrical leakage threshold value under each corresponding scene of described electronic equipment rated disspation data setting under each scene.
Step S303, obtains the current scene information of electronic equipment;
Step S304, the first actual power loss under detection current scene;
Step S305, obtains the detection of electrical leakage threshold value under current scene according to current scene information;
Step S306, according to whether the detection of electrical leakage threshold decision electronic equipment under the first actual power loss and current scene leaks electricity.
Step S307, when described electronic equipment leaks electricity, restarts described electronic equipment;
Step S308, returns to the scene before restarting by described electronic equipment;
Step S309, the second actual power loss under detection current scene;
Step S310, whether electronic equipment according to the detection of electrical leakage threshold decision under described second actual power loss and described current scene leaks electricity;
If electric leakage, then judge the hardware failure of described electronic equipment;Otherwise, then the software failure of described electronic equipment is judged.
The idiographic flow of each step of electrical leakage detecting method the following detailed description of the electronic equipment of this preferred embodiment.Wherein, step S301-step S306 is identical with step S201-step S206 in embodiment two, therefore does not repeat.
In step S307, when the judged result of step S306 is electronic equipment electric leakage, first electronic equipment preserves current scene information, then restarts.
In step S308, according to the scene information preserved in step S307, the electronic equipment after restarting is returned to the scene before restarting.
In step S309, the step detecting the second actual power loss under this current scene specifically includes:
Under current scene, the electricity twice of this electronic equipment should be read and obtains the 3rd charge value Q3 and the 4th charge value Q4 successively, and this twi-read interval scheduled time T;Calculating obtains the second actual power loss W, wherein, and W=(Q3-Q4)/T.
In step S310, the detection of electrical leakage threshold value obtained is compared, in the second actual power loss and step S305 if the second actual power loss is more than or equal to this detection of electrical leakage threshold value, it is determined that this electronic equipment leaks electricity, and electric leakage reason is hardware problem.If the second actual power loss is less than detection of electrical leakage threshold value, it is determined that this electronic equipment now leakproof, its failure cause is software fault.
The electrical leakage detecting method of the electronic equipment of this preferred embodiment is by when judging the electric leakage of this electronic equipment, control this electronic equipment restart then recover restart before scene after, whether leaked electricity by the electronic equipment detected after restarting, and then judge that the electric leakage of this electronic equipment is due to hardware fault or software fault, and then provide suitable suggestion, there is the beneficial effect improving Consumer's Experience.
Embodiment four
Refer to the theory diagram of the first preferred embodiment of the current leakage detection system of a kind of electronic equipment that Fig. 4, Fig. 4 are the present invention.
The current leakage detection system 400 of the electronic equipment in this preferred embodiment, including scene information acquisition module the 401, first consumption detection module 402, detection of electrical leakage threshold value acquisition module 403 and the first electric leakage judge module 404.
Wherein, scene information acquisition module 401 is for obtaining the current scene information of electronic equipment.The scene that scene information is corresponding can be standby scene, bright screen scene, plays music scenario, play video scene or scene etc. of conversing.The current scene information obtaining electronic equipment can adopt various ways.
Scene information acquisition module 401 may be used for the current health information of detection electronic equipment to obtain current scene information;Such as, the health information that detection electronic equipment is current is to obtain current scene information;Such as, detect that this electronic equipment is currently running music player, then judge that current scene is as playing music scenario.Or,
Scene information acquisition module 401 can be also used for the operation conditions that preset electronic equipment is current, and obtains current scene information according to operation conditions.Specifically, presetting an operating instruction in this electronic equipment, electronic equipment runs according to this operating instruction, and obtains current scene information according to this operating instruction.Such as, if needing detection to play the power consumption under video scene, it is possible to presetting a video playback instruction in advance in the electronic device, then when meeting the predetermined condition such as scheduled time, electronic equipment carries out video playback.
First consumption detection module 402 is for detecting this electronic equipment the first actual power loss under current scene;Specifically, this first consumption detection module 402 includes electricity reading unit and power consumption calculation unit.Wherein, electricity reads unit under current scene, and the electricity of twi-read electronic equipment also obtains the first charge value Q1 and the second charge value Q2 successively, and this twi-read interval scheduled time T.Power consumption calculation unit obtains the first actual power loss W for calculating, wherein, and W=(Q1-Q2)/T.
Detection of electrical leakage threshold value acquisition module 403 for obtaining the detection of electrical leakage threshold value under current scene according to current scene information.Specifically, the memory area storage in electronic equipment has the mapping relations table of scene information and detection of electrical leakage threshold value, and it is corresponding with it that the scene that each scene information is corresponding has all pre-saved a detection of electrical leakage threshold value.When reading current scene information, detection of electrical leakage threshold value acquisition module 403 inquires about the detection of electrical leakage threshold value corresponding with this current scene information according to this current scene information from memory area.
Whether electric leakage judge module 404 leaks electricity for electronic equipment according to the detection of electrical leakage threshold decision under the first actual power loss and current scene.Specifically, the detection of electrical leakage threshold value that first actual power loss and detection of electrical leakage threshold value acquisition module 403 inquire is compared by electric leakage judge module 404, if the first actual power loss is more than or equal to this detection of electrical leakage threshold value, judge that this electronic equipment leaks electricity, when first actual power loss is less than detection of electrical leakage threshold value, it is determined that this electronic equipment leakproof.
The current leakage detection system of the electronic equipment of this preferred embodiment is by detecting the current scene information of electronic equipment and by inquiring about the detection of electrical leakage threshold value obtaining this electronic equipment this current scene corresponding, then the first actual power loss under detection current scene, compare finally by by this first actual power loss and detection of electrical leakage threshold value, such that it is able to realize detection quickly and easily to survey whether electronic equipment leaks electricity, there is the beneficial effect improving Consumer's Experience.
Embodiment five
Refer to the theory diagram of the second preferred embodiment of the current leakage detection system of a kind of electronic equipment that Fig. 4 b, Fig. 4 b is the present invention.On the basis of embodiment four, in the present embodiment, the current leakage detection system of this electronic equipment also includes: power consumption acquisition module 405 and detection of electrical leakage threshold setting module 406.
Wherein, power consumption acquisition module 405 is for obtaining described electronic equipment rated disspation data under each scene.Pre-set out each scene in the electronic device respectively, for instance, standby scene, bright screen scene, broadcasting music scenario, broadcasting video scene or call scene etc..Then, detect the rated disspation data under each scene respectively, and by the scene information correspondence rated disspation data of this each scene to be saved in electronic equipment in the way of mapping table, call during for needs.The such as rated disspation of standby scene is W1, and the rated disspation of bright screen scene is W2, and the rated disspation playing music scenario is W3, and playing video scene rated disspation is W4, and call scene rated disspation is W5.
Detection of electrical leakage threshold setting module 406, according to the detection of electrical leakage threshold value under each corresponding scene of described electronic equipment rated disspation data setting under each scene.Owing to electronic equipment is in actual use procedure, its actual power loss is often more than its rated disspation, for instance, when dtr signal, electronic equipment is in order to constantly obtain signal, and its actual power loss is commonly greater than rated disspation.Therefore, detection of electrical leakage threshold setting module 406 needs the detection of electrical leakage threshold value that the rated disspation data setting according to each scene and its correspondence is corresponding, and preserves in the electronic device with the form of mapping relations table.Such as, the detection of electrical leakage threshold value of standby scene is W11, and the detection of electrical leakage threshold value of bright screen scene is W12, and the detection of electrical leakage threshold value playing music scenario is W13, and the detection of electrical leakage threshold value playing video scene is W14, and the detection of electrical leakage threshold value of call scene is W15.
Wherein, detection of electrical leakage threshold value W1x=rated disspation Wx+ side-play amount W0x;That is to say W11=W1+W01, W12=W1+W02, W13=W3+W03, W14=W4+W04, W15=W5+W05, wherein, W0x is the side-play amount under corresponding scene, and x=1,2,3,4 or 5.Wherein side-play amount W0x can be by test of many times the fixed value measured.As long as that is to say and reading current scene information, can tabling look-up and obtain a fixing offset value, certainly adopting this calculation benefit is that speed is fast, and shortcoming is that degree of accuracy is relatively low.
Certainly, it can also be the dynamic value carrying out real-time change according to current environment factor;Therefore, detection of electrical leakage threshold value acquisition module 403 can be also used for the side-play amount computing formula of the current ambient parameter corresponding according to current scene information detection and correspondence, and calculate current side-play amount according to current ambient parameter and side-play amount computing formula, and calculate the detection of electrical leakage threshold value of correspondence according to the side-play amount calculated.
Wherein, side-play amount W0x=detection of electrical leakage threshold value W1x* current environment parameter k/ standard environment parameter k0, wherein standard environment parameter k0 is referring to the ambient parameter corresponding when measuring rated disspation data.Such as, when current scene is bright screen scene or broadcasting video scene, the current environment parameter that k represents is brightness value, and k0 is the brightness value under standard environment.During when current scene for online scene or call scene, the current environment parameter that k represents is current signal strength value, and k0 is the signal strength values under standard environment.
Embodiment six
Refer to the theory diagram of the third preferred embodiment of the current leakage detection system of a kind of electronic equipment that Fig. 4 c, Fig. 4 c is the present invention.On the basis of embodiment five, in the present embodiment, the current leakage detection system of this electronic equipment also includes restarting module 407, scene recovers module the 408, second consumption detection module the 409, second electric leakage judge module 410 and fault type judge module 411.
Wherein, module 407 is restarted for when the first electric leakage judge module 404 judges that electronic equipment leaks electricity, restarting this electronic equipment;When the first electric leakage judge module 404 judged result is electronic equipment electric leakage, restarts module 407 and control the scene information that electronic equipment preservation is current, then control electronic equipment and restart.
Scene recovers module 408 for the electronic equipment after restarting being returned to the scene before restarting according to the scene information of preservation before restarting.
Second consumption detection module 409, for detecting the second actual power loss under current scene.Specifically, the second consumption detection module 409, under current scene, reads the electricity twice of this electronic equipment and obtains the 3rd charge value Q3 and the 4th charge value Q4 successively, and this twi-read interval scheduled time T;Calculating obtains the second actual power loss W, wherein, and W=(Q3-Q4)/T.
Second electric leakage judge module 410, for according to whether the detection of electrical leakage threshold decision electronic equipment under current scene leaks electricity.Specifically, the detection of electrical leakage threshold value that the second actual power loss and detection of electrical leakage threshold value acquisition module 403 inquire is compared by it, if the second actual power loss is more than or equal to this detection of electrical leakage threshold value, it is determined that this electronic equipment leaks electricity.If the second actual power loss is less than detection of electrical leakage threshold value, it is determined that this electronic equipment now leakproof.
Fault type judge module, for when the second electric leakage judge module 410 judges that this electronic equipment leaks electricity, judge the hardware failure of this electronic equipment, and for when the second electric leakage judge module 410 judges this electronic equipment leakproof, it is determined that the software failure of this electronic equipment.
In the current leakage detection system of the electronic equipment of this preferred embodiment, first electric leakage judge module 404 is when judging the electric leakage of this electronic equipment, restart module 407 to control this electronic equipment and restart, then after scene recovers the scene before electronic equipment recovery is restarted by module 408, whether the electronic equipment after being restarted by the second electric leakage judge module 410 detection is leaked electricity, and then judge that the electric leakage of this electronic equipment is due to hardware fault or software fault, and then provide suitable suggestion, there is the beneficial effect improving Consumer's Experience.
There is provided herein the various operations of embodiment.In one embodiment, described one or more operations may be constructed the computer-readable instruction of storage on one or more computer-readable medium, and it will make computing equipment perform described operation when being performed by electronic equipment.Describing the order of some or all of operation, to should not be construed as to imply that these operations necessarily order dependent.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood that not all operation must exist in each embodiment provided in this article.
And, word used herein " preferably " means serving as example, example or illustration.Feng Wen is described as " preferably " any aspect or design is not necessarily to be construed as more favourable than other aspects or design.On the contrary, the use of word " preferably " is intended to propose in a concrete fashion concept."or" that term "or" as used in this application is intended to mean to comprise and non-excluded "or".That is, unless otherwise or clear from the context, " X uses A or B " means nature and includes any one of arrangement.That is, if X uses A;X uses B;Or X uses A and B both, then " X uses A or B " is met in aforementioned any example.
And, although illustrate and describing the disclosure relative to one or more implementations, but those skilled in the art will appreciate that equivalent variations and amendment based on to reading and the understanding of the specification and drawings.The disclosure includes all such amendments and modification, and is limited only by the scope of the following claims.Particularly with the various functions performed by said modules (such as element, resource etc.), term for describing such assembly is intended to the random component (unless otherwise instructed) of the appointment function (such as it is functionally of equal value) corresponding to performing described assembly, even if not structurally being equal to the open structure of the function in the exemplary implementations performing the disclosure shown in this article.Although additionally, the special characteristic of the disclosure is disclosed relative to the only one in some implementations, but this feature can with other features one or more combination that can be for given or application-specific such as expectation and other favourable implementations.And, for being used in detailed description of the invention or claim with regard to term " including ", " having ", " containing " or its deformation, such term is intended in the way of similar to term " comprising " to include.
Each functional unit in the embodiment of the present invention can be integrated in a processing module, it is also possible to is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, it would however also be possible to employ the form of software function module realizes.If described integrated module is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer read/write memory medium.Storage medium mentioned above can be read only memory, disk or CD etc..Above-mentioned each device or system, it is possible to perform the method in correlation method embodiment.
In sum; although the present invention is disclosed above with preferred embodiment; but above preferred embodiment is also not used to the restriction present invention; those of ordinary skill in the art; without departing from the spirit and scope of the present invention; all can doing various change and retouching, the scope that therefore protection scope of the present invention defines with claim is as the criterion.

Claims (10)

1. the electrical leakage detecting method of an electronic equipment, it is characterised in that comprise the following steps:
Obtain the current scene information of described electronic equipment;
Detect the described electronic equipment the first actual power loss under current scene;
The detection of electrical leakage threshold value under current scene is obtained according to described current scene information;
Whether electronic equipment according to the detection of electrical leakage threshold decision under described first actual power loss and described current scene leaks electricity.
2. the electrical leakage detecting method of electronic equipment according to claim 1, it is characterized in that, after the step whether described electronic equipment according to the detection of electrical leakage threshold decision under described first actual power loss and described current scene leaks electricity, further comprising the steps of:
When described electronic equipment leaks electricity, restart described electronic equipment;
Described electronic equipment is returned to the scene before restarting;
Detect the described electronic equipment the second actual power loss under current scene;
Whether electronic equipment according to the detection of electrical leakage threshold decision under described second actual power loss and described current scene leaks electricity;
If electric leakage, then judge the hardware failure of described electronic equipment;Otherwise, then the software failure of described electronic equipment is judged.
3. the electrical leakage detecting method of electronic equipment according to claim 1, it is characterised in that before the described step according to the detection of electrical leakage threshold value under described current scene information acquisition current scene, further comprising the steps of:
Obtain described electronic equipment rated disspation data under each scene;
According to the detection of electrical leakage threshold value under each corresponding scene of described electronic equipment rated disspation data setting under each scene.
4. the electrical leakage detecting method of electronic equipment according to claim 1, it is characterised in that the step of the current scene information of the described electronic equipment of described acquisition includes:
Detect the current health information of described electronic equipment to obtain current scene information;Or, preset the operation conditions that described electronic equipment is current, and obtain current scene information according to described operation conditions.
5. the electrical leakage detecting method of electronic equipment according to claim 1, it is characterised in that the step of the first actual power loss that the described electronics of described detection is arranged under current scene comprises the following steps:
Under current scene, read the electricity twice of described electronic equipment and obtain the first charge value Q1 and the second charge value Q2 successively, and this twi-read interval scheduled time T;
Calculating obtains described first actual power loss W, wherein, and W=(Q1-Q2)/T.
6. the current leakage detection system of an electronic equipment, it is characterised in that including:
Scene information acquisition module, for obtaining the current scene information of described electronic equipment;
First consumption detection module, for detecting the described electronic equipment the first actual power loss under current scene;
Detection of electrical leakage threshold value acquisition module, for obtaining the detection of electrical leakage threshold value under current scene according to described current scene information;
Whether the first electric leakage judge module, leak electricity for electronic equipment according to the detection of electrical leakage threshold decision under described first actual power loss and described current scene.
7. the current leakage detection system of electronic equipment according to claim 6, it is characterised in that also include:
Restart module, for restarting described electronic equipment when described electric leakage judge module judges the electric leakage of described electronic equipment;
Scene recovers module, for the described electronic equipment after restarting is returned to the scene before restarting;
Second consumption detection module, for detecting the described electronic equipment the second actual power loss under current scene;
Whether the second electric leakage judge module, leak electricity for electronic equipment according to the detection of electrical leakage threshold decision under described current scene;
Fault type judge module, for when described second electric leakage judge module judges the electric leakage of described electronic equipment, judge the hardware failure of described electronic equipment, and for when described second electric leakage judge module judges described electronic equipment leakproof, it is determined that the software failure of described electronic equipment.
8. the current leakage detection system of electronic equipment according to claim 6, it is characterised in that also include:
Power consumption acquisition module, for obtaining described electronic equipment rated disspation data under each scene;
Detection of electrical leakage threshold setting module, according to the detection of electrical leakage threshold value under each corresponding scene of described electronic equipment rated disspation data setting under each scene.
9. the current leakage detection system of electronic equipment according to claim 6, it is characterised in that described scene information acquisition module is for detecting the current health information of described electronic equipment to obtain current scene information;Or, for presetting the operation conditions that described electronic equipment is current, and obtain current scene information according to described operation conditions.
10. the current leakage detection system of electronic equipment according to claim 6, it is characterised in that described first consumption detection module includes:
Electricity reads unit, and under current scene, the electricity of electronic equipment described in twi-read also obtains the first charge value Q1 and the second charge value Q2 successively, and this twi-read interval scheduled time T;
Power consumption calculation unit, obtains described first actual power loss W for calculating, wherein, and W=(Q1-Q2)/T.
CN201610039020.9A 2016-01-20 2016-01-20 The electrical leakage detecting method and system of electronic equipment Active CN105717409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610039020.9A CN105717409B (en) 2016-01-20 2016-01-20 The electrical leakage detecting method and system of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610039020.9A CN105717409B (en) 2016-01-20 2016-01-20 The electrical leakage detecting method and system of electronic equipment

Publications (2)

Publication Number Publication Date
CN105717409A true CN105717409A (en) 2016-06-29
CN105717409B CN105717409B (en) 2018-07-31

Family

ID=56147510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610039020.9A Active CN105717409B (en) 2016-01-20 2016-01-20 The electrical leakage detecting method and system of electronic equipment

Country Status (1)

Country Link
CN (1) CN105717409B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108072807A (en) * 2017-11-20 2018-05-25 安徽晓星能源科技有限公司 A kind of power quality wireless monitoring device
CN108594057A (en) * 2018-04-28 2018-09-28 上海与德通讯技术有限公司 The electrical leakage detecting method and electronic equipment of splicing ground heat pad
CN108872762A (en) * 2018-05-02 2018-11-23 Oppo广东移动通信有限公司 Electronic equipment electrical leakage detecting method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1948974A (en) * 2005-10-13 2007-04-18 松下电器产业株式会社 Semiconductor integrated circuit device and electronic equipment
CN101036063A (en) * 2004-10-12 2007-09-12 爱德万测试株式会社 Test device, test method, electronic device, and device manufacturing method
US20110279938A1 (en) * 2007-02-15 2011-11-17 Advanced Micro Devices, Inc. Dynamic leakage control using selective back-biasing
CN202994949U (en) * 2012-11-07 2013-06-12 方火炳 Electricity leakage alarm device for electric vehicle
CN103176091A (en) * 2011-12-21 2013-06-26 深圳富泰宏精密工业有限公司 System and method for electric leakage detection of electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101036063A (en) * 2004-10-12 2007-09-12 爱德万测试株式会社 Test device, test method, electronic device, and device manufacturing method
CN1948974A (en) * 2005-10-13 2007-04-18 松下电器产业株式会社 Semiconductor integrated circuit device and electronic equipment
US20110279938A1 (en) * 2007-02-15 2011-11-17 Advanced Micro Devices, Inc. Dynamic leakage control using selective back-biasing
CN103176091A (en) * 2011-12-21 2013-06-26 深圳富泰宏精密工业有限公司 System and method for electric leakage detection of electronic device
CN202994949U (en) * 2012-11-07 2013-06-12 方火炳 Electricity leakage alarm device for electric vehicle

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108072807A (en) * 2017-11-20 2018-05-25 安徽晓星能源科技有限公司 A kind of power quality wireless monitoring device
CN108594057A (en) * 2018-04-28 2018-09-28 上海与德通讯技术有限公司 The electrical leakage detecting method and electronic equipment of splicing ground heat pad
CN108872762A (en) * 2018-05-02 2018-11-23 Oppo广东移动通信有限公司 Electronic equipment electrical leakage detecting method, device, electronic equipment and storage medium
CN108872762B (en) * 2018-05-02 2021-02-02 Oppo广东移动通信有限公司 Electronic equipment leakage detection method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105717409B (en) 2018-07-31

Similar Documents

Publication Publication Date Title
US10439406B2 (en) Terminal and method for charging the same
CN102609144B (en) Touch screen damage protection adaption method and electronic equipment
CN103164322B (en) A kind of endorsement method of program crashing and device
CN109391904A (en) SAR method of adjustment, device, mobile terminal and readable storage medium storing program for executing
CN105717409A (en) Electronic device electric leakage detection method and electronic device electric leakage detection system
CN105302455A (en) Interface operation method and terminal
CN102981722A (en) Method and device for scene switching
CN106296617A (en) The processing method and processing device of facial image
CN104268472B (en) Reduction is by the method and apparatus of third party's dynamic base Modification growth function address
CN105988805A (en) Management method for application programs and mobile terminal
US9542935B2 (en) Voice recognition function realizing method and device
CN103678096A (en) Adaptation testing method and device of client side application
CN110968508B (en) Method, device, terminal and storage medium for determining loading time of applet
US20230125288A1 (en) Font adjustment method and apparatus, storage medium, and electronic device
CN104035702A (en) Method for preventing intelligent terminal operation error and intelligent terminal
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN105528171A (en) Method and system for quickly starting application of intelligent terminal, and intelligent terminal
CN104035921A (en) Information processing method and electronic devices
CN105260077A (en) Electronic device and detection method for capacitive touch screen of electronic device
CN105302179A (en) Thermal control method and thermal control system
CN107943606B (en) Fault processing method and device under double operating systems, memory and electronic equipment
CN105653343A (en) Software display method and device and electronic equipment
CN104506940A (en) Information processing method and television
CN105100384A (en) Mobile terminal and default storage device selection method and device of mobile terminal
CN109446433A (en) A kind of interest point failure method of calibration, device, server and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.