CN105842554B - Hardware fault detection method, detection system and the intelligent terminal of intelligent terminal - Google Patents

Hardware fault detection method, detection system and the intelligent terminal of intelligent terminal Download PDF

Info

Publication number
CN105842554B
CN105842554B CN201610066387.XA CN201610066387A CN105842554B CN 105842554 B CN105842554 B CN 105842554B CN 201610066387 A CN201610066387 A CN 201610066387A CN 105842554 B CN105842554 B CN 105842554B
Authority
CN
China
Prior art keywords
current value
hardware module
intelligent terminal
module
difference
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
CN201610066387.XA
Other languages
Chinese (zh)
Other versions
CN105842554A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610066387.XA priority Critical patent/CN105842554B/en
Publication of CN105842554A publication Critical patent/CN105842554A/en
Application granted granted Critical
Publication of CN105842554B publication Critical patent/CN105842554B/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

Abstract

The present invention proposes hardware module fault detection method, detection system and the intelligent terminal of a kind of intelligent terminal, which comprises judges in multiple predetermined hardware modules of the intelligent terminal with the presence or absence of the hardware module to break down;When judging there is the hardware module to break down in the multiple predetermined hardware module, the power supply of each of the multiple predetermined hardware module first kind hardware module is cut off in turn;In the standby state, respectively obtain cut off each first kind hardware module power supply after the intelligent terminal electric network in present current value;The theoretical current value under standby mode in the electric network of the intelligent terminal is obtained, and judges whether each described present current value is less than corresponding first preset difference value with the difference of the theoretical current value;When one of them described present current value is less than corresponding first preset difference value with the difference of the theoretical current value, the first kind hardware module of the corresponding present current value of judgement breaks down.

Description

Hardware fault detection method, detection system and the intelligent terminal of intelligent terminal
Technical field
The present invention relates to the communications field more particularly to a kind of hardware fault detection method of intelligent terminal, detection system and Intelligent terminal.
Background technique
It is widely available with intelligent terminal in the market, and being growing using crowd, the use environment of mobile terminal It becomes increasingly complex, and electronic product adaptability and reliability under various varying environments have biggish difference, it is artificial in part Situation is likely to cause the hardware fault of mobile terminal, leads to intelligence as accidentally fallen under water inlet or other environmental factors Terminal function exception or life termination.
When intelligent terminal because when surprisingly breaking down, the usually not professional knowledge of ordinary user determines problem, Also it has no way of being detected, point maintenance after sale or replacement type can only be removed, can not only spend the more time in this way, it is also possible to cause The waste of resource.
The hardware fault of intelligent terminal can usually be divided into following several classes according to severity:
The first kind is that the failure of most serious causes intelligent terminal that cannot be switched on if intelligent terminal falls in water or drops, and is met To such case, user is typically only capable to carry out the maintenance or replacement of mainboard after sale.
Second class is that hardware components function lacks, such as cannot be into taking pictures or cannot use flash lamp;To such hardware Failure, user usually can directly judge problem from phenomenon, and confirm problem and solution, can directly take To after sale or maintenace point carries out simple displacement maintenance, it is convenient directly and can be with effective solution problem.
Third class hardware fault is relatively slight, does not influence normal function and use, and only partial properties decline, such as Lead to intelligent terminal since the hardware fault of charging circuit causes charging rate slack-off, or since leaky occurs in hardware circuit Stand-by time obviously shortens.For such failure, user be generally only feel on sense organ the hardware of intelligent terminal there are problem, But since phenomenon of the failure does not show and can not carry out the positioning of problem, certain customers may continue to put up with using intelligence eventually End, but experience sense and satisfaction can be decreased obviously.
The influence exemplified above for being the common several macrotaxonomies of hardware fault of intelligent terminal and user being generated, In actual exploitation design, although Developmental Engineer can consider the various failure modes of each module of intelligent terminal and carry out corresponding Prevention handle and provide relatively feasible workaround, but still such problem cannot be evaded completely.
Summary of the invention
In view of this, the present invention proposes hardware module fault detection method, detection system and the intelligence of a kind of intelligent terminal Terminal can not detect intelligent end when feeling intelligent terminal state or abnormal performance to solve user of the existing technology The problem of hardware state of the internal each hardware module in end.
To solve the above problems, the present invention proposes a kind of hardware module fault detection method of intelligent terminal, comprising:
Judge in multiple predetermined hardware modules of the intelligent terminal with the presence or absence of the hardware module to break down;
When judging there is the hardware module to break down in the multiple predetermined hardware module, cut off in turn the multiple The power supply of each of predetermined hardware module first kind hardware module;
In the standby state, respectively obtain cut off each first kind hardware module power supply after the intelligent terminal Electric network in present current value;
The theoretical current value under standby mode in the electric network of the intelligent terminal is obtained, and judges that each is described current Whether current value is less than corresponding first preset difference value with the difference of the theoretical current value;
When one of them described present current value and the difference of the theoretical current value are less than corresponding first preset difference value, Determine that the first kind hardware module of the corresponding present current value breaks down.
Another embodiment of the present invention proposes a kind of hardware module fault detection system of intelligent terminal, comprising:
First judgment module, with the presence or absence of breaking down in multiple predetermined hardware modules for judging the intelligent terminal Hardware module;
First switch module judges there is the hardware mould to break down in the multiple predetermined hardware module for working as Block cuts off the power supply of each of the multiple predetermined hardware module first kind hardware module in turn;
First current value obtains module, in the standby state, obtaining cut off each described first kind hardware respectively Present current value after the power supply of module in the electric network of the intelligent terminal;
Second judgment module, for obtaining the theoretical current value under standby mode in the electric network of the intelligent terminal, and Judge whether each described present current value is less than corresponding first preset difference value with the difference of the theoretical current value;
First determination module is less than pair for the difference when one of them described present current value and the theoretical current value The first preset difference value answered determines that the first kind hardware module of the corresponding present current value breaks down.
Yet another embodiment of the invention proposes a kind of intelligent terminal, including power supply unit, current sampling unit, multiple first kind Hardware module, multiple load switches, current management unit and processor;
Said supply unit is connected to the multiple first kind hardware module by multiple load switches respectively;
The current sampling unit is connected to said supply unit, to sample the electric current in said supply unit;
The current management unit is connected to the current sampling unit, for reading working as on the current sampling unit Preceding current value;
The processor is connected to the multiple load switch and the current management unit, to control each load The closing or opening of switch, after each load switch disconnects, the processor will be in the current management unit Present current value is compared with the theoretical current value on the supply network of the intelligent terminal in the standby state, when the current electricity Flow valuve and the difference of the theoretical current value are less than corresponding first preset difference value, determine disconnected load switch corresponding the A kind of hardware module breaks down.
Intelligent hardware fault detection method, detection system and the intelligent terminal that the embodiment of the present invention proposes, can be directed to upper The detection that third class hardware fault carries out intelligence is stated, intelligent terminal is allowed to carry out self-test, the hardware module to break down is judged, draws It leads user and carries out subsequent processing.
Detailed description of the invention
Fig. 1 show the schematic diagram of the intelligent terminal in one embodiment of the invention.
Fig. 2 show the flow chart of the hardware fault detection method of the intelligent terminal of one embodiment of the invention.
Fig. 3 show the flow chart of the hardware fault detection method of the intelligent terminal of another embodiment of the present invention.
Fig. 4 show the schematic diagram of the hardware failure detection system of the intelligent terminal of one embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
One of core of the invention design is to propose hardware module fault detection method and the detection of a kind of intelligent terminal System and a kind of intelligent terminal, by judging whether the predetermined hardware module of intelligent terminal breaks down, and by closing in turn It closes hardware module and the situation of change of the electric current in the electric network of the intelligent terminal before and after the hardware module, judgement is closed in comparison The predetermined hardware module to break down out.
Fig. 1 show the schematic diagram of the intelligent terminal of one embodiment of the invention.As shown in Figure 1, intelligent terminal of the invention Including power supply unit 10, current sampling unit 20, multiple first kind hardware module 31-33, multiple second class hardware module 34- 37, multiple load switches 40, Power Management Unit 50 and processor 60.
Power supply unit 10 is for example including intelligent terminal battery, for powering for whole system;
Current sampling unit 20 is for example including the current sampling resistor on the supply network of intelligent terminal, for sampling the confession The electric current of electric unit 10;
Multiple first kind hardware modules are, for example, peripheral module, including radio frequency power amplification module 31, charging circuit module 32, the device that sensor module 33 etc. is directly powered from supply network;, multiple second class hardware modules are, for example, peripheral module, Including current monitor module 34, LCD MODULE 35, touch sensitive surface module 36, camera module 37 etc. by Power Management Unit The device of 50 power supplies.
Load switch 40 is for example including load switch S1, S2, S3, S4.Load switch S1, S2, S3 are connected to radio frequency Between power amplifier module 31, charging circuit module 32, sensor module 33 and power supply unit 10, for passing through processor 60, Switch on and off control is implemented to radio frequency power amplification module 31, charging circuit module 32, sensor module 33 etc. respectively.
Power Management Unit 50 is built-in with voltameter module for example including power management chip, can collect electric current The current information of sampling resistor obtains the current conditions of whole system consumption, and can convert battery voltage to each hardware mould Voltage required for block works.
Processor 60 is connected to above-mentioned load switch 40 and Power Management Unit 50, for controlling said units Work.
Fig. 2 show the flow chart of the hardware fault detection method of the intelligent terminal of one embodiment of the invention.Such as Fig. 2 institute Show, in one embodiment of the invention, the hardware fault detection method of intelligent terminal includes the following steps:
S101 judges in multiple predetermined hardware modules of the intelligent terminal with the presence or absence of the hardware module to break down;
In this step, the multiple pre- of intelligent terminal can be judged by judging the case where intelligent terminal consumes electric current If whether thering is hardware module to break down in hardware module.
For example, when user feels that exception occurs in intelligent terminal hardware state in intelligent terminal use process, for example encounter Electric quantity consumption is too fast, and stand-by time shortens, and charging rate is slack-off, make a phone call fever etc. scenes when, it can be determined that in intelligent terminal Multiple predetermined hardware modules in have the hardware module to break down.
For another example can be determined in step s101 by following sub-step in multiple predetermined hardware modules of intelligent terminal Whether there is hardware module to break down:
S11: the actual current value and theoretical current value under standby mode in the electric network of the intelligent terminal are obtained;
In this sub-step, such as user opens the hardware module on intelligent terminal and detects program (App), intelligent terminal On processor 60 be waken up after, the size of current on current sampling unit 20 is read by Power Management Unit 50, is obtained Current value on the entire electric network of intelligent terminal.Under ideal case, Power Management Unit 50 can when will be standby power supply it is single Current value I01 in member 10 is read and is stored in the register (not shown) of intelligent terminal, register or other storages The normal Standby current value under standby mode in the electric network of intelligent terminal, i.e. theoretical current value I0 are stored in device simultaneously.
S12: judge whether the actual current value and the difference of the theoretical current value are greater than the second preset difference value;
Processor 60 by from register come the actual current in the electric network of the intelligent terminal under the standby mode that reads Value I01 is compared with theoretical current value I0, and whether judgement (I01-I0) is greater than the second preset difference value.
S13: when the difference of the actual current value and the theoretical current value is greater than second preset difference value, judgement institute State the hardware module for existing in multiple predetermined hardware modules of intelligent terminal and breaking down.
In this step, it when (I01-I0) this difference is greater than the second preset difference value I02 of setting, then can be determined that There is the hardware module to break down in multiple predetermined hardware modules of intelligent terminal.
After sub-step S12, when judging the difference of actual current value and the theoretical current value no more than described the Two preset difference values determine that having no hardware module in the intelligent terminal breaks down, then end fault detection process.
When judging there is the hardware module to break down, step S102 is executed, cuts off multiple predetermined hardware modules in turn Each of first kind hardware module power supply;
In this step, multiple load switch S1-S4 on supply network can be controlled by processor 60 to break in turn It opens;Such as switching off load switch S1, S2, S3 in turn.
Later, step S103 is executed, in the standby state, obtains cut off each first kind hardware module respectively Present current value after power supply in the electric network of the intelligent terminal;
In this step, during the hardware intelligent measurement, the normal fortune that S1-S3 has no effect on intelligent terminal is disconnected Row.After turning off a load switch every time, processor 60 enters standby mode by intelligent terminal into suspend mode, and utilizes power supply Administrative unit 50 reads the present current value on supply network respectively, is denoted as I1, I2, I3.In the examples described above, present current value I1 represents switching off load switch S1 and closes present current value after radio frequency power amplification module 31 on electric network;Current flow Value I2 represents the present current value after switching off load switch S2 i.e. charge closing circuit module 32 on electric network;Present current value I3 It represents switching off load switch S3 and closes present current value after sensor module 33 on electric network.
Later, step S104 is executed, the theoretical current value under standby mode in the electric network of the intelligent terminal is obtained, and Judge whether each described present current value is less than corresponding first preset difference value with the difference of the theoretical current value;
In this step, multiple theoretical current value I0 available first, then by each present current value I1, I2, I3 compared with theoretical current value I0, obtains multiple differences (I1-I0), (I2-I0) and (I3-I0) respectively.Judge that these are poor respectively Whether value is less than the corresponding first preset difference value I03 of each difference (I1-I0), (I2-I0) or (I3-I0).The step for In, the first preset difference value I03 can be set by developer or user.And each difference (I1-I0), (I2-I0) (I3-I0) can respectively correspond different differences, such as the corresponding preset difference value of difference (I1-I0), and difference (I2-I0) corresponds to pre- If difference I03 " etc. or difference (I1-I0), (I2-I0) and (I3-I0) can correspond to identical difference.
Later, step S105 is executed, when one of them described present current value and the difference of the theoretical current value are less than Corresponding first preset difference value determines that the first kind hardware module of the corresponding present current value breaks down;
Such as: if (I1-I0) is less than corresponding first preset difference value I03, determine that failure occurs in load switch S1 On corresponding access, i.e., radio frequency power amplification module 31 breaks down;If (I2-I0) is less than corresponding first preset difference value I03 then determines that failure occurs on the corresponding access of load switch S2, i.e., charging circuit module 32 breaks down;If (I3- I0) it is less than corresponding first preset difference value I03, then determines that failure occurs on the corresponding access of load switch S3, i.e. sensor Module 33 breaks down.
If difference (I1-T0) is greater than the first preset difference value I03, leak current fault is judged not and is leading to where switch S1 Then road needs to re-close load switch S1, and disconnects load switch S2, repeat the detection process.By the above method, The fault condition of the hardware module on electric network can be judged one by one.
By the above method, the detection of intelligence can be carried out for above-mentioned third class hardware fault, intelligent terminal is allowed to carry out Self-test, judges the predetermined hardware module to break down, and guidance user carries out subsequent processing.
It in an embodiment of the present invention, should after detecting that some or multiple predetermined hardware modules break down Fault detection method can also include the following steps:
S106, display reminding content, the suggestion content include that the first kind hardware module breaks down to the intelligence The influence and/or solution of energy terminal.
In this step, processor 60 for example can control intelligent terminal and show which or multiple predetermined hardware modules Generation problem shows that the title of the hardware module, the hardware module break down on the issuable influence of intelligent terminal, and/ Or the corresponding solution of display, it is referred to for user.
Fig. 3 show the flow chart of the hardware module fault detection method of the intelligent terminal of another embodiment of the present invention.Such as Shown in Fig. 3, in the present embodiment, detects whether there is the hardware module to break down by step S11 to S13 first, work as inspection Measured hardware module to break down, thened follow the steps S102 to S104, when and hardware module be not detected broken down, then End fault detection process.
After executing step S102 to S104, when determining each present current value and theoretical current value in step s105 Difference is not less than corresponding first preset difference value, then determines in multiple predetermined hardware modules of the intelligent terminal one or more A second class hardware module breaks down.Specific in embodiment, if determining peripheral hardware after load switch S1 to S3 is successively disconnected The equal fault-free of module such as radio frequency power amplification module 31, charging circuit module 32 and sensor module 33, then may be used in module To determine that the corresponding access of load switch S4 breaks down.
Later, following steps are executed:
Step S107: the power supply of each the second class hardware module is cut off in turn;
In the present embodiment, in conjunction with shown in Fig. 1 and Fig. 3, since Power Management Unit 50 includes for controlling each State the load switch that the second class hardware module opens or closes, which for example can be contact, then can be by with the The identical testing principle of a kind of hardware module realize to current monitor module 34, LCD MODULE 35, touch sensitive surface module 36, The equal second class hardware module of camera module 37 carries out fault detection.
Each load switch S5, S6, S7, S8 in Power Management Unit 50, wheel can be controlled by processor 60 at this time Stream turns off load switch S5-S8, cuts off the power supply of each the second hardware module.
Step S108: it in the standby state, obtains respectively described after cutting off each described second class hardware module power supply Present current value in the electric network of intelligent terminal;
Turning off a load switch preprocessor 60 enters standby mode by intelligent terminal into suspend mode every time, and controls Power Management Unit 50 reads the present current value on supply network respectively, is denoted as I5, I6, I7, I8.During this, In cutting load switch S5 and records I5 and then be closed load switch S5, cut off load switch S6 and record I6, i.e., it is each A switch is cut off in turn, after recording corresponding present current value, is closed the switch, then cut off another switch.
In the above-described example, present current value I5 represents switching off load switch S5 and closes after current monitor module 34 Present current value on supply network;Present current value I6 represents switching off load switch S6 and closes after LCD MODULE 35 Present current value on supply network;Present current value I7 is represented after switching off load switch S7 closes touch sensitive surface module 36 and is supplied Present current value on electric network;Present current value I8 is represented after switching off load switch S8 closes camera module 37 and is powered Present current value on network.
Step S109: the theoretical current value under standby mode in the electric network of the intelligent terminal is obtained, and is judged each Whether a present current value is less than corresponding third preset difference value with the difference of the theoretical current value;
In this step, it by each present current value I5, I6, I7, I8 respectively compared with theoretical current value I0, obtains Multiple differences (I5-I0), (I6-I0), (I7-I0) and (I8-I0).Judge whether these differences are less than third preset difference value respectively I04.In this step, third preset difference value I04 can be set by developer or user.Each difference (I5-I0), (I6-I0), (I7-I0) and (I8-I0) can correspond to identical third preset difference value I04, and it is pre- can also to correspond to different thirds If difference I04.
Step S110: when one of present current value is default less than corresponding third with the difference of the theoretical current value Difference determines that the second class hardware module of the corresponding present current value breaks down.
For example, being judged as that leak current fault generation is loading if (I5-I0) is less than corresponding third preset difference value I04 On the corresponding access of switch S5, i.e., leak current fault occurs for current monitor module 34;If it is pre- that (I6-I0) is less than corresponding third If difference I04, then it is judged as that leak current fault occurs on the corresponding access of load switch S6, i.e., LCD MODULE 35 leaks Electric fault;If (I7-I0) is less than corresponding third preset difference value I04, it is judged as that leak current fault occurs in load switch S7 On corresponding access, i.e., leak current fault occurs for touch sensitive surface module 36;If (I8-I0) is less than corresponding third preset difference value I04, Then it is judged as that leak current fault occurs on the corresponding access of load switch S8, i.e., leak current fault occurs for camera module 37.
Preferably, after detecting that some or multiple predetermined hardware modules break down, intelligent terminal of the invention Hardware fault detection method can also include:
S111 shows the influence that the first kind hardware module or the second class hardware module break down to the intelligent terminal And/or solution.
The step for can be same or similar with step S106, details are not described herein.
The hardware fault detection method of the intelligent terminal provided through the foregoing embodiment may be implemented hard to above-mentioned third class The problem of part failure carries out the detection of intelligence, allows intelligent terminal to carry out self-test, judges hardware fault, and provide user's detection As a result with reasonable solution and suggestion.The present invention can effectively eliminate the worry of user, improve user experience, and be directed to Really there is the problem of hardware fault to provide solution to suggest, so that intelligent terminal is embodied intelligence in terms of hardware detection, improve and use Family satisfaction.
The present invention can be applied on other electronic products of equivalent current supply framework, pass through the hardware detection side of intelligence Formula detects the hardware state of system, and user is made to use more to trust when there is no problem for intelligent terminal, can when problematic To confirm problem and severity in time, and reasonable solution is executed according to prompt.
Yet another embodiment of the invention proposes a kind of hardware failure detection system corresponding to above-mentioned hardware fault detection method, As shown in Figure 4, comprising:
First judgment module 41, in multiple predetermined hardware modules for judging the intelligent terminal with the presence or absence of occurring therefore The hardware module of barrier;
First switch module 42 judges there is the hardware mould to break down in the multiple predetermined hardware module for working as Block cuts off the power supply of each of the multiple predetermined hardware module first kind hardware module in turn;
First current value obtains module 43, in the standby state, it is hard to cut off each described first kind for acquisition respectively Present current value after the power supply of part module in the electric network of the intelligent terminal;
Second judgment module 44, for obtaining the theoretical current value under standby mode in the electric network of the intelligent terminal, And judge whether each described present current value is less than corresponding first preset difference value with the difference of the theoretical current value;
First determination module 45, for being less than when one of them described present current value and the difference of the theoretical current value Corresponding first preset difference value determines that the first kind hardware module of the corresponding present current value breaks down.
In a preferred embodiment, the system also includes:
Information display module, is used for display reminding content, and the suggestion content includes that the first kind hardware module occurs Influence and/or solution of the failure to the intelligent terminal.
In a preferred embodiment, the first judgment module 41 specifically includes:
Acquisition submodule, for obtaining actual current value and theory under standby mode in the electric network of the intelligent terminal Current value;
First judging submodule, for judging whether the difference of the actual current value and the theoretical current value is greater than the Two preset difference values;
First decision sub-module is greater than described second for the difference when the actual current value and the theoretical current value Preset difference value determines there is the hardware module to break down in multiple predetermined hardware modules of the intelligent terminal.
In a preferred embodiment, the system also includes:
Second decision sub-module, for being not less than when each present current value and the difference of the theoretical current value Corresponding first preset difference value determines that the second class hardware module of one or more of the multiple predetermined hardware module occurs Therefore.
In a preferred embodiment, the system also includes:
Load switch module, for cutting off the power supply of each the second class hardware mould in turn;
Second current value obtains module, in the standby state, obtaining cut off each described second class hardware respectively Present current value after module for power supply in the electric network of the intelligent terminal;
Third judgment module, for judging the electricity of the intelligent terminal under each described present current value and standby mode Whether the difference of the theoretical current value in network is less than corresponding third preset difference value;
Second determination module, for working as one of present current value with the difference of the theoretical current value less than corresponding Third preset difference value determines that the second class hardware module of the corresponding present current value breaks down.
In a preferred embodiment, the second class hardware module passes through Power Management Unit respectively and is connected to the intelligence In the electric network of terminal, the first kind hardware module is connected in the electric network of the intelligent terminal by load switch.
By above-mentioned hardware failure detection system, the detection of intelligence can be carried out for above-mentioned third class hardware fault, is allowed Intelligent terminal carries out self-test, judges the predetermined hardware module to break down, and guidance user carries out subsequent processing.
Preferably, the hardware failure detection system that the embodiment of the present invention proposes may be implemented to above-mentioned third class hardware fault The detection for carrying out intelligence allows intelligent terminal to carry out self-test, the problem of judging hardware fault, and provide user's testing result and Reasonable solution and suggestion.The present invention can effectively eliminate the worry of user, improve user experience, and for having really The problem of hardware fault, provides solution and suggests, intelligent terminal is made to embody intelligence in terms of hardware detection, and it is satisfied to improve user Degree.
Yet another embodiment of the invention proposes a kind of intelligent terminal, as shown in Figure 1, including power supply unit 10, current sample list Member 20, multiple first kind hardware module 31-33, multiple load switch S1-S4, current management unit 50 and processor 60;
Said supply unit 10 is connected to the multiple first kind hardware module by multiple load switch S1-S4 respectively 31-33;
The current sampling unit 20 is connected to said supply unit 10, to sample the electricity in said supply unit 10 Stream;
The processor 60 is connected to the multiple load switch S1-S4 and the current management unit 50, to control The closing or opening of each load switch, after each load switch disconnects, the processor 60 is by the current management Present current value in unit 50 works as institute compared with the theoretical current value on the electric network of the intelligent terminal in the standby state It states present current value and is less than corresponding first preset difference value with the difference of the theoretical current value, judge disconnected load switch Corresponding first kind hardware module breaks down.
In a preferred embodiment, the intelligent terminal further includes multiple second class hardware module 34-37, and the power supply is single Member 20 is connected to multiple second class hardware module 34-37 by Power Management Unit 50, includes in the Power Management Unit 50 To control the load switch of each second class hardware module 34-37 opening and closing, these load switches can be contact, Its on-off is controlled by processor 60.The processor 60 is connected to the Power Management Unit 50, when each described load is opened Shutdown open after, the processor 60 by the current management unit 50 present current value and the intelligent terminal electric network On theoretical current value in the standby state compare, when the present current value be less than with the difference of the theoretical current value it is corresponding Third preset difference value, judge that the disconnected corresponding second class hardware module of load switch breaks down.
Fault detection method to a kind of hardware provided by the present invention and detection system and intelligent terminal above carry out It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Explanation be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion in this specification Appearance should not be construed as limiting the invention.

Claims (13)

1. a kind of hardware module fault detection method of intelligent terminal characterized by comprising
Judge in multiple predetermined hardware modules of the intelligent terminal with the presence or absence of the hardware module to break down;
When judging there is the hardware module to break down in the multiple predetermined hardware module, cut off in turn the multiple default The power supply of each of hardware module first kind hardware module;
In the standby state, respectively obtain cut off each first kind hardware module power supply after the intelligent terminal electricity Present current value in network;
The theoretical current value under standby mode in the electric network of the intelligent terminal is obtained, and judges each described current flow Whether value is less than corresponding first preset difference value with the difference of the theoretical current value;
When one of them described present current value is less than corresponding first preset difference value, judgement with the difference of the theoretical current value The first kind hardware module of the corresponding present current value breaks down;
When each present current value is not less than corresponding first preset difference value with the difference of the theoretical current value, determine The second class hardware module of one or more of the multiple predetermined hardware module breaks down.
2. fault detection method as described in claim 1, which is characterized in that when determining described the of the corresponding present current value After a kind of hardware module breaks down, the method also includes:
Display reminding content, the suggestion content include the shadow that the first kind hardware module breaks down to the intelligent terminal Loud and/or solution.
3. fault detection method as described in claim 1, which is characterized in that the multiple of the judgement intelligent terminal preset Include: with the presence or absence of the step of hardware module to break down in hardware module
Obtain the actual current value and theoretical current value under standby mode in the electric network of the intelligent terminal;
Judge whether the actual current value and the difference of the theoretical current value are greater than the second preset difference value;
When the difference of the actual current value and the theoretical current value is greater than second preset difference value, the judgement intelligence is eventually There is the hardware module to break down in multiple predetermined hardware modules at end.
4. fault detection method as described in claim 1, which is characterized in that when in the multiple predetermined hardware module of judgement After one or more second class hardware modules break down, the method also includes:
The power supply of each the second class hardware module is cut off in turn;
In the standby state, the power grid of the intelligent terminal after cutting off each described second class hardware module power supply is obtained respectively Present current value in network;
The theoretical current value under standby mode in the electric network of the intelligent terminal is obtained, and judges each described current flow Whether value is less than corresponding third preset difference value with the difference of the theoretical current value;
When one of present current value is less than corresponding third preset difference value with the difference of the theoretical current value, judgement is corresponded to The second class hardware module of the present current value breaks down.
5. fault detection method as claimed in claim 4, which is characterized in that the second class hardware module passes through power supply respectively Administrative unit is connected in the electric network of the intelligent terminal, and the first kind hardware module is connected to described by load switch In the electric network of intelligent terminal.
6. a kind of hardware module fault detection system of intelligent terminal characterized by comprising
First judgment module, it is hard with the presence or absence of breaking down in multiple predetermined hardware modules for judging the intelligent terminal Part module;
First switch module, for taking turns when judging there is the hardware module to break down in the multiple predetermined hardware module Stream cuts off the power supply of each of the multiple predetermined hardware module first kind hardware module;
First current value obtains module, in the standby state, obtaining cut off each described first kind hardware module respectively Power supply after the intelligent terminal electric network in present current value;
Second judgment module for obtaining the theoretical current value under standby mode in the electric network of the intelligent terminal, and judges Whether each described present current value is less than corresponding first preset difference value with the difference of the theoretical current value;
First determination module, for working as one of them described present current value with the difference of the theoretical current value less than corresponding First preset difference value determines that the first kind hardware module of the corresponding present current value breaks down;
Second decision sub-module, for when each present current value be not less than with the difference of the theoretical current value it is corresponding The first preset difference value, determine that the second class hardware module of one or more of the multiple predetermined hardware module breaks down.
7. fault detection system as claimed in claim 6, which is characterized in that the system also includes:
Information display module is used for display reminding content, and the suggestion content includes that the first kind hardware module breaks down Influence and/or solution to the intelligent terminal.
8. fault detection system as claimed in claim 6, which is characterized in that the first judgment module includes:
Acquisition submodule, for obtaining actual current value and theoretical current under standby mode in the electric network of the intelligent terminal Value;
First judging submodule, for judging it is pre- whether the difference of the actual current value and the theoretical current value is greater than second If difference;
It is default to be greater than described second for the difference when the actual current value and the theoretical current value for first decision sub-module Difference determines there is the hardware module to break down in multiple predetermined hardware modules of the intelligent terminal.
9. fault detection system as claimed in claim 6, which is characterized in that the fault detection system further include:
Load switch module, for cutting off the power supply of each the second class hardware module in turn;
Second current value obtains module, in the standby state, obtaining cut off each described second class hardware module respectively Present current value after power supply in the electric network of the intelligent terminal;
Third judgment module, for judging the electric network of the intelligent terminal under each described present current value and standby mode In the difference of theoretical current value whether be less than corresponding third preset difference value;
Second determination module, for being less than corresponding third with the difference of the theoretical current value when one of present current value Preset difference value determines that the second class hardware module of the corresponding present current value breaks down.
10. fault detection system as claimed in claim 9, which is characterized in that the second class hardware module passes through electricity respectively Source control unit is connected in the electric network of the intelligent terminal, and the first kind hardware module is connected to institute by load switch It states in the electric network of intelligent terminal.
11. a kind of intelligent terminal, which is characterized in that including power supply unit, current sampling unit, multiple first kind hardware modules, Multiple load switches, current management unit and processor;
Said supply unit is connected to the multiple first kind hardware module by multiple load switches respectively;
The current sampling unit is connected to said supply unit, to sample the electric current in said supply unit;
The current management unit is connected to the current sampling unit, for reading the current electricity on the current sampling unit Flow valuve;
The processor is connected to the multiple load switch and the current management unit, to control each load switch Closing or opening, when each load switch disconnect after, the processor will be current in the current management unit Current value is compared with the theoretical current value on the supply network of the intelligent terminal in the standby state, when the present current value It is less than corresponding first preset difference value with the difference of the theoretical current value, determines the disconnected corresponding first kind of load switch Hardware module breaks down;When each present current value is not less than corresponding first with the difference of the theoretical current value Preset difference value determines that the second class hardware module of one or more of the multiple predetermined hardware module breaks down.
12. intelligent terminal as claimed in claim 11, which is characterized in that the intelligent terminal further includes multiple second class hardware Module, the multiple second class hardware module are connected to said supply unit, the power management list by Power Management Unit It include the load switch opened and closed to control each described second class hardware module in member, the processor is connected to The Power Management Unit, after each load switch disconnects, the processor will be in the current management unit Present current value is compared with the theoretical current value on the supply network of the intelligent terminal in the standby state, when the current electricity The difference of flow valuve and the theoretical current value is less than third preset difference value, determines that disconnected corresponding second class of load switch is hard Part module breaks down.
13. intelligent terminal as claimed in claim 12, which is characterized in that said supply unit and the Power Management Unit it Between be connected with the load switch.
CN201610066387.XA 2016-01-29 2016-01-29 Hardware fault detection method, detection system and the intelligent terminal of intelligent terminal Active CN105842554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610066387.XA CN105842554B (en) 2016-01-29 2016-01-29 Hardware fault detection method, detection system and the intelligent terminal of intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610066387.XA CN105842554B (en) 2016-01-29 2016-01-29 Hardware fault detection method, detection system and the intelligent terminal of intelligent terminal

Publications (2)

Publication Number Publication Date
CN105842554A CN105842554A (en) 2016-08-10
CN105842554B true CN105842554B (en) 2019-01-11

Family

ID=56586808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610066387.XA Active CN105842554B (en) 2016-01-29 2016-01-29 Hardware fault detection method, detection system and the intelligent terminal of intelligent terminal

Country Status (1)

Country Link
CN (1) CN105842554B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108400621A (en) * 2017-02-07 2018-08-14 中兴通讯股份有限公司 The detection method and device of charge fault
US10830828B2 (en) 2017-08-25 2020-11-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device and battery safety monitoring method and monitoring system thereof
WO2019037114A1 (en) 2017-08-25 2019-02-28 深圳市云中飞网络科技有限公司 Terminal device and battery safety monitoring method and monitoring system therefor
CN107797047B (en) * 2017-09-27 2020-07-17 深圳和而泰智能控制股份有限公司 Load state detection method and device and electronic equipment
CN108254703A (en) * 2017-12-28 2018-07-06 上海传英信息技术有限公司 A kind of computer readable storage medium and mobile terminal for the lamp test that glistens
CN108332353B (en) * 2018-01-22 2019-10-22 珠海格力电器股份有限公司 Load state detecting method, device and circuit, air-conditioner controller
JP7039377B2 (en) * 2018-04-18 2022-03-22 キヤノン株式会社 Information processing device, control method of information processing device, and program
CN109151144B (en) * 2018-08-14 2020-12-29 深圳市广和通无线通信软件有限公司 Hardware management method, device, system, computer equipment and storage medium
CN110514927B (en) * 2019-08-16 2022-04-22 惠州Tcl移动通信有限公司 Device abnormality detection method for mobile terminal, and computer-readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101750162A (en) * 2009-11-12 2010-06-23 华为终端有限公司 Method, device and terminal for detection of terminal abnormal heating
CN103176091A (en) * 2011-12-21 2013-06-26 深圳富泰宏精密工业有限公司 System and method for electric leakage detection of electronic device
CN104111384A (en) * 2013-04-18 2014-10-22 鸿富锦精密工业(深圳)有限公司 Electronic device testing system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0834705B2 (en) * 1988-11-16 1996-03-29 株式会社大林組 Switch
KR100968350B1 (en) * 2007-08-08 2010-07-08 주식회사 엘지화학 Apparatus and Method for sensing leakage current of battery
KR101585940B1 (en) * 2011-03-03 2016-01-18 삼성전자 주식회사 Fault detection device, electrical instrument and method for fault detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101750162A (en) * 2009-11-12 2010-06-23 华为终端有限公司 Method, device and terminal for detection of terminal abnormal heating
CN103176091A (en) * 2011-12-21 2013-06-26 深圳富泰宏精密工业有限公司 System and method for electric leakage detection of electronic device
CN104111384A (en) * 2013-04-18 2014-10-22 鸿富锦精密工业(深圳)有限公司 Electronic device testing system and method

Also Published As

Publication number Publication date
CN105842554A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN105842554B (en) Hardware fault detection method, detection system and the intelligent terminal of intelligent terminal
CN104777888B (en) Coordinate the energy consumption in control reduction computer system by the software and hardware of more power supplys
US7050837B2 (en) Mobile communication terminal apparatus including moisture detection
EP2658231B1 (en) Energy-saving device and method for portable terminal
US20010011883A1 (en) Battery pack
CN101939889B (en) Earth leakage detection method
CN104021036B (en) A kind of electronic equipment and state of electronic equipment switching method
US20030111911A1 (en) Power control circuit with power-off time delay control for microprocessor-based system
CN104965139A (en) Method and terminal for intelligently detecting adapter performance
JP2009289005A (en) Method of testing computer, and computer system
CN106771517A (en) A kind of mobile terminal and its display screen over-current detecting method and system
CN103576092A (en) Remote controller and device and method for detecting electricity capacity of battery of remote controller
CN109900990B (en) Wearable equipment complete machine current testing method
CN100458660C (en) Portable computer and controlling method thereof
CN109950879B (en) Charging protection device and method for power utilization circuit and circuit with charging protection function
KR101601323B1 (en) Method for detecting switch input in the sleep mode
US20060132097A1 (en) Smart battery simulator
CN106372502A (en) Application closure limiting method and apparatus, and terminal
CN103109386B (en) For reducing equipment and the method for the energy ezpenditure in the monitoring component of multiple piezoelectric element
CN107634577A (en) Outage detection control circuit and gas meter, flow meter
CN211478544U (en) BMS protection board test system
CN101820165B (en) Power device for alarm system
CN110994052B (en) Method and device for prolonging battery endurance, storage medium and terminal equipment
CN107643494A (en) A kind of memory supply network is for electric battery check device and method
CN100399668C (en) Intelligent battery simulating device

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