CN103995618B - Method and device for adjusting firmware parameter value of terminal touch screen anti-interference filtering module - Google Patents

Method and device for adjusting firmware parameter value of terminal touch screen anti-interference filtering module Download PDF

Info

Publication number
CN103995618B
CN103995618B CN201410253328.4A CN201410253328A CN103995618B CN 103995618 B CN103995618 B CN 103995618B CN 201410253328 A CN201410253328 A CN 201410253328A CN 103995618 B CN103995618 B CN 103995618B
Authority
CN
China
Prior art keywords
charging
metric values
parameter value
interference
setting time
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.)
Expired - Fee Related
Application number
CN201410253328.4A
Other languages
Chinese (zh)
Other versions
CN103995618A (en
Inventor
胡乔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410253328.4A priority Critical patent/CN103995618B/en
Publication of CN103995618A publication Critical patent/CN103995618A/en
Application granted granted Critical
Publication of CN103995618B publication Critical patent/CN103995618B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention discloses a method and device for adjusting firmware parameter value of a terminal touch screen anti-interference filtering module. The method includes the steps of detecting a charging current parameter value within a set time period under the condition that a terminal and an adapter are connected for charging is monitored, determining the charging interference metric corresponding to the set time period according to the detected charging current parameter value, and adjusting the firmware parameter value of the terminal touch screen anti-interference filtering module according to the determined charging interference metric. According to the technical scheme, the influence of the adapter on touch detection of a terminal touch screen in the charging process can be accurately and effectively reduced.

Description

The method and device of adjustment terminal touch screen anti-interference filtration module firmware parameter value
Technical field
The present embodiments relate to field of computer technology, more particularly, to adjustment terminal touch screen anti-interference filtration module are admittedly The method and device of part parameter value.
Background technology
With the fast development of electronic computer technology, the terminal unit (such as smart mobile phone) with touch screen swarm and Existing, become presently most one of electronic equipment of main flow.Wherein, touch screen is also called touch screen or contact panel, is a kind of The vicariouss liquid crystal indicator of the input signals such as contact can be received.When contacting the graphic button on screen, on screen Haptic feedback system can drive various hookup mechanisms according to the formula of preprogramming, is substituted for mechanical push button panel, And produce lively visual and sound effects by liquid crystal display picture.As a kind of up-to-date input equipment, it is current to touch screen The simplest, convenience, naturally a kind of man-machine interaction mode.
At present, in the case of terminal battery electricity quantity deficiency, adapter, can be by the city in electrical network after being connected with terminal Electricity is converted into being suitable for the standard electric of terminal works, to be charged to terminal.But, due to the electricity between every country or area Net has differences, and in different time, the electrical network of same country also can change, such that adapter with When after terminal connection for terminal charge, the electricity being converted to can have differences compared with standard electric, and terminal therefore can be led to touch The associated components parameter value (magnitude of voltage of such as resistance component or current value, capacitance of capacitive element etc.) touching screen becomes Change, thus the touch detection to terminal touch screen can be affected, interference is produced to it.For example, adapter is being connected with smart mobile phone The capacitance of electric capacity in the capacitive touch screen of smart mobile phone when charging afterwards, can be disturbed for smart mobile phone, when user is touched with handss When touching certain position on handset touch panel, at this position, the capacitance variation amount of electric capacity is likely to because of the presence of mushing error Not up to given threshold, so cause smart mobile phone touch screen to detect the sensitivity decrease of user input operation.
In the prior art, generally have additional anti-interference filtration module in terminal touch screen, this module can reduce suitable Orchestration impact to the detection of terminal touch screen in charging process.Specifically, this module is according to the filter value setting, resists and do Disturb value, water droplet value etc. to adjust the working condition of its internal part, so come to overcome adapter to terminal touch screen detect institute The interference causing.But, the firmware parameters value such as the filter value of anti-interference filtration module, anti-interference values, water droplet value is typically people For rule of thumb set, its inconvenient operation, adaptivity difference was it is impossible to enough adapters that reduces well were charging The impact touching detection to terminal touch screen in journey.
Content of the invention
Embodiments provide the method and device of adjustment terminal touch screen anti-interference filtration module firmware parameter value, The impact touching detection to terminal touch screen in charging process for the adapter can accurately and effectively be reduced.
In a first aspect, embodiments providing a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value Method, methods described includes:
Listening in the case that terminal and adapter set up and is connected to be charged, detecting the charging in setting time section Current parameters value;
According to the charging current parameter value being detected, determine corresponding to the charging interference metric in described setting time section Value;
According to determined by charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is carried out Adjustment.
Second aspect, the embodiment of the present invention additionally provides a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter The device of value, described device includes:
Charging current parameter value detector unit, for setting up the feelings being connected to be charged listening to terminal and adapter Charging current parameter value under condition, in detection setting time section;
Charging interference metric values determining unit, for according to the charging current parameter value being detected, determining corresponding to described Charging interference metric values in setting time section;
Firmware parameters value adjustment unit, for charging interference metric values determined by basis, anti-interference to terminal touch screen The firmware parameters value of filtration module is adjusted.
Technical scheme provided in an embodiment of the present invention, be not artificial rule of thumb to set firmware parameters value, but Listening in the case that terminal and adapter set up and is connected to be charged, be worth to charging by detecting charging current parameter Interference metric values, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted Whole, so that for the setting of firmware parameters value possesses good adaptivity, and more artificial setting firmware parameters value, energy The enough adapter of reduction well impacts touching detection to terminal touch screen in charging process.
Brief description
Fig. 1 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention one provides The schematic flow sheet of method;
Fig. 2 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention two provides The schematic flow sheet of method;
Fig. 3 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention three provides The schematic flow sheet of method;
Fig. 4 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention four provides The schematic flow sheet of method;
Fig. 5 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention five provides The structural representation of device;
Fig. 6 is that a kind of terminal touch screen anti-interference filtration module firmware that preferably adjusts that the embodiment of the present invention six provides is joined The schematic flow sheet of the method for numerical value.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than entire infrastructure is illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention one provides The schematic flow sheet of method, the method can be held by the device of adjustment terminal touch screen anti-interference filtration module firmware parameter value OK, described device can be realized by software and/or hardware, can be built in terminal inner as a part for terminal, alternatively can Enough and terminal enters the stand-alone product of row data communication.Referring to Fig. 1, the method specifically includes following steps:
Step 110, listening in the case that terminal and adapter set up and is connected to be charged, detection setting time section Interior charging current parameter value.
In the present embodiment, watcher thread can be created, monitor whether a terminal is set up with adapter every the fixed cycle Connect being charged.Listening in the case that terminal and adapter set up and is connected to be charged, detection setting time Charging current parameter value in section.Wherein, charging current parameter value is including but not limited to: each time in setting time section The range value of the charging current on node, the crest value of the charging current in setting time section and/or the crest value of charging current Each timing node being located etc..In embodiments of the present invention, described crest value refers to the crest value of charging current amplitude.
Charging current parameter value in detection setting time section, can be particularly as follows: obtain the setting of reporting of charging module of terminal The charging current parameter value fixed time in section.In embodiments of the present invention, the charging module of terminal is connected with adapter, can The parameter value of adapter charging current during to terminal charge is detected.
Step 120, according to the charging current parameter value being detected, determine and do corresponding to the charging in described setting time section Disturb metric.
After obtaining the charging current parameter value in setting time section, one can be determined according to described charging current parameter value Individual corresponding to the charging interference metric values in described setting time section.
In the present embodiment, can first obtained charging current parameter value be parsed, thus obtain being detected fills The variation characteristic of electric current parameters value, then according to obtained variation characteristic, determines corresponding in described setting time section Charging interference metric values.
Wherein, according to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting time section, May include: and calculate the distance between obtained variation characteristic and default standards change feature, then according to the distance calculating Obtain the charging interference metric values in described setting time section, distance is bigger, and charging interference metric values are less.
For example, the range value being the charging current on each timing node when the charging current parameter value in setting time section When, obtained variation characteristic is: the period of change of range value in setting time for the charging current, and default standards change is special Levy as standards change cycle of the range value of charging current, distance therebetween can be calculated using Euclidean distance computing formula Obtain.Certainly, it should be appreciated by those skilled in the art that can also be according to other modes come according to the charging current being detected Parameter value determines corresponding to the charging interference metric values in described setting time section.For example, it is calculated one according to setting formula Individual corresponding to the charging interference metric values in described setting time section, the variable in this formula is the charging current parameter being detected Value.For example, the charging current on each timing node in the charging current parameter value being detected is for setting time section Range value in the case of, this formula can be set as that is worked as the charging current amplitude on each timing node in setting time section When the meansigma methodss of value are more than setting amplitude threshold, the function of the change that is directly proportional with described meansigma methodss, its functional value is setting time Charging interference metric values in section.
Step 130, charging interference metric values determined by basis, the firmware ginseng to terminal touch screen anti-interference filtration module Numerical value is adjusted.
In the present embodiment, after determining the charging interference metric values in described setting time section, can according to really Fixed charging interference metric values, are adjusted to the firmware parameters value of terminal touch screen anti-interference filtration module.Wherein, terminal is touched Touch the firmware parameters value of screen anti-interference filtration module, the alternatively referred to as frequency conversion threshold value of terminal touch screen, it may include anti-interference filtration The filter value of module, anti-interference values, water droplet value etc..
Firmware parameters value to be obtained after adjustment can determine according to the regulation rule prestoring.Specifically, should Firmware parameters value after adjusting determined by rule can with determined by charging interference metric values and terminal do not build with adapter Vertical connection is associated with the original firmware parameters value in the case of being charged.Bigger in charging interference metric values, adapter is to end In the case that the charging annoyance level of end touch screen is bigger, the firmware parameters value of anti-interference filtration module should be adjusted, to make anti- Interference filter module can be disturbed to the charging of terminal touch screen offset adapter.
For example, the scope of the charging interference metric values defined in the present embodiment be 0-1, when determined by charging degree of disturbance When value is less than 0.3, adapter is less to the charging annoyance level of terminal touch screen, now can not be anti-interference to terminal touch screen The filter value of filtration module is adjusted;When determined by charging interference metric values be more than 0.3 and less than 0.7 when, adapter pair The charging annoyance level of terminal touch screen is larger, now can by the filter value of anti-interference filtration module be adjusted to terminal not be adapted to Device is set up and is connected with 1.5 times of the filter value in the case of being charged;When determined by charging interference metric values be more than 0.7 and little When equal to 1, adapter is very big to the charging annoyance level of terminal touch screen, now can be by the filter value of anti-interference filtration module It is adjusted to terminal and does not set up with adapter and be connected with 1.8 times of the filter value in the case of being charged.
Technical scheme provided in an embodiment of the present invention, be not artificial to set firmware parameters value based on experience value, and It is to listen in the case that terminal and adapter set up and is connected to be charged, be worth to fill by detection charging current parameter Electrical interference metric, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is carried out Adjustment, so that for the setting of firmware parameters value possesses good adaptivity, and more artificial setting firmware parameters value, Can be good at reducing the impact touching detection to terminal touch screen in charging process for the adapter.
Embodiment two
Fig. 2 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention two provides The schematic flow sheet of method, the present embodiment, will " the charging current in detection setting time section on the basis of above-described embodiment one The optimization order of parameter value " is " to obtain the charging current parameter value in the setting time section that reports of charging module of terminal, wherein Charging current parameter value is the crest value of charging current ", will " be determined corresponding to described according to the charging current parameter value being detected The optimization order of the charging interference metric values in setting time section " by " the charging current parameter value being detected is parsed, with Obtain the variation characteristic of detected charging current parameter value;According to obtained variation characteristic, determine corresponding to described setting Charging interference metric values in time period ", to accelerate the adjustment process of firmware parameters value, being capable of significantly more efficient reduction adapter The impact touching detection to terminal touch screen in charging process.Referring to Fig. 2, the method comprises the steps:
Step 210, listening in the case that terminal and adapter set up and is connected to be charged, the charging of acquisition terminal The charging current parameter value in setting time section that module reports, wherein charging current parameter value are the crest value of charging current;
Step 220, acquired charging current parameter value is parsed, to obtain acquired charging current parameter value Variation characteristic;
Step 230, according to obtained variation characteristic, determine corresponding to the charging interference metric in described setting time section Value;
Step 240, charging interference metric values determined by basis, the firmware ginseng to terminal touch screen anti-interference filtration module Numerical value is adjusted.
For the change of the crest value of charging current in setting time section, just can estimate current charging annoyance level, And will spend when detecting the current amplitude of other times node compared with this two factors of multiple resource, charging current is joined by the present embodiment Numerical value is preferably the crest value of charging current.
Carry out parsing the variation characteristic of the charging current parameter value obtaining to acquired charging current parameter value, can wrap Include: the difference change between adjacent wave peak value, the difference between timing node corresponding to adjacent wave peak value in setting time section Change, difference change of each crest value in the setting time section of detection and setting crest value etc..If obtained difference Amplitude of variation is bigger, and adapter is bigger to the charging annoyance level of terminal touch screen, determined by correspond to described setting time Charging interference metric values in section are also bigger.The technical scheme of the present embodiment, is not artificial setting based on experience value Firmware parameters value, but listening in the case that terminal and adapter set up and is connected to be charged, charged by detection electric Stream parameter is worth to charging interference metric values, and then according to charging interference metric values to terminal touch screen anti-interference filtration module Firmware parameters value is adjusted, so that the setting of firmware parameters value possesses good adaptivity, and more artificial setting For firmware parameters value, can be good at reducing the impact touching detection to terminal touch screen in charging process for the adapter. And, charging current parameter value is preferably the crest value of charging current, can save spent by firmware parameters adjustment process Resource, accelerates its adjustment process.
Embodiment three
Fig. 3 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention three provides The schematic flow sheet of method, the present embodiment, on the basis of above-described embodiment one and embodiment two, increased judgement and terminates this The step of firmware parameters value adjustment.Referring to Fig. 3, the method comprises the steps:
Step 310, listening in the case that terminal and adapter set up and is connected to be charged, detection setting time section Interior charging current parameter value;
Step 320, according to the charging current parameter value being detected, determine and do corresponding to the charging in described setting time section Disturb metric;
Step 330, charging interference metric values determined by basis, the firmware ginseng to terminal touch screen anti-interference filtration module Numerical value is adjusted;
The charging current in the new settings time period after in step 340, the described setting time section of continuation detection record Parameter value;
Step 350, according to the charging current parameter value in the described new settings time period detected, determine corresponding to described Charging interference metric values in the new settings time period;
If in the charging interference metric values in the step 360 described new settings time period and a upper setting time section The difference of charging interference metric values, within the scope of given threshold, terminates the firmware parameters to terminal touch screen anti-interference filtration module The adjustment flow process of value.
In the present embodiment, if the charging interference metric values in the described new settings time period and a upper setting time section The difference of interior charging interference metric values within the scope of given threshold, is then considered as in continuous two setting time sections adapter to end The charging annoyance level of end touch screen is identical, terminates this adjustment flow process to firmware parameters value.Until the insertion of next adapter When terminal is come to terminal charge, restart the adjustment flow process to firmware parameters.
Given threshold scope can be preset when dispatching from the factory, and determines also dependent on user input instruction, the present embodiment This is not construed as limiting.Preferably, when the scope of defined charging interference metric values is that between 0-1, given threshold scope can quilt Be set to defined charging interference metric values scope 1%, as: 0-0.01.
One of the present embodiment preferred embodiment in, if the charging interference metric in the described new settings time period The difference of the charging interference metric values in value and a upper setting time section not within the scope of given threshold, then judges continuous two In setting time section, adapter differs to the charging annoyance level of terminal touch screen, and return to step 310 perform detection is next Charging current parameter value in setting time section, and then continue executing with the firmware parameters to terminal touch screen anti-interference filtration module The flow process that value is adjusted.
The technical scheme of the present embodiment, be not artificial to set firmware parameters value based on experience value, but monitoring Set up to terminal and adapter in the case of being connected to be charged, be worth to charging degree of disturbance by detecting charging current parameter Value, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, from And for making the setting of firmware parameters value possess good adaptivity, and more artificial setting firmware parameters value, can be very Good reduces the impact touching detection to terminal touch screen in charging process for the adapter.Further, it is possible to set at continuous two In the case of in section of fixing time, adapter is to the charging annoyance level identical of terminal touch screen, terminate in time terminal touch screen is resisted The adjustment flow process of the firmware parameters value of interference filter module, saves resource.
Example IV
Fig. 4 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention four provides The schematic flow sheet of method, the present embodiment on the basis of above-described embodiment one and embodiment two, will " according to determined by charge Interference metric values, are adjusted to the firmware parameters value of terminal touch screen anti-interference filtration module " optimization order be " obtain note The charging interference metric values in continuous n-1 setting time section before in the described setting time section of record, if continuous n-1 Charging interference metric values satisfaction in charging interference metric values and described setting time section in setting time section imposes a condition, then Firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, wherein said n is natural number ", to improve The stability of firmware parameters value adjustment.Referring to Fig. 4, the method comprises the steps:
Step 410, listening in the case that terminal and adapter set up and is connected to be charged, detection setting time section Interior charging current parameter value;
Step 420, according to the charging current parameter value being detected, determine and do corresponding to the charging in described setting time section Disturb metric;
The charging in continuous n-1 setting time section before in step 430, the described setting time section of acquisition record is done Disturb metric;
If in the charging interference metric values and described setting time section in the continuous n-1 setting time section of step 440 Charging interference metric values satisfaction imposes a condition, then the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted Whole.
Wherein, n is natural number, impose a condition for: charging interference metric values in described continuous n-1 setting time section with M charging interference metric values in charging interference metric values in described setting time section are all higher than equal to the interference threshold setting Value, m is the natural number less than or equal to n.
Certainly, impose a condition and can be also: charging interference metric values in described continuous n-1 setting time section and described set The charging interference metric values in section of fixing time are all higher than equal to the interference threshold setting.
Now, the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, can particularly as follows: according to The meansigma methodss of charging interference metric values in currently available continuous n setting time section and terminal are not set up with adapter Connect with the original firmware parameters value in the case of being charged, determine new firmware parameters value;Present terminal touch screen is anti-dry Disturb the firmware parameters value in filtration module and be adjusted to described new firmware parameters value.
For example, the scope of the charging interference metric values defined in the present embodiment is 0-1, and firmware parameters value is filter value When, determine that the detailed process of new filter value is: if the meansigma methodss of currently available charging interference metric values are less than 0.3, new filter Wave number is equal to original filter value;If the meansigma methodss of currently available charging interference metric values are more than 0.3 and are less than 0.7, newly Filter value is equal to 1.5 times of original filter value;If the meansigma methodss of currently available charging interference metric values are more than 0.7 and are less than Equal to 1, new filter value is equal to 1.8 times of original filter value.
The technical scheme that the present embodiment provides, be not artificial to set firmware parameters value based on experience value, but Listen in the case that terminal and adapter set up and is connected to be charged, done by detecting that charging current parameter is worth to charge Disturb metric, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted Whole, so that for the setting of firmware parameters value possesses good adaptivity, and more artificial setting firmware parameters value, energy The enough adapter of reduction well impacts touching detection to terminal touch screen in charging process.And, it is currently available Continuous n setting time section in charging interference metric values meet impose a condition down, the just anti-interference filter to terminal touch screen Firmware parameters value in ripple module is adjusted, rather than once the charging interference metric values in single setting time section is detected When satisfaction imposes a condition, just original firmware parameters value is adjusted to new firmware parameters value, so can be because of other factors In the case of the more of short duration charging interference leading to, firmware parameters value is not adjusted it is ensured that firmware parameters value adjusts Stability.
On the basis of technique scheme, if the charging interference metric values institute in continuous n-1 setting time section State the satisfaction of the charging interference metric values in setting time section to impose a condition, then in the anti-interference filtration module of terminal touch screen After firmware parameters value is adjusted:
The charging current parameter value in the new settings time period after continuing in the described setting time section of detection record;Root According to the charging current parameter value in the described new settings time period detected, determine corresponding to filling in the described new settings time period Electrical interference metric;
If in the charging interference metric values in the described new settings time period and currently available continuous n setting time section The meansigma methodss of charging interference metric values difference within the scope of given threshold, terminate to terminal touch screen anti-interference filtration module Firmware parameters value adjustment flow process.
Embodiment five
Fig. 5 is a kind of adjustment terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention four provides The structural representation of device.Referring to Fig. 5, the concrete structure of this device is as follows:
Charging current parameter value detector unit 510, for being connected to be charged listening to terminal and adapter and set up In the case of, detect the charging current parameter value in setting time section;
Charging interference metric values determining unit 520, for according to the charging current parameter value being detected, determining corresponding to institute State the charging interference metric values in setting time section;
Firmware parameters value adjustment unit 530, for charging interference metric values determined by basis, resists dry to terminal touch screen The firmware parameters value disturbing filtration module is adjusted.
Preferably, described charging interference metric values determining unit 520, specifically for:
The charging current parameter value being detected is parsed, to obtain the change spy of detected charging current parameter value Levy;
According to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting time section.
Preferably, described firmware parameters value adjustment unit 530, specifically for:
The charging interference metric in continuous n-1 setting time section before obtaining in the described setting time section of record Value, if the charging interference in the charging interference metric values and described setting time section in described continuous n-1 setting time section Metric satisfaction imposes a condition, then the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, wherein Described n is natural number.
Preferably, in the charging interference metric values and described setting time section in described continuous n-1 setting time section M charging interference metric values in charging interference metric values be all higher than equal to set interference threshold, wherein said m be less than etc. Natural number in n.
Preferably, described charging current parameter value detector unit 510, is additionally operable to: in described firmware parameters value adjustment unit According to determined by charging interference metric values, it is adjusted to the firmware parameters value of terminal touch screen anti-interference filtration module Afterwards, the charging current parameter value in the new settings time period after continuing in the described setting time section of detection record;
Described charging interference metric values determining unit 520, is additionally operable to according in the described new settings time period detected Charging current parameter value, determines corresponding to the charging interference metric values in the described new settings time period;
Described firmware parameters value adjustment unit 530, if the charging interference metric being additionally operable in the described new settings time period The difference of the charging interference metric values in value and a upper setting time section, within the scope of given threshold, terminates to terminal touch screen The adjustment flow process of the firmware parameters value of anti-interference filtration module.
On the basis of technique scheme, described charging current parameter value detector unit 510, specifically for:
Listening in the case that terminal and adapter set up and is connected to be charged, the charging module of the described terminal of acquisition The charging current parameter value in setting time section reporting, wherein said charging current parameter value is the crest of described charging current Value.
The said goods can perform the method that any embodiment of the present invention is provided, and possesses the corresponding functional module of execution method And beneficial effect.
Embodiment six
Fig. 6 is that a kind of terminal touch screen anti-interference filtration module firmware that preferably adjusts that the embodiment of the present invention six provides is joined The schematic flow sheet of the method for numerical value.The present embodiment can be based on above-described embodiment, there is provided a kind of preferred embodiment.The party Method can be executed by the device of adjustment terminal touch screen anti-interference filtration module firmware parameter value, and described device can be by software And/or hardware realization, terminal inner can be built in as a part for terminal, alternatively can enter row data communication with terminal Stand-alone product.Referring to Fig. 6, the method comprises the steps:
Step 610, listening in the case that terminal and adapter set up and is connected to be charged, the charging of acquisition terminal The crest value of the charging current in setting time section that module reports;
Step 620, the crest value to the charging current in acquired setting time section parse, acquired to obtain Charging current crest value variation characteristic;
Step 630, according to obtained variation characteristic, determine corresponding to the charging interference metric values in setting time section;
Step 640, charging interference metric values determined by basis, judge whether to need to terminal touch screen anti-interference filtration The firmware parameters value of module is adjusted;
If it is, execution step 650, otherwise execution step 660;
Step 650, the firmware parameters value to terminal touch screen anti-interference filtration module are adjusted, and notify filling of terminal Electric module detects and reports the crest value of the charging current in next setting time section;
Return to step 610 continues executing with;
Step 660, the charging module of notice terminal need not detect again and report the charging electricity in next setting time section The crest value of stream, terminates flow process.
Technical scheme provided in an embodiment of the present invention, on the one hand, be connected to carry out listening to terminal and setting up with adapter In the case of charging, it is worth to charging interference metric values by detecting charging current parameter, and then according to charging interference metric values The firmware parameters value of terminal touch screen anti-interference filtration module is adjusted so that the setting of firmware parameters value possess good Good adaptivity, and for more artificial setting firmware parameters value, can be good at reduction adapter right in charging process Terminal touch screen touch the impact of detection it is ensured that touch screen normal work;On the other hand, charging current parameter value is preferably The crest value of charging current, can save the resource spent by firmware parameters adjustment process, accelerate its adjustment process;Further side Face, can in the case of the charging annoyance level identical to terminal touch screen for the adapter in continuous two setting time sections, and When terminate this adjustment flow process to firmware parameters value, save resource.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (12)

1. a kind of method of adjustment terminal touch screen anti-interference filtration module firmware parameter value is it is characterised in that include:
Listening in the case that terminal and adapter set up and is connected to be charged, detecting the charging current in setting time section Parameter value;
According to the charging current parameter value being detected, determine corresponding to the charging interference metric values in described setting time section;
According to determined by charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted Whole.
2. method according to claim 1 it is characterised in that described according to the charging current parameter value being detected, determine Corresponding to the charging interference metric values in described setting time section, comprising:
The charging current parameter value being detected is parsed, to obtain the variation characteristic of detected charging current parameter value;
According to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting time section.
3. method according to claim 1 is it is characterised in that charging interference metric values determined by described basis, to end Firmware parameters value in the anti-interference filtration module of end touch screen is adjusted, comprising:
The charging interference metric values in continuous n-1 setting time section before obtaining in the described setting time section of record, such as The charging interference metric values in charging interference metric values and described setting time section in really described continuous n-1 setting time section Satisfaction imposes a condition, then the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, and wherein said n is Natural number.
4. method according to claim 3 is it is characterised in that described impose a condition as described continuous n-1 setting time M charging interference metric values in the charging interference metric values in charging interference metric values and described setting time section in section are equal More than or equal to the interference threshold setting, wherein said m is the natural number less than or equal to n.
5. method according to claim 1 is it is characterised in that in charging interference metric values determined by basis, to terminal After the firmware parameters value of touch screen anti-interference filtration module is adjusted, also include:
The charging current parameter value in the new settings time period after continuing in the described setting time section of detection record;
According to the charging current parameter value in the described new settings time period detected, determine corresponding to the described new settings time period Interior charging interference metric values;
If the charging interference metric values in the described new settings time period and the charging interference metric in a upper setting time section The difference of value, within the scope of given threshold, terminates the adjustment stream of the firmware parameters value to terminal touch screen anti-interference filtration module Journey.
6. the method according to any one of claim 1-5 is it is characterised in that detect the charging current in setting time section Parameter value, comprising: the charging current parameter value in setting time section that the charging module of the described terminal of acquisition reports, wherein said Charging current parameter value is the crest value of described charging current.
7. a kind of device of adjustment terminal touch screen anti-interference filtration module firmware parameter value is it is characterised in that include:
Charging current parameter value detector unit, for setting up situation about being connected to be charged listening to terminal and adapter Under, detect the charging current parameter value in setting time section;
Charging interference metric values determining unit, for according to the charging current parameter value being detected, determining corresponding to described setting Charging interference metric values in time period;
Firmware parameters value adjustment unit, for charging interference metric values determined by basis, to terminal touch screen anti-interference filtration The firmware parameters value of module is adjusted.
8. device according to claim 7 is it is characterised in that described charging interference metric values determining unit, specifically for:
The charging current parameter value being detected is parsed, to obtain the variation characteristic of detected charging current parameter value;
According to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting time section.
9. device according to claim 7 is it is characterised in that described firmware parameters value adjustment unit, specifically for:
The charging interference metric values in continuous n-1 setting time section before obtaining in the described setting time section of record, such as The charging interference metric values in charging interference metric values and described setting time section in really described continuous n-1 setting time section Satisfaction imposes a condition, then the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, and wherein said n is Natural number.
10. device according to claim 9 it is characterised in that described impose a condition for: described continuous n-1 set when Between m charging interference metric values in charging interference metric values in charging interference metric values and described setting time section in section It is all higher than equal to the interference threshold setting, wherein said m is the natural number less than or equal to n.
11. devices according to claim 7, it is characterised in that described charging current parameter value detector unit, are additionally operable to: Described firmware parameters value adjustment unit according to determined by charging interference metric values, to terminal touch screen anti-interference filtration module Firmware parameters value be adjusted after, continue detection record described setting time section in after the new settings time period in Charging current parameter value;
Described charging interference metric values determining unit, is additionally operable to according to the charging current in the described new settings time period detected Parameter value, determines corresponding to the charging interference metric values in the described new settings time period;
Described firmware parameters value adjustment unit, if the charging interference metric values being additionally operable in the described new settings time period and upper The difference of the charging interference metric values in individual setting time section, within the scope of given threshold, terminates the anti-interference filter to terminal touch screen The adjustment flow process of the firmware parameters value of ripple module.
12. devices according to any one of claim 7-11 are it is characterised in that the detection of described charging current parameter value is single Unit, specifically for:
Listening in the case that terminal and adapter set up and is connected to be charged, the charging module of the described terminal of acquisition reports Setting time section in charging current parameter value, wherein said charging current parameter value is the crest value of described charging current.
CN201410253328.4A 2014-06-09 2014-06-09 Method and device for adjusting firmware parameter value of terminal touch screen anti-interference filtering module Expired - Fee Related CN103995618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410253328.4A CN103995618B (en) 2014-06-09 2014-06-09 Method and device for adjusting firmware parameter value of terminal touch screen anti-interference filtering module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410253328.4A CN103995618B (en) 2014-06-09 2014-06-09 Method and device for adjusting firmware parameter value of terminal touch screen anti-interference filtering module

Publications (2)

Publication Number Publication Date
CN103995618A CN103995618A (en) 2014-08-20
CN103995618B true CN103995618B (en) 2017-01-25

Family

ID=51309804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410253328.4A Expired - Fee Related CN103995618B (en) 2014-06-09 2014-06-09 Method and device for adjusting firmware parameter value of terminal touch screen anti-interference filtering module

Country Status (1)

Country Link
CN (1) CN103995618B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017063191A1 (en) 2015-10-16 2017-04-20 广东欧珀移动通信有限公司 Method of eliminating interference on touch screen from charger, and mobile terminal
CN105389225A (en) * 2015-11-25 2016-03-09 小米科技有限责任公司 Touch screen reporting point processing method and apparatus
CN107436666B (en) 2016-05-26 2020-11-06 华为终端有限公司 Control method and control device of power adapter
US10908735B2 (en) 2016-09-21 2021-02-02 Huawei Technologies Co., Ltd. Anti-interference method and apparatus for touch panel
WO2018166057A1 (en) * 2017-03-13 2018-09-20 华为技术有限公司 Method and electronic device for outputting touch control signals
CN107291310A (en) * 2017-06-21 2017-10-24 珠海格力电器股份有限公司 Self-adaptive adjustment method, device and system for sensitivity of touch screen
CN107402675B (en) 2017-07-28 2019-08-02 Oppo广东移动通信有限公司 A kind of response method of touch operation, device, storage medium and terminal
CN108984031A (en) * 2018-07-11 2018-12-11 深圳贝特莱电子科技股份有限公司 A kind of method that touch chip supports a variety of touch screens

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332814A (en) * 2011-09-14 2012-01-25 杭州矽力杰半导体技术有限公司 Power factor correction control circuit for reducing EMI (electro magnetic interference)
CN102629163A (en) * 2010-12-13 2012-08-08 三星电子株式会社 Method for controlling operation of touch panel and portable terminal supporting the same
CN102841715A (en) * 2012-08-09 2012-12-26 深圳市汇顶科技有限公司 Capacitive touch sensor and touch control terminal and anti-interference method and system thereof
CN103186266A (en) * 2011-12-30 2013-07-03 天津富纳源创科技有限公司 Method for adjusting sensitivity of touch panel
CN103543896A (en) * 2013-10-29 2014-01-29 广东欧珀移动通信有限公司 Method and system for adjusting touch screen sensitivity

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629163A (en) * 2010-12-13 2012-08-08 三星电子株式会社 Method for controlling operation of touch panel and portable terminal supporting the same
CN102332814A (en) * 2011-09-14 2012-01-25 杭州矽力杰半导体技术有限公司 Power factor correction control circuit for reducing EMI (electro magnetic interference)
CN103186266A (en) * 2011-12-30 2013-07-03 天津富纳源创科技有限公司 Method for adjusting sensitivity of touch panel
CN102841715A (en) * 2012-08-09 2012-12-26 深圳市汇顶科技有限公司 Capacitive touch sensor and touch control terminal and anti-interference method and system thereof
CN103543896A (en) * 2013-10-29 2014-01-29 广东欧珀移动通信有限公司 Method and system for adjusting touch screen sensitivity

Also Published As

Publication number Publication date
CN103995618A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
CN103995618B (en) Method and device for adjusting firmware parameter value of terminal touch screen anti-interference filtering module
EP2658231B1 (en) Energy-saving device and method for portable terminal
CN101324822B (en) Multiple simultaneous frequency detection
CN104570144B (en) A kind of adaptive sensing adjusting thresholds system and method for proximity transducer
CN106645978B (en) The wearing state detection method and detection device of intelligent wearable device
CN103793099B (en) The method that touch-sensing system and being used to reduces its delay
CN105326493A (en) Method and system for monitoring heart rate based on wearable electronic equipment
CN103235672A (en) Automatic calibrating method and system for capacitive touch screen
CN103489387A (en) Displayer picture switching response time test system and method
CN104461327B (en) A kind of information processing method and electronic equipment
CN106254660A (en) The awakening method of display screen and device
CN104423765A (en) Electronic device with touch sensor and driving method thereof
CN103605093A (en) Calibration method of display electricity value and system thereof
CN102915059A (en) Means of providing variable reactive load capability on an electronic load
CN106371938B (en) Smart delays auto shutdown system and its method
CN101945166A (en) Mobile terminal and locking method thereof
CN104216790A (en) Part anomaly monitoring method and electronic equipment
CN104360769A (en) Anti-interference method for touch panel, touch panel and display
CN203480800U (en) Display screen switching response time test system
CN102236481A (en) Approach detection method of capacitance touch plate and application thereof
CN103257773B (en) Face based on capacitance touch screen is near recognition methods
CN109085414A (en) Voltage detection method and device
CN105353964A (en) Input control method, apparatus and terminal equipment
CN108391261A (en) A kind of bluetooth discovery detection method, detection device, storage medium and mobile terminal
CN108594158B (en) Differential mode interference test device and method

Legal Events

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

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

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170125