CN102156584A - Touch screen terminal and method for solving deadlock of touch screen - Google Patents

Touch screen terminal and method for solving deadlock of touch screen Download PDF

Info

Publication number
CN102156584A
CN102156584A CN2011100980881A CN201110098088A CN102156584A CN 102156584 A CN102156584 A CN 102156584A CN 2011100980881 A CN2011100980881 A CN 2011100980881A CN 201110098088 A CN201110098088 A CN 201110098088A CN 102156584 A CN102156584 A CN 102156584A
Authority
CN
China
Prior art keywords
touch screen
touch
processor
screen processor
microprocessor
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
CN2011100980881A
Other languages
Chinese (zh)
Other versions
CN102156584B (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.)
Guangzhou Shengxia Intellectual Property Operation Co ltd
Jiangsu Sanhao Medical Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN 201110098088 priority Critical patent/CN102156584B/en
Publication of CN102156584A publication Critical patent/CN102156584A/en
Application granted granted Critical
Publication of CN102156584B publication Critical patent/CN102156584B/en
Withdrawn - After Issue legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a touch screen terminal and a method for solving deadlock of a touch screen. The touch screen terminal comprises a touch screen used for inputting control information, a touch screen processor used for outputting pulse signals, a microprocessor used for controlling the touch screen processor to work, a counter used for detecting whether the touch screen controller outputs pulse signals or not and correspondingly outputting high levels or low levels; and the microprocessor is also used for restarting the touch screen processor when the counter outputs the low level. When the touch screen processor outputs the pulse signal, the counter outputs the high level so that the touch screen processor can work normally; when the touch screen processor does not have pulse signal output, the counter outputs the low level to interrupt the microprocessor; after the microprocessor is interrupted, the microprocessor can carry out communication with the touch screen processor; furthermore, when the communication has time delay, the touch screen processor is restarted; when the touch screen is deadlock, the touch screen processor can be powered off, the whole machine does not need to be powered off, the detecting time is short, and the influence on a user is less.

Description

The method of touch screen terminal and solution touch-screen deadlock thereof
Technical field
The present invention relates to touch-screen control technology field, the method for particularly a kind of touch screen terminal and solution touch-screen deadlock thereof.
Background technology
Giant-screen touch-screen product more and more is subjected to consumers in general's favor at present, and the touch-screen product has occupied certain consumption market.Touching on the consumer electronics shielded the general capacitance touch screen capacitance plate that adopts multiple point touching at present.
And capacitance plate belongs to initiatively device more, and promptly MCU(Micro Controller Unit is contained in inside), multipoint control unit).It is the mode of interrupting that the communication of capacitance touch screen belongs to mostly, promptly by TP MCU(touch panel Micro Controller Unit, the touch panel control module) send look-at-me notice Host(main frame), and then inform coordinate and the message that HOST is relevant by the I2C communication of TP MCU.
Because touch-screen directly contacts with extraneous, in actual use, there is the deadlock situation of certain probability in capacitance plate, deadlock is most because its MCU has run into external interference, under situations such as static, humidity, its software has run and has flown, and can't accept touch signal and processing, do not have yet and interrupt mailing to the CPU processing, cause phenomenon similar and the touch deadlock.
Thereby prior art is still waiting to improve and improve.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide the method for a kind of touch screen terminal and solution touch-screen deadlock thereof, can solve the problem of touch-screen deadlock.
In order to achieve the above object, the present invention has taked following technical scheme:
A kind of touch screen terminal, this terminal comprises the touch-screen of input control information, the touch screen processor and the microprocessor that is used to control touch screen processor work that are used for output pulse signal, described touch-screen is connected with touch screen processor, wherein, also comprise being used for whether output pulse signal of senses touch screen controller, and corresponding output high level or low level counter, described touch screen processor is connected with microprocessor by counter, and described microprocessor is connected with touch screen processor; Microprocessor also is used for restarting touch screen processor when the counter output low level.
Described touch screen terminal, wherein, described counter adopts 555 chips, and the RST port of described 555 chips is connected with microcontroller respectively with the OUT port, and the TRG port of 555 chips is connected with touch screen processor.
Described touch screen terminal, wherein, described counter comprises time-delay adjustment circuit, and this time-delay is adjusted circuit and is comprised resistance and electric capacity, and an end of described resistance is connected with the VCC port of 555 chips, and the other end is connected with the DSCHG port of 555 chips; One end of electric capacity is connected other end ground connection with the DSCHG port of 555 chips.
Described touch screen terminal, wherein, the cycle of the pulse signal of touch screen processor output is 0.05~0.1ms.
Described touch screen terminal, wherein, touch-screen is a capacitance touch screen.
Described touch screen terminal, wherein, described terminal is mobile phone, GPS, MP4 or touch computer.
A kind of method that solves the touch-screen deadlock wherein, comprising:
A, by counter senses touch screen processor output pulse signal whether; If, then export high level, and execution in step B; Otherwise, output low level, and execution in step C;
B, microprocessor controls touch screen processor operate as normal;
C, microcontroller and touch screen processor communication, and judge whether communication delays time, if, execution in step D then; Otherwise, return steps A;
D, microcontroller are restarted touch screen processor.
The method of described solution touch-screen deadlock, wherein, described step D also comprises: microcontroller is restarted counter.
The method of described solution touch-screen deadlock, wherein, the cycle of the pulse signal of touch screen processor output is 0.05~0.1ms.
The method of touch screen terminal provided by the invention and solution touch-screen deadlock thereof, when the touch screen processor output pulse signal, counter output high level, make the touch screen processor operate as normal, when touch screen processor did not have pulse signal output, counter output low level interrupt microprocessor was had no progeny in the microprocessor and the touch screen processor communication, and when communication is delayed time, restart touch screen processor.The method of touch screen terminal provided by the invention and solution touch-screen deadlock thereof is when the touch-screen deadlock, only need touch screen processor is cut off the power supply, and need not the complete machine outage, its detecting time is short, influence to the user is little, and scheme need not to take the software resource of microprocessor.
Description of drawings
Fig. 1 is the structured flowchart of touch screen terminal of the present invention.
Fig. 2 solves the structural representation of counter in the end preferred embodiment of touch-screen deadlock for the present invention.
Fig. 3 solves the voltage waveform view when counter detects pulse missing in the end preferred embodiment of touch-screen deadlock for the present invention.
Fig. 4 solves the process flow diagram of method one Application Example of touch-screen deadlock for the present invention.
Embodiment
The invention provides the method for a kind of touch screen terminal and solution touch-screen deadlock thereof, clearer, clear and definite for making purpose of the present invention, technical scheme and effect, below with reference to accompanying drawing and give an actual example that the present invention is described in more detail.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
See also Fig. 1 and Fig. 2, the touch screen terminal that the embodiment of the invention provides comprises touch-screen, touch screen processor, counter and microprocessor.The described screen that touches is connected with touch screen processor, and described touch screen processor is connected with microprocessor by counter, and described microprocessor is connected with touch screen processor.
In the specific implementation, the user passes through the touch-screen input control information, and handles accordingly by microprocessor.Touch screen processor is according to the control information output pulse signal of user input, and the cycle of this pulse signal is 0.05~0.1ms.
Described counter is used for whether output pulse signal of senses touch screen controller, and when the touch screen controller output pulse signal output high level, output low level when touch screen controller does not have output pulse signal.
Described microprocessor is used to control the work of touch screen processor, and touch screen processor informs that by its I2C interface communication the corresponding coordinate that touches screen is to microprocessor.This microprocessor is used for when the counter output low level, by the I2C interface with touch screen processor communication, when finding the communication time-delay, restart touch screen processor, touch-screen is re-powered.
Wherein, when touch-screen is restarted touch screen processor, also can restart counter, it is counted again.
Please continue to consult Fig. 2, the counter that the embodiment of the invention provides adopts 555 chips, the RST port of described 555 chips is connected with microcontroller respectively with the OUT port, and the TRG port of 555 chips is connected with touch screen processor (the touch screen processor output signal is represented with INPUT) herein.Wherein, the TRG port is used to receive the pulse signal of touch screen processor, is sent to microprocessor by OUT port (output signal of 555 chips is represented with INPUT) and interrupts, when the counter output low level, the step-by-step counting of expression touch screen processor makes mistakes, and its voltage oscillogram as shown in Figure 3.From microprocessor control signal by 555 chips RST port controlling 555 chip enables or stop (promptly 1/0).
Wherein, described counter comprises time-delay adjustment circuit (not marking among the figure), and this time-delay is adjusted circuit and comprised resistance R and capacitor C, and an end of described resistance R is connected with the VCC port of 555 chips, and the other end is connected with the DSCHG port of 555 chips.One end of capacitor C is connected other end ground connection with the DSCHG port of 555 chips.This time-delay is adjusted circuit by adjusting the value of resistance and electric capacity, adjusts the time that needs time-delay.
In the specific implementation, described touch-screen is a capacitance touch screen, and described terminal is preferably mobile phone, GPS(Global Positioning System, GPS), MP4, touch computer, palm PC etc. have the terminal of touch-screen.
Below touch screen terminal principle of work that the embodiment of the invention is provided be described in detail:
When the touch screen processor operate as normal, needing will be that the pulse signal of 0.1ms inputs to 555 chips in the cycle, this moment 555 chips to be output as 1(be high level); When touch screen processor occurs when unusual, its pulse signal can be lost, its voltage oscillogram as shown in Figure 3, when 555 chip detection arrived pulse missing, will export 0(was low level), this signal will be as interrupting being sent to microprocessor, microprocessor carries out communication by I2C interface and touch screen processor again, as find that communication is overtime, and showing that then this touch screen processor is unusual, need re-power it.
In other embodiments, described counter can be counter inner in the microprocessor, and the functional similarity of its function and 555 chips no longer describes in detail herein.
The embodiment of the invention provides a kind of method that solves the touch-screen deadlock relatively, sees also Fig. 4, and described method comprises:
S110, by counter senses touch screen processor output pulse signal whether; If then carry out S120; Otherwise, execution in step S130;
S120, counter output high level, and execution in step S140;
S130, counter output low level, and execution in step S150;
S140, microprocessor controls touch screen processor operate as normal;
S150, microcontroller and touch screen processor communication, and judge whether communication delays time, if, execution in step S160 then; Otherwise, return step S110;
S160, microcontroller are restarted touch screen processor.
Wherein, the cycle of the pulse signal of touch screen processor output is 0.05~0.1ms, and when microcontroller was restarted touch screen processor, described method also comprises: microcontroller was restarted counter, and counter is counted again.
In sum, the method of touch screen terminal provided by the invention and solution touch-screen deadlock thereof, when the touch screen processor output pulse signal, counter output high level makes the touch screen processor operate as normal, when touch screen processor does not have pulse signal output, counter output low level interrupt microprocessor, have no progeny in the microprocessor and the touch screen processor communication, and when communication is delayed time, restart touch screen processor.The method of touch screen terminal provided by the invention and solution touch-screen deadlock thereof is when the touch-screen deadlock, only need touch screen processor is cut off the power supply, and need not the complete machine outage, its detecting time is short, influence to the user is little, and scheme need not to take the software resource of microprocessor.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection domain of the appended claim of the present invention.

Claims (9)

1. touch screen terminal, this terminal comprises the touch-screen of input control information, the touch screen processor and the microprocessor that is used to control touch screen processor work that are used for output pulse signal, described touch-screen is connected with touch screen processor, it is characterized in that, also comprise and be used for whether output pulse signal of senses touch screen controller, and corresponding output high level or low level counter, described touch screen processor is connected with microprocessor by counter, and described microprocessor is connected with touch screen processor; Microprocessor also is used for restarting touch screen processor when the counter output low level.
2. touch screen terminal according to claim 1 is characterized in that described counter adopts 555 chips, and the RST port of described 555 chips is connected with microcontroller respectively with the OUT port, and the TRG port of 555 chips is connected with touch screen processor.
3. touch screen terminal according to claim 2, it is characterized in that described counter comprises time-delay adjustment circuit, this time-delay is adjusted circuit and is comprised resistance and electric capacity, one end of described resistance is connected with the VCC port of 555 chips, and the other end is connected with the DSCHG port of 555 chips; One end of electric capacity is connected other end ground connection with the DSCHG port of 555 chips.
4. touch screen terminal according to claim 1 is characterized in that, the cycle of the pulse signal of touch screen processor output is 0.05~0.1ms.
5. touch screen terminal according to claim 1 is characterized in that, touch-screen is a capacitance touch screen.
6. according to any described touch screen terminal of claim 1 to 5, it is characterized in that described terminal is mobile phone, GPS, MP4 or touch computer.
7. a method that solves the touch-screen deadlock is characterized in that, comprising:
A, by counter senses touch screen processor output pulse signal whether; If, then export high level, and execution in step B; Otherwise, output low level, and execution in step C;
B, microprocessor controls touch screen processor operate as normal;
C, microcontroller and touch screen processor communication, and judge whether communication delays time, if, execution in step D then; Otherwise, return steps A;
D, microcontroller are restarted touch screen processor.
8. the method for solution touch-screen deadlock according to claim 7 is characterized in that described step D also comprises: microcontroller is restarted counter.
9. the method for solution touch-screen deadlock according to claim 7 is characterized in that, the cycle of the pulse signal of touch screen processor output is 0.05~0.1ms.
CN 201110098088 2011-04-19 2011-04-19 Touch screen terminal and method for solving deadlock of touch screen Withdrawn - After Issue CN102156584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110098088 CN102156584B (en) 2011-04-19 2011-04-19 Touch screen terminal and method for solving deadlock of touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110098088 CN102156584B (en) 2011-04-19 2011-04-19 Touch screen terminal and method for solving deadlock of touch screen

Publications (2)

Publication Number Publication Date
CN102156584A true CN102156584A (en) 2011-08-17
CN102156584B CN102156584B (en) 2013-08-14

Family

ID=44438101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110098088 Withdrawn - After Issue CN102156584B (en) 2011-04-19 2011-04-19 Touch screen terminal and method for solving deadlock of touch screen

Country Status (1)

Country Link
CN (1) CN102156584B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262482A (en) * 2011-08-25 2011-11-30 惠州Tcl移动通信有限公司 Mobile phone and touch screen control method
CN102541382A (en) * 2012-01-18 2012-07-04 华为终端有限公司 Method and terminal for calibrating capacitive touch screen
CN102945652A (en) * 2012-11-27 2013-02-27 广东欧珀移动通信有限公司 Method and system for solving abnormal display of display screen
CN104679347A (en) * 2013-11-28 2015-06-03 上海斐讯数据通信技术有限公司 Method for solving failure of touch screen of mobile terminal and mobile terminal
CN105677225A (en) * 2016-01-12 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Interface refreshing method and system
CN106406479A (en) * 2016-09-09 2017-02-15 广东乐源数字技术有限公司 Touch reset method of wristband
CN106528353A (en) * 2016-10-08 2017-03-22 惠州Tcl移动通信有限公司 Crash detection method and system based on touch screen and display screen
CN108833687A (en) * 2018-05-29 2018-11-16 努比亚技术有限公司 Terminal prot open method, terminal and computer readable storage medium
CN113110758A (en) * 2021-04-19 2021-07-13 Tcl通讯(宁波)有限公司 Method and system for processing touch failure of touch screen during startup and intelligent terminal
CN114578982A (en) * 2020-12-02 2022-06-03 Oppo广东移动通信有限公司 Touch screen reset circuit, touch screen and wearable equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080225010A1 (en) * 2007-03-14 2008-09-18 Texas Instruments Incorporated Wait mode pen-touch detection and method for touch screen controller
CN101286126A (en) * 2008-06-13 2008-10-15 北京时代民芯科技有限公司 Spatial processor single particle experiment automatized test system and method
CN101820466A (en) * 2009-02-27 2010-09-01 希姆通信息技术(上海)有限公司 Mobile communication terminal including proximity sensor
CN201643699U (en) * 2010-04-01 2010-11-24 徐柯 Chase type moving toy
CN101930308A (en) * 2009-06-19 2010-12-29 炬力集成电路设计有限公司 Method and device for resetting drive circuit of touch input device
CN101996012A (en) * 2009-08-25 2011-03-30 安华高科技Ecbuip(新加坡)私人有限公司 Firmware methods and devices for mutual capacitance touch sensing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080225010A1 (en) * 2007-03-14 2008-09-18 Texas Instruments Incorporated Wait mode pen-touch detection and method for touch screen controller
CN101286126A (en) * 2008-06-13 2008-10-15 北京时代民芯科技有限公司 Spatial processor single particle experiment automatized test system and method
CN101820466A (en) * 2009-02-27 2010-09-01 希姆通信息技术(上海)有限公司 Mobile communication terminal including proximity sensor
CN101930308A (en) * 2009-06-19 2010-12-29 炬力集成电路设计有限公司 Method and device for resetting drive circuit of touch input device
CN101996012A (en) * 2009-08-25 2011-03-30 安华高科技Ecbuip(新加坡)私人有限公司 Firmware methods and devices for mutual capacitance touch sensing device
CN201643699U (en) * 2010-04-01 2010-11-24 徐柯 Chase type moving toy

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262482A (en) * 2011-08-25 2011-11-30 惠州Tcl移动通信有限公司 Mobile phone and touch screen control method
CN102262482B (en) * 2011-08-25 2015-05-13 惠州Tcl移动通信有限公司 Mobile phone and touch screen control method
CN102541382A (en) * 2012-01-18 2012-07-04 华为终端有限公司 Method and terminal for calibrating capacitive touch screen
WO2013107310A1 (en) * 2012-01-18 2013-07-25 华为终端有限公司 Method and terminal for calibrating capacitive touch screen
CN102945652A (en) * 2012-11-27 2013-02-27 广东欧珀移动通信有限公司 Method and system for solving abnormal display of display screen
CN102945652B (en) * 2012-11-27 2015-07-01 广东欧珀移动通信有限公司 Method and system for solving abnormal display of display screen
CN104679347A (en) * 2013-11-28 2015-06-03 上海斐讯数据通信技术有限公司 Method for solving failure of touch screen of mobile terminal and mobile terminal
CN105677225B (en) * 2016-01-12 2018-11-06 宇龙计算机通信科技(深圳)有限公司 A kind of interface refreshing method and system
CN105677225A (en) * 2016-01-12 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Interface refreshing method and system
CN106406479A (en) * 2016-09-09 2017-02-15 广东乐源数字技术有限公司 Touch reset method of wristband
WO2018045691A1 (en) * 2016-09-09 2018-03-15 广东乐源数字技术有限公司 Wristband touch reset method
CN108363475A (en) * 2016-09-09 2018-08-03 广东乐源数字技术有限公司 A kind of method that bracelet touches reset
CN108363475B (en) * 2016-09-09 2021-04-02 福州扬清环保科技有限公司 Bracelet touch reset method
CN106528353A (en) * 2016-10-08 2017-03-22 惠州Tcl移动通信有限公司 Crash detection method and system based on touch screen and display screen
CN108833687A (en) * 2018-05-29 2018-11-16 努比亚技术有限公司 Terminal prot open method, terminal and computer readable storage medium
CN114578982A (en) * 2020-12-02 2022-06-03 Oppo广东移动通信有限公司 Touch screen reset circuit, touch screen and wearable equipment
CN113110758A (en) * 2021-04-19 2021-07-13 Tcl通讯(宁波)有限公司 Method and system for processing touch failure of touch screen during startup and intelligent terminal
CN113110758B (en) * 2021-04-19 2023-01-20 惠州Tcl云创科技有限公司 Method and system for processing touch failure of touch screen during startup and intelligent terminal

Also Published As

Publication number Publication date
CN102156584B (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN102156584B (en) Touch screen terminal and method for solving deadlock of touch screen
US10409482B2 (en) Electronic system, touch sensitive processing apparatus and method thereof for switching to normal operation mode upon receiving touch gesture in power saving mode
CN102622150B (en) Static eliminating method for touch screen
WO2021093686A1 (en) Information input device, terminal and control method thereof, and chip
CN102999291A (en) Method for waking up mobile terminal in standby state
CN102169452A (en) Method for solving touch screen deadlock problem of mobile terminal
US20130155005A1 (en) Touch display panel and driving method thereof
CN102681739B (en) Static elimination method for touch screen
CN102262434A (en) Method and apparatus for modifying a transition to an altered power state of an electronic device based on accelerometer output
WO2014000543A1 (en) Method and device for text input and display of intelligent terminal
WO2019019835A1 (en) Method and device for responding to blank screen gesture, and storage medium and mobile terminal
US8769326B2 (en) Computer system and operation method for changing operation state by capacitive button group
CN104407793A (en) Method and equipment for processing touch signal
CN105634502A (en) Realization method of key scanning based on state machine
CN104626165A (en) Demonstrator key reaction sensitivity optimization method
CN102915179B (en) A kind of mobile terminal opens the quick method of running background program
TW201447650A (en) Method of selecting touch input source and electronic device using the same
CN102866873A (en) Method for detecting state of seat with computer
CN204539299U (en) A kind of touch one-piece machine of touch gestures operation OSD menu
CN102880371B (en) A kind of waken system of resistive touch screen
CN102193896A (en) Calculator with reminding function
CN105138115A (en) Touch screen based mobile terminal awakening method and system
CN107844211A (en) Touch electronic device, touch processing device and touch processing method thereof
CN203894745U (en) Interface control circuit and related input system
CN202145291U (en) Infrared induction intelligent device of computer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201228

Address after: 224300 No.15, North Third Ring, science and Technology Pioneer Park, Hede Town, Sheyang County, Yancheng City, Jiangsu Province

Patentee after: Jiangsu Sanhao Medical Technology Co.,Ltd.

Address before: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee before: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Effective date of registration: 20201228

Address after: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee after: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 23 District

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

AV01 Patent right actively abandoned
AV01 Patent right actively abandoned
AV01 Patent right actively abandoned

Granted publication date: 20130814

Effective date of abandoning: 20231211

AV01 Patent right actively abandoned

Granted publication date: 20130814

Effective date of abandoning: 20231211