The content of the invention
In order to overcome drawbacks described above technical solution provided by the invention as follows:
A kind of mobile terminal electrical leakage detecting method, including:Step S01 obtains mobile terminal standby substrate current;Step S02
The standby substrate current is compared with substrate current reference data;Step S03 judges according to comparing result, described standby
When substrate current is more than one setting value of substrate current reference data, the operating voltage of mobile terminal peripheral components is detected;Step
The operating voltage of peripheral components is compared with operating voltage reference data described in rapid S04;When the work electricity of the peripheral components
When pressure is more than the operating voltage reference data, performs step S07 and determine the peripheral components electric leakage.
This patent is completed according to electric current, and the comparison of voltage determines the presence of mobile terminal peripheral component electric leakage, facilitates inspection
Survey personnel carry out the lookup of next step.
A kind of mobile terminal electrical leakage detecting method, including:Step S01 obtains mobile terminal standby substrate current;Step S02
The standby substrate current is compared with substrate current reference data;Step S03 judges according to comparing result, described standby
When substrate current is more than one setting value of substrate current reference data, the operating voltage of mobile terminal peripheral components is detected;Step
The operating voltage of peripheral components is compared with operating voltage reference data described in rapid S04;Step S05 detects the peripheral device
GPIO working conditions used in part;The GPIO operating state datas compared with GPIO reference datas, are worked as GPIO by step S06
When state is inconsistent, performs step S07 and determine the peripheral components electric leakage.
This patent is completed through the comparison to GPIO working conditions, and the component to leak electricity specifically occurs in locking, investigates problem
When it is more specifically careful.
Further, further include step S071 and obtain the electric leakage peripheral component title.
Further, further include step S072 and obtain the mobile terminal peripheral components in the position of internal circuit board, generation
The mobile terminal peripheral components position coordinates figure.
Further, step S073 is further included according to the electric leakage peripheral component title in the mobile terminal peripheral components
The electric leakage component specific location is obtained on position coordinates figure.
Further, further include step S074 and preserve the electric leakage peripheral component specific location.
Mobile terminal peripheral component position coordinates figure is established by more than patent step S071 to step S074 completions, is made
Its detection work is more convenient, and work efficiency significantly increases, intelligent.
Further, further include before the step S01 and obtain the mobile terminal standby substrate current reference data, described
Operating voltage reference data, the GPIO reference datas simultaneously preserve.
This patent realizes the archive of reference data, convenient to be compared with detection data, finds out the member of electric leakage faster
Device.
A kind of mobile terminal of electrical leakage detecting method, which is characterized in that including:Standby data acquisition module, described in acquisition
Mobile terminal standby substrate current reference data, the peripheral circuit operating voltage reference data, the GPIO reference datas, institute
State mobile terminal standby substrate current data, the peripheral circuit operating voltage data, the GPIO data;Electric leakage judges mould
Block is electrically connected with the standby data acquisition module, according to the data message of the standby data acquisition module and standby benchmark
Data are compared;Electric leakage device determining module is electrically connected with the electric leakage judgment module, true according to the electric leakage judgment module
The title of the fixed component, determines its position coordinates.
This patent completes the detection means of basic problem, preliminary the reason for judging electric leakage, testing staff is facilitated to examine in next step
The lookup of survey.
A kind of mobile terminal of electrical leakage detecting method, which is characterized in that including:Standby data acquisition module, described in acquisition
Mobile terminal standby substrate current reference data, the peripheral circuit operating voltage reference data, the GPIO reference datas, institute
State mobile terminal standby substrate current data, the peripheral circuit operating voltage data, the GPIO data;Electric leakage judges mould
Block is electrically connected with the standby data acquisition module, according to the data message of the standby data acquisition module and standby benchmark
Data are compared;Electric leakage device determining module is electrically connected with the electric leakage judgment module, true according to the electric leakage judgment module
The title of the fixed component, determines its position coordinates.Electric leakage information preserving module is electrically connected with the electric leakage device determining module
It connects, preserves the title of the component.
This patent completes the title of specific electric leakage component, the position clear and definite that testing staff is preserved by information of leaking electricity
The device for knowing repair, to detection work bring positive effect;This patent realizes the archive of reference data simultaneously, convenient
It is compared with detection data, finds out the component of electric leakage faster.
Further, it is described electric leakage device determining module further include component locations index module, according to the mobile terminal outside
Peripheral device obtains the mobile terminal peripheral components position coordinates figure in the position of internal circuit board.
Mobile terminal peripheral component position coordinates figure is established in this patent completion, makes its detection work more convenient,
Work efficiency significantly increases, intelligent.
Compared with prior art, pin of the present invention is not required user to tear machine open, and mobile phone can be automatic during user usually use
Detection.If it find that mobile phone electric leakage is abnormal, user can be notified in time.In addition, this method is the detection standby when, to mobile phone
The operation burden of system can almost be ignored, and the performance of mobile phone will not be had an impact, mobile phone power consumption will not be increased.
User can check voluntarily mobile phone behaviour in service, while decrease the mistaken ideas judged electrical leakage problems of service personnel, in order to avoid
It is unnecessary to dismantle the damage for causing other components.
Specific embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below
The specific embodiment of the present invention.It should be evident that the accompanying drawings in the following description is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented
Its practical structures as product.In addition, so that simplified form readily appreciates, there is identical structure or function in some figures
Component only symbolically depicts one of those or has only marked one of those.Herein, "one" is not only represented
" only this " can also represent the situation of " more than one ".
The step of Fig. 1 is a kind of mobile terminal electrical leakage detecting method of patent of the present invention is schemed, as shown in Figure 1, it is a kind of it is mobile eventually
End electrical leakage detecting method includes:Step S01 obtains mobile terminal standby substrate current;Step S02 is by standby substrate current with serving as a contrast
Bottom current reference data is compared;Step S03 judges that standby substrate current is more than substrate current base value according to comparing result
During according to a setting value, the operating voltage of mobile terminal peripheral components is detected;The operating voltage of step S04 peripheral components and work electricity
Pressure reference data is compared;When the operating voltage of peripheral components is more than operating voltage reference data, performs step S07 and determine
Peripheral components leak electricity.
Specifically, mobile terminal includes, personal computer, tablet computer, mobile phone etc.;In the present embodiment using mobile phone as
Example illustrates;When mobile phone, frequent power consumption is lost in quickly in use, is often repeatedly shown not enough power supply, is needed at this time
It carries out maintenance;Method so provided in this embodiment is:When mobile phone is when not used from being advanced into standby mode namely battery saving mode,
Initially enter self-test state at this time, detect first mobile phone into it is standby when total current size, while base during with dispatching from the factory
Quasi- electric current is compared, first, so when the reason for total current is more than a certain calibration value, illustrates that total power consumption increases, causes electric leakage
Start to detect whether some device operating voltages of each periphery increase afterwards, do not replaced in component, voltage increase, electricity
Stream increase illustrate the component have it is abnormal happen, when operating voltage value relative increase demarcate, substantially definite this is outer
Component is enclosed to leak electricity.
In the present embodiment according to electric current, the comparison of voltage determines the presence of mobile terminal peripheral component electric leakage, convenient
Testing staff carries out the lookup of next step.
Fig. 2 is a kind of another exemplary plot of mobile terminal electrical leakage detecting method of patent of the present invention, a kind of movement as shown in Figure 2
Terminal electrical leakage detecting method, including:Step S01 obtains mobile terminal standby substrate current;Step S02 by standby substrate current with
Substrate current reference data is compared;Step S03 judges that standby substrate current is more than substrate current benchmark according to comparing result
During one setting value of data, the operating voltage of mobile terminal peripheral components is detected;The operating voltage of step S04 peripheral components and work
Voltage reference data are compared;Step S05 detects GPIO working conditions used in peripheral components;Step S06 is by GPIO works
Make status data compared with GPIO reference datas, when GPIO states are inconsistent, perform step S07 and determine that peripheral components leak electricity.
Specifically, on the basis of a upper embodiment, in the present embodiment, mobile phone is into after standby, substrate current, work electricity
Pressure, is voluntarily detected using the good program of power management chip inner setting, has compared the work that voltage value is more than calibration
When making voltage, to GPIO (General Purpose Input Outpu, that is, universal input/output) working conditions with demarcating right
Than preparing to determine electric leakage component.
The present embodiment is completed through the comparison to GPIO working conditions, and locking specifically the component to leak electricity occurs, and investigation is asked
It is more specifically careful during topic.
Fig. 3 is a kind of another exemplary plot of mobile terminal electrical leakage detecting method of patent of the present invention, a kind of movement as shown in Figure 3
Terminal electrical leakage detecting method, step S07 determine that peripheral components electric leakage further includes step S071 and obtains the electric leakage peripheral component name
Claim;Step S072 obtains mobile terminal peripheral components in the position of internal circuit board, and generation mobile terminal peripheral components position is sat
It marks on a map;Step S073 obtains the first device of electric leakage according to electric leakage peripheral component title on mobile terminal peripheral components position coordinates figure
Part specific location;Step S074 preserves electric leakage peripheral component specific location.
Specifically, in a upper embodiment, detect that electric leakage component is also searched for convenience of testing staff, also on mobile phone
Establish the title that file preserves the electric leakage component, the coordinate position that place mobile phone PCB makes a plate on figure, it is illustrated that in a manner of picture
It preserves, is marked in the coordinate position of electric leakage component with special color, reduces the workload of testing staff, while in order to avoid
During dismounting electric leakage component, other components are damaged.Previous existence is dispatched from the factory into the position coordinates figure of peripheral component and right in mobile phone
The title for the component answered distributes storage of certain space convenient for detection, when mobile phone breaks down such as in mobile phone EMS memory
Opening this document folder (/sdcard/leakage_devices/) can easily find definite.
Mobile terminal peripheral component position coordinates figure is established in the present embodiment completion, it is made to detect work more convenient fast
Victory, work efficiency significantly increase, intelligent.
Further, further included before step S01 and obtain mobile terminal standby substrate current reference data, operating voltage benchmark
Data, GPIO reference datas simultaneously preserve.
Specifically, preserve original factory nominal data.
Fig. 4 is a kind of mobile terminal structure figure of patent electrical leakage detecting method of the present invention, as shown in figure 4, detection of electrical leakage side
A kind of mobile terminal of method, including:Standby data acquisition module 4 obtains mobile terminal standby substrate current reference data, periphery
Circuit voltage reference data, GPIO reference datas, mobile terminal standby substrate current data, peripheral circuit operating voltage number
According to, GPIO data;Leak electricity judgment module 2, is electrically connected with standby data acquisition module, according to the data of standby data acquisition module
Information is compared with standby reference data;Electric leakage device determining module 3 is electrically connected with electric leakage judgment module, is sentenced according to electric leakage
Disconnected module determines the title of component, determines its position coordinates.
The present embodiment completes the detection means of basic problem, and preliminary the reason for judging electric leakage facilitates testing staff in next step
The lookup of detection.
Fig. 5 is a kind of another structure chart of mobile terminal of patent electrical leakage detecting method of the present invention, as shown in figure 5, electric leakage inspection
A kind of mobile terminal of survey method, including:Standby data acquisition module 1, acquisition mobile terminal standby substrate current reference data,
Peripheral circuit operating voltage reference data, GPIO reference datas, mobile terminal standby substrate current data, peripheral circuit work electricity
Press data, GPIO data;Leak electricity judgment module 2, is electrically connected with standby data acquisition module, according to standby data acquisition module
Data message is compared with standby reference data;Electric leakage device determining module 3 is electrically connected with electric leakage judgment module, according to leakage
Electric judgment module determines the title of component, determines its position coordinates.Information of leaking electricity preserving module 4 determines mould with electric leakage device
Block is electrically connected, and preserves the title of component.
Specifically, the present embodiment completes the title of specific electric leakage component, the position that testing staff is preserved by information of leaking electricity
The device for knowing repair of clear and definite is put, positive effect is brought to detection work;This patent realizes reference data simultaneously
Archive, it is convenient to be compared with detecting data, find out the component of electric leakage faster.
Further, electric leakage device determining module further includes component locations index module, exists according to mobile terminal peripheral components
The position of internal circuit board obtains mobile terminal peripheral components position coordinates figure.
Specifically, mobile terminal peripheral component position coordinates figure is established in the present embodiment completion, it is made to detect work more
Convenient and efficient, work efficiency significantly increases, intelligent.
Fig. 6 is a kind of another structure chart of mobile terminal of patent electrical leakage detecting method of the present invention, as shown in Figure 6;Function is retouched
It states:
In the present embodiment, when user mobile phone component leaks electricity, convenient for reminding user in time, in addition conveniently sell
After carry out maintenance.
Substrate current detection module 5, mobile phone detect the power consumption condition of mobile phone by power management chip into after standby,
Detect standby substrate current.By the substrate current of measurement compared with baseline values.If it find that power consumption is abnormal, standby substrate current
Assuming that increasing more than 2mA, then operating voltage detection module is notified.
It is each outer to mobile phone further to detect power management chip by power management chip for operating voltage detection module 6
The supply voltage of peripheral device.By each peripheral components supply voltage measured compared with basic data, if it find that work electricity
Pressure power supply increase more than 0.5v, wherein, operating voltage can be read out voltage by reading LDO (low pressure difference linear voltage regulator)
Value, then record the peripheral components title and notify GPIO detection modules.
GPIO detection modules 7, detection supply voltage exception device use the working condition of GPIO, the GPIO that will be measured
Data are compared with basic data, if GPIO states are different, record the peripheral components title and electric leakage is notified to judge mould
Block.
Leak electricity judgment module 8, according to substrate current detection module, operating voltage detection module, GPIO detection modules ratio
Compared with as a result, judging whether peripheral components leak electricity.If electric leakage, the title of abnormal component is recorded, then in mobile phone
It is marked in peripheral components circuit board position coordinate diagram with red boxes.Such as abnormal component title and coordinate diagram are preserved
User is notified under mobile phone/sdcard/leakage_devices/ files, and to pop up box form, and pop-up box display is abnormal
The title of component and peripheral components circuit board position coordinate diagram.
It should be noted that above-described embodiment can be freely combined as needed.The above is only the preferred of the present invention
Embodiment, it is noted that for those skilled in the art, do not departing from the premise of the principle of the invention
Under, several improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.