CN104536606A - Method and device for detecting touch screen - Google Patents

Method and device for detecting touch screen Download PDF

Info

Publication number
CN104536606A
CN104536606A CN201410810576.4A CN201410810576A CN104536606A CN 104536606 A CN104536606 A CN 104536606A CN 201410810576 A CN201410810576 A CN 201410810576A CN 104536606 A CN104536606 A CN 104536606A
Authority
CN
China
Prior art keywords
touch
predetermined threshold
screen
threshold value
line data
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
CN201410810576.4A
Other languages
Chinese (zh)
Other versions
CN104536606B (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 CN201410810576.4A priority Critical patent/CN104536606B/en
Publication of CN104536606A publication Critical patent/CN104536606A/en
Application granted granted Critical
Publication of CN104536606B publication Critical patent/CN104536606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, 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 method for detecting a touch screen. The method comprises the steps that a base line data value of a to-be-detected area of the touch screen is acquired; according to a comparison result of the base line data value and a preset threshold value, whether the to-be-detected area responds to a touch operation or not is judged; if it is judged that the to-be-detected area does not respond to the touch operation, the touch screen is reset. The embodiment of the invention further discloses a device for detecting the touch screen. By the adoption of the method and device for detecting the touch screen, the touch screen can be detected and restored conveniently and quickly.

Description

A kind of method and device detecting touch-screen
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and the device that detect touch-screen.
Background technology
Along with the develop rapidly of intelligent terminal, intelligent terminal, as mobile phone or panel computer etc., can provide increasing help in the life, work, amusement etc. of user.The screen of existing intelligent terminal is all touch-screen.Conventional mode of operation is touch operation, and therefore touch-screen is the input equipment that intelligent terminal is commonly used the most, because the frequency used is high, and is easily subject to extraneous interference, therefore than the problem being easier to occur not responding touch.Causing cannot operative intelligence terminal.Such as, often mobile phone is put in pocket at ordinary times, during incoming call, then takes out from pocket, the change of this process external environment, cause touch-screen lost efficacy and cannot receive calls; When carrying out note, also there is above-mentioned problem, cause checking the instant note received.
In the prior art, if the problem of touch-screen appears in intelligent terminal, user generally cannot detect the reason do not responded voluntarily, also cannot repair, and the specialized maintenance technician that seeks help, will greatly promote use cost and the maintenance cost of intelligent terminal.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, provides a kind of method and the device that detect touch-screen.Touch-screen cannot be detected easily and fast to solve and carry out the problem of repairing.
In order to solve the problems of the technologies described above, embodiments provide a kind of method detecting touch-screen, comprising:
Obtain the base-line data value in touch-screen region to be detected;
According to the comparative result of described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response;
If judge described region to be detected to touch operation without response, then reset described touch-screen.
Wherein, the described comparative result according to described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response, comprising:
Described base-line data value is compared with the first predetermined threshold value;
Judge whether described base-line data value is less than or equal to described first predetermined threshold value;
If described base-line data value is less than or equal to described first predetermined threshold value, then judge described region to be detected to touch operation without response.
Wherein, the described comparative result according to described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response, also comprise:
Described base-line data value is compared with the second predetermined threshold value;
Judge whether described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration;
If described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration, then judge described region to be detected to touch operation without response;
Wherein, described second predetermined threshold value is greater than described first predetermined threshold value.
Wherein, judge described region to be detected if described to touch operation without response, then reset described touch-screen, comprising:
If judge described region to be detected to touch operation without response, then write data in the reseting register to described touch-screen or described touch-screen is re-powered.
Wherein, described method also comprises:
Read the level of interrupt pin corresponding to described touch-screen;
Judge whether the level of described interrupt pin is low level in the second preset duration;
If described interrupt pin is low level in the second preset duration, then discharge described interrupt pin, and again apply for described interrupt pin.
Correspondingly, the embodiment of the present invention additionally provides a kind of device detecting touch-screen, comprising:
Acquiring unit, for obtaining the base-line data value in touch-screen region to be detected;
Judging unit, for the comparative result according to described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response;
Reset unit, if judge described region to be detected to touch operation without response for described judging unit, then reset described touch-screen.
Wherein, described judging unit specifically for:
Described base-line data value is compared with the first predetermined threshold value;
Judge whether described base-line data value is less than or equal to described first preset value;
If described base-line data value is less than or equal to described first predetermined threshold value, then judge described region to be detected to touch operation without response.
Wherein, described judging unit also for:
Described base-line data value is compared with the second predetermined threshold value;
Judge whether described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration;
If described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration, then judge described region to be detected to touch operation without response;
Wherein, described second predetermined threshold value is greater than described first predetermined threshold value.
Wherein, described reset unit specifically for:
If the described region to be detected of described judging unit judgement without response to touch operation, is then write data or re-powers described touch-screen in the reseting register to described touch-screen.
Wherein, described acquiring unit is also for reading the level of interrupt pin corresponding to described touch-screen;
Described judging unit is also for judging whether the level of described interrupt pin is low level in the second preset duration;
If for described judging unit, described reset unit also judges that described interrupt pin is low level in the second preset duration, then discharge described interrupt pin, and again apply for described interrupt pin.
Implement the embodiment of the present invention, there is following beneficial effect:
By obtaining the base-line data value in touch-screen region to be detected, then according to the comparative result of base-line data value and predetermined threshold value, just can judge this region to be detected whether to touch operation without response, complete the simple and convenient of touch-screen and detect quickly; When judge this region to be detected to touch operation without response time, realize the reparation to touch-screen by reset touch-screen, efficiency is high and be easy to realize, and is beneficial to and promotes intelligent terminal ease for use and convenience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet that the present invention detects the first embodiment of the method for touch-screen;
Fig. 2 is the schematic flow sheet that the present invention detects the second embodiment of the method for touch-screen;
Fig. 3 is the schematic flow sheet that the present invention detects the 3rd embodiment of the method for touch-screen;
Fig. 4 is the schematic flow sheet that the present invention detects the 4th embodiment of the method for touch-screen;
Fig. 5 is the composition schematic diagram that the embodiment of the present invention detects the device of touch-screen.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, detect the schematic flow sheet of the first embodiment of the method for touch-screen for the present invention, in the present embodiment, said method comprising the steps of:
S101, obtains the base-line data value in touch-screen region to be detected.
Wherein, described region to be detected can be the arbitrary region of intelligent terminal as the touch-screen of mobile phone, panel computer etc., this region can be that intelligent terminal detects the region that touch operation occurs, and also can be the instruction receiving user, a certain region of being specified by user.Touch operation can be the touch of finger or gloves, also can be to suspend to touch, and is not limited in any way herein.
Under normal conditions, if a certain region does not detect touch operation, then the data of base-line data (baseline) the value baseline in this region are comparatively close to 0, such as, between-4 to+4.The baseline value read when certain region be greater than predetermined threshold value as 150 time, so illustrate that there is touch event in this region.
S102, according to the comparative result of described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response.
Particularly, the baseline value read when this region is less than or equal to the first predetermined threshold value as-150, and so illustrate that the baseline value in this region necessarily has problem, this region cannot normal response touch operation.
When the baseline value in this region be more than or equal to the second predetermined threshold value as 150 time, show that this region exists touch event, if but the baseline value in this region keeps 150 constant in the first preset duration was as 5 minutes always, then illustrate that the touch event in this region is interference incident, now touch this region again, this region also can without response to current touch operation.Alternatively, if in the first preset duration, also touch event detected in other regions simultaneously, then further can confirm that the touch event in this region is interference incident.
S103, if judge described region to be detected to touch operation without response, then reset described touch-screen.
Alternatively, the described touch-sensitive display that resets can comprise in the reseting register to described touch-screen to be write data or re-powers described touch-screen.And the instruction that can accept user when resetting resets again, also can the described region to be detected of judgement to touch operation without response after, automatically reset, thus make touch-screen return to virgin state, the touch operation of user is normally responded.
By obtaining the base-line data value in touch-screen region to be detected, then according to the comparative result of base-line data value and predetermined threshold value, just can judge this region to be detected whether to touch operation without response, complete the simple and convenient of touch-screen and detect quickly; When judge this region to be detected to touch operation without response time, realize the reparation to touch-screen by reset touch-screen, efficiency is high and be easy to realize, and is beneficial to and promotes intelligent terminal ease for use and convenience.
Please refer to Fig. 2, detect the schematic flow sheet of the second embodiment of the method for touch-screen for the present invention, in the present embodiment, said method comprising the steps of:
S201, obtains the base-line data value in touch-screen region to be detected.
S202, compares described base-line data value with the first predetermined threshold value.
Alternatively, described first predetermined threshold value is general less, the material of the touch-screen that its value can use according to current intelligent terminal and touch screen technology are determined, the material of touch-screen can include but not limited to Thin Film Transistor (TFT) (Thin Film Transistor, be called for short TFT) screen, thin film diode (Thin Film Diode, be called for short TFD), super-twist nematic (Super Twisted Nematic, be called for short STN) screen, organic electric exciting light-emitting diode (Organic Light-Emitting Diode, be called for short OLED) screen etc., touch screen technology can include but not limited to touch screens technology, capacitance plate technology etc.Such as, when using the touch-screen of TFT material and capacitance plate technology, the first predetermined threshold value can be set between-100 to-200, as-150.
S203, judges whether described base-line data value is less than or equal to described first predetermined threshold value; If described base-line data value is less than or equal to described first predetermined threshold value, then perform step S204.
Such as, if the first predetermined threshold value is-150, then when the baseline value in a certain region is less than or equal to-150, then this region is shown to touch operation without response.
S204, judge described region to be detected to touch operation without response, reset described touch-screen.
Please refer to Fig. 3, detect the schematic flow sheet of the 3rd embodiment of the method for touch-screen for the present invention, in the present embodiment, said method comprising the steps of:
S301, obtains the base-line data value in touch-screen region to be detected.
S302, compares described base-line data value with the first predetermined threshold value.
S303, judges whether described base-line data value is less than or equal to described first predetermined threshold value; If described base-line data value is less than or equal to described first predetermined threshold value, then perform step S304; If described base-line data value is greater than described first predetermined threshold value, then can perform step S305-S306 further.
S304, judge described region to be detected to touch operation without response, reset described touch-screen.
S305, compares described base-line data value with the second predetermined threshold value.
S306, judges whether described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration; If described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration, then perform step S304; Otherwise do not do any process.
Wherein, described second predetermined threshold value is greater than described first predetermined threshold value.
Described second predetermined threshold value is general larger, the material of the touch-screen that its value can use according to current intelligent terminal and touch screen technology are determined, such as, when using the touch-screen of TFT material and capacitance plate technology, second predetermined threshold value can be set between 100 to 200, as 150.First preset duration can be set, as being set as 1 minute, 5 minutes, 8 minutes or other any durations by the self-defined setting instruction receiving user; Also at least one duration can be preset by system, when only having a preset duration, if detect, base-line data value is more than or equal to described second predetermined threshold value, then can start timer and carry out timing, if there is multiple preset duration, then can be supplied to user to select, after receiving the selected instruction of user, the preset duration selected according to user starts timer and carries out timing.
When the baseline value in region to be detected is more than or equal to the second predetermined threshold value, show that this region exists touch event, if the baseline value in this region keeps 150 constant in the second preset duration was as 5 minutes always, then illustrate that the touch event in this region is interference incident, now touch this region again, this region also can without response to current touch operation.Alternatively, if in the first preset duration, also touch event detected in other regions simultaneously, then further can confirm that the touch event in this region is interference incident.Thus start the reset of touch-screen.
It should be noted that, with the first predetermined threshold value compare and with the comparing of the second predetermined threshold value, independently can carry out, compare with the second predetermined threshold value again after also can first comparing with the first predetermined threshold value, compare with the first predetermined threshold value again after can also first comparing with the second predetermined threshold value.Be not limited in any way herein.
Please refer to Fig. 4, detect the schematic flow sheet of the 4th embodiment of the method for touch-screen for the present invention, in the present embodiment, said method comprising the steps of:
S401, obtains the base-line data value in touch-screen region to be detected.
S402, compares described base-line data value with the first predetermined threshold value.
S403, judges whether described base-line data value is less than or equal to described first predetermined threshold value; If described base-line data value is less than or equal to described first predetermined threshold value, then perform step S404; If described base-line data value is greater than described first predetermined threshold value, then can perform step S405-S406 further.
S404, judge described region to be detected to touch operation without response, reset described touch-screen.
S405, compares described base-line data value with the second predetermined threshold value.
S406, judges whether described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration; If described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration, then perform step S404; Otherwise do not do any process.
Wherein, described second predetermined threshold value is greater than described first predetermined threshold value.
The possible cause not responding touch operation due to touch-screen comprises two large classes, and a class is that touch-screen self does not respond, and cannot provide look-at-me to processor, and another kind of is that touch-screen normally have issued look-at-me to processor, but processor end does not respond.Therefore, eliminated due to after touch-screen self reason causes not responding the possibility of touch operation by step S401-S406, can also step S407-S409 be performed, the problem causing touch-screen not respond with the reason got rid of because of processor.
S407, reads the level of interrupt pin corresponding to described touch-screen;
S408, judges whether the level of described interrupt pin is low level in the second preset duration;
S409, if described interrupt pin is low level in the second preset duration, then discharges described interrupt pin, and again applies for described interrupt pin.
Under normal circumstances, touch-screen interrupt pin is high level, in time having touch event to occur, interrupt pin will be dragged down, if now the processor of intelligent terminal reads the data register of touch-screen, this interrupt pin just will be driven high, for touch event next time.If processor does not read the data register of touch-screen, this interrupt pin just will be in low level state always, and such touch-screen just responds follow-up touch operation never, thus causes the global failure of touch-screen.Therefore, by reading the interrupt pin low and high level signal of touch-screen, in the second preset duration, if continuous print low level, illustrating that AP holds interrupt processing to occur problem, no longer responding the touch of touch-screen.So discharge this interrupt pin, and then again apply for this touch-screen interrupt pin, thus complete reset.
It should be noted that, step S407-S409 and step S401-S406 can independently carry out, also step S407-S409 is performed after can first performing step S401-S406, step S401-S406 is performed after can also first performing step S407-S409, thus guarantee the problem that omnibearing solution touch-screen does not respond, realize detecting touch-screen easily and fast and repairing.
Please refer to Fig. 5, for the embodiment of the present invention detects the composition schematic diagram of touch-screen, in the present embodiment, described device comprises:
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 described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response;
Reset unit 300, if judge described region to be detected to touch operation without response for described judging unit, then reset described touch-screen.
Described judging unit 200 specifically for:
Described base-line data value is compared with the first predetermined threshold value;
Judge whether described base-line data value is less than or equal to described first predetermined threshold value;
If described base-line data value is less than or equal to described first predetermined threshold value, then judge described region to be detected to touch operation without response.
Described judging unit 200 also for:
Described base-line data value is compared with the second predetermined threshold value;
Judge whether described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration;
If described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration, then judge described region to be detected to touch operation without response;
Wherein, described second predetermined threshold value is greater than described first predetermined threshold value.
Described reset unit 300 specifically for:
If described judging unit 200 judges described region to be detected to touch operation without response, then write data in the reseting register to described touch-screen or described touch-screen is re-powered.
Described acquiring unit 100 is also for reading the level of interrupt pin corresponding to described touch-screen;
Described judging unit 200 is also for judging whether the level of described interrupt pin is low level in the second preset duration;
If for described judging unit, described reset unit 300 also judges that described interrupt pin is low level in the second preset duration, then discharge described interrupt pin, and again apply for described interrupt pin.
Above acquiring unit 100, judging unit 200, reset unit 300 can independently exist, also can integratedly arrange, acquiring unit 100, judging unit 200 or reset unit 300 can be arranged separately independent of the processor of the device detecting touch-screen in the form of hardware, and arrange the form that form can be microprocessor; Also can be embedded in the processor of this device in the form of hardware, can also be stored in the storer of this device in a software form, so that the processor of this device calls the operation performing above acquiring unit 100, judging unit 200 and reset unit 300 correspondence.
Certainly, acquiring unit 100 also can as the interface circuit of this device, can with judging unit 200 or reset unit 300 integrated, also can independently arrange.
Such as, detect in the embodiment (embodiment shown in Fig. 5) of the device of touch-screen in the present invention, judging unit 200 can be the processor of this device, and the function of acquiring unit 100 and reset unit 300 can be embedded in this processor, also can arrange separately independent of processor, also can be stored in storer in the form of software, be called by processor and realize its function.The embodiment of the present invention does not do any restriction.Above processor can be CPU (central processing unit) (CPU), microprocessor, single-chip microcomputer etc.
And in the present embodiment, detect the device of touch-screen, independently can arrange with intelligent terminal, by Interface realization wired connection or the wireless connections of intelligent terminal, complete the collection of related data, compare, control the work such as reset; Also can be integrated in intelligent terminal, utilize the hardware implementing data acquisition in existing intelligent terminal, compare, control the work such as reset.The embodiment of the present invention does not do any restriction.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, between each embodiment identical similar part mutually see.For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part 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 comparative result of base-line data value and predetermined threshold value, just can judge this region to be detected whether to touch operation without response, complete the simple and convenient of touch-screen and detect quickly; When judge this region to be detected to touch operation without response time, realize the reparation to touch-screen by reset touch-screen, efficiency is high and be easy to realize, and is beneficial to and promotes intelligent terminal ease for use and convenience; Level again by detecting the interrupt pin corresponding with touch-screen is got rid of the screen that processor end may cause and is not responded, and what improve that touch-screen detects is comprehensive, ensure that the reliability of touch-screen reparation result.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory is called for short ROM) or random store-memory body (Random Access Memory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. detect a method for touch-screen, it is characterized in that, comprising:
Obtain the base-line data value in touch-screen region to be detected;
According to the comparative result of described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response;
If judge described region to be detected to touch operation without response, then reset described touch-screen.
2. as claimed in claim 1 method, it is characterized in that, the described comparative result according to described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response, comprising:
Described base-line data value is compared with the first predetermined threshold value;
Judge whether described base-line data value is less than or equal to described first preset value;
If described base-line data value is less than or equal to described first predetermined threshold value, then judge described region to be detected to touch operation without response.
3. method as claimed in claim 2, is characterized in that, the described comparative result according to described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response, also comprise:
Described base-line data value is compared with the second predetermined threshold value;
Judge whether described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration;
If described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration, then judge described region to be detected to touch operation without response;
Wherein, described second predetermined threshold value is greater than described first predetermined threshold value.
4. method as claimed in claim 3, it is characterized in that, judge described region to be detected if described to touch operation without response, then reset described touch-screen, comprising:
If judge described region to be detected to touch operation without response, then write data in the reseting register to described touch-screen or described touch-screen is re-powered.
5. the method as described in any one of claim 1-4, is characterized in that, described method also comprises:
Read the level of interrupt pin corresponding to described touch-screen;
Judge whether the level of described interrupt pin is low level in the second preset duration;
If described interrupt pin is low level in the second preset duration, then discharge described interrupt pin, and again apply for described interrupt pin.
6. detect a device for touch-screen, it is characterized in that, comprising:
Acquiring unit, for obtaining the base-line data value in touch-screen region to be detected;
Judging unit, for the comparative result according to described base-line data value and predetermined threshold value, judge described region to be detected whether to touch operation without response;
Reset unit, if judge described region to be detected to touch operation without response for described judging unit, then reset described touch-screen.
7. device as claimed in claim 6, is characterized in that, described judging unit specifically for:
Described base-line data value is compared with the first predetermined threshold value;
Judge whether described base-line data value is less than or equal to described first predetermined threshold value;
If described base-line data value is less than or equal to described first predetermined threshold value, then judge described region to be detected to touch operation without response.
8. as claimed in claim, it is characterized in that, described judging unit also for:
Described base-line data value is compared with the second predetermined threshold value;
Judge whether described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration;
If described base-line data value is all more than or equal to described second predetermined threshold value in the first preset duration, then judge described region to be detected to touch operation without response;
Wherein, described second predetermined threshold value is greater than described first predetermined threshold value.
9. device as claimed in claim 8, is characterized in that, described reset unit specifically for:
If the described region to be detected of described judging unit judgement without response to touch operation, is then write data or re-powers described touch-screen in the reseting register to described touch-screen.
10. the device as claimed in claim described in any one of 6-9, is characterized in that, described acquiring unit is also for reading the level of interrupt pin corresponding to described touch-screen;
Described judging unit is also for judging whether the level of described interrupt pin is low level in the second preset duration;
If for described judging unit, described reset unit also judges that described interrupt pin is low level in the second preset duration, then discharge described interrupt pin, and again apply for described interrupt pin.
CN201410810576.4A 2014-12-19 2014-12-19 A kind of method and device for detecting touch-screen Active CN104536606B (en)

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 true CN104536606A (en) 2015-04-22
CN104536606B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371643A (en) * 2015-07-22 2017-02-01 小米科技有限责任公司 Touch chip failure processing method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2290509A1 (en) * 2009-08-24 2011-03-02 Semiconductor Energy Laboratory Co, Ltd. Method for driving touch panel
CN102662514A (en) * 2012-03-30 2012-09-12 中兴通讯股份有限公司 Touch screen control method and mobile terminal
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2290509A1 (en) * 2009-08-24 2011-03-02 Semiconductor Energy Laboratory Co, Ltd. Method for driving touch panel
CN102855032A (en) * 2011-06-27 2013-01-02 比亚迪股份有限公司 Baseline updating method and touch device
CN102662514A (en) * 2012-03-30 2012-09-12 中兴通讯股份有限公司 Touch screen control method and mobile terminal
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371643A (en) * 2015-07-22 2017-02-01 小米科技有限责任公司 Touch chip failure processing method and apparatus
CN106371643B (en) * 2015-07-22 2019-11-08 小米科技有限责任公司 Touch chip crash handling method and device

Also Published As

Publication number Publication date
CN104536606B (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN102799331B (en) Parameter setting apparatus, parameter setting method and touch display device
CN104572328A (en) Control method and device
CN103324344B (en) A kind of method and mobile terminal processing touch-screen sliding process interrupt line
US20140218078A1 (en) Enhanced recovery mechanisms
KR20180097674A (en) Memory reclaim method and apparatus
US20160085699A1 (en) Enabling method and enabling device for debugging port of terminal, and terminal
CN104375685B (en) A kind of mobile terminal screen edge touch-control optimization method and device
CN109884427B (en) Electrostatic detection method and related device
CN103927239A (en) Method and device for restoring system of terminal equipment
CN104331339A (en) Mobile terminal crash detecting method and system, and mobile terminal
CN105282303A (en) Control device and control method of mobile terminal, and mobile terminal
US11216053B2 (en) Systems, apparatus, and methods for transitioning between multiple operating states
CN104536643A (en) Icon dragging method and terminal
CN103294583B (en) A kind of method of control terminal screen and mobile terminal
CN103870319B (en) Information processing method, device and electronic equipment
CN106201175B (en) Location regulation method, device and the terminal of application icon
CN103543344A (en) Method for solving failure of capacitive screen and capacitive screen anomaly detection circuit
CN108801321B (en) Sensor calibration method, electronic device and computer-readable storage medium
CN104750575A (en) Restoring method and device for mobile terminal operating system
US20170285798A1 (en) Method and system for realizing functional key on side surface
CN109324765A (en) A kind of Disk State detection method, device, equipment and storage medium
CN104536606A (en) Method and device for detecting touch screen
CN109151144B (en) Hardware management method, device, system, computer equipment and storage medium
CN103678018A (en) Method and device for recovering data
CN107179911B (en) Method and equipment for restarting management engine

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.