CN102968237B - Method and device for processing capacitive touch screen - Google Patents
Method and device for processing capacitive touch screen Download PDFInfo
- Publication number
- CN102968237B CN102968237B CN201210507682.6A CN201210507682A CN102968237B CN 102968237 B CN102968237 B CN 102968237B CN 201210507682 A CN201210507682 A CN 201210507682A CN 102968237 B CN102968237 B CN 102968237B
- Authority
- CN
- China
- Prior art keywords
- touch screen
- capacitive touch
- register
- reset
- preset
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000012545 processing Methods 0.000 title claims abstract description 11
- 238000003672 processing method Methods 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 4
- 230000005611 electricity Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 239000000686 essence Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Abstract
The invention is suitable for the technical field of mobile terminals and provides a method and a device for processing a capacitive touch screen. The method comprises the following steps: acquiring register information of the capacitive touch screen, wherein the register information comprises a current capacitance value and an initial capacitance value of a register; and when the capacitive touch screen accords with a preset start reset condition, resetting the register and resetting the current capacitance value into the initial capacitance value until the capacitive touch screen accords with a preset stop reset condition. According to the embodiment of the invention, when the capacitive touch screen accords with the preset start reset condition, the register of the capacitive touch screen is reset; and the problem that a user cannot operate the capacitive touch screen due to interference to the capacitive touch screen is solved to ensure that the capacitive touch screen detects the position of a point touched by the user, so that the operating efficiency of the user is improved.
Description
Technical field
The invention belongs to technical field of mobile terminals, more particularly to a kind of capacitive touch screen processing method and processing device.
Background technology
With becoming increasingly popular for capacitive touch screen mobile terminal, increasing user is by capacitive touch screen to moving
Dynamic terminal is operated, to enjoy the facility that capacitive touch screen brings to live.At the same time, with capacitive touch screen
Mobile terminal gradually replaces at present traditional keyboard-type mobile terminal by the advantage such as its workable and interface is novel, into
For the market mainstream.
However, the change of external environment can produce interference to capacitive touch screen, so that the humidity of external environment is too high as an example,
Capacitive touch screen is interfered, and can't detect the position of user touch point, causes user to enter to the capacitive touch screen
Row operation.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of capacitive touch screen processing method, it is intended to solve existing condenser type
Touch-screen is interfered and can't detect the position of user touch point, causes what user cannot be operated to capacitive touch screen to ask
Topic.
The embodiment of the present invention is achieved in that a kind of capacitive touch screen processing method, including:
The register information of capacitive touch screen is obtained, the register information includes the capacitance present value of the register
With initial capacitance value;
When the capacitive touch screen meets default beginning reset condition, the register is resetted, will be described
Capacitance present value resets to the initial capacitance value, until the capacitive touch screen meets preset stopping reset condition.
The another object of the worthwhile front capacitance initial capacitance value embodiment of the present invention of capacitance present value initial capacitance is to carry
For a kind of capacitive touch screen processing meanss, including:
Acquiring unit, for obtaining the register information of capacitive touch screen, the register information includes the deposit
The capacitance present value and initial capacitance value of device;
Reset unit, for when the capacitive touch screen meets default beginning reset condition, entering to the register
Row resets, and the capacitance present value is reset to into the initial capacitance value, until the capacitive touch screen meets preset stopping
Reset condition.
In embodiments of the present invention, when capacitive touch screen meets default beginning reset condition, to capacitive touch screen
Register resetted, solve because capacitive touch screen is interfered, cause the user cannot be to the capacitive touch screen
The problem for being operated, to guarantee that capacitive touch screen detects the position of user touch point, so as to improve user operation effect
Rate.
Description of the drawings
Fig. 1 is a kind of flowchart of capacitive touch screen processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of structured flowchart of capacitive touch screen processing meanss provided in an embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and
It is not used in the restriction present invention.
In embodiments of the present invention, when capacitive touch screen meets default beginning reset condition, to capacitive touch screen
Register resetted, solve because capacitive touch screen is interfered, cause the user cannot be to the capacitive touch screen
The problem for being operated, to guarantee that capacitive touch screen detects the position of user touch point, so as to improve user operation effect
Rate.
Fig. 1 shows a kind of flow process of realizing of capacitive touch screen processing method provided in an embodiment of the present invention, describes in detail such as
Under:
In step S101, the register information of capacitive touch screen is obtained, the register information includes working as register
Front capacitance and initial capacitance value.
When encountering capacitive capacitive touch screen due to user, the initial capacitance value meeting of the register of capacitive touch screen
Change.Controller according to the capacitance present value of register and initial capacitance value, to determine the position of user touch point.
In the present embodiment, in advance in capacitive touch screen driving layer acquisition register information, the register information includes
Register capacitance present value and initial capacitance value, by the current capacitance and initial capacitance value record storage in mobile terminal
In, while compiling complex potential function sets up a reset touch event, so that subsequent calls are resetted, the compiling side of complex potential function
Method can adopt any one of present technology, and here is not limited.
In step s 102, when capacitive touch screen meets default beginning reset condition, the register is resetted,
Capacitance present value is reset to into initial capacitance value, until the capacitive touch screen meets preset stopping reset condition.
In the present embodiment, preset and start reset condition including extraneous ambient parameter more than predetermined threshold value, extraneous ring
Border parameter includes but is not limited to one or more in relative humidity, temperature, electromagnetism intensity, specifically can add in mobile terminal and put phase
The sensor answered, to obtain the ambient parameter in the external world.
In the present embodiment, for purposes of illustration only, by taking practical application as an example, when the humidity of user's local environment is too high, leading to
Cross humidity sensor to judge relative humidity, when relative humidity is more than predetermined threshold value, by register capacitance present value weight
It is set to initial capacitance value.Further, since user leaves the time of environment has uncertainty, there is interference in capacitive touch screen
Time there is also uncertainty, therefore keep reset to capacitive touch screen within the time, by the capacitance present value of register
Initial capacitance value is reset to, is continued for some time, until capacitive touch screen meets preset stopping reset condition.
Used as a preferred embodiment of the present invention, the default reset condition that starts includes lighting capacitive touch screen every time
When.Capacitive touch screen will be lighted as trigger condition, when monitoring by the process to system application, to judge electricity
Whether appearance formula touch-screen is lit, and when listening to capacitive touch screen and being lit, represents that capacitive touch screen meets default stopping
Only reset condition, i.e., reset to register, the capacitance present value of register is reset to into initial capacitance value, until condenser type
Touch-screen meets preset stopping reset condition.
Used as a preferred embodiment of the present invention, register is resetted, specially:
Preset reset time is obtained, while preset timer starts timing;Within the time that preset timer starts timing,
Touch event is judged whether, is, the time of preset timer timing is reset to into zero, otherwise when preset reset time is arrived
Up to when, register is resetted.
Preset reset time can be user preset, or system default.Preferably, using system default, acquiescence
Preset reset time is 1s.When capacitive touch screen is lighted, preset timer starts timing, while the process to mobile terminal
The thread of touch event is monitored, and is then to reset the time of preset timer timing to judge whether touch event
It is zero, restarts timing, otherwise when preset reset time is reached, register is resetted.
As the preferred embodiments of the present invention, when there is touch event, the complex potential function of capacitive touch screen is carried out
Locking, stop reset to capacitive touch screen, it is to avoid due to the reset of register, causes register not recognize newly-increased
The situation of touch event occurs, and improves the safety and reliability of register reset.
Used as a preferred embodiment of the present invention, register is the register of the N number of sensor for processing touch-control, and the N is
Integer more than or equal to 1.Each capacitive touch screen have multiple sensors, capacitive touch screen drive layer, obtain with
The corresponding register of the sensor for touching is processed, address and initial capacitance value and the capacitance present value of register is recorded,
Only the component register is resetted, is easy to shorten resetting time.
Used as a preferred embodiment of the present invention, preset stopping reset condition includes getting validated user operation, should
Validated user operation include connecting incoming call, refusing incoming call, one or more completing to unlock, checking in information, cancellation, confirmation.
The broadcast message that specifically can be sent by preset control monitoring system, when exist broadcast message represent connecting incoming call, refusing incoming call,
Complete to unlock, check in information one or more when, expression system gets validated user operation, stops to capacitance touch
The reset of screen.
For purposes of illustration only, by taking practical application as an example, when quarter-bell reaches the time period of user preset, having lighted screen, it is
System is resetted, and when user cancels quarter-bell sends the tinkle of bells, the broadcast message for cancelling quarter-bell is sent in system, is now constantly in
The preset control of listening state captures the broadcast message, and expression system gets validated user operation, stops to capacitive touch
Touch the reset of screen.
In the present embodiment, preset stopping reset condition is that extraneous ambient parameter is less than predetermined threshold value, specifically can moved
Dynamic terminal adds puts corresponding sensor, extraneous ambient parameter is obtained every Preset Time, by ambient parameter and predetermined threshold value phase
Relatively, until the ambient parameter in the external world is less than predetermined threshold value, the reset to capacitive touch screen is just stopped.
As one embodiment of the present of invention, by carrying out to capacitive touch screen after power-off, re-power, with condenser type
The initialized mode of touch-screen, resets to global register, but the resetting time for now needing is right much larger than above-mentioned
The time of the reset of component register.
As embodiments of the invention, before capacitive touch screen process, including:Read system time and
The time period that user specifies;
When reaching the time period, the process of start-up capacitance formula touch-screen.
Specifically can be by a display list, the display list includes the time period, the zoned format of time period include the morning,
Noon, afternoon, evening, morning, user can specify one or more time periods in display list, and system is according to specified by user
Time period, start-up capacitance formula touch-screen process.
Be the morning when user's selected time period for purposes of illustration only, by taking practical application as an example, that is, earlier 6 points arrive
12 noon, carries out the process of start-up capacitance formula touch-screen within the time period, and start-up capacitance formula is not touched within other time periods
Screen process is touched, to reduce the kwh loss of mobile terminal, stand-by time is improved.
Fig. 2 shows a kind of structured flowchart of capacitive touch screen processing method device provided in an embodiment of the present invention, should
Device can run on the terminal with capacitive touch screen, including but not limited to mobile phone, pocket computer(Pocket
Personal Computer, PPC), palm PC, computer, notebook computer, personal digital assistant(Personal
Digital Assistant, PDA)Deng.For convenience of description, illustrate only part related to the present embodiment.
Acquiring unit 21, obtains the register information of capacitive touch screen, and the register information includes the current of register
Capacitance and initial capacitance value.
Reset unit 22, judges whether capacitive touch screen meets default beginning reset condition, is that the register is entered
Row resets, and capacitance present value is reset to into initial capacitance value, until the capacitive touch screen meets preset stopping reset condition.
Further, in the device, the default reset condition that starts including when lighting capacitive touch screen every time.
Specifically, in the device, reset unit 22, including:
Timing subelement, obtains preset reset time, while preset timer starts timing.
Reset subelement, within the time that preset timer starts timing, judges whether touch event, and being then will be pre-
If the time of timer timing resets to zero, otherwise when preset reset time is reached, register is resetted.
Further, in the device, register is the register of the N number of sensor for processing touch-control, and the N is more than or equal to 1
Integer:
Further, in the device, preset stopping reset condition includes getting validated user operation, validated user behaviour
Work include connecting incoming call, refusing incoming call, one or more completing to unlock, checking in information, cancellation, confirmation.
In embodiments of the present invention, when capacitive touch screen meets default beginning reset condition, to capacitive touch screen
Register resetted, solve because capacitive touch screen is interfered, cause the user cannot be to the capacitive touch screen
The problem for being operated, to guarantee that capacitive touch screen detects the position of user touch point, so as to improve user operation effect
Rate.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention
Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.
Claims (6)
1. a kind of capacitive touch screen processing method, it is characterised in that include:
Obtain the register information of capacitive touch screen, the capacitance present value of the register information including the register and just
Beginning capacitance;
When the capacitive touch screen meets default beginning reset condition, the register is resetted, will be described current
Capacitance resets to the initial capacitance value, until the capacitive touch screen meets preset stopping reset condition;
Wherein, the default reset condition that starts includes that extraneous ambient parameter is more than predetermined threshold value, extraneous ambient parameter bag
Include one or more in relative humidity, temperature, electromagnetism intensity;
Wherein, preset stopping reset condition includes getting validated user operation, and the validated user operation includes connecting incoming call, refuses
Fetch electricity, complete to unlock, check information, cancellation, confirm in one or more, send especially by preset control monitoring system
Broadcast message, represent connecting incoming call, refusing incoming call, complete one kind or many for unlocking, checking in information when there is broadcast message
When planting, expression system gets validated user operation, stops the reset to capacitive touch screen.
2. method as claimed in claim 1, it is characterised in that described the step of reset to the register, including:
Preset reset time is obtained, while preset timer starts timing;
Within the time that the preset timer starts timing, touch event is judged whether, be when then will be described pre-designed
The time of device timing resets to zero, otherwise when the preset reset time is reached, register is resetted.
3. method as claimed in claim 1, it is characterised in that the register is the register of the N number of sensor for processing touch-control,
Described N is the integer more than or equal to 1.
4. a kind of capacitive touch screen processing meanss, it is characterised in that include:
Acquiring unit, for obtaining the register information of capacitive touch screen, the register information includes the register
Capacitance present value and initial capacitance value;
Reset unit, for when the capacitive touch screen meets default beginning reset condition, carrying out to the register multiple
Position, by the capacitance present value initial capacitance value is reset to, until the capacitive touch screen meets preset stopping reset
Condition;
Wherein, the default reset condition that starts includes that extraneous ambient parameter is more than predetermined threshold value, extraneous ambient parameter bag
Include one or more in relative humidity, temperature, electromagnetism intensity;
Wherein, preset stopping reset condition includes getting validated user operation, and the validated user operation includes connecting incoming call, refuses
Fetch electricity, complete to unlock, check information, cancellation, confirm in one or more, send especially by preset control monitoring system
Broadcast message, represent connecting incoming call, refusing incoming call, complete one kind or many for unlocking, checking in information when there is broadcast message
When planting, expression system gets validated user operation, stops the reset to capacitive touch screen.
5. device as claimed in claim 4, it is characterised in that the reset unit, including:
Timing subelement, for obtaining preset reset time, while preset timer starts timing;
Reset subelement, within the time that the preset timer starts timing, judges whether touch event, is then by institute
The time for stating preset timer timing resets to zero, otherwise when the preset reset time is reached, register is resetted.
6. device as claimed in claim 4, it is characterised in that the register is the register of the N number of sensor for processing touch-control,
Described N is the integer more than or equal to 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210507682.6A CN102968237B (en) | 2012-11-29 | 2012-11-29 | Method and device for processing capacitive touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210507682.6A CN102968237B (en) | 2012-11-29 | 2012-11-29 | Method and device for processing capacitive touch screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102968237A CN102968237A (en) | 2013-03-13 |
CN102968237B true CN102968237B (en) | 2017-04-19 |
Family
ID=47798407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210507682.6A Expired - Fee Related CN102968237B (en) | 2012-11-29 | 2012-11-29 | Method and device for processing capacitive touch screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102968237B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104062326B (en) * | 2013-03-22 | 2017-03-01 | 联想(北京)有限公司 | Environment detection method and device |
CN104063093A (en) * | 2014-06-30 | 2014-09-24 | 广东欧珀移动通信有限公司 | Method and device for preventing touch screen from being operated by mistake and mobile equipment |
CN105843696A (en) * | 2016-03-25 | 2016-08-10 | 广东欧珀移动通信有限公司 | Touch screen restoration method and device |
CN106502461B (en) * | 2016-10-31 | 2019-07-02 | Oppo广东移动通信有限公司 | Restore the method, device and mobile terminal of touch screen state before electrostatic resets |
CN111610896A (en) * | 2017-02-07 | 2020-09-01 | 李丽萍 | Control method and device for capacitive touch screen terminal |
CN106951850B (en) * | 2017-03-15 | 2019-06-28 | Oppo广东移动通信有限公司 | A kind of method and mobile terminal controlling fingerprint recognition mould group |
TWI622921B (en) * | 2017-09-06 | 2018-05-01 | 仁寶電腦工業股份有限公司 | Capacitance value detecting method of touch device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60251425A (en) * | 1984-05-29 | 1985-12-12 | Fujitsu Ltd | Touch sense input system |
CN102541167A (en) * | 2010-12-23 | 2012-07-04 | 鸿富锦精密工业(深圳)有限公司 | Electronic device |
CN102622150A (en) * | 2012-02-22 | 2012-08-01 | 广东欧珀移动通信有限公司 | Static eliminating method for touch screen |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102141850B (en) * | 2010-01-29 | 2013-05-08 | 钛积创新科技股份有限公司 | Automatic detection and reply touch system and resetting device thereof |
CN102693704A (en) * | 2012-05-04 | 2012-09-26 | 广东欧珀移动通信有限公司 | Implementation method for solving electrostatic display abnormity of display screen |
-
2012
- 2012-11-29 CN CN201210507682.6A patent/CN102968237B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60251425A (en) * | 1984-05-29 | 1985-12-12 | Fujitsu Ltd | Touch sense input system |
CN102541167A (en) * | 2010-12-23 | 2012-07-04 | 鸿富锦精密工业(深圳)有限公司 | Electronic device |
CN102622150A (en) * | 2012-02-22 | 2012-08-01 | 广东欧珀移动通信有限公司 | Static eliminating method for touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN102968237A (en) | 2013-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102968237B (en) | Method and device for processing capacitive touch screen | |
AU2013309693B2 (en) | An apparatus and method for waking up a processor | |
CN107528979B (en) | Control device and method of mobile equipment | |
CN105676984B (en) | Portable electronic devices and its power control method | |
US20160034117A1 (en) | Electronic device operating in idle mode and method thereof | |
CN104102444B (en) | The method and intelligent terminal of gesture control alarm clock | |
CN103312902A (en) | Method and device for starting application automatically | |
CN104461327B (en) | A kind of information processing method and electronic equipment | |
CN103699260B (en) | A kind of method starting termination function module and terminal unit | |
CN106471518B (en) | Conversion based on user's coherent signal between two kinds of power supply status | |
CN101963873A (en) | Method for setting and calibrating capacitive-type touch panel capacitance base value | |
CN103034317B (en) | A kind of standby processing method and device | |
CN109697088A (en) | Application interface loading method, mobile terminal and computer readable storage medium | |
CN106233705B (en) | A kind of terminal control method and terminal | |
CN107277211A (en) | Control method, device, mobile terminal and storage medium that screen wakes up | |
CN103713731A (en) | Electronic device and method for controlling same | |
CN103458109B (en) | Reminding method of unread information or missed calls of mobile terminal and mobile terminal | |
CN102710846A (en) | System and method for realizing electronic book page turning based on forced induction | |
CN103500052A (en) | Touch assistant system and achieving method of touch assistant system | |
CN107426802A (en) | A kind of terminal management method and device | |
CN110007822A (en) | A kind of interface display method and terminal device | |
CN107402625A (en) | Touch screen scanning method, device, terminal and computer-readable recording medium | |
CN106445113A (en) | Control method and system for mobile terminal, and mobile terminal | |
CN104423753B (en) | A kind of capacitance touch detection method, device and mobile terminal | |
CN105183538A (en) | Information processing method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
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 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170419 |
|
CF01 | Termination of patent right due to non-payment of annual fee |