CN103995618A - 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
CN103995618A
CN103995618A CN201410253328.4A CN201410253328A CN103995618A CN 103995618 A CN103995618 A CN 103995618A CN 201410253328 A CN201410253328 A CN 201410253328A CN 103995618 A CN103995618 A CN 103995618A
Authority
CN
China
Prior art keywords
charging
setting
metric values
parameter value
time section
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
CN201410253328.4A
Other languages
Chinese (zh)
Other versions
CN103995618B (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

Adjust method and the device of terminal touch screen anti-interference filtration module firmware parameter value
Technical field
The embodiment of the present invention relates to field of computer technology, relates in particular to method and the device of adjusting terminal touch screen anti-interference filtration module firmware parameter value.
Background technology
Along with the fast development of electronic computer technology, the terminal device (for example smart mobile phone) with touch-screen is swarmed and shows, and becomes one of electronic equipment of current main flow the most.Wherein, touch-screen is called again touch screen or contact panel, is a kind of induction type liquid crystal indicator that receives the input signals such as contact.In the time having contacted the graphic button on screen, the haptic feedback system on screen can drive various hookup mechanisms according to the formula of programming in advance, can be in order to replace mechanical push button panel, and produce lively visual and sound effects by liquid crystal display picture.Touch-screen is as a kind of up-to-date input equipment, and it is the simplest, convenient, natural a kind of man-machine interaction mode at present.
At present, the in the situation that of terminal battery electricity quantity deficiency, adapter, after being connected with terminal, can convert the civil power in electrical network to the standard electric that is applicable to terminal works, so that terminal is charged.But, because the electrical network between every country or area there are differences, and in different time, the electrical network of same country also can change, can make like this adapter be terminal charge after being connected with terminal time, the electricity being converted to can there are differences compared with standard electric, therefore can cause associated components parameter value (magnitude of voltage of for example resistance component or the current value of terminal touch screen, the capacitance of capacitive element etc.) change, thereby can affect, the touch of terminal touch screen is detected, it is produced and is disturbed.For example, when adapter charges for smart mobile phone after being connected with smart mobile phone, the capacitance of electric capacity in the capacitive touch screen of meeting interference smart mobile phone, in the time that user touches certain position on handset touch panel with hand, the capacitance variation amount of this position electric capacity is probably because the existence of mushing error does not reach setting threshold, so cause smart mobile phone touch-screen to detect the sensitivity of user's input operation.
In the prior art, conventionally in terminal touch screen, have additional anti-interference filtration module, this module can reduce the impact of adapter detection on terminal touch screen in charging process.Concrete, this module is to drip value etc. according to filter value, anti-interference value, the water resistant set to adjust the duty of its internal part, and then overcomes adapter and terminal touch screen is detected to the interference causing.But, the filter value of anti-interference filtration module, anti-interference value, water resistant are dripped normally artificial rule of thumb the setting of the firmware parameters values such as value, its inconvenient operation, adaptivity is poor, can not well reduce the impact that adapter detects the touch of terminal touch screen in charging process.
Summary of the invention
The embodiment of the present invention provides method and the device of adjusting terminal touch screen anti-interference filtration module firmware parameter value, can reduce accurately and effectively the impact that adapter detects the touch of terminal touch screen in charging process.
First aspect, the embodiment of the present invention provides a kind of method of adjusting terminal touch screen anti-interference filtration module firmware parameter value, and described method comprises:
In the situation that listening to terminal and adapter and connecting to charge, detect the charging current parameter value in setting-up time section;
According to detected charging current parameter value, determine corresponding to the charging interference metric values in described setting-up time section;
According to determined charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted.
Second aspect, the embodiment of the present invention also provides a kind of device of adjusting terminal touch screen anti-interference filtration module firmware parameter value, and described device comprises:
Charging current parameter value detecting unit, in the situation that listening to terminal and adapter and connecting to charge, detects the charging current parameter value in setting-up time section;
Charging interference metric values determining unit, for according to detected charging current parameter value, determines corresponding to the charging interference metric values in described setting-up time section;
Firmware parameters value adjustment unit, for according to determined charging interference metric values, adjusts the firmware parameters value of terminal touch screen anti-interference filtration module.
The technical scheme that the embodiment of the present invention provides, it is not the artificial firmware parameters value of rule of thumb setting, but in the situation that listening to terminal and adapter and connecting to charge, obtain by detecting charging current parameter value the interference metric values of charging, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, thereby the setting that makes firmware parameters value possesses good adaptivity, and compared with artificial setting firmware parameters value, can be good at reducing the impact that adapter detects the touch of terminal touch screen in charging process.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of a kind of method of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention one provides;
Fig. 2 is the schematic flow sheet of a kind of method of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention two provides;
Fig. 3 is the schematic flow sheet of a kind of method of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention three provides;
Fig. 4 is the schematic flow sheet of a kind of method of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention four provides;
Fig. 5 is the structural representation of a kind of device of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention five provides;
Fig. 6 is the schematic flow sheet of the method for a kind of preferred adjustment terminal touch screen anti-interference filtration module firmware parameter value that provides of the embodiment of the present invention six.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, in accompanying drawing, only show part related to the present invention but not entire infrastructure.
Embodiment mono-
Fig. 1 is the schematic flow sheet of a kind of method of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention one provides, the method can be carried out by the device of adjusting terminal touch screen anti-interference filtration module firmware parameter value, described device can be realized by software and/or hardware, a part that can be used as terminal is built in terminal inner, also can be the stand-alone product that can carry out with terminal data communication.Referring to Fig. 1, the method specifically comprises the steps:
Step 110, in the situation that listening to terminal and adapter and connecting to charge, detect the charging current parameter value in setting-up time section.
In the present embodiment, can create watcher thread, monitor a terminal every the fixed cycle and whether set up and be connected to charge with adapter.In the situation that listening to terminal and adapter and connecting to charge, detect the charging current parameter value in setting-up time section.Wherein, charging current parameter value include but not limited to be: the range value of the charging current on each timing node in setting-up time section, each timing node at the crest value place of the crest value of the charging current in setting-up time section and/or charging current etc.In embodiments of the present invention, described crest value refers to the crest value of charging current amplitude.
Detect the charging current parameter value in setting-up time section, can be specially: obtain the charging current parameter value in the setting-up time section that the charging module of terminal reports.In embodiments of the present invention, the charging module of terminal is connected with adapter, the parameter value of adapter charging current in to the process of terminal charge can be detected.
Step 120, according to detected charging current parameter value, determine corresponding to the charging interference metric values in described setting-up time section.
After the charging current parameter value obtaining in setting-up time section, can determine that one corresponding to the charging interference metric values in described setting-up time section according to described charging current parameter value.
In the present embodiment, can first resolve obtained charging current parameter value, thereby obtain the variation characteristic of detected charging current parameter value, then according to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting-up time section.
Wherein, according to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting-up time section, can comprise: the distance between the variation characteristic that calculating obtains and default standards change feature, then obtain the charging interference metric values in described setting-up time section according to the distance of calculating, distance is larger, and charging interference metric values is less.
For example, in the time that the charging current parameter value in setting-up time section is the range value of the charging current on each timing node, the variation characteristic obtaining is: the period of change of the range value of charging current in setting-up time, default standards change is characterized as: in the standards change cycle of the range value of charging current, the distance between the two can utilize Euclidean distance computing formula to calculate.Certainly, those of ordinary skill in the art should be understood that and can also determine corresponding to the charging interference metric values in described setting-up time section according to detected charging current parameter value according to other modes.For example, calculate one corresponding to the charging interference metric values in described setting-up time section according to setting formula, the variable in this formula is detected charging current parameter value.For example, the range value that is the charging current on each timing node in setting-up time section at detected charging current parameter value, this formula can be set as to the mean value when the charging current range value on each timing node in setting-up time section is greater than while setting amplitude threshold, with described mean value be directly proportional change function, its functional value is the charging interference metric values in setting-up time section.
Step 130, according to determined charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted.
In the present embodiment, after the charging interference metric values of having determined in described setting-up time section, can, according to determined charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module be adjusted.Wherein, the firmware parameters value of terminal touch screen anti-interference filtration module, also can be described as the frequency conversion threshold value of terminal touch screen, can comprise that the filter value of anti-interference filtration module, anti-interference value, water resistant drip value etc.
The firmware parameters value that will obtain after adjustment can be determined according to pre-stored good regulation rule.Concrete, the firmware parameters value after the determined adjustment of this rule can not be associated with original firmware parameters value that adapter connects to carry out under charge condition with determined charging interference metric values and terminal.Larger in charging interference metric values, adapter, in the larger situation of the charging annoyance level of terminal touch screen, should be adjusted the firmware parameters value of anti-interference filtration module, and anti-interference filtration module can be disturbed the charging of terminal touch screen by offset adapter.
For example, in the present embodiment, the scope of defined charging interference metric values is 0-1, in the time that determined charging interference metric values is less than 0.3, adapter is less to the charging annoyance level of terminal touch screen, now can not adjust the filter value of terminal touch screen anti-interference filtration module; When determined charging interference metric values is greater than 0.3 and while being less than 0.7, adapter is larger to the charging annoyance level of terminal touch screen, now the filter value of anti-interference filtration module can be adjusted into terminal and not connect to carry out 1.5 times of filter value under charge condition with adapter; When determined charging interference metric values is greater than 0.7 and while being less than or equal to 1, adapter is very large to the charging annoyance level of terminal touch screen, now the filter value of anti-interference filtration module can be adjusted into terminal and not connect to carry out 1.8 times of filter value under charge condition with adapter.
The technical scheme that the embodiment of the present invention provides, it is not the artificial firmware parameters value of setting based on experience value, but in the situation that listening to terminal and adapter and connecting to charge, obtain by detecting charging current parameter value the interference metric values of charging, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, thereby the setting that makes firmware parameters value possesses good adaptivity, and compared with artificial setting firmware parameters value, can be good at reducing the impact that adapter detects the touch of terminal touch screen in charging process.
Embodiment bis-
Fig. 2 is the schematic flow sheet of a kind of method of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention two provides, the present embodiment is on the basis of above-described embodiment one, by the optimization order of " detecting the charging current parameter value in setting-up time section " for " obtaining the charging current parameter value in the setting-up time section that the charging module of terminal reports, the crest value that wherein charging current parameter value is charging current ", by " according to detected charging current parameter value determine corresponding to the charging interference metric values in described setting-up time section " optimization order for " detected charging current parameter value being resolved, the variation characteristic of the charging current parameter value being detected to obtain, according to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting-up time section ", to accelerate the adjustment process of firmware parameters value, can more effectively reduce the impact that adapter detects the touch of terminal touch screen in charging process.Referring to Fig. 2, the method comprises the steps:
Step 210, in the situation that listening to terminal and adapter and connecting to charge, obtain the charging current parameter value in the setting-up time section that the charging module of terminal reports, the crest value that wherein charging current parameter value is charging current;
Step 220, obtained charging current parameter value is resolved to the variation characteristic of the charging current parameter value being obtained to obtain;
Step 230, according to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting-up time section;
Step 240, according to determined charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted.
For the variation of the crest value of charging current in setting-up time section, just can estimate the current amplitude value that current charging annoyance level and detect other times node time, will spend these two factors of more resource, the present embodiment is preferably charging current parameter value the crest value of charging current.
Obtained charging current parameter value is resolved to the variation characteristic of the charging current parameter value obtaining, can comprise: the difference in setting-up time section between adjacent wave peak value changes, difference between the corresponding timing node of adjacent wave peak value changes, the difference variation of each crest value in the setting-up time section of detection and setting crest value etc.If the difference amplitude of variation obtaining is larger, adapter is larger to the charging annoyance level of terminal touch screen, determined also just larger corresponding to the charging interference metric values in described setting-up time section.The technical scheme of the present embodiment, it is not the artificial firmware parameters value of setting based on experience value, but in the situation that listening to terminal and adapter and connecting to charge, obtain by detecting charging current parameter value the interference metric values of charging, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, thereby the setting that makes firmware parameters value possesses good adaptivity, and compared with artificial setting firmware parameters value, can be good at reducing the impact that adapter detects the touch of terminal touch screen in charging process.And, charging current parameter value is preferably to the crest value of charging current, can save the spent resource of firmware parameters adjustment process, accelerate its adjustment process.
Embodiment tri-
Fig. 3 is the schematic flow sheet of a kind of method of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention three provides, the present embodiment, on the basis of above-described embodiment one and embodiment bis-, has increased judgement and has finished the step that this firmware parameters value is adjusted.Referring to Fig. 3, the method comprises the steps:
Step 310, in the situation that listening to terminal and adapter and connecting to charge, detect the charging current parameter value in setting-up time section;
Step 320, according to detected charging current parameter value, determine corresponding to the charging interference metric values in described setting-up time section;
Step 330, according to determined charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted;
Charging current parameter value in the new settings time period after in the described setting-up time section of step 340, continuation detection record;
Step 350, according to the charging current parameter value in the detected described new settings time period, determine corresponding to the charging interference metric values in the described new settings time period;
If the difference of the charging interference metric values in the charging interference metric values in the described new settings time period of step 360 and a upper setting-up time section, within setting threshold scope, finishes the adjustment flow process of the firmware parameters value to terminal touch screen anti-interference filtration module.
In the present embodiment, if the difference of the charging interference metric values in the charging interference metric values in the described new settings time period and a upper setting-up time section is within setting threshold scope, be considered as the interior adapter of continuous two setting-up time sections identical to the charging annoyance level of terminal touch screen, finish this adjustment flow process to firmware parameters value.Until next adapter inserts terminal while coming to terminal charge, restart the adjustment flow process to firmware parameters.
Setting threshold scope can be by pre-set in the time dispatching from the factory, and also can determine according to user input instruction, and the present embodiment is not construed as limiting this.Preferably, when the scope of defined charging interference metric values is between 0-1, setting threshold scope can be set to defined charging interference metric values scope 1%, be: 0-0.01.
One of the present embodiment preferred embodiment in, if the difference of the charging interference metric values in the charging interference metric values in the described new settings time period and a upper setting-up time section is not within setting threshold scope, judge that in continuous two setting-up time sections, adapter is not identical to the charging annoyance level of terminal touch screen, return to step 310 and carry out the charging current parameter value detecting in next setting-up time section, and then continue to carry out the flow process that the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted.
The technical scheme of the present embodiment, it is not the artificial firmware parameters value of setting based on experience value, but in the situation that listening to terminal and adapter and connecting to charge, obtain by detecting charging current parameter value the interference metric values of charging, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, thereby the setting that makes firmware parameters value possesses good adaptivity, and compared with artificial setting firmware parameters value, can be good at reducing the impact that adapter detects the touch of terminal touch screen in charging process.And, can, in the case of adapter in continuous two setting-up time sections is identical to the charging annoyance level of terminal touch screen, finish in time the adjustment flow process of the firmware parameters value to terminal touch screen anti-interference filtration module, save resource.
Embodiment tetra-
Fig. 4 is the schematic flow sheet of a kind of method of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention four provides, the present embodiment is on the basis of above-described embodiment one and embodiment bis-, will be " according to determined charging interference metric values, firmware parameters value to terminal touch screen anti-interference filtration module is adjusted " optimization order be " the charging interference metric in the N continuous-1 setting-up time section before obtaining in the described setting-up time section of record, if meeting, the charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of N continuous-1 imposes a condition, the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, wherein said N is natural number ", the stability of adjusting to improve firmware parameters value.Referring to Fig. 4, the method comprises the steps:
Step 410, in the situation that listening to terminal and adapter and connecting to charge, detect the charging current parameter value in setting-up time section;
Step 420, according to detected charging current parameter value, determine corresponding to the charging interference metric values in described setting-up time section;
Charging interference metric in step 430, a N continuous-1 setting-up time section before obtaining in the described setting-up time section of record;
Impose a condition if the charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of step 440 N continuous-1 meets, the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted.
Wherein, N is natural number, impose a condition for: in the charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of described N continuous-1 M charging interference metric values is all more than or equal to the interference threshold of setting, and M is the natural number that is less than or equal to N.
Certainly, impose a condition and also can be: the charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of described N continuous-1 is all more than or equal to the interference threshold of setting.
Now, firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, can be specially: do not connect to carry out the original firmware parameters value under charge condition with adapter according to the mean value of the charging interference metric values in the current N continuous obtaining a setting-up time section and terminal, determine new firmware parameters value; Firmware parameters value in the anti-interference filtration module of current terminal touch screen is adjusted into described new firmware parameters value.
For example, in the present embodiment, the scope of defined charging interference metric values is 0-1, when firmware parameters value is filter value, determine that the detailed process of new filter value is: if the mean value of the charging interference metric values obtaining current is less than 0.3, new filter value equals original filter value; If the mean value of the charging interference metric values obtaining current is greater than 0.3 and be less than at 0.7 o'clock, and new filter value equals 1.5 times of original filter value; If the mean value of the charging interference metric values obtaining current is greater than 0.7 and be less than or equal to 1, and new filter value equals 1.8 times of original filter value.
The technical scheme that the present embodiment provides, it is not the artificial firmware parameters value of setting based on experience value, but in the situation that listening to terminal and adapter and connecting to charge, obtain by detecting charging current parameter value the interference metric values of charging, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, thereby the setting that makes firmware parameters value possesses good adaptivity, and compared with artificial setting firmware parameters value, can be good at reducing the impact that adapter detects the touch of terminal touch screen in charging process.And, under satisfied the imposing a condition of charging interference metric values in the current N continuous obtaining a setting-up time section, just the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, instead of once satisfied the imposing a condition of charging interference metric values detecting in single setting-up time section, just original firmware parameters value is adjusted into new firmware parameters value, like this can be in the case of the comparatively of short duration charging causing because of other factors be disturbed, firmware parameters value is not adjusted, ensured the stability that firmware parameters value is adjusted.
On the basis of technique scheme, if meeting, the charging interference metric values described in the charging interference metric values in the setting-up time section of N continuous-1 in setting-up time section imposes a condition, after the firmware parameters value in the anti-interference filtration module of terminal touch screen being adjusted:
Charging current parameter value in the new settings time period after in the described setting-up time section of continuation detection record; According to the charging current parameter value in the detected described new settings time period, determine corresponding to the charging interference metric values in the described new settings time period;
If the difference of the mean value of the charging interference metric values in the charging interference metric values in the described new settings time period and the current N continuous obtaining a setting-up time section, within setting threshold scope, finishes the adjustment flow process of the firmware parameters value to terminal touch screen anti-interference filtration module.
Embodiment five
Fig. 5 is the structural representation of a kind of device of adjusting terminal touch screen anti-interference filtration module firmware parameter value that the embodiment of the present invention four provides.Referring to Fig. 5, the concrete structure of this device is as follows:
Charging current parameter value detecting unit 510, in the situation that listening to terminal and adapter and connecting to charge, detects the charging current parameter value in setting-up time section;
Charging interference metric values determining unit 520, for according to detected charging current parameter value, determines corresponding to the charging interference metric values in described setting-up time section;
Firmware parameters value adjustment unit 530, for according to determined charging interference metric values, adjusts the firmware parameters value of terminal touch screen anti-interference filtration module.
Preferably, described charging interference metric values determining unit 520, specifically for:
Detected charging current parameter value is resolved to the variation characteristic of the charging current parameter value being detected to obtain;
According to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting-up time section.
Preferably, described firmware parameters value adjustment unit 530, specifically for:
Charging interference metric in a N continuous-1 setting-up time section before obtaining in the described setting-up time section of record, if meeting, the charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of described N continuous-1 imposes a condition, the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, wherein said N is natural number.
Preferably, M charging interference metric values in the charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of described N continuous-1 is all more than or equal to the interference threshold of setting, and wherein said M is the natural number that is less than or equal to N.
Preferably, described charging current parameter value detecting unit 510, also for: at described firmware parameters value adjustment unit according to determined charging interference metric values, after the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, the charging current parameter value in the new settings time period after the described setting-up time section of continuation detection record is interior;
Described charging interference metric values determining unit 520, also, for according to the charging current parameter value in the detected described new settings time period, determines corresponding to the charging interference metric values in the described new settings time period;
Described firmware parameters value adjustment unit 530, if also for the difference of the charging interference metric values in the charging interference metric values in the described new settings time period and a upper setting-up time section within setting threshold scope, finish the adjustment flow process of the firmware parameters value to terminal touch screen anti-interference filtration module.
On the basis of technique scheme, described charging current parameter value detecting unit 510, specifically for:
In the situation that listening to terminal and adapter and connecting to charge, obtain the charging current parameter value in the setting-up time section that the charging module of described terminal reports, the crest value that wherein said charging current parameter value is described charging current.
The said goods can be carried out the method that any embodiment of the present invention provides, and possesses the corresponding functional module of manner of execution and beneficial effect.
Embodiment six
Fig. 6 is the schematic flow sheet of the method for a kind of preferred adjustment terminal touch screen anti-interference filtration module firmware parameter value that provides of the embodiment of the present invention six.The present embodiment can, taking above-described embodiment as basis, provide a kind of preferred embodiment.The method can be carried out by the device of adjusting terminal touch screen anti-interference filtration module firmware parameter value, described device can be realized by software and/or hardware, a part that can be used as terminal is built in terminal inner, also can be the stand-alone product that can carry out with terminal data communication.Referring to Fig. 6, the method comprises the steps:
Step 610, in the situation that listening to terminal and adapter and connecting to charge, obtain the crest value of the charging current in the setting-up time section that the charging module of terminal reports;
Step 620, the crest value of the charging current in obtained setting-up time section is resolved to the variation characteristic of the charging current crest value being obtained to obtain;
Step 630, according to obtained variation characteristic, determine corresponding to the charging interference metric values in setting-up time section;
Step 640, according to determined charging interference metric values, judge whether to adjust the firmware parameters value of terminal touch screen anti-interference filtration module;
If so, execution step 650, otherwise execution step 660;
Step 650, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, and the charging module of notification terminal detects and reports the crest value of the charging current in next setting-up time section;
Returning to step 610 continues to carry out;
The charging module of step 660, notification terminal is without the crest value that detects and report the charging current in next setting-up time section, process ends.
The technical scheme that the embodiment of the present invention provides, on the one hand, in the situation that listening to terminal and adapter and connecting to charge, obtain by detecting charging current parameter value the interference metric values of charging, and then according to charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, thereby the setting that makes firmware parameters value possesses good adaptivity, and compared with artificial setting firmware parameters value, can be good at reducing the impact that adapter detects the touch of terminal touch screen in charging process, guarantee touch-screen is normally worked, on the other hand, charging current parameter value is preferably to the crest value of charging current, can saves the spent resource of firmware parameters adjustment process, accelerate its adjustment process, on the one hand, can, in the case of adapter in continuous two setting-up time sections is identical to the charging annoyance level of terminal touch screen, finish in time this adjustment flow process to firmware parameters value again, save resource.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious variations, readjust and substitute and can not depart from protection scope of the present invention.Therefore, although the present invention is described in further detail by above embodiment, the present invention is not limited only to above embodiment, in the situation that not departing from the present invention's design, can also comprise more other equivalent embodiment, and scope of the present invention is determined by appended claim scope.

Claims (12)

1. a method of adjusting terminal touch screen anti-interference filtration module firmware parameter value, is characterized in that, comprising:
In the situation that listening to terminal and adapter and connecting to charge, detect the charging current parameter value in setting-up time section;
According to detected charging current parameter value, determine corresponding to the charging interference metric values in described setting-up time section;
According to determined charging interference metric values, the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted.
2. method according to claim 1, is characterized in that, described according to detected charging current parameter value, determines corresponding to the charging interference metric values in described setting-up time section, comprising:
Detected charging current parameter value is resolved to the variation characteristic of the charging current parameter value being detected to obtain;
According to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting-up time section.
3. method according to claim 1, is characterized in that, described according to determined charging interference metric values, and the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, and comprising:
Charging interference metric in a N continuous-1 setting-up time section before obtaining in the described setting-up time section of record, if meeting, the charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of described N continuous-1 imposes a condition, the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, wherein said N is natural number.
4. method according to claim 3, it is characterized in that, described impose a condition for: in the charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of described N continuous-1 M charging interference metric values is all more than or equal to the interference threshold of setting, and wherein said M is the natural number that is less than or equal to N.
5. method according to claim 1, is characterized in that, according to determined charging interference metric values, after the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, also comprises:
Charging current parameter value in the new settings time period after in the described setting-up time section of continuation detection record;
According to the charging current parameter value in the detected described new settings time period, determine corresponding to the charging interference metric values in the described new settings time period;
If the difference of the charging interference metric values in the charging interference metric values in the described new settings time period and a upper setting-up time section, within setting threshold scope, finishes the adjustment flow process of the firmware parameters value to terminal touch screen anti-interference filtration module.
6. according to the method described in any one in claim 1-5, it is characterized in that, detect the charging current parameter value in setting-up time section, comprise: obtain the charging current parameter value in the setting-up time section that the charging module of described terminal reports, the crest value that wherein said charging current parameter value is described charging current.
7. a device of adjusting terminal touch screen anti-interference filtration module firmware parameter value, is characterized in that, comprising:
Charging current parameter value detecting unit, in the situation that listening to terminal and adapter and connecting to charge, detects the charging current parameter value in setting-up time section;
Charging interference metric values determining unit, for according to detected charging current parameter value, determines corresponding to the charging interference metric values in described setting-up time section;
Firmware parameters value adjustment unit, for according to determined charging interference metric values, adjusts the firmware parameters value of terminal touch screen anti-interference filtration module.
8. device according to claim 7, is characterized in that, described charging interference metric values determining unit, specifically for:
Detected charging current parameter value is resolved to the variation characteristic of the charging current parameter value being detected to obtain;
According to obtained variation characteristic, determine corresponding to the charging interference metric values in described setting-up time section.
9. device according to claim 7, is characterized in that, described firmware parameters value adjustment unit, specifically for:
Charging interference metric in a N continuous-1 setting-up time section before obtaining in the described setting-up time section of record, if meeting, the charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of described N continuous-1 imposes a condition, the firmware parameters value in the anti-interference filtration module of terminal touch screen is adjusted, wherein said N is natural number.
10. device according to claim 9, it is characterized in that, M charging interference metric values in charging interference metric values in charging interference metric values and described setting-up time section in the setting-up time section of described N continuous-1 is all more than or equal to the interference threshold of setting, and wherein said M is the natural number that is less than or equal to N.
11. devices according to claim 7, it is characterized in that, described charging current parameter value detecting unit, also for: at described firmware parameters value adjustment unit according to determined charging interference metric values, after the firmware parameters value of terminal touch screen anti-interference filtration module is adjusted, the charging current parameter value in the new settings time period after the described setting-up time section of continuation detection record is interior;
Described charging interference metric values determining unit, also, for according to the charging current parameter value in the detected described new settings time period, determines corresponding to the charging interference metric values in the described new settings time period;
Described firmware parameters value adjustment unit, if also for the difference of the charging interference metric values in the charging interference metric values in the described new settings time period and a upper setting-up time section within setting threshold scope, finish the adjustment flow process of the firmware parameters value to terminal touch screen anti-interference filtration module.
12. according to the device described in any one in claim 7-11, it is characterized in that, described charging current parameter value detecting unit, specifically for:
In the situation that listening to terminal and adapter and connecting to charge, obtain the charging current parameter value in the setting-up time section that the charging module of described terminal reports, the crest value that wherein said charging current parameter value is 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 true CN103995618A (en) 2014-08-20
CN103995618B 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)

Cited By (8)

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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101735303B1 (en) * 2010-12-13 2017-05-15 삼성전자 주식회사 Operation Method For Touch Panel And Portable Device supporting the same
CN102332814B (en) * 2011-09-14 2013-12-18 矽力杰半导体技术(杭州)有限公司 Power factor correction control circuit for reducing EMI (electro magnetic interference)
CN103186266B (en) * 2011-12-30 2016-04-20 天津富纳源创科技有限公司 The method of adjustment sensitivity of touch panel
CN102841715B (en) * 2012-08-09 2016-01-20 深圳市汇顶科技股份有限公司 Capacitive touch screen, touch control terminal and anti-interference method thereof and system
CN103543896A (en) * 2013-10-29 2014-01-29 广东欧珀移动通信有限公司 Method and system for adjusting touch screen sensitivity

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106575169A (en) * 2015-10-16 2017-04-19 广东欧珀移动通信有限公司 Method of eliminating interference on touch screen from charger, and mobile terminal
WO2017063191A1 (en) * 2015-10-16 2017-04-20 广东欧珀移动通信有限公司 Method of eliminating interference on touch screen from charger, and mobile terminal
US10439412B2 (en) 2015-10-16 2019-10-08 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for eliminating interference of charger to touch screen, and mobile terminal
CN106575169B (en) * 2015-10-16 2020-04-17 Oppo广东移动通信有限公司 Method for eliminating interference of charger on touch screen and mobile terminal
CN105389225A (en) * 2015-11-25 2016-03-09 小米科技有限责任公司 Touch screen reporting point processing method and apparatus
US11126301B2 (en) 2016-05-26 2021-09-21 Honor Device Co., Ltd. Power adapter control method and control apparatus
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
CN110431518B (en) * 2017-03-13 2022-02-25 华为技术有限公司 Method for outputting touch signal and electronic equipment
CN110431518A (en) * 2017-03-13 2019-11-08 华为技术有限公司 A kind of method and electronic equipment exporting touching signals
CN107291310A (en) * 2017-06-21 2017-10-24 珠海格力电器股份有限公司 A kind of adaptive regulation method of sensitivity of touch screen, apparatus and system
CN107402675A (en) * 2017-07-28 2017-11-28 广东欧珀移动通信有限公司 A kind of response method of touch operation, device, storage medium and terminal
US10747369B2 (en) 2017-07-28 2020-08-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for responding to touch operation, storage medium and terminal
US10664102B2 (en) 2017-07-28 2020-05-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for responding to touch operation, storage medium and terminal
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

Also Published As

Publication number Publication date
CN103995618B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN103995618A (en) Method and device for adjusting firmware parameter value of terminal touch screen anti-interference filtering module
CN103235672B (en) Capacitance touch screen automatic calibrating method and system
US9645690B1 (en) Method and apparatus to improve noise immunity of a touch sense array
WO2022111414A1 (en) Stylus and marking signal control method
CN103793099B (en) The method that touch-sensing system and being used to reduces its delay
US20130314370A1 (en) Detecting method and device for suppressing interference of low-frequency noise
CN103049159A (en) Method for preventing water drop false triggering of capacitive touch screen
CN103677449A (en) Method for adjusting scanning frequency of touch screen and electronic terminal
US20120256638A1 (en) Noise detection for a capacitance sensing panel
CN106095162B (en) Capacitance self-calibrating device, method and touch control display apparatus
CN102915059A (en) Means of providing variable reactive load capability on an electronic load
CN105680521A (en) Charging function detection method and apparatus for mobile terminal, and mobile terminal
CN103389847A (en) Touch control terminal and anti-interference method and system thereof
CN103823598B (en) Touch control induction circuit and method
CN102185604A (en) Differential detection circuit for capacitive touch
CN102749525A (en) Capacitor detection method and capacitor detection circuit
US10101849B2 (en) Touch monitoring method, touch monitoring device, and terminal
CN102236481A (en) Approach detection method of capacitance touch plate and application thereof
WO2017197574A1 (en) Capacitance detection device
CN104360769A (en) Anti-interference method for touch panel, touch panel and display
CN102394622B (en) Capacitive touch key and key judging method thereof
US8421765B2 (en) Touch sensing device and method
CN103257773B (en) Face based on capacitance touch screen is near recognition methods
CN102662536A (en) Capacitive multi-touch switching model drive method
CN104049143A (en) Device and method for commercial power detection

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