Summary of the invention
As follows in order to overcome above-mentioned defect technical scheme provided by the invention:
A kind of mobile terminal electrical leakage detecting method, comprising: step S01 obtains mobile terminal standby substrate current; Described standby substrate current and substrate current reference data contrast by step S02; Step S03 judges according to comparing result, when described standby substrate current is greater than described substrate current reference data one set point, detects the operating voltage of mobile terminal peripheral components; Operating voltage and the operating voltage reference data of peripheral components described in step S04 contrast; When the operating voltage of described peripheral components is greater than described operating voltage reference data, performs step S07 and determine that described peripheral components leaks electricity.
This patent completes according to electric current, and the existence that mobile terminal peripheral component leaks electricity is determined in the contrast of voltage, facilitates testing staff to carry out searching of next step.
A kind of mobile terminal electrical leakage detecting method, comprising: step S01 obtains mobile terminal standby substrate current; Described standby substrate current and substrate current reference data contrast by step S02; Step S03 judges according to comparing result, when described standby substrate current is greater than described substrate current reference data one set point, detects the operating voltage of mobile terminal peripheral components; Operating voltage and the operating voltage reference data of peripheral components described in step S04 contrast; Step S05, detects the GPIO operating state that described peripheral components uses; Described GPIO operating state data compares with GPIO reference data by step S06, when GPIO state is inconsistent, performs step S07 and determines that described peripheral components leaks electricity.
This patent completes by the contrast to GPIO operating state, the concrete components and parts occurring electric leakage of locking, more specifically careful during investigation problem.
Further, also comprise step S071 and obtain this electric leakage peripheral component title.
Further, also comprise step S072 and obtain described mobile terminal peripheral components in the position of internal circuit board, generate described mobile terminal peripheral components position coordinates figure.
Further, also comprise step S073 and on described mobile terminal peripheral components position coordinates figure, obtain described electric leakage components and parts particular location according to described electric leakage peripheral component title.
Further, also comprise step S074 and preserve described electric leakage peripheral component particular location.
Completed by above patent step S071 to step S074 and set up mobile terminal peripheral component position coordinates figure, make its testing more convenient, operating efficiency significantly increases, intelligent.
Further, also comprise before described step S01 and obtain described mobile terminal standby substrate current reference data, described operating voltage reference data, described GPIO reference data preserving.
This patent achieves the file of reference data, and convenient and detection data are compared, and find out the components and parts of electric leakage faster.
A kind of mobile terminal of electrical leakage detecting method, it is characterized in that, comprise: standby data acquisition module, obtain described mobile terminal standby substrate current reference data, described peripheral circuit operating voltage reference data, described GPIO reference data, described mobile terminal standby substrate current data, described peripheral circuit operating voltage data, described GPIO data; Electric leakage judge module, is electrically connected with described standby data acquisition module, compares according to the data message of described standby data acquisition module and standby reference data; Electric leakage device determination module, is electrically connected with described electric leakage judge module, determines the title of described components and parts, determine its position coordinates according to described electric leakage judge module.
This patent completes the detection means of basic problem, and the preliminary reason judging electric leakage, facilitates searching of next step detection of testing staff.
A kind of mobile terminal of electrical leakage detecting method, it is characterized in that, comprise: standby data acquisition module, obtain described mobile terminal standby substrate current reference data, described peripheral circuit operating voltage reference data, described GPIO reference data, described mobile terminal standby substrate current data, described peripheral circuit operating voltage data, described GPIO data; Electric leakage judge module, is electrically connected with described standby data acquisition module, compares according to the data message of described standby data acquisition module and standby reference data; Electric leakage device determination module, is electrically connected with described electric leakage judge module, determines the title of described components and parts, determine its position coordinates according to described electric leakage judge module.Electric leakage information preserves module, is electrically connected, preserves the title of described components and parts with described electric leakage device determination module.
This patent completes the title of concrete electric leakage components and parts, and the device knowing maintenance of the position clear and definite that testing staff is preserved by electric leakage information, brings positive effect to testing; This patent achieves the file of reference data simultaneously, and convenient and detection data are compared, and find out the components and parts of electric leakage faster.
Further, described electric leakage device determination module also comprises component locations index module, according to described mobile terminal peripheral components in the position of internal circuit board, obtains described mobile terminal peripheral components position coordinates figure.
This patent completes sets up mobile terminal peripheral component position coordinates figure, and make its testing more convenient, operating efficiency significantly increases, intelligent.
Compared with prior art, pin of the present invention does not need user to tear machine open, and mobile phone can automatically detect in user's every day use process.If find that mobile phone electric leakage is abnormal, user can be notified in time.In addition, the method is the detection standby time, almost can ignore, can not have an impact, also can not increase mobile phone power consumption the serviceability of mobile phone the operation burden of cell phone system.User can check mobile phone behaviour in service voluntarily, decreases the mistaken ideas judged electrical leakage problems of maintainer, in order to avoid unnecessary dismounting causes the damage of other components and parts simultaneously.
Embodiment
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, contrast accompanying drawing is illustrated the specific embodiment of the present invention below.Apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings, and obtain other execution mode.
For making simplified form, only schematically show part related to the present invention in each figure, they do not represent its practical structures as product.In addition, be convenient to make simplified form understand, there are the parts of same structure or function in some figure, only schematically depict one of them, or only marked one of them.In this article, " one " not only represents " only this ", also can represent the situation of " more than one ".
Fig. 1 is the block diagram of a kind of mobile terminal electrical leakage detecting method of patent of the present invention, and as shown in Figure 1, a kind of mobile terminal electrical leakage detecting method comprises: step S01 obtains mobile terminal standby substrate current; Standby substrate current and substrate current reference data contrast by step S02; Step S03 judges according to comparing result, when standby substrate current is greater than substrate current reference data one set point, detects the operating voltage of mobile terminal peripheral components; Operating voltage and the operating voltage reference data of step S04 peripheral components contrast; When the operating voltage of peripheral components is greater than operating voltage reference data, performs step S07 and determine that peripheral components leaks electricity.
Concrete, mobile terminal comprises, personal computer, panel computer, mobile phone etc., be described for mobile phone in the present embodiment, when mobile phone, in use often power consumption loss is very fast, often repeatedly shows electricity not enough, now needs to keep in repair, the method that so the present embodiment provides is: when mobile phone, the used time does not enter standby mode voluntarily, also be battery saving mode, now start to enter self-inspection state, first the total current size of detection of handset when entering standby, contrast with reference current when dispatching from the factory simultaneously, when total current is greater than a certain calibration value, illustrate that total power consumption increases, cause the reason one of electric leakage, whether some device operating voltages then starting to detect each periphery increase, do not change at components and parts, voltage increases, electric current increases these components and parts of explanation has abnormal situation to occur, when operational voltage value increases certain timing signal relatively, roughly determine that this peripheral component leaks electricity.
In the present embodiment according to electric current, the existence that mobile terminal peripheral component leaks electricity is determined in the contrast of voltage, facilitates testing staff to carry out searching of next step.
Fig. 2 is the another exemplary plot of a kind of mobile terminal of patent of the present invention electrical leakage detecting method, as shown in Figure 2 a kind of mobile terminal electrical leakage detecting method, comprising: step S01 obtains mobile terminal standby substrate current; Standby substrate current and substrate current reference data contrast by step S02; Step S03 judges according to comparing result, when standby substrate current is greater than substrate current reference data one set point, detects the operating voltage of mobile terminal peripheral components; Operating voltage and the operating voltage reference data of step S04 peripheral components contrast; Step S05, detects the GPIO operating state that peripheral components uses; GPIO operating state data compares with GPIO reference data by step S06, when GPIO state is inconsistent, performs step S07 and determines that peripheral components leaks electricity.
Concrete, on the basis of a upper embodiment, in the present embodiment, mobile phone enter standby after, substrate current, operating voltage, all utilize the good program of power management chip inner setting to detect voluntarily, contrast magnitude of voltage when being greater than the operating voltage of demarcation, GPIO (GeneralPurposeInputOutpu and universal input/output) operating state contrast with demarcating, is preparing to determine electric leakage components and parts.
The present embodiment completes by the contrast to GPIO operating state, the concrete components and parts occurring electric leakage of locking, more specifically careful during investigation problem.
Fig. 3 is the another exemplary plot of a kind of mobile terminal of patent of the present invention electrical leakage detecting method, as shown in Figure 3 a kind of mobile terminal electrical leakage detecting method, and step S07 determines that peripheral components electric leakage also comprises step S071 and obtains this electric leakage peripheral component title; Step S072 obtains mobile terminal peripheral components in the position of internal circuit board, generates mobile terminal peripheral components position coordinates figure; Step S073 obtains electric leakage components and parts particular location according to electric leakage peripheral component title on mobile terminal peripheral components position coordinates figure; Step S074 preserves electric leakage peripheral component particular location.
Concrete, in a upper embodiment, detect that electric leakage components and parts are also searched for convenience of testing staff, on mobile phone, also set up the title that these electric leakage components and parts preserved by file, the coordinate position on place mobile phone PCB plate-making figure, illustrates and preserves in the mode of picture, mark with special color at the coordinate position of electric leakage components and parts, reduce the workload of testing staff, during components and parts, damage other components and parts in order to avoid dismounting is leaked electricity simultaneously.The position coordinates figure of peripheral component is generated before mobile phone dispatches from the factory, and the title of the components and parts of correspondence, in mobile phone EMS memory, distribute the storage that certain space is convenient to detect, just can find easily when mobile phone breaks down determine as opened this file (/sdcard/leakage_devices/).
The present embodiment completes sets up mobile terminal peripheral component position coordinates figure, and make its testing more convenient, operating efficiency significantly increases, intelligent.
Further, also comprise before step S01 and obtain mobile terminal standby substrate current reference data, operating voltage reference data, GPIO reference data preserving.
Concrete, 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, a kind of mobile terminal of electrical leakage detecting method, comprise: standby data acquisition module 4, obtain mobile terminal standby substrate current reference data, peripheral circuit operating voltage reference data, GPIO reference data, mobile terminal standby substrate current data, peripheral circuit operating voltage data, GPIO data; Electric leakage judge module 2, is electrically connected with standby data acquisition module, compares according to the data message of standby data acquisition module and standby reference data; Electric leakage device determination module 3, is electrically connected with electric leakage judge module, according to the title of electric leakage judge module determination components and parts, determines its position coordinates.
The present embodiment completes the detection means of basic problem, and the preliminary reason judging electric leakage, facilitates searching of next step detection of testing staff.
Fig. 5 is the another structure chart of a kind of mobile terminal of patent electrical leakage detecting method of the present invention, as shown in Figure 5, a kind of mobile terminal of electrical leakage detecting method, comprise: standby data acquisition module 1, obtain mobile terminal standby substrate current reference data, peripheral circuit operating voltage reference data, GPIO reference data, mobile terminal standby substrate current data, peripheral circuit operating voltage data, GPIO data; Electric leakage judge module 2, is electrically connected with standby data acquisition module, compares according to the data message of standby data acquisition module and standby reference data; Electric leakage device determination module 3, is electrically connected with electric leakage judge module, according to the title of electric leakage judge module determination components and parts, determines its position coordinates.Electric leakage information preserves module 4, is electrically connected, preserves the title of components and parts with electric leakage device determination module.
Concrete, the present embodiment completes the title of concrete electric leakage components and parts, and the device knowing maintenance of the position clear and definite that testing staff is preserved by electric leakage information, brings positive effect to testing; This patent achieves the file of reference data simultaneously, and convenient and detection data are compared, and find out the components and parts of electric leakage faster.
Further, electric leakage device determination module also comprises component locations index module, according to the position of mobile terminal peripheral components at internal circuit board, obtains mobile terminal peripheral components position coordinates figure.
Concrete, the present embodiment completes sets up mobile terminal peripheral component position coordinates figure, and make its testing more convenient, operating efficiency significantly increases, intelligent.
Fig. 6 is a kind of mobile terminal structure chart again of patent electrical leakage detecting method of the present invention, as shown in Figure 6; Functional description:
In the present embodiment, when electric leakage occurs user mobile phone components and parts time, be convenient to timely reminding user, facilitate in addition and keep in repair after sale.
Substrate current detection module 5, mobile phone enter standby after, by the power consumption condition of power management chip detection of handset, detect standby substrate current.The substrate current of measurement is compared with baseline values.If find that power consumption is abnormal, standby substrate current hypothesis increases more than 2mA, then notify operating voltage detection module.
Operating voltage detection module 6, by power management chip detect further power management chip to each peripheral components of mobile phone supply power voltage.The each peripheral components supply power voltage measured is compared with basic data, if find that operating voltage is powered to increase more than 0.5v, wherein, operating voltage can carry out reading magnitude of voltage by reading LDO (low pressure difference linear voltage regulator), then record this peripheral components title and notify GPIO detection module.
GPIO detection module 7, detects the operating state that the abnormal device institute of supply power voltage uses GPIO, the GPIO data measured is compared with basic data, if GPIO state is different, then records this peripheral components title and notify the judge module that leaks electricity.
Electric leakage judge module 8, according to the comparative result of substrate current detection module, operating voltage detection module, GPIO detection module, judges whether peripheral components leaks electricity.If electric leakage, then record the title of abnormal components and parts, be then marked with red boxes in mobile phone peripheral components circuit board position coordinate diagram.Such as, under abnormal components and parts title and coordinate diagram being saved in mobile phone/sdcard/leakage_devices/ file, and notify user with pop-up box form, pop-up box shows title and the peripheral components circuit board position coordinate diagram of abnormal components and parts.
It should be noted that above-described embodiment all can independent assortment as required.The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.