CN108594952A - A kind of method and terminal device of anti-charging interference - Google Patents

A kind of method and terminal device of anti-charging interference Download PDF

Info

Publication number
CN108594952A
CN108594952A CN201810378366.0A CN201810378366A CN108594952A CN 108594952 A CN108594952 A CN 108594952A CN 201810378366 A CN201810378366 A CN 201810378366A CN 108594952 A CN108594952 A CN 108594952A
Authority
CN
China
Prior art keywords
frequency
power supply
supply adaptor
common
mode noise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810378366.0A
Other languages
Chinese (zh)
Other versions
CN108594952B (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 CN201810378366.0A priority Critical patent/CN108594952B/en
Publication of CN108594952A publication Critical patent/CN108594952A/en
Application granted granted Critical
Publication of CN108594952B publication Critical patent/CN108594952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/18Packaging or power distribution
    • G06F1/181Enclosures
    • G06F1/182Enclosures with special features, e.g. for use in industrial environments; grounding or shielding against radio frequency interference [RFI] or electromagnetical interference [EMI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor

Abstract

An embodiment of the present invention provides a kind of method and terminal device of anti-charging interference, the method for the anti-charging interference includes:When power supply adaptor is that the terminal device charges, power supply adaptor generated first common-mode noise intensity under the Current Scan frequency of fingerprint module is obtained;Judge whether the first common-mode noise intensity is more than preset common-mode noise intensity;When the first common-mode noise intensity is more than preset common-mode noise intensity, the switching frequency of power supply adaptor or the scan frequency of fingerprint module are adjusted, to reduce the interference that power supply adaptor generates fingerprint module.The solution of the present invention solves the problems, such as that terminal device causes fingerprint module common mode interference in charging, and then solve existing method causes fingerprint module to unlock Its Failures, effect that the user experience is improved when improving or solving terminal device charging.

Description

A kind of method and terminal device of anti-charging interference
Technical field
The present invention relates to field of communication technology, more particularly to a kind of the method and terminal device of anti-charging interference.
Background technology
Fingerprint with its uniqueness, throughout one's life it is constant, acquisition convenience the features such as be widely applied, in particular with people Attention to information security, fingerprint module have become the standard configuration of terminal device (such as mobile phone, tablet, notebook).
It is well known that the mobile terminals product power consumption such as mobile phone is higher, it is therefore desirable to often charging.Power supply adaptor is general For switch charger, during charging, the switching frequency of switch charger is about 20kHz~100kHz, and what is generated is each Subharmonic electromagnetic interference is larger.When harmonic frequency is Chong Die with fingerprint module scan frequency (about 200kHz~1.7MHz) or connects When close, the wideband common-mode noise that power supply adaptor generates can generate electromagnetic interference to fingerprint module, directly affect fingerprint image Acquisition quality so that mobile terminal fingerprint recognition rate reduce, or even cause unlock failure, authentification failure the problems such as.With The extensive use trend of high current fast charge, power supply adaptor generate common-mode noise amplitude can due to charging current increase and Increase, this will cause to further enhance the charging electromagnetic interference of fingerprint module.
When power supply adaptor charges to terminal device, the fingerprint module of common-mode noise meeting interfering mobile terminal, and cause Fingerprint module unlocks the problems such as failure, and existing technical solution is typically to go to improve or solve from software view, is referred to as improved Print image acquisition frame number, prompt user are switched to gesture or password login etc., and above-mentioned solution has influenced user's body It tests, especially requires information security high user group.Specifically, existing solution has the following problems:
(1) fingerprint image acquisition frame number is improved.There are the following problems for this method, first, improving the acquisition frame of fingerprint image Number, can increase unlocked time, the feeling of system interim card is caused to user, influence the unlock experience of user;Two be the introduction of it is new Problem, for example improve SPI (Serial Peripheral Interface, serial peripheral to promote fingerprint image transmission speed Interface) frequency, the FIFO (First Input First Output, First Input First Output) for preserving fingerprint image data can be caused The risk of overflow (excessive).
(2) prompt user is switched to gesture or password login.This is a kind of replacement solution of compromise, leads to user The information confidentiality that unlocked by fingerprint is brought can not be enjoyed, it is unacceptable that this requires high user group for information security.
Invention content
An embodiment of the present invention provides a kind of methods and terminal device of anti-charging interference, to solve improving or solving Terminal device is when charging when caused fingerprint module unlock Its Failures, and there are lead to fingerprint when terminal device charging for the prior art Module unlocks the problem of failure.
In order to solve the above-mentioned technical problem, the one side of embodiment according to the present invention provides a kind of anti-charging and interferes Method, including:
When power supply adaptor is that the terminal device charges, Current Scan frequency of the acquisition power supply adaptor in fingerprint module First common-mode noise intensity caused by under rate;
Judge whether the first common-mode noise intensity is more than preset common-mode noise intensity;
When the first common-mode noise intensity is more than preset common-mode noise intensity, opening for the power supply adaptor is adjusted Frequency or the scan frequency of the fingerprint module are closed, the fingerprint module generation is done with reducing the power supply adaptor It disturbs.
The other side of embodiment according to the present invention additionally provides a kind of terminal device, including:
Acquisition module, for when power supply adaptor is that the terminal device charges, obtaining power supply adaptor in fingerprint mould First common-mode noise intensity caused by under the Current Scan frequency of group, wherein the power supply adaptor is set for the terminal Standby charging;
Judgment module, for judging whether the first common-mode noise intensity is more than preset common-mode noise intensity;
Module is adjusted, is used for when the first common-mode noise intensity is more than preset common-mode noise intensity, described in adjustment The scan frequency of the switching frequency of power supply adaptor or the fingerprint module, to reduce the power supply adaptor to the fingerprint The interference that module generates.
The another aspect of embodiment according to the present invention additionally provides a kind of terminal device, including:Processor, memory And it is stored in the computer program that can be run on the memory and on the processor, the computer program is by the place The step of managing the method that anti-charging interference as described above is realized when device executes.
The embodiment of the present invention has the advantages that:
In embodiments of the present invention, generated under the Current Scan frequency of fingerprint module by obtaining power supply adaptor First common-mode noise intensity adjusts the power supply when the first common-mode noise intensity is more than preset common-mode noise intensity The scan frequency of the switching frequency of adapter or the fingerprint module, to reduce the power supply adaptor to the fingerprint module The interference of generation solves the problems, such as that terminal device causes fingerprint module common mode interference in charging, and then solves existing side Method causes fingerprint module to unlock Its Failures, effect that the user experience is improved when improving or solving terminal device charging.
Description of the drawings
Fig. 1 is a kind of flow chart of the method for anti-charging interference provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the method for the anti-charging interference of another kind provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the method for another anti-charging interference provided in an embodiment of the present invention;
Fig. 4 is the flow chart of the method for another anti-charging interference provided in an embodiment of the present invention;
Fig. 5 is the flow chart of the method for another anti-charging interference provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention.
Specific implementation mode
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.
Term " first ", " second " in description and claims of this specification etc. are for distinguishing similar pair As without being used to describe specific sequence or precedence.It should be appreciated that the data used in this way in the appropriate case can be with It exchanges, so that the embodiment of the present invention described herein for example can be with suitable other than those of illustrating or describing herein Sequence is implemented.
By analysis it is found that the common mode harmonic noise that power supply adaptor generates when terminal device charges is to cause fingerprint module Unlock the basic reason of failure.In order to ensure that fingerprint module smoothly unlocks in charging process, an embodiment of the present invention provides one kind It is anti-charging interference method, this method be suitable for charging in need the electronic equipment with fingerprint module.Fig. 1 is that the present invention is real A kind of flow chart of the method for anti-charging interference of example offer is applied, referring to Fig. 1, the method for anti-charging interference includes the following steps:
Step 101:When power supply adaptor is that terminal device charges, obtains power supply adaptor and swept in the current of fingerprint module First common-mode noise intensity caused by retouching under frequency.
Wherein, common-mode noise is also known as the noise of asymmetrical noise or line-to-ground, is set using the electrical of AC power The input terminal (power transmission line and center line) of standby (for example, terminal device) can have this noise, and common-mode noise intensity is for indicating altogether Mode noise size.
In the embodiment of the present invention, power supply adaptor access terminal equipment, and charge for terminal device.Pass through in terminal device When the power supply adaptor charging accessed, power supply adaptor can generate the first common mode under the Current Scan frequency of fingerprint module and make an uproar Sound intensity.First common-mode noise intensity is for indicating that power supply adaptor is generated total under the Current Scan frequency of fingerprint module The size of mode noise.
Step 102:Judge whether the first common-mode noise intensity is more than preset common-mode noise intensity;If the first common-mode noise Intensity is more than preset common-mode noise intensity, thens follow the steps 103;Otherwise, terminate flow.
It should be noted that preset common-mode noise intensity can be arranged according to specific application scenarios, the present invention is implemented Example does not do concrete restriction to it.
Step 103:The switching frequency of power supply adaptor or the scan frequency of fingerprint module are adjusted, to reduce power adaptation The interference that device generates fingerprint module.
In embodiments of the present invention, reduce power supply adaptor to fingerprint module generate interference mode can there are many.For example, If power supply adaptor is standard configuration, power supply adaptor can be reduced to referring to by adjusting the mode of the switching frequency of power supply adaptor The interference that line module generates, you can " fingerprint module and the power supply adaptor frequency compatible combinations that built-in testing is completed before manufacture Table " can quickly select according to this table and adjust the switching frequency of power supply adaptor when fingerprint module works under charged state, To evade the charging interference problem.If it not is standard configuration that power supply adaptor, which is, can be by adjusting the scan frequency of fingerprint module Mode reduce the interference that power supply adaptor generates fingerprint module, terminal device can detect fingerprint module different scanning automatically The intensity of the common-mode noise generated by power supply adaptor under frequency, and select an or interference minimum noiseless to fingerprint module Scan frequency, be of course not solely limited to this.
In embodiments of the present invention, generated under the Current Scan frequency of fingerprint module by obtaining power supply adaptor First common-mode noise intensity adjusts power supply adaptor when the first common-mode noise intensity is more than preset common-mode noise intensity The scan frequency of switching frequency or fingerprint module solves end to reduce the interference that power supply adaptor generates fingerprint module The problem of end equipment causes fingerprint module common mode interference in charging, and then solve existing method in improvement or solve terminal Caused fingerprint module unlocks Its Failures, effect that the user experience is improved when equipment charge.
In embodiments of the present invention, whether can be standard configuration according to power supply adaptor, to select to adjust the power adaptation The scan frequency of the switching frequency of device or the fingerprint module generates the fingerprint module with reducing the power supply adaptor Interference.Referring to Fig. 2, the method that the embodiment of the present invention additionally provides another anti-charging interference, the method packet of anti-charging interference Include following steps:
Step 201:When power supply adaptor is that terminal device charges, obtains power supply adaptor and swept in the current of fingerprint module First common-mode noise intensity caused by retouching under frequency.
Wherein, power supply adaptor charges for terminal device, and the first common-mode noise intensity is for indicating that power supply adaptor exists The size of generated common-mode noise under the Current Scan frequency of fingerprint module.
Step 202;Judge whether the first common-mode noise intensity is more than preset common-mode noise intensity;If the first common-mode noise Intensity is more than preset common-mode noise intensity, thens follow the steps 203;Otherwise, terminate flow.
Step 203:Judge whether power supply adaptor is standard configuration;If power supply adaptor is standard configuration, step 204 is executed; Otherwise, step 205 is executed.
In the specific embodiment of the invention, terminal device, can be by electricity when whether judge power supply adaptor is standard configuration Source adapter sends instruction information to judge.Specifically, step 203 may include:
Inquiry instruction is sent to power supply adaptor, wherein inquiry instruction is used to indicate power supply adaptor and is returned to terminal device The identification information of telegram in reply source adapter;
According to whether receive the identification information of power supply adaptor and the identification information that receives whether with default mark Information is consistent, judges whether power supply adaptor is standard configuration.
Wherein, when the identification information for receiving the identification information of power supply adaptor and receiving is consistent with default identification information When, determine that power supply adaptor is standard configuration;When not receiving the identification information of power supply adaptor, alternatively, receiving power supply adaptor Identification information but receive identification information and default identification information it is inconsistent when, it is standard configuration to determine power supply adaptor not.
In embodiments of the present invention, the identification information of power supply adaptor can be its identity number (Identity, ID), Unique identifying number built-in when being manufacture ID, ID can be composed of the contents such as such as number, letter, not done in the embodiment of the present invention Concrete regulation.
In the embodiment of the present invention, judge power supply adaptor whether be standard configuration mode can there are many, the above related power supply It is example and non-limiting that whether adapter, which is the description of judgment mode of standard configuration,.
Step 204:Adjust the switching frequency of power supply adaptor.
Step 205:Adjust the scan frequency of fingerprint module.
Optionally, after judging whether power supply adaptor is standard configuration, the method for anti-charging interference further includes following steps:
If power supply adaptor is not standard configuration, the first prompt message, the first prompt message are shown on terminal device screen Power supply adaptor for prompting user current is not standard configuration, it is proposed that is changed to the power supply adaptor of standard configuration.
In embodiments of the present invention, judge whether the power supply adaptor is standard configuration, if the power supply adaptor is mark Match, adjusts the switching frequency of the power supply adaptor;If the power supply adaptor is not standard configuration, the fingerprint module is adjusted Scan frequency, can effectively enhance fingerprint module it is anti-charging interference ability, promoted user experience;Meanwhile the embodiment of the present invention Anti- charging interference method, the power supply adaptor used for user whether two kinds of scenes of standard configuration, propose respectively Corresponding solution, it is adaptable.
Fig. 3 is participated in, the method for the method that the embodiment of the present invention additionally provides another anti-charging interference, anti-charging interference is logical The switching frequency of adjustment power supply adaptor is crossed to reduce the interference that power supply adaptor generates fingerprint module.The side of anti-charging interference Method includes the following steps:
Step 301:When power supply adaptor is that terminal device charges, obtains power supply adaptor and swept in the current of fingerprint module First common-mode noise intensity caused by retouching under frequency.
Wherein, power supply adaptor charges for terminal device, and the first common-mode noise intensity is for indicating that power supply adaptor exists The size of generated common-mode noise under the Current Scan frequency of fingerprint module.
Step 302:Judge whether the first common-mode noise intensity is more than preset common-mode noise intensity;If the first common-mode noise When intensity is more than preset common-mode noise intensity, 303 are thened follow the steps;Otherwise, then terminate flow.
Step 303:According to the correspondence of preset scan frequency and switching frequency, determine that Current Scan frequency is corresponding Target switch frequency.
Step 304:According to target switch frequency, the switching frequency of power supply adaptor is adjusted.
For example, the correspondence of the preset scan frequency and switching frequency can be as shown in table 1 below, wherein according to 1 institute of table The mapping table shown, it may be determined that multiple target switch frequencies corresponding to the Current Scan frequency of power supply adaptor.
It should be noted that corresponding to three power supply adaptor targets shown in table 1 for a fingerprint module scan frequency The situation of switching frequency, the embodiment of the present invention are not limited in situation shown in table 1.
Table 1
It, can built-in testing is completed before manufacture " fingerprint module and electricity it is noted that for the power supply adaptor of standard configuration Source adapter frequency compatible combinations table ", and by the correspondence of preset scan frequency and switching frequency write-in " fingerprint module with It, can be according to " fingerprint module and power supply when fingerprint module works under charged state in power supply adaptor frequency compatible combinations table " Adapter frequency compatible combinations table " quickly selects and adjusts the switching frequency of power supply adaptor, is asked to evade charging interference Topic promotes user experience effect.
It should be noted that the description of the above correspondence storage form in relation to preset scan frequency and switching frequency Only example and non-limiting.
It should be noted that the quantity of target switch frequency can be one or more.For one or more, can be used not The switching frequency that power supply adaptor is adjusted with mode, is explained as follows respectively.
Mode one
Once, the quantity of determining target switch frequency is one to mode, in this case, step 305 can be:
The switching frequency of power supply adaptor is adjusted to the target switch frequency.
Mode two
Under mode two, the quantity of determining target switch frequency is multiple, in this case, step 305 may include:
Determine the current switch frequency of the fingerprint module;
The difference for calculating separately each the target switch frequency and current switch frequency in multiple target switch frequencies, obtains Multiple differences;
According to multiple differences, the switching frequency of power supply adaptor is adjusted to first object switching frequency, wherein the first mesh It is the corresponding target switch frequency of minimal difference in multiple differences to mark switching frequency.
For example, according to table 1, the lower 3 target switch frequencies (f of fingerprint module Current Scan frequency can be obtained1、f2、f3), it opens Open up following operation a=min { abs (f0-f1),abs(f0-f2),abs(f0-f3), it is assumed that f2Make ads (f0-f2) minimum, then By the switching frequency of power supply adaptor by f0It is adjusted to f2If f in special circumstances0=f2, i.e. abs (f0-f2)=0, then power supply is suitable Orchestration continues to current switch frequency.
In embodiments of the present invention, generated under the Current Scan frequency of fingerprint module by obtaining power supply adaptor First common-mode noise intensity, when the first common-mode noise intensity is more than preset common-mode noise intensity, by according to default Scan frequency and switching frequency correspondence, determine the corresponding target switch frequency of Current Scan frequency, opened according to target Frequency is closed, the switching frequency of power supply adaptor is adjusted.It can be quick according to the correspondence of preset scan frequency and switching frequency The switching frequency for selecting and adjusting power supply adaptor causes fingerprint module common mode interference to evade terminal device in charging Problem promotes user experience effect.
In the specific embodiment of the invention, the situation of fingerprint module authentification failure can be encountered, if authentification failure number is more than pre- If when threshold value, user can be prompted to change other authentication modes, such as password or gesture authentication mode etc..Specifically, anti-charging is dry The method disturbed further includes following steps:
When detecting that fingerprint module authentification failure number is more than predetermined threshold value, show that second carries on terminal device screen Show information, the second prompt message is for suggesting that user uses password or gesture authentication mode.
In the embodiment of the present invention, when fingerprint module works under charged state, pass through preset scan frequency and switch frequency The correspondence of rate determines the corresponding target switch frequency of Current Scan frequency, according to target switch frequency, adjusts power adaptation The switching frequency of device.It can quickly be selected according to the correspondence of preset scan frequency and switching frequency in this way and to adjust power supply suitable The switching frequency of orchestration promotes user experience effect to evade the charging interference problem.
Fig. 4 is participated in, the embodiment of the present invention additionally provides the method that another anti-charging is interfered, and the method for anti-charging interference is logical The scan frequency of adjustment fingerprint module is crossed to reduce the interference that power supply adaptor generates fingerprint module.The method of anti-charging interference Include the following steps:
Step 401:When power supply adaptor is that terminal device charges, obtains power supply adaptor and swept in the current of fingerprint module First common-mode noise intensity caused by retouching under frequency.
Wherein, power supply adaptor charges for terminal device, and the first common-mode noise intensity is for indicating that power supply adaptor exists The size of generated common-mode noise under the Current Scan frequency of fingerprint module.
Step 402:Judge whether the first common-mode noise intensity is more than preset common-mode noise intensity.If the first common-mode noise Intensity is more than preset common-mode noise intensity, then presets the available of usable frequency concentration according to the order traversal of frequency from high to low Frequency, and step 403~step 405 is executed during traversing usable frequency;Otherwise, terminate flow.
Step 403:It sets usable frequency to the scan frequency of fingerprint module, and obtains power supply adaptor in usable frequency Second common-mode noise intensity caused by lower.
Step 404:Judge whether the second common-mode noise intensity is more than preset common-mode noise intensity.
When the second common-mode noise intensity is more than preset common-mode noise intensity, next usable frequency is traversed;Alternatively, working as When second common-mode noise intensity is less than or equal to preset common-mode noise intensity, step 405 is executed.
Step 405:The scan frequency of fingerprint module is adjusted to usable frequency, and stops traversing the process of usable frequency.
Optionally, if after having traversed the usable frequency that default usable frequency is concentrated, the second acquired common-mode noise intensity The method of both greater than preset common-mode noise intensity, the anti-charging interference may also include:
The second minimum common-mode noise intensity is chosen from the second common-mode noise intensity of acquisition;
Determine minimum corresponding first usable frequency of the second common-mode noise intensity;
The scan frequency of fingerprint module is adjusted to the first usable frequency.
In embodiments of the present invention, terminal device can be detected under fingerprint module different scanning frequency automatically by power supply adaptor The common-mode noise intensity of generation, and select a scan frequency noiseless to fingerprint module or that interference is minimum;For using Power supply adaptor be not standard configuration and can not by change fingerprint module scan frequency solve charging interference extreme applications field Scape can then provide prompt of the recommended replacement at the power supply adaptor of standard configuration, and illustrate replace the reason of and not tape swapping consequence.
In the specific embodiment of the invention, the situation of fingerprint module authentification failure can be encountered, if authentification failure number is more than pre- If when threshold value, user can be prompted to change other authentication modes, such as password or gesture authentication mode etc..Specifically, anti-charging is dry The method disturbed further includes following steps:
When detecting that fingerprint module authentification failure number is more than predetermined threshold value, show that second carries on terminal device screen Show information, the second prompt message is for suggesting that user uses password or gesture authentication mode.
Referring to Fig. 5, the method that the embodiment of the present invention additionally provides another anti-charging interference, the method for the anti-charging interference Include the following steps:
Step 501:Judge whether accessed power supply adaptor is standard configuration;If accessed power supply adaptor is standard configuration, hold Row step 502;Otherwise, 507 are thened follow the steps.
In embodiments of the present invention, after terminal device access power supply adaptor, terminal device judges that accessed power supply is suitable Orchestration whether be standard configuration mode there are many.For example, corresponding inquiry instruction can be sent out, it is desirable that power supply adaptor replys its mark Information, for example, identification information can be identity number (ID), unique identifying number built-in when being manufacture ID, ID can be by full The contents such as word, letter are composed, and concrete regulation is not done in the embodiment of the present invention.
In embodiments of the present invention, obtain identification information communication mode can be USB, can also be Wi-fi, bluetooth, The communications such as NFC, the present invention are not specifically limited;If inquiring preset number (for example, preset number is three times) Afterwards, power supply adaptor is unresponsive, then the power supply adaptor is judged as charger of inferior brand, if having response and identification information is correct Then judge power supply adaptor for standard configuration.
Step 502:Terminal device judges the working condition of fingerprint module, if fingerprint module does not work, power supply adaptor It works by default switch frequency, terminates flow;Otherwise, step 503 is executed.
Step 503:Obtain the current switching frequency of fingerprint module current scan frequency and power supply adaptor.
Step 504:According to the correspondence of preset scan frequency and switching frequency, the current scanning of fingerprint module is obtained Multiple target switch frequencies of the corresponding power supply adaptor of frequency.
If fingerprint module is started to work, it is current to can get fingerprint module current scan frequency and power supply adaptor Switching frequency f0;Wherein obtain the current switching frequency f of fingerprint module current scan frequency and power supply adaptor0It is logical Letter mode can be USB, can also be the communications such as wi-fi, bluetooth, NFC, the present invention does not do concrete regulation.Then root It is opened according to the target of the scan frequency and power supply adaptor of the current scan frequency of fingerprint module and fingerprint module as shown in Table 1 The mapping table of frequency is closed, multiple target switch frequency of the current corresponding power supply adaptor of scan frequency of fingerprint module is obtained Rate.
It should be pointed out that the mapping table of the target switch frequency of the scan frequency and power supply adaptor of fingerprint module Can be there are many form, only the scan frequency of fingerprint module is corresponding with the target switch frequency of power supply adaptor shown in table 1 A kind of preferred form of relation table, specific frequency values pass through reality according to the available configuration of different terminal device and power supply adaptor It tests and is generated in advance, and be preset in terminal device memory, the present invention does not do concrete regulation to it.
Step 505:The mesh of one and the difference minimum of the current switch frequency are selected from multiple target switch frequencies Mark switching frequency.
For example, according to table 1, the lower 3 target switch frequencies (f of fingerprint module Current Scan frequency is obtained1、f2、f3), carry out Following operation a=min { abs (f0-f1),abs(f0-f2),abs(f0-f3), it is assumed that f2Make ads (f0-f2) minimum, then will The switching frequency of power supply adaptor is by f0It is adjusted to f2If f in special circumstances0=f2, i.e. abs (f0-f2)=0, then power adaptation Device continues to current switch frequency.According to the switching frequency f of selection2, corresponding R, L, C value is calculated, then select phase respectively The different branch of R, L, C network is answered, realizes the adjustment to power supply adaptor switching frequency.
It should be noted why selecting from f0Nearest switching frequency is to control switching frequency for the ease of adjustment R networks, L networks and/or C networks, it is to be understood that can be with an individually designed R network, L networks or C networks, very To the combination for being the two or even three, the present invention is not specifically limited it.
Step 506:The switching frequency of the power supply adaptor is adjusted to and the difference of current switch frequency minimum Target switch frequency.
Step 507:Judge the working condition of fingerprint module, if fingerprint module is in running order, thens follow the steps 508.
Step 508:Obtain what power supply adaptor under fingerprint module current scan frequency and Current Scan frequency generated First common-mode noise intensity, and keep a record.
Step 509:Judge whether the first common-mode noise intensity is more than preset common-mode noise intensity;If the first common-mode noise Intensity is more than preset common-mode noise intensity, and the available frequency that usable frequency is concentrated is preset according to the order traversal of frequency from high to low Rate, and 510~step 512 of following steps is executed during traversing usable frequency;Otherwise, terminate flow.
Step 510:It sets the usable frequency that default usable frequency is concentrated to the scan frequency of fingerprint module, and obtains electricity Source adapter generated second common-mode noise intensity under the usable frequency.
Step 511:Judge whether the second common-mode noise intensity is more than preset common-mode noise intensity;If the second common mode Noise intensity is more than preset common-mode noise intensity, 512 is thened follow the steps, otherwise, then by the scan frequency of the fingerprint module It is adjusted to the usable frequency, and stops traversing the process of usable frequency, terminates flow.
In embodiments of the present invention, if fingerprint module is started to work, the current scan frequency F of fingerprint module is obtained0, with And Current Scan frequency F0The common-mode noise intensity P that lower power supply adaptor generates1.By common-mode noise intensity P1With it is preset total Mode noise intensity P0It is compared, if P1≤P0, then the scan frequency F that fingerprint module is current is maintained0;If P1>P0, then successively from finger In line module usable frequency collection F, each frequency point F is traversed successively from high to lowi, in ergodic process, by frequency point FiIt is set as fingerprint The scan frequency of module obtains the common-mode noise intensity P under Current Scan frequencyiAnd record, current setting is scanned into frequency Common-mode noise intensity P under rateiWith P0It is compared, if Pi≤P0, then stop traversing, fingerprint module scan frequency be set as Fi
It should be noted that interference threshold is preset common-mode noise intensity, can be set according to specific application scenarios It sets, the present invention does not do concrete restriction to it.
Step 512:Judge whether to finish the usable frequency traversal that default usable frequency is concentrated;If by default usable frequency The usable frequency traversal of concentration finishes, and default usable frequency concentrates the second common-mode noise caused by all usable frequencies strong Degree is all higher than preset common-mode noise intensity, thens follow the steps 513;Otherwise, step 510 is continued to execute, to next available frequency Rate is handled.
Step 513:The second minimum common-mode noise intensity is chosen from the second common-mode noise intensity of acquisition, is determined minimum Corresponding first usable frequency of the second common-mode noise intensity, the scan frequency of the fingerprint module is adjusted to the first available frequency Rate.
In this way, the scan frequency of the fingerprint module is adjusted to first usable frequency, it can be by above-mentioned ergodic process In the frequency point minimum to the interference of fingerprint module be assigned to fingerprint module.
If specifically, without qualified scan frequency after the completion of traversal, except executable step 513 will select min {PiCorresponding frequency point FiIt is set as outside fingerprint module scan frequency, following processing mode can also be provided:
If 1) power supply adaptor is not standard configuration, the first prompt message is shown on terminal device screen;Wherein, institute State power supply adaptor of first prompt message for prompting user that current power supply adaptor is changed to standard configuration.
In embodiments of the present invention, user is prompted to be changed to the charger of standard configuration by the first prompt message, and if illustrating Being changed without then fingerprint module may be disturbed, influences fingerprint recognition success rate;If user adheres to using the power adaptation for not being standard configuration Fingerprint module scan frequency is equally set as interfering it minimum frequency point F by devicei
If 2) user be continuing be not standard configuration power supply adaptor, and when detecting the fingerprint module authentification failure time When number is more than predetermined threshold value, the second prompt message is shown on terminal device screen;Wherein, second prompt message is for carrying Show that user uses password or gesture authentication mode.
For example, predetermined threshold value can be three times, after terminal device detects that the certification of fingerprint module fails three times, goes to and carry Show that user uses the authentication modes such as password or gesture.
Referring to Fig. 6, the embodiment of the present invention additionally provides a kind of terminal device 600, including:Acquisition module 601, judgment module 602 and adjustment module 603.Wherein,
Acquisition module 601, for when power supply adaptor is that terminal device charges, obtaining power supply adaptor in fingerprint module Current Scan frequency under caused by the first common-mode noise intensity.
Judgment module 602, for judging whether the first common-mode noise intensity is more than preset common-mode noise intensity.
Module 603 is adjusted, for when the first common-mode noise intensity is more than preset common-mode noise intensity, adjustment power supply to be suitable The switching frequency of orchestration or the scan frequency of fingerprint module, to reduce the interference that power supply adaptor generates fingerprint module.
In embodiments of the present invention, power supply adaptor is obtained by acquisition module 601 first to sweep in the current of fingerprint module First common-mode noise intensity caused by retouching under frequency, when the first common-mode noise intensity is more than preset common-mode noise intensity, The switching frequency of power supply adaptor or the scan frequency of fingerprint module are adjusted by adjusting module 603, to reduce power adaptation The interference that device generates fingerprint module, the mobile device solve terminal device caused fingerprint module in charging and unlock failure The problem of, effect that the user experience is improved.
Optionally, the adjustment module 603 includes:
First judging unit, for judging whether power supply adaptor is standard configuration.
The first adjustment unit, for when power supply adaptor is standard configuration, adjusting the switching frequency of power supply adaptor.
Second adjustment unit, for when power supply adaptor is not standard configuration, adjusting the scan frequency of fingerprint module.
Optionally, shown in Figure 7, judgment module 602 includes:
Transmission unit 6021, for sending inquiry instruction to power supply adaptor, wherein it is suitable that inquiry instruction is used to indicate power supply Orchestration replys the identification information of power supply adaptor to terminal device.
Second judgment unit 6022, for according to whether the mark for receiving the identification information of power supply adaptor and receiving Whether consistent with default identification information know information, judges whether power supply adaptor is standard configuration.
Wherein, when the identification information for receiving the identification information of power supply adaptor and receiving is consistent with default identification information When, determine that power supply adaptor is standard configuration;When not receiving the identification information of power supply adaptor, alternatively, receiving power supply adaptor Identification information but receive identification information and default identification information it is inconsistent when, it is standard configuration to determine power supply adaptor not.
Optionally, terminal device further includes:First reminding module.
First reminding module, for when power supply adaptor is not standard configuration, showing that first carries on terminal device screen Show information, wherein the power supply that first prompt message is used to prompt user that current power supply adaptor is changed to standard configuration is fitted Orchestration.
Optionally, shown in Figure 8, the adjustment module 603 may include:
First determination unit 6031 determines current for the correspondence according to preset scan frequency and switching frequency The corresponding target switch frequency of scan frequency.
Third adjustment unit 6032, for according to target switch frequency, adjusting the switching frequency of power supply adaptor.
Optionally, the quantity of the target switch frequency is one, and third adjustment unit 6032 includes:
The first adjustment subelement, for the switching frequency of power supply adaptor to be adjusted to target switch frequency.
Optionally, the quantity of the target switch frequency is multiple, and third adjustment unit 6032 includes:Determination subelement, Computation subunit and second adjustment subelement.Wherein,
Determination subelement, the current switching frequency for determining the fingerprint module;
Computation subunit, for calculating separately each target switch frequency and current switch in multiple target switch frequencies The difference of frequency obtains multiple differences.
Second adjustment subelement, for according to multiple differences, the switching frequency of power supply adaptor to be adjusted to first object Switching frequency, wherein first object switching frequency is the corresponding target switch frequency of minimal difference in multiple differences.
In embodiments of the present invention, by the first determination unit 6031 according to pair of preset scan frequency and switching frequency It should be related to, determine the corresponding target switch frequency of Current Scan frequency;By third adjustment unit 6032 according to target switch frequency Rate adjusts the switching frequency of power supply adaptor.It in this way can be quick according to the correspondence of preset scan frequency and switching frequency The switching frequency for selecting and adjusting power supply adaptor promotes user experience effect to evade the charging interference problem.
Optionally, shown in Figure 9, adjustment module 603 includes:
Traversal Unit 6033, for presetting the available frequency that usable frequency is concentrated according to the order traversal of frequency from high to low Rate, and execute following steps during traversing usable frequency:
Set usable frequency to the scan frequency of fingerprint module, and it is produced under usable frequency to obtain power supply adaptor The second common-mode noise intensity.
Judge whether the second common-mode noise intensity is more than preset common-mode noise intensity.
When the second common-mode noise intensity is more than preset common-mode noise intensity, next usable frequency is traversed;Alternatively, working as When second common-mode noise intensity is less than or equal to preset common-mode noise intensity, the scan frequency of fingerprint module is adjusted to available Frequency, and stop traversing the process of usable frequency.
Optionally, if after the Traversal Unit traversed the usable frequency that default usable frequency is concentrated, acquired second Common-mode noise intensity is both greater than preset common-mode noise intensity, and adjustment module 603 further includes:
Acquiring unit, for choosing the second minimum common-mode noise intensity from the second common-mode noise intensity of acquisition.
Second determination unit, for determining minimum corresponding first usable frequency of the second common-mode noise intensity.
4th adjustment unit, for the scan frequency of fingerprint module to be adjusted to the first usable frequency.
Optionally, terminal device further includes:Second reminding module.
Second reminding module, for when detecting that fingerprint module authentification failure number is more than predetermined threshold value, being set in terminal The second prompt message is shown on standby screen, wherein second prompt message is for prompting user to use password or gesture authentication Mode.
In embodiments of the present invention, available frequency is preset according to the order traversal of frequency from high to low by Traversal Unit 6033 The usable frequency that rate is concentrated, and then it is strong to detect the common-mode noise generated by power supply adaptor under fingerprint module different scanning frequency Degree, and a scan frequency noiseless to fingerprint module or that interference is minimum is selected, to reduce power supply adaptor to fingerprint mould The interference that group generates, the mobile device solve the problems, such as that terminal device caused fingerprint module in charging unlocks failure, carry User experience effect is risen.
A kind of hardware architecture diagram of Figure 10 terminal devices of each embodiment to realize the present invention, referring to Figure 10, eventually End equipment 1000 includes but not limited to:Radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor The components such as 1010 and power supply 1011.It will be understood by those skilled in the art that terminal structure shown in Figure 10 is not constituted pair The restriction of terminal, terminal device may include either combining certain components or different than illustrating more or fewer components Component is arranged.In embodiments of the present invention, terminal device includes but not limited to mobile phone, tablet computer, laptop, palm electricity Brain, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 1010, for when power supply adaptor is that terminal device charges, obtaining power supply adaptor in fingerprint First common-mode noise intensity caused by under the Current Scan frequency of module;It is default to judge whether the first common-mode noise intensity is more than Common-mode noise intensity;When the first common-mode noise intensity is more than preset common-mode noise intensity, opening for power supply adaptor is adjusted Frequency or the scan frequency of fingerprint module are closed, to reduce the interference that power supply adaptor generates fingerprint module.
In embodiments of the present invention, first by processor 1010 obtain power supply adaptor fingerprint module Current Scan First common-mode noise intensity caused by under frequency is led to when the first common-mode noise intensity is more than preset common-mode noise intensity It crosses processor 1010 and adjusts the switching frequency of power supply adaptor or the scan frequency of fingerprint module, to reduce power supply adaptor pair The interference that fingerprint module generates solves the problems, such as that terminal device causes fingerprint module to unlock failure in charging, improves use Family experience effect.
It should be understood that the embodiment of the present invention in, radio frequency unit 1001 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 1010 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 1001 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1001 can also by radio communication system and network and other Equipment communicates.
Terminal device has provided wireless broadband internet to the user by network module 1002 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 1003 can receive radio frequency unit 1001 or network module 1002 or in memory The audio data stored in 1009 is converted into audio signal and exports to be sound.Moreover, audio output unit 1003 can be with The relevant audio output of specific function executed with terminal device 1000 is provided (for example, call signal receives sound, message sink Sound etc.).Audio output unit 1003 includes loud speaker, buzzer and receiver etc..
Input unit 1004 is for receiving audio or video signal.Input unit 1004 may include graphics processor (Graphics Processing Unit, GPU) 10041 and microphone 10042, graphics processor 10041 in video to capturing In pattern or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into Row processing.Treated, and picture frame may be displayed on display unit 1006.Through treated the picture frame of graphics processor 10041 It can be stored in memory 1009 (or other storage mediums) or be carried out via radio frequency unit 1001 or network module 1002 It sends.Microphone 10042 can receive sound, and can be audio data by such acoustic processing.Audio that treated Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1001 in the case of telephone calling model Formula exports.
Terminal device 1000 further includes at least one sensor 1005, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 10061, proximity sensor can when terminal device 1000 is moved in one's ear, Close display panel 10061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity when static, can be used to identify terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 1005 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, Hygrometer, thermometer, infrared sensor etc., details are not described herein.
Display unit 1006 is for showing information input by user or being supplied to the information of user.Display unit 1006 can Including display panel 10061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes may be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 10061.
User input unit 1007 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 1007 include touch panel 10071 and its His input equipment 10072.Touch panel 10071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 10071 or in touch panel Operation near 10071).Touch panel 10071 may include both touch detecting apparatus and touch controller.Wherein, it touches The touch orientation of detection device detection user is touched, and detects the signal that touch operation is brought, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1010, It receives the order that processor 1010 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The multiple types such as sound wave realize touch panel 10071.In addition to touch panel 10071, user input unit 1007 can also include Other input equipments 10072.Specifically, other input equipments 10072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 10071 can be covered on display panel 10061, when touch panel 10071 detects After touch operation on or near it, processor 1010 is sent to determine the type of touch event, is followed by subsequent processing device 1010 Corresponding visual output is provided on display panel 10061 according to the type of touch event.Although in Fig. 10, touch panel 10071 be to realize the function that outputs and inputs of terminal as two independent components with display panel 10061, but certain In embodiment, can touch panel 10071 and display panel 10061 be integrated and be realized the function that outputs and inputs of terminal, tool Body does not limit herein.
Interface unit 1008 is the interface that external device (ED) is connect with terminal device 1000.For example, external device (ED) may include Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, the port for connecting the device with identification module, the port audio input/output (I/O), video i/o port, earphone Port etc..Interface unit 1008 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And by one or more elements that the input received is transferred in terminal device 1000 or it can be used in terminal device Transmission data between 1000 and external device (ED).
Memory 1009 can be used for storing software program and various data.Memory 1009 can include mainly storage program Area and storage data field, wherein storing program area can storage program area, needed at least one function application program (such as Sound-playing function, image player function etc.) etc.;Storage data field can be stored uses created data (ratio according to mobile phone Such as audio data, phone directory) etc..In addition, memory 1009 may include high-speed random access memory, can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1010 is the control centre of terminal device, utilizes each portion of various interfaces and the entire terminal of connection Point, by running or execute the software program and/or module that are stored in memory 1009, and calls and be stored in memory Data in 1009 execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 1010 can Including one or more processing units;Preferably, processor 1010 can integrate application processor and modem processor, In, the main processing operation system of application processor, user interface and application program etc., modem processor are mainly handled wirelessly Communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1010.
Terminal device 1000 can also include the power supply 1011 (such as battery) powered to all parts, it is preferred that power supply 1011 can be logically contiguous by power-supply management system and processor 1010, to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
In addition, terminal device 1000 may also include some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 1010, memory 1009, storage On memory 1009 and the computer program that can be run on processor 1010, the computer program are executed by processor 110 Each process of the embodiment of the method for the above-mentioned anti-charging interference of Shi Shixian, and identical technique effect can be reached, to avoid repeating, Which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of the embodiment of the method for above-mentioned anti-charging interference when being executed by processor, And identical technique effect can be reached, to avoid repeating, which is not described herein again.
Wherein, the computer readable storage medium, for example, read-only memory (Read-Only Memory, abbreviation ROM), Random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) method that executes each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (15)

1. a kind of method of anti-charging interference, is applied to terminal device, which is characterized in that including:
When power supply adaptor is that the terminal device charges, power supply adaptor is obtained under the Current Scan frequency of fingerprint module Generated first common-mode noise intensity;
Judge whether the first common-mode noise intensity is more than preset common-mode noise intensity;
When the first common-mode noise intensity is more than preset common-mode noise intensity, the switch frequency of the power supply adaptor is adjusted The scan frequency of rate or the fingerprint module, to reduce the interference that the power supply adaptor generates the fingerprint module.
2. according to the method described in claim 1, it is characterized in that, the switching frequency of the adjustment power supply adaptor or The scan frequency of the fingerprint module, including:
Judge whether the power supply adaptor is standard configuration;
If the power supply adaptor is standard configuration, the switching frequency of the power supply adaptor is adjusted;
If the power supply adaptor is not standard configuration, the scan frequency of the fingerprint module is adjusted.
3. according to the method described in claim 2, it is characterized in that, it is described judge the power supply adaptor whether be standard configuration electricity Source adapter, including:
Inquiry instruction is sent to the power supply adaptor, wherein the inquiry instruction is used to indicate the power supply adaptor to institute State the identification information that terminal device replys the power supply adaptor;
According to whether receive the identification information of the power supply adaptor and the identification information that receives whether with default mark Information is consistent, judges whether the power supply adaptor is standard configuration;
Wherein, when the identification information for receiving the identification information of the power supply adaptor and receiving is consistent with default identification information When, determine that the power supply adaptor is standard configuration;When not receiving the identification information of the power supply adaptor, alternatively, receiving The identification information of the power supply adaptor but receive identification information and default identification information it is inconsistent when, determine that the power supply is suitable Orchestration is not standard configuration.
4. according to the method described in claim 1, it is characterized in that, the switching frequency of the adjustment power supply adaptor, packet It includes:
According to the correspondence of preset scan frequency and switching frequency, the corresponding target switch of the Current Scan frequency is determined Frequency;
According to the target switch frequency, the switching frequency of the power supply adaptor is adjusted.
5. according to the method described in claim 4, it is characterized in that, the quantity of the target switch frequency be it is multiple, described According to the target switch frequency, the switching frequency of the power supply adaptor is adjusted, including:
Determine the current switch frequency of the fingerprint module;
The difference for calculating separately each target switch frequency and the current switch frequency in multiple target switch frequencies, obtains Multiple differences;
According to the multiple difference, the switching frequency of the power supply adaptor is adjusted to first object switching frequency, wherein institute It is the corresponding target switch frequency of minimal difference in the multiple difference to state first object switching frequency.
6. according to the method described in claim 1, it is characterized in that, the scan frequency of the adjustment fingerprint module, including:
The usable frequency that usable frequency is concentrated is preset according to the order traversal of frequency from high to low, and in the mistake of traversal usable frequency Following steps are executed in journey:
It sets usable frequency to the scan frequency of the fingerprint module, and obtains the power supply adaptor in the usable frequency Second common-mode noise intensity caused by lower;
Judge whether the second common-mode noise intensity is more than preset common-mode noise intensity;
When the second common-mode noise intensity is more than preset common-mode noise intensity, next usable frequency is traversed;Alternatively, working as When the second common-mode noise intensity is less than or equal to preset common-mode noise intensity, by the scan frequency tune of the fingerprint module Whole is the usable frequency, and stops traversing the process of usable frequency.
If 7. according to the method described in claim 6, after having traversed the usable frequency that default usable frequency is concentrated, acquired the Two common-mode noise intensity are both greater than preset common-mode noise intensity, and the scan frequency of the adjustment fingerprint module further includes:
The second minimum common-mode noise intensity is chosen from the second common-mode noise intensity of acquisition;
Determine corresponding first usable frequency of the second common-mode noise intensity of the minimum;
The scan frequency of the fingerprint module is adjusted to first usable frequency.
8. a kind of terminal device, which is characterized in that including:
Acquisition module, for when power supply adaptor is that the terminal device charges, obtaining power supply adaptor in fingerprint module First common-mode noise intensity caused by under Current Scan frequency;
Judgment module, for judging whether the first common-mode noise intensity is more than preset common-mode noise intensity;
Module is adjusted, for when the first common-mode noise intensity is more than preset common-mode noise intensity, adjusting the power supply The scan frequency of the switching frequency of adapter or the fingerprint module, to reduce the power supply adaptor to the fingerprint module The interference of generation.
9. terminal device according to claim 8, which is characterized in that the adjustment module includes:
First judging unit, for judging whether the power supply adaptor is standard configuration;
The first adjustment unit, for when the power supply adaptor is standard configuration, adjusting the switching frequency of the power supply adaptor;
Second adjustment unit, for when the power supply adaptor is not standard configuration, adjusting the scan frequency of the fingerprint module.
10. terminal device according to claim 9, which is characterized in that the judgment module includes:
Transmission unit, for sending inquiry instruction to the power supply adaptor, wherein the inquiry instruction is used to indicate the electricity Source adapter replys the identification information of the power supply adaptor to the terminal device;
Second judgment unit, for according to whether the mark letter for receiving the identification information of the power supply adaptor and receiving Whether breath is consistent with default identification information, judges whether the power supply adaptor is standard configuration;
Wherein, when the identification information for receiving the identification information of the power supply adaptor and receiving is consistent with default identification information When, determine that the power supply adaptor is standard configuration;When not receiving the identification information of the power supply adaptor, alternatively, receiving The identification information of the power supply adaptor but receive identification information and default identification information it is inconsistent when, determine that the power supply is suitable Orchestration is not standard configuration.
11. terminal device according to claim 8, which is characterized in that the adjustment module includes:
First determination unit determines the Current Scan for the correspondence according to preset scan frequency and switching frequency The corresponding target switch frequency of frequency;
Third adjustment unit, for according to the target switch frequency, adjusting the switching frequency of the power supply adaptor.
12. terminal device according to claim 11, which is characterized in that the quantity of the target switch frequency be it is multiple, The third adjustment unit includes:
Determination subelement, the current switching frequency for determining the fingerprint module;Computation subunit is more for calculating separately The difference of each target switch frequency and the current switch frequency in a target switch frequency, obtains multiple differences;
Second adjustment subelement, for according to the multiple difference, the switching frequency of the power supply adaptor to be adjusted to first Target switch frequency, wherein the first object switching frequency is that the corresponding target of minimal difference in the multiple difference is opened Close frequency.
13. terminal device according to claim 8, which is characterized in that the adjustment module includes:
Traversal Unit, for presetting the usable frequency that usable frequency is concentrated according to frequency order traversal from high to low, and time Following steps are executed during going through usable frequency:
It sets usable frequency to the scan frequency of the fingerprint module, and obtains the power supply adaptor in the usable frequency Second common-mode noise intensity caused by lower;
Judge whether the second common-mode noise intensity is more than preset common-mode noise intensity;
When the second common-mode noise intensity is more than preset common-mode noise intensity, next usable frequency is traversed;Alternatively, working as When the second common-mode noise intensity is less than or equal to preset common-mode noise intensity, by the scan frequency tune of the fingerprint module Whole is the usable frequency, and stops traversing the process of usable frequency.
14. terminal device according to claim 13, if the Traversal Unit traversed that default usable frequency concentrates can After frequency, the second acquired common-mode noise intensity is both greater than preset common-mode noise intensity, and the adjustment module further includes:
Acquiring unit, for choosing the second minimum common-mode noise intensity from the second common-mode noise intensity of acquisition;
Second determination unit, corresponding first usable frequency of the second common-mode noise intensity for determining the minimum;
4th adjustment unit, for the scan frequency of the fingerprint module to be adjusted to first usable frequency.
15. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 7 is realized when the computer program is executed by the processor Any one of described in anti-charging interference method the step of.
CN201810378366.0A 2018-04-25 2018-04-25 Method for resisting charging interference and terminal equipment Active CN108594952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810378366.0A CN108594952B (en) 2018-04-25 2018-04-25 Method for resisting charging interference and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810378366.0A CN108594952B (en) 2018-04-25 2018-04-25 Method for resisting charging interference and terminal equipment

Publications (2)

Publication Number Publication Date
CN108594952A true CN108594952A (en) 2018-09-28
CN108594952B CN108594952B (en) 2020-04-21

Family

ID=63609156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810378366.0A Active CN108594952B (en) 2018-04-25 2018-04-25 Method for resisting charging interference and terminal equipment

Country Status (1)

Country Link
CN (1) CN108594952B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508266A (en) * 2018-11-06 2019-03-22 晶晨半导体(上海)股份有限公司 Inhibit the method for EMI interference
CN110390319A (en) * 2019-07-30 2019-10-29 Oppo广东移动通信有限公司 Fingerprint identification method and Related product
CN112928908A (en) * 2021-01-22 2021-06-08 维沃移动通信有限公司 Power conversion apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104662765A (en) * 2012-06-26 2015-05-27 摩托罗拉移动技术公司 Battery charging interrupt
CN105093007A (en) * 2013-01-22 2015-11-25 青岛海信移动通信技术股份有限公司 Standard charger determining method for capacitive touch screen
CN105144048A (en) * 2013-03-12 2015-12-09 谷歌技术控股有限责任公司 Adaptive touch sensor control based on identification of attached accessory
CN106845422A (en) * 2017-01-22 2017-06-13 广东欧珀移动通信有限公司 A kind of fingerprint recognition module, fingerprint identification method and mobile terminal
CN107132949A (en) * 2017-04-28 2017-09-05 北京小米移动软件有限公司 anti-interference method, device, terminal and storage medium
CN107436666A (en) * 2016-05-26 2017-12-05 华为终端(东莞)有限公司 The control method and control device of a kind of power supply adaptor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104662765A (en) * 2012-06-26 2015-05-27 摩托罗拉移动技术公司 Battery charging interrupt
CN105093007A (en) * 2013-01-22 2015-11-25 青岛海信移动通信技术股份有限公司 Standard charger determining method for capacitive touch screen
CN105144048A (en) * 2013-03-12 2015-12-09 谷歌技术控股有限责任公司 Adaptive touch sensor control based on identification of attached accessory
CN107436666A (en) * 2016-05-26 2017-12-05 华为终端(东莞)有限公司 The control method and control device of a kind of power supply adaptor
CN106845422A (en) * 2017-01-22 2017-06-13 广东欧珀移动通信有限公司 A kind of fingerprint recognition module, fingerprint identification method and mobile terminal
CN107132949A (en) * 2017-04-28 2017-09-05 北京小米移动软件有限公司 anti-interference method, device, terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508266A (en) * 2018-11-06 2019-03-22 晶晨半导体(上海)股份有限公司 Inhibit the method for EMI interference
CN109508266B (en) * 2018-11-06 2022-01-21 晶晨半导体(上海)股份有限公司 Method for suppressing EMI interference
CN110390319A (en) * 2019-07-30 2019-10-29 Oppo广东移动通信有限公司 Fingerprint identification method and Related product
CN112928908A (en) * 2021-01-22 2021-06-08 维沃移动通信有限公司 Power conversion apparatus

Also Published As

Publication number Publication date
CN108594952B (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN107943551A (en) A kind of screen display method and mobile terminal
CN108227833A (en) Control method, terminal and the computer readable storage medium of flexible screen terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN108073343A (en) A kind of display interface method of adjustment and mobile terminal
CN108089767A (en) A kind of division methods and mobile terminal in fingerprint recognition region
CN107832110A (en) A kind of information processing method and mobile terminal
CN107808084A (en) A kind of touch operation method and mobile terminal
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN107679514A (en) A kind of face identification method and electronic equipment
CN107645609A (en) A kind of brightness adjusting method and mobile terminal
CN109144228A (en) A kind of fingerprint identification method and mobile terminal
CN107831891A (en) A kind of brightness adjusting method and mobile terminal
CN108521501A (en) Pronunciation inputting method and mobile terminal
CN108594952A (en) A kind of method and terminal device of anti-charging interference
CN108011887A (en) A kind of account management method and equipment
CN109981904A (en) A kind of method for controlling volume and terminal device
CN108062195A (en) The reminding method and mobile terminal of a kind of notification event
CN107967418A (en) Face identification method and mobile terminal
CN107249085A (en) Mobile terminal electric quantity display method, mobile terminal and computer-readable recording medium
CN108874281A (en) A kind of application program launching method and terminal device
CN108984231A (en) A kind of login method and mobile terminal of application program account
CN107895108A (en) A kind of operation management method and mobile terminal
CN108196773A (en) Control method, terminal and the computer readable storage medium of flexible screen terminal
CN107993300A (en) A kind of Work attendance method and device based on intelligent terminal
CN110312274A (en) A kind of method for building up and electronic equipment of wireless access point

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant