CN104536606B - A kind of method and device for detecting touch-screen - Google Patents
A kind of method and device for detecting touch-screen Download PDFInfo
- Publication number
- CN104536606B CN104536606B CN201410810576.4A CN201410810576A CN104536606B CN 104536606 B CN104536606 B CN 104536606B CN 201410810576 A CN201410810576 A CN 201410810576A CN 104536606 B CN104536606 B CN 104536606B
- Authority
- CN
- China
- Prior art keywords
- touch
- screen
- predetermined threshold
- threshold value
- base
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of method for detecting touch-screen, including:Obtain the base-line data value in touch-screen region to be detected;According to the comparative result of the base-line data value and predetermined threshold value, judge the region to be detected whether to touch operation without response;If it is determined that the region to be detected to touch operation without response, then reset the touch-screen.The embodiment of the invention also discloses a kind of device for detecting touch-screen.Using the present invention, it can be achieved that touch-screen is detected and repaired easily and fast.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of method and device for detecting touch-screen.
Background technology
With the rapid development of intelligent terminal, intelligent terminal such as mobile phone or tablet computer etc., life, work in user
Make, entertain etc. can provide more and more helps.The screen of existing intelligent terminal is all touch-screen.Common mode of operation is
Touch operation, therefore touch-screen is the most commonly used input equipment of intelligent terminal, due to the use of frequency it is high, and be easily subject to
Extraneous interference, therefore it is easier the problem of being not responding to touch occur.Lead to not operate intelligent terminal.For example, usually pass through
Often mobile phone is put into pocket, during incoming call, then is taken out from pocket, the change of this process external environment, causes touch-screen
Fail to receive calls;When carrying out short message, there is also it is above-mentioned the problem of, lead to not check the short message received immediately.
In the prior art, if the problem of touch-screen occurs in intelligent terminal, user generally can not voluntarily detect what is be not responding to
Reason, can not also be repaired, and the specialized maintenance technical staff that seeks help, and will greatly promote use cost and the maintenance of intelligent terminal
Cost.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is, there is provided a kind of method and device for detecting touch-screen.With
Solve the problems, such as that touch-screen can not be detected easily and fast and repaired.
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of method for detecting touch-screen, including:
Obtain the base-line data value in touch-screen region to be detected;
According to the comparative result of the base-line data value and predetermined threshold value, judge whether the region to be detected grasps to touching
Make without response;
If it is determined that the region to be detected to touch operation without response, then reset the touch-screen.
Wherein, the comparative result according to the base-line data value and predetermined threshold value, judges that the region to be detected is
It is no to touch operation without response, including:
By the base-line data value compared with the first predetermined threshold value;
Judge whether the base-line data value is less than or equal to first predetermined threshold value;
If the base-line data value is less than or equal to first predetermined threshold value, judge the region to be detected to touching
Operation is without response.
Wherein, the comparative result according to the base-line data value and predetermined threshold value, judges that the region to be detected is
It is no to touch operation without response, further include:
By the base-line data value compared with the second predetermined threshold value;
Judge whether the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value;
If the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value, judges institute
Region to be detected is stated to touch operation without response;
Wherein, second predetermined threshold value is more than first predetermined threshold value.
Wherein, it is described if it is determined that the region to be detected to touch operation without response, then reset the touch-screen, including:
If it is determined that the region to be detected to touch operation without response, then to writing number in the reseting register of the touch-screen
Re-powered according to or to the touch-screen.
Wherein, the method further includes:
Read the level of the corresponding interrupt pin of the touch-screen;
Whether the level for judging the interrupt pin is low level in the second preset duration;
If the interrupt pin is low level in the second preset duration, the interrupt pin, and Shen again are discharged
Please the interrupt pin.
Correspondingly, the embodiment of the present invention additionally provides a kind of device for detecting touch-screen, including:
Acquiring unit, for obtaining the base-line data value in touch-screen region to be detected;
Judging unit, for the comparative result according to the base-line data value and predetermined threshold value, judges the area to be detected
Domain whether to touch operation without response;
Reset unit, if judging that the region to be detected without response, resets touch operation for the judging unit
The touch-screen.
Wherein, the judging unit is specifically used for:
By the base-line data value compared with the first predetermined threshold value;
Judge whether the base-line data value is less than or equal to first preset value;
If the base-line data value is less than or equal to first predetermined threshold value, judge the region to be detected to touching
Operation is without response.
Wherein, the judging unit is additionally operable to:
By the base-line data value compared with the second predetermined threshold value;
Judge whether the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value;
If the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value, judges institute
Region to be detected is stated to touch operation without response;
Wherein, second predetermined threshold value is more than first predetermined threshold value.
Wherein, the reset unit is specifically used for:
If the judging unit judge the region to be detected to touch operation without response, the reset to the touch-screen
Data are write in register or the touch-screen is re-powered.
Wherein, the acquiring unit is additionally operable to read the level of the corresponding interrupt pin of the touch-screen;
The judging unit is additionally operable to judge whether the level of the interrupt pin is low electricity in the second preset duration
It is flat;
If the reset unit, which is additionally operable to the judging unit, judges that the interrupt pin is in the second preset duration
Low level, then discharge the interrupt pin, and applies for the interrupt pin again.
Implement the embodiment of the present invention, have the advantages that:
By obtaining the base-line data value in touch-screen region to be detected, then according to the ratio of base-line data value and predetermined threshold value
Compared with as a result, can judge the region to be detected whether to touch operation without response, complete to the simple and convenient of touch-screen and
Quickly detect;When judging the region to be detected to touch operation without response, realized by resetting touch-screen to touching
Touch the reparation of screen, it is efficient and be easily achieved, beneficial to lifting intelligent terminal ease for use and convenience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of the first embodiment of the method for present invention detection touch-screen;
Fig. 2 is the flow diagram of the second embodiment of the method for present invention detection touch-screen;
Fig. 3 is the flow diagram of the 3rd embodiment of the method for present invention detection touch-screen;
Fig. 4 is the flow diagram of the fourth embodiment of the method for present invention detection touch-screen;
Fig. 5 is the composition schematic diagram of the device of detection touch-screen of the embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is refer to, the flow diagram of the first embodiment of the method for touch-screen is detected for the present invention, in the present embodiment
In, it the described method comprises the following steps:
S101, obtains the base-line data value in touch-screen region to be detected.
Wherein, the region to be detected can be the arbitrary region of the intelligent terminal such as touch-screen of mobile phone, tablet computer etc.,
The region can be that intelligent terminal detects the region that touch operation occurs or receives the instruction of user, be referred to by user
Fixed a certain region.Touch operation can be the touch of finger or gloves or the touch that suspends, and does not make any limit herein
It is fixed.
Under normal conditions, if a certain region does not detect touch operation, the base-line data in the region
(baseline) data of value baseline are comparatively close to 0, such as between -4 to+4.Read when some region
When baseline values are more than predetermined threshold value such as 150, then illustrate that there is touch event in the region.
S102, according to the comparative result of the base-line data value and predetermined threshold value, judges whether the region to be detected is right
Touch operation is without response.
Specifically, when the baseline values that the region is read are less than or equal to the first predetermined threshold value such as -150, then say
The baseline values in the bright region are certain problematic, which can not normal response touch operation.
When the baseline values in the region are greater than or equal to the second predetermined threshold value such as 150, show that the region exists and touch
Event, if but the first preset duration such as in 5 minutes the baseline values in the region be always maintained at 150 constant, illustrate this
The touch event in region is interference incident, touches the region again at this time, which also can be without response to current touch operation.Can
Selection of land, if also detecting that touch event in the first preset duration, while in other regions, then can further confirm the area
The touch event in domain is interference incident.
S103, if it is determined that the region to be detected to touch operation without response, then reset the touch-screen.
Alternatively, resetting the touch-sensitive display can include to writing data or right in the reseting register of the touch-screen
The touch-screen re-powers.And the instruction that can receive user when resetting resets again, the area to be detected can also be being judged
Domain to touch operation without response after, resetted automatically so that touch-screen returns to reset condition, the touch behaviour to user
Normally responded.
By obtaining the base-line data value in touch-screen region to be detected, then according to the ratio of base-line data value and predetermined threshold value
Compared with as a result, can judge the region to be detected whether to touch operation without response, complete to the simple and convenient of touch-screen and
Quickly detect;When judging the region to be detected to touch operation without response, realized by resetting touch-screen to touching
Touch the reparation of screen, it is efficient and be easily achieved, beneficial to lifting intelligent terminal ease for use and convenience.
Fig. 2 is refer to, the flow diagram of the second embodiment of the method for touch-screen is detected for the present invention, in the present embodiment
In, it the described method comprises the following steps:
S201, obtains the base-line data value in touch-screen region to be detected.
S202, by the base-line data value compared with the first predetermined threshold value.
Alternatively, first predetermined threshold value is typically small, its value can according to used in current intelligent terminal touch-screen
Material and touch screen technology determine that the material of touch-screen can include but is not limited to thin film field effect transistor (Thin
Film Transistor, abbreviation TFT) screen, thin film diode (Thin Film Diode, abbreviation TFD), super-twist nematic
(Super Twisted Nematic, abbreviation STN) screen, organic electric exciting light-emitting diode (Organic Light-Emitting
Diode, abbreviation OLED) screen etc., touch screen technology can include but is not limited to touch screens technology, capacitance plate technology etc..For example,
When using the touch-screen of TFT materials and capacitance plate technology, the first predetermined threshold value can be set between -100 to -200, such as -
150。
S203, judges whether the base-line data value is less than or equal to first predetermined threshold value;If the base-line data
Value is less than or equal to first predetermined threshold value, then performs step S204.
For example, if the first predetermined threshold value is -150, when some region of baseline values are less than or equal to -150, then
Show the region to touch operation without response.
S204, judges that the region to be detected, without response, resets the touch-screen to touch operation.
Fig. 3 is refer to, the flow diagram of the 3rd embodiment of the method for touch-screen is detected for the present invention, in the present embodiment
In, it the described method comprises the following steps:
S301, obtains the base-line data value in touch-screen region to be detected.
S302, by the base-line data value compared with the first predetermined threshold value.
S303, judges whether the base-line data value is less than or equal to first predetermined threshold value;If the base-line data
Value is less than or equal to first predetermined threshold value, then performs step S304;If it is default that the base-line data value is more than described first
Threshold value, then can further perform step S305-S306.
S304, judges that the region to be detected, without response, resets the touch-screen to touch operation.
S305, by the base-line data value compared with the second predetermined threshold value.
S306, judges whether the base-line data value is all higher than in the first preset duration or equal to the described second default threshold
Value;If the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value, performs step
S304;Otherwise any processing is not made.
Wherein, second predetermined threshold value is more than first predetermined threshold value.
Second predetermined threshold value is generally large, its value can according to used in current intelligent terminal touch-screen material with
And touch screen technology determines, for example, when using the touch-screen of TFT materials and capacitance plate technology, the second predetermined threshold value can
It is set between 100 to 200, such as 150.First preset duration can be set by receiving the self-defined setting instruction of user
It is fixed, such as it is set as 1 minute, 5 minutes, 8 minutes or any other duration;An at least duration can also be preset by system,
When an only preset duration, if detecting, base-line data value is greater than or equal to second predetermined threshold value, can start
Timer carries out timing, if there are multiple preset durations, user can be supplied to make choice, receive the selected instruction of user
Afterwards, the preset duration selected according to user starts timer and carries out timing.
When the baseline values in region to be detected are greater than or equal to the second predetermined threshold value, show that the region exists and touch thing
Part, if the second preset duration such as in 5 minutes the baseline values in the region be always maintained at 150 constant, illustrate the region
Touch event is interference incident, touches the region again at this time, which also can be without response to current touch operation.Alternatively,
If also detecting that touch event in the first preset duration, while in other regions, then the region can be further confirmed
Touch event is interference incident.So as to start the reset of touch-screen.
It should be noted that the comparison with the comparison of the first predetermined threshold value and with the second predetermined threshold value, can be only respectively
It is vertical to carry out, can also first with the first predetermined threshold value relatively after again compared with the second predetermined threshold value, can also first with the second default threshold
Value relatively after again compared with the first predetermined threshold value.It is not limited in any way herein.
Fig. 4 is refer to, the flow diagram of the fourth embodiment of the method for touch-screen is detected for the present invention, in the present embodiment
In, it the described method comprises the following steps:
S401, obtains the base-line data value in touch-screen region to be detected.
S402, by the base-line data value compared with the first predetermined threshold value.
S403, judges whether the base-line data value is less than or equal to first predetermined threshold value;If the base-line data
Value is less than or equal to first predetermined threshold value, then performs step S404;If it is default that the base-line data value is more than described first
Threshold value, then can further perform step S405-S406.
S404, judges that the region to be detected, without response, resets the touch-screen to touch operation.
S405, by the base-line data value compared with the second predetermined threshold value.
S406, judges whether the base-line data value is all higher than in the first preset duration or equal to the described second default threshold
Value;If the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value, performs step
S404;Otherwise any processing is not made.
Wherein, second predetermined threshold value is more than first predetermined threshold value.
The possible cause of touch operation is not responding to due to touch-screen includes two major classes, and one kind is not responding to for touch-screen itself,
Processor can not be given to provide interrupt signal, another kind of is that touch-screen normally have issued interrupt signal to processor, but processor
End is not responding to.Therefore, by step S401-S406 eliminate due to touch-screen self reason cause to be not responding to touch operation can
Step S407-S409 can be can also carry out after property, with exclude because the reason for processor cause touch-screen to be not responding to the problem of.
S407, reads the level of the corresponding interrupt pin of the touch-screen;
S408, whether the level for judging the interrupt pin is low level in the second preset duration;
S409, if the interrupt pin is low level in the second preset duration, discharges the interrupt pin, lays equal stress on
Newly apply for the interrupt pin.
Under normal circumstances, touch-screen interrupt pin is high level, and when having touch event generation, interrupt pin will
It is pulled low, if the data register of the processor reading touch-screen of intelligent terminal at this time, which will just be drawn
Height, for touch event next time.If processor does not read the data register of touch-screen, the interrupt pin is just
Low level state is will always be in, such touch-screen just never responds follow-up touch operation, so as to cause touch-screen
Global failure.Therefore, by reading the interrupt pin low and high level signal of touch-screen, in the second preset duration, if even
Continuous low level, illustrates that the interrupt processing of AP ends there is a problem, no longer responds the touch of touch-screen.So discharge in this
Disconnected pin, then applies for the touch-screen interrupt pin, so as to complete to reset again again.
It should be noted that step S407-S409 and step S401-S406 can be carried out independently, step can also be first carried out
Step S407-S409 is performed after rapid S401-S406, step S401-S406 is performed after step S407-S409 can also be first carried out,
So that it is guaranteed that comprehensive solves the problems, such as that touch-screen is not responding to, realize and detect touch-screen easily and fast and repaired.
Fig. 5 is refer to, the composition schematic diagram of touch-screen, in the present embodiment, described device are detected for the embodiment of the present invention
Including:
Acquiring unit 100, for obtaining the base-line data value in touch-screen region to be detected;
Judging unit 200, for the comparative result according to the base-line data value and predetermined threshold value, judges described to be detected
Region whether to touch operation without response;
Reset unit 300, if for the judging unit judgement region to be detected to touch operation without response, it is multiple
The position touch-screen.
The judging unit 200 is specifically used for:
By the base-line data value compared with the first predetermined threshold value;
Judge whether the base-line data value is less than or equal to first predetermined threshold value;
If the base-line data value is less than or equal to first predetermined threshold value, judge the region to be detected to touching
Operation is without response.
The judging unit 200 is additionally operable to:
By the base-line data value compared with the second predetermined threshold value;
Judge whether the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value;
If the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value, judges institute
Region to be detected is stated to touch operation without response;
Wherein, second predetermined threshold value is more than first predetermined threshold value.
The reset unit 300 is specifically used for:
If the judging unit 200 judge the region to be detected to touch operation without response, to the touch-screen
Data are write in reseting register or the touch-screen is re-powered.
The acquiring unit 100 is additionally operable to read the level of the corresponding interrupt pin of the touch-screen;
The judging unit 200 is additionally operable to judge whether the level of the interrupt pin is low in the second preset duration
Level;
Judge the interrupt pin in the second preset duration if the reset unit 300 is additionally operable to the judging unit
For low level, then the interrupt pin is discharged, and apply for the interrupt pin again.
Above acquiring unit 100, judging unit 200, reset unit 300 can be individually present, can also be integrally disposed, be obtained
Take unit 100, judging unit 200 or reset unit 300 can be in the form of hardware independently of the place for the device for detecting touch-screen
Reason device is separately provided, and sets the form that form can be microprocessor;The place of the device can also be embedded in the form of hardware
Manage device in, can also be stored in a software form in the memory of the device, in order to the device processor call perform with
The 300 corresponding operation of upper acquiring unit 100, judging unit 200 and reset unit.
Certainly, acquiring unit 100 can also be as the interface circuit of the device, can be single with judging unit 200 or reset
Member 300 is integrated, can also be independently arranged.
For example, in the embodiment (embodiment shown in Fig. 5) of the device of present invention detection touch-screen, judging unit 200
Can be the processor of the device, and the function of acquiring unit 100 and reset unit 300 can be embedded in the processor,
It can be separately provided, can also be stored in the form of software in memory independently of processor, be called by processor and realize it
Function.The embodiment of the present invention does not do any restrictions.Above processor can be central processing unit (CPU), microprocessor, monolithic
Machine etc..
And the device of touch-screen is detected in the present embodiment, it can independently be set with intelligent terminal, pass through intelligent terminal
Interface realize wired connection or wireless connection, complete the collection of related data, compare, control reset etc. work;It can also collect
Into in intelligent terminal, using the hardware realization data acquisition in existing intelligent terminal, compare, control the work such as reset.This hair
Bright embodiment does not do any restrictions.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation is all difference with other embodiments, between each embodiment identical similar part mutually referring to.
For device embodiment, since it is substantially similar to embodiment of the method, so description is fairly simple, related part referring to
The part explanation of embodiment of the method.
By the description of above-described embodiment, the present invention has the following advantages:
By obtaining the base-line data value in touch-screen region to be detected, then according to the ratio of base-line data value and predetermined threshold value
Compared with as a result, can judge the region to be detected whether to touch operation without response, complete to the simple and convenient of touch-screen and
Quickly detect;When judging the region to be detected to touch operation without response, realized by resetting touch-screen to touching
Touch the reparation of screen, it is efficient and be easily achieved, beneficial to lifting intelligent terminal ease for use and convenience;Pass through detection and touch-screen again
The level of corresponding interrupt pin is not responding to exclude screen caused by the possibility of processor end, improves the comprehensive of touch-screen detection
Property, it is ensured that touch-screen repairs the reliability of result.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, abbreviation ROM) or random access memory (Random
Access Memory, abbreviation RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
Enclose, therefore equivalent variations made according to the claims of the present invention, it is still within the scope of the present invention.
Claims (6)
- A kind of 1. method for detecting touch-screen, it is characterised in that including:Obtain the base-line data value in touch-screen region to be detected;By the base-line data value compared with the first predetermined threshold value;Judge whether the base-line data value is less than or equal to first preset value;If the base-line data value is less than or equal to first predetermined threshold value, judge that the region to be detected is abnormal, to touching Operation is touched without response;By the base-line data value compared with the second predetermined threshold value;Judge whether the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value;If the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value, judge described in treat The touch event of detection zone is interference incident, if also detecting that touch event in other regions, judges the area to be detected Domain is to touch operation without response;Wherein, second predetermined threshold value is more than first predetermined threshold value;If it is determined that the region to be detected to touch operation without response, then reset the touch-screen.
- 2. the method as described in claim 1, it is characterised in that it is described if it is determined that the region to be detected to touch operation without sound Should, then the touch-screen is resetted, including:If it is determined that the region to be detected to touch operation without response, then to write in the reseting register of the touch-screen data or The touch-screen is re-powered.
- 3. method as claimed in claim 1 or 2, it is characterised in that the method further includes:Read the level of the corresponding interrupt pin of the touch-screen;Whether the level for judging the interrupt pin is low level in the second preset duration;If the interrupt pin is low level in the second preset duration, the interrupt pin is discharged, and applies for institute again State interrupt pin.
- A kind of 4. device for detecting touch-screen, it is characterised in that including:Acquiring unit, for obtaining the base-line data value in touch-screen region to be detected;Judging unit, for by the base-line data value compared with the first predetermined threshold value;Judge whether the base-line data value is less than or equal to first predetermined threshold value;If the base-line data value is less than or equal to first predetermined threshold value, judge that the region to be detected is abnormal, to touching Operation is touched without response;And by the base-line data value compared with the second predetermined threshold value;Judge whether the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value;If the base-line data value is all higher than in the first preset duration or equal to second predetermined threshold value, judge described in treat The touch event of detection zone is interference incident, if also detecting that touch event in other regions, judges the area to be detected Domain is to touch operation without response;Wherein, second predetermined threshold value is more than first predetermined threshold value;Reset unit, if for the judging unit judge the region to be detected to touch operation without response, reset described in Touch-screen.
- 5. device as claimed in claim 4, it is characterised in that the reset unit is specifically used for:If to touch operation without response, the reset to the touch-screen is deposited in the judging unit judgement region to be detected Data are write in device or the touch-screen is re-powered.
- 6. device as described in claim 4 or 5, it is characterised in that the acquiring unit is additionally operable to read the touch-screen pair The level for the interrupt pin answered;The judging unit is additionally operable to judge whether the level of the interrupt pin is low level in the second preset duration;If the reset unit, which is additionally operable to the judging unit, judges that the interrupt pin is low electricity in the second preset duration It is flat, then the interrupt pin is discharged, and apply for the interrupt pin again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410810576.4A CN104536606B (en) | 2014-12-19 | 2014-12-19 | A kind of method and device for detecting touch-screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410810576.4A CN104536606B (en) | 2014-12-19 | 2014-12-19 | A kind of method and device for detecting touch-screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104536606A CN104536606A (en) | 2015-04-22 |
CN104536606B true CN104536606B (en) | 2018-05-01 |
Family
ID=52852145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410810576.4A Active CN104536606B (en) | 2014-12-19 | 2014-12-19 | A kind of method and device for detecting touch-screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104536606B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371643B (en) * | 2015-07-22 | 2019-11-08 | 小米科技有限责任公司 | Touch chip crash handling method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855032A (en) * | 2011-06-27 | 2013-01-02 | 比亚迪股份有限公司 | Baseline updating method and touch device |
CN102890586A (en) * | 2012-10-08 | 2013-01-23 | 广东欧珀移动通信有限公司 | Anti-interference method of touch screen and terminal equipment thereof |
CN104063093A (en) * | 2014-06-30 | 2014-09-24 | 广东欧珀移动通信有限公司 | Method and device for preventing touch screen from being operated by mistake and mobile equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8624875B2 (en) * | 2009-08-24 | 2014-01-07 | Semiconductor Energy Laboratory Co., Ltd. | Method for driving touch panel |
CN102662514B (en) * | 2012-03-30 | 2017-03-29 | 中兴通讯股份有限公司 | A kind of method and mobile terminal of control touch screen |
-
2014
- 2014-12-19 CN CN201410810576.4A patent/CN104536606B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855032A (en) * | 2011-06-27 | 2013-01-02 | 比亚迪股份有限公司 | Baseline updating method and touch device |
CN102890586A (en) * | 2012-10-08 | 2013-01-23 | 广东欧珀移动通信有限公司 | Anti-interference method of touch screen and terminal equipment thereof |
CN104063093A (en) * | 2014-06-30 | 2014-09-24 | 广东欧珀移动通信有限公司 | Method and device for preventing touch screen from being operated by mistake and mobile equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104536606A (en) | 2015-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3171242B1 (en) | Electronic device and method for configuring display thereof | |
CN104156171B (en) | Method and device for preventing touch key misoperations in landscape screen state of mobile terminal | |
CN107728876B (en) | A kind of method of split screen display available, terminal and computer readable storage medium | |
CN102799331B (en) | Parameter setting apparatus, parameter setting method and touch display device | |
CN103914211B (en) | The automatic adjusting method and device of interface element | |
KR20180097674A (en) | Memory reclaim method and apparatus | |
CN105958588B (en) | A kind of charging method and mobile terminal | |
JP5578386B2 (en) | Pseudo hardware button operation method and touch screen terminal | |
EP2869540B1 (en) | Display control method and user equipment | |
EP3220251B1 (en) | Method and system based on mobile terminal for turning off screen during call to prevent inadvertent touch | |
CN104375685B (en) | A kind of mobile terminal screen edge touch-control optimization method and device | |
CN105975160A (en) | Mistaken touch prevention method and terminal | |
CN107290674A (en) | A kind of calibration method and terminal for showing charge value | |
CN105094762A (en) | Communication device and multi-window display method | |
CN103294583B (en) | A kind of method of control terminal screen and mobile terminal | |
CN104636024A (en) | Touch screen shortcut button control method and device and mobile terminal | |
CN104049786A (en) | Electronic device, system and correcting method capable of automatically correcting touch position | |
CN106201175B (en) | Location regulation method, device and the terminal of application icon | |
CN104536606B (en) | A kind of method and device for detecting touch-screen | |
CN103165094A (en) | Method and device of liquid crystal display | |
CN105549857B (en) | A kind of control method and electric terminal of electric terminal | |
CN107045610B (en) | Data migration method, terminal device and computer readable storage medium | |
CN106775296B (en) | Terminal control method and device | |
US10175840B2 (en) | Terminal, touch control unit, touchscreen, screen protector, and operation detection apparatus and method | |
CN106776228B (en) | Safety protection method of mobile terminal and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
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. |