CN105843696A - Touch screen restoration method and device - Google Patents

Touch screen restoration method and device Download PDF

Info

Publication number
CN105843696A
CN105843696A CN201610177306.3A CN201610177306A CN105843696A CN 105843696 A CN105843696 A CN 105843696A CN 201610177306 A CN201610177306 A CN 201610177306A CN 105843696 A CN105843696 A CN 105843696A
Authority
CN
China
Prior art keywords
touch screen
module
intervalometer
execution
task
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.)
Pending
Application number
CN201610177306.3A
Other languages
Chinese (zh)
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 CN201610177306.3A priority Critical patent/CN105843696A/en
Publication of CN105843696A publication Critical patent/CN105843696A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Abstract

The invention discloses a touch screen restoration method and a touch screen restoration device. The method comprises the steps of when a touch screen restoration task is triggered, starting and initializing a timer; judging whether a touch event is detected during the execution period of the timer; and if the touch event is not detected during the execution period of the timer, performing a preset restoration operation on the touch screen. According to the method and device, the automatic self restoration of the touch screen is achieved, the touch screen failure problem occurring in the use of the terminal device can be conveniently and fast solved, and the maintenance cost is saved.

Description

Touch screen restorative procedure and device
Technical field
The invention belongs to touch screen technology field, particularly relate to a kind of touch screen restorative procedure and device.
Background technology
In recent years, along with developing rapidly of touch screen technology, each terminal unit manufacturer is the product of oneself one after another It is equipped with touch screen.Touch panel device opposing keys equipment, possesses more advantage, such as, touch panel device The screen making display is bigger, and user, when seeing a film or play game, has preferably experience.But touch Screen equipment opposing keys equipment also has the shortcoming of oneself, such as power problems.And touch panel device is at some In the case of there will be press key equipment not produced problem, such as, at low ambient temperatures, touch panel device meeting Occur that screen daps or the direct non-serviceable fault of screen once in a while.But, owing to touch screen is in high-precision Close instrument, needs to be grasped certain professional technique to its reparation.Prior art there is no touch screen automatically repair Method, when occur above-mentioned fault time, domestic consumer by technology limited cannot self-healing, can only be by terminal Equipment sends maintenace point reparation back to, and repairing efficiency is longer, and it needs to spend certain cost.
Summary of the invention
The present invention provides touch screen restorative procedure and device, it is achieved that the automatic self-regeneration of touch screen, can be just Solve the touch screen failure problems occurred during terminal unit uses promptly, save maintenance cost.
First aspect present invention provides a kind of touch screen restorative procedure, including: when detecting that touch screen reparation is appointed When business is triggered, start and initialization timing device;Judge described intervalometer the term of execution, if detect Touch event;If being not detected by described touch event described intervalometer the term of execution, then to described touch screen Perform preset reparation operation.
In conjunction with first aspect, in the first possible implementation of first aspect, described in judge whether inspection After measuring touch event, also include: if described touch event being detected described intervalometer the term of execution, Then judge that terminal unit unlocking screen is the most successful;If unsuccessful, then perform the step of described initialization timing device Suddenly;If success, then disable described intervalometer.
The first in conjunction with first aspect or first aspect is possible, possible at the second of first aspect In implementation, the described reparation operation preset to the execution of described touch screen includes: perform described touch screen Software reset's operation or hardware reset operation.
The second in conjunction with first aspect is possible, in the third possible implementation of first aspect, and institute State and the operation of described touch screen software reset is included: again capture the baseline parameter of described touch screen Value, and to specifying depositor write preset value.
The second in conjunction with first aspect is possible, in the 4th kind of possible implementation of first aspect, and institute State and the execution hardware reset operation of described touch screen is included: input height electricity to the reset pin of described touch screen Flat, and described touch screen is performed power-off power on operation again.
In conjunction with first aspect, in the 5th kind of possible implementation of first aspect, described tactile when detecting Touch screen reparation task when being triggered, start and include before initialization timing device: disappearing when receiving system wake-up During breath, wake up described system up, and trigger described touch screen reparation task.
Second aspect present invention provides a kind of touch screen prosthetic device, including detection module, is used for detecting tactile Touch whether screen reparation task is triggered;Time block, for detecting described touch screen when described detection module When reparation task is triggered, start and initialization timing device;Described detection module, is additionally operable to detection and touches thing Part;Judge module, for judging, described intervalometer the term of execution, it is tactile whether described detection module detects Touch event;Repair module, if the judged result for described judge module is described intervalometer the term of execution It is not detected by described touch event, then described touch screen is performed preset reparation operation.
In conjunction with second aspect, in the first possible implementation of second aspect, described judge module, If being additionally operable to described detection module described touch event to be detected described intervalometer the term of execution, then judge end End device screen unlocks the most successful;Described time block, if being additionally operable to the judged result of described judge module For unsuccessful, then reinitialize intervalometer;Described time block, if being additionally operable to sentencing of described judge module Disconnected result is successfully, then disable described intervalometer.
The first in conjunction with second aspect or second aspect is possible, possible at the second of second aspect In implementation, described repair module, specifically for the operation of described touch screen software reset or hardware Reset operation.
The second in conjunction with second aspect is possible, in the third possible implementation of second aspect, and institute State repair module to include: software reset's submodule, for again capturing the baseline parameter of described touch screen Value, and to specifying depositor write preset value.
The second in conjunction with second aspect is possible, in the 4th kind of possible implementation of second aspect, and institute State repair module to include: hardware reset submodule, for inputting height electricity to the reset pin of described touch screen Flat, and described touch screen is performed power-off power on operation again.
In conjunction with second aspect, in the 5th kind of possible implementation of second aspect, described device also includes:
Task trigger module, for when receiving system wake-up message, wakes up described system up, and triggers institute State touch screen and repair task.
Knowable to the invention described above embodiment, by when detecting that touch screen reparation task is triggered, opening Dynamic also initialization timing device, if be not detected by this touch event, then to this touch this intervalometer the term of execution Screen performs preset reparation operation, and compared to prior art, the automatic oneself that present invention achieves touch screen repaiies Multiple, the touch screen failure problems occurred during terminal unit uses can be solved easily, on the one hand owing to touching During screen disabler, can automatically repair, save maintenance cost, on the other hand owing to need not end End equipment is given the 3rd people and is keeped in repair, can avoid the occurrence of userspersonal information because of send repair and cause reveal feelings Condition, improves the safety of userspersonal information.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those skilled in the art, do not paying wound On the premise of the property made is laborious, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structured flowchart of a kind of terminal unit;
Fig. 2 be first embodiment of the invention provide touch screen restorative procedure realize schematic flow sheet;
Fig. 3 be second embodiment of the invention provide touch screen restorative procedure realize schematic flow sheet;
Fig. 4 is the structural representation of the touch screen prosthetic device that third embodiment of the invention provides;
Fig. 5 is the structural representation of the touch screen prosthetic device that fourth embodiment of the invention provides.
Detailed description of the invention
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below will knot Close the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely retouched State, it is clear that described embodiment is only a part of embodiment of the present invention, and not all embodiments.Base Embodiment in the present invention, those skilled in the art are obtained under not making creative work premise Every other embodiment, broadly falls into the scope of protection of the invention.
Fig. 1 shows the structured flowchart of a kind of terminal unit.The touch screen reparation side that the embodiment of the present invention provides Method can be applicable in terminal unit 10 as shown in Figure 1, and terminal unit 10 can be, but not limited to include: joins It is equipped with the smart mobile phone of touch screen, panel computer, desk computer and wearable smart machine etc..
As it is shown in figure 1, terminal unit 10 includes memorizer 101, storage control 102, one or many Individual (only illustrating one in figure) processor 103, Peripheral Interface 104, radio-frequency module 105, button mould Block 106, audio-frequency module 107 and touch screen 108.These assemblies are total by one or more communication The mutual communication of line/holding wire 110.
Being appreciated that the structure shown in Fig. 1 is only signal, the structure of terminal unit is not caused limit by it Fixed.Terminal unit 10 may also include the assembly more or more less than shown in Fig. 1, or has and figure Configurations different shown in 1.Each assembly shown in Fig. 1 can use hardware, software or a combination thereof to realize.
Memorizer 101 can be used for storing software program and module, such as the touch screen in the embodiment of the present invention Restorative procedure and programmed instruction/module corresponding to device, processor 103 is stored in memorizer by operation Software program in 101 and module, thus perform the application of various function and data process, i.e. realize The above-mentioned touch screen restorative procedure implemented in terminal unit 10.
Memorizer 101 can include high speed random access memory, may also include nonvolatile memory, such as one Or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.At some examples In, memorizer 101 can farther include the memorizer remotely located relative to processor 103, and these are remote Journey memorizer can be connected to terminal unit 10 by network.The example of above-mentioned network includes but not limited to The Internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 103 and other The access of memorizer 101 can be carried out under the control of storage control 102 by possible assembly.
Various input/output devices are coupled to CPU and memorizer 101 by Peripheral Interface 104.Process Various softwares in device 103 run memory 101, instruction are to perform the various functions of terminal unit 10 And carry out data process.
In certain embodiments, Peripheral Interface 104, processor 103 and storage control 102 are permissible One single chip realizes.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 105 is used for receiving and sending electromagnetic wave, it is achieved electromagnetic wave mutually turns with the signal of telecommunication Change, thus carry out communication with communication network or other equipment.Radio-frequency module 105 can include various existing For performing the component of these functions, such as, antenna, RF transceiver, Digital Signal Processing Device, encryption/deciphering chip, subscriber identity module (SIM) card, memorizer etc..Radio-frequency module 105 Communication can be carried out with various networks such as the Internet, intranet, the wireless network of preset type or lead to The wireless network crossing preset type carries out communication with other equipment.The wireless network of above-mentioned preset type can Including cellular telephone networks, WLAN or Metropolitan Area Network (MAN).The wireless network of above-mentioned preset type can To use various communication standards, agreement and technology, include, but are not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhancement mode mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple Access, W-CDMA), CDMA (Code Division Access, CDMA), tdma (Time Division Multiple Access, TDMA), Bluetooth, adopting wireless fidelity technology (Wireless-Fidelity, WiFi) is (such as U.S. electric and Electronics Engineer Association criterion IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), The networking telephone (Voice over Internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), even if other lead to for mail News and the agreement of short message, and any other suitable communications protocol.
Key-press module 106 provides user to carry out the interface inputted to terminal unit, and user can be by pressing not Same button is so that terminal unit 10 performs different functions.
Audio-frequency module 107 provides a user with audio interface, its can include one or more mike, one or The multiple speaker of person and voicefrequency circuit.Voicefrequency circuit receives voice data at Peripheral Interface 104, by sound Sound data are converted to electrical information, transmit electrical information to speaker.Electrical information is converted to human ear energy by speaker The sound wave heard.Voicefrequency circuit also receives electrical information at mike, converts electrical signals to voice data, And by data transmission in network telephony to Peripheral Interface 104 to be further processed.Voice data can be from depositing Obtain at reservoir 101 or by radio-frequency module 105.Additionally, voice data can also store to memorizer It is transmitted in 101 or by radio-frequency module 105.In some instances, audio-frequency module 107 also can wrap Include an earphone and broadcast hole, for providing audio interface to earphone or other equipment.
Touch screen 108 and an output and inputting interface are provided between terminal unit and user simultaneously.Tool Body ground, touch screen 108 display to the user that video frequency output, the content of these video frequency output can include word, Figure, video and combination in any thereof.Some output results correspond to some user interface object.Touch Touch screen 108 and also receive the gesture operations such as the click of the input of user, such as user, slip, in order to use The input of these users is responded by family interface object.The technology of detection user's input can be based on electricity Resistive, condenser type or other the most possible touch control detection technology.Touch screen 108 display unit Instantiation includes, but are not limited to liquid crystal display or light emitting polymer displays.
Refer to the touch screen restorative procedure that Fig. 2, Fig. 2 provide for first embodiment of the invention realizes flow process Schematic diagram.The touch screen restorative procedure that the present embodiment provides can be applicable to terminal unit 10 as shown in Figure 1 In, as in figure 2 it is shown, the method mainly comprises the steps that
S201, when detect touch screen repair task be triggered time, start and initialization timing device;
Specifically, touch screen repair task can because of after putting out screen user perform preset trigger action and be triggered, such as: Because user's pressing is triggered for the preset physical function key triggering touch screen reparation task;Or reception can be worked as It is triggered, such as during to system wake-up message: if user employs automatically wakens up function, makes by oneself arriving user Justice time point time, receive system wake-up message, wake up system up, simultaneously trigger touch screen repair task;Or Person is after system dormancy, if receiving the system wake-up message sent because of the preset wake operation of user, then Wake up system up, trigger touch screen simultaneously and repair task.
When detecting that touch screen reparation task is triggered, then start an intervalometer (timer), and to this Intervalometer performs initialization operation, then proceeds by timing.It is to be appreciated that the timing parameters of intervalometer Can customize.
S202, judge intervalometer the term of execution, if touch event detected;
Specifically, start and initialization timing device after, utilize touch screen IC (Integrated Circuit, Integrated circuit) detect whether in real time to there is (Touch) event of touch, whether real time inspection intervalometer surpasses simultaneously Time (timeout).
If S203 is not detected by touch event intervalometer the term of execution, then touch screen is performed preset repairing Multiple operation.
If viewing intervalometer timeout, but IC be still not detected by Touch event, it is determined that touch screen Touch function exist abnormal, touch screen is performed preset reparation operation, reset (Reset) touch screen, As: to the operation of touch screen software reset or hardware reset operation.
The touch screen restorative procedure that the embodiment of the present invention provides, by when detecting that touch screen repairs task quilt During triggering, start and initialization timing device, if being not detected by this touch event this intervalometer the term of execution, Then this touch screen is performed preset reparation operation, compared to prior art, present invention achieves touch screen Automatically self-regeneration, can solve the touch screen failure problems occurred during terminal unit uses, on the one hand easily Owing to when touch screen function lost efficacy, can automatically repair, save maintenance cost, on the other hand due to Need not that terminal unit is given the 3rd people keep in repair, userspersonal information can be avoided the occurrence of and repair because sending and lead Cause situation about revealing, improve the safety of userspersonal information.
Refer to the touch screen restorative procedure that Fig. 3, Fig. 3 provide for second embodiment of the invention realizes flow process Schematic diagram.The touch screen restorative procedure that the present embodiment provides can be applicable to terminal unit 10 as shown in Figure 1 In, as it is shown on figure 3, the method mainly comprises the steps that
S301, when receiving system wake-up message, wake up system up, and trigger touch screen and repair task;
Specifically, system wake-up message can be received in several cases, such as: if user employs automatically Arousal function, when arriving user-defined time point, it will receive system wake-up message;Or After system dormancy, when user performs preset wake operation, also can receive system wake-up message etc.. It should be noted that the most owing to receiving the situation of system wake-up message, more than cannot enumerate, Therefore, the present embodiment is to the concrete condition receiving system wake-up message may be caused to be construed as limiting.
S302, when detect touch screen repair task be triggered time, start intervalometer;
S303, initialization timing device;
When detecting that touch screen reparation task is triggered, then start an intervalometer, and this intervalometer is held Row initialization operation, then proceeds by timing.It is to be appreciated that the timing parameters of intervalometer can customize.
S304, judge intervalometer the term of execution, if touch event detected;
Specifically, after startup initialization timing device, the IC of touch screen is utilized to detect whether in real time to exist Touch event, simultaneously real time inspection intervalometer whether timeout.
If intervalometer the term of execution, it is not detected by Touch event, then performs step S305;If in timing The term of execution of device, Touch event detected, then perform step S306.
If S305 is not detected by touch event intervalometer the term of execution, then touch screen is performed preset repairing Multiple operation.
If viewing intervalometer timeout, but IC be still not detected by Touch event, it is determined that touch screen Touch function exist abnormal, touch screen is performed preset reparation operation, reset (Reset) touch screen, As: software reset's operation or hardware reset.
Specifically, touch screen software reset is operated, i.e. the firmware parameters of touch screen is repaired, Such as, the firmware parameters recovering touch screen is factory-default.In other embodiments of the invention, to touch Screen software reset operation specifically includes: again capture the baseline parameter value of this touch screen, and to finger Determine depositor write preset value.
Specifically, touch screen performs hardware reset operation to include: input height to the reset pin of touch screen Level, and touch screen is performed power-off power on operation again.
If S306 detects touch event intervalometer the term of execution, then judge that terminal unit unlocking screen is No success;
If the IC of touch screen detects Touch event, and now intervalometer not timeout, then judge end End device screen unlocks the most successful.If unsuccessful, then perform step S303, reinitialize intervalometer, Then the steps such as follow-up S304 are repeated;If success, then perform step S308.
If S307 success, then disable intervalometer.
If the success of terminal unit unlocking screen, then confirming that touch screen is without exception, now disabling (Disable) is fixed Time device, terminal unit normally uses.
The touch screen restorative procedure that the embodiment of the present invention provides, by when detecting that touch screen repairs task quilt During triggering, start and initialization timing device, if being not detected by this touch event this intervalometer the term of execution, Then this touch screen is performed preset reparation operation, compared to prior art, present invention achieves touch screen Automatically self-regeneration, can solve the touch screen failure problems occurred during terminal unit uses, on the one hand easily Owing to when touch screen function lost efficacy, can automatically repair, save maintenance cost, on the other hand due to Need not that terminal unit is given the 3rd people keep in repair, userspersonal information can be avoided the occurrence of and repair because sending and lead Cause situation about revealing, improve the safety of userspersonal information.
Refer to the structural representation that Fig. 4, Fig. 4 are the touch screen prosthetic devices that third embodiment of the invention provides Figure, for convenience of description, illustrate only the part relevant to the embodiment of the present invention.The touch screen of Fig. 4 example Prosthetic device can be the executive agent of the touch screen restorative procedure that previous embodiment provides, and it can be terminal A functional module in equipment or terminal unit.The touch screen prosthetic device of Fig. 4 example, specifically includes that Detection module 401, time block 402, judge module 403 and repair module 404.Each functional module is detailed Carefully it is described as follows:
Detection module 401, is used for detecting touch screen and repairs whether task is triggered;
Time block 402, is used for when detection module 401 detects that this touch screen reparation task is triggered, Start and initialization timing device;
Detection module 401, is additionally operable to detect touch event;
Judge module 403, for judging, this intervalometer the term of execution, whether detection module 401 detects Touch event;
Repair module 404, if for the judged result of judge module 403 be this intervalometer the term of execution not This touch event detected, then this touch screen is performed preset reparation operation.
Specifically, touch screen repair task can because of after putting out screen user perform preset trigger action and be triggered, such as: Because user's pressing is triggered for the preset physical function key triggering touch screen reparation task;Or reception can be worked as It is triggered, such as during to system wake-up message: if user employs automatically wakens up function, makes by oneself arriving user Justice time point time, receive system wake-up message, wake up system up, simultaneously trigger touch screen repair task;Or Person is after system dormancy, if receiving the system wake-up message sent because of the preset wake operation of user, then Wake up system up, trigger touch screen simultaneously and repair task.When detection module 401 detects that touch screen repairs task When being triggered, then time block 402 starts an intervalometer, and this intervalometer is performed initialization operation, Then timing is proceeded by.It is to be appreciated that time block 402 can be according to the setting of user, to intervalometer Timing parameters carry out self-defined.
After time block 402 startup initialization timing device, detection module 401 utilizes the IC of touch screen Detect whether to exist Touch event in real time, simultaneously real time inspection intervalometer whether timeout.If detection module 401 view intervalometer timeout, but IC is still not detected by Touch event, it is determined that touch screen Touch function exists abnormal, calls repair module 404 and touch screen performs preset reparation operation, Reset Touch screen, such as: to the operation of touch screen software reset or hardware reset operation.
It should be noted that in the embodiment of the touch screen prosthetic device of above-mentioned Fig. 4 example, each function mould The division of block is merely illustrative of, can as required in actual application, the configuration requirement of such as corresponding hardware Or the convenient consideration of the realization of software, and above-mentioned functions distribution is completed by different functional modules, will The internal structure of this device is divided into different functional modules, to complete all or part of merit described above Energy.And, in actual application, the corresponding functional module in the present embodiment can be real by corresponding hardware Existing, it is also possible to be performed corresponding software by corresponding hardware and complete.Each embodiment that this specification provides is all Foregoing description principle can be applied, below repeat no more.
The touch screen prosthetic device that the embodiment of the present invention provides, by when detecting that touch screen repairs task quilt During triggering, start and initialization timing device, if being not detected by this touch event this intervalometer the term of execution, Then this touch screen is performed preset reparation operation, compared to prior art, present invention achieves touch screen Automatically self-regeneration, can solve the touch screen failure problems occurred during terminal unit uses, on the one hand easily Owing to when touch screen function lost efficacy, can automatically repair, save maintenance cost, on the other hand due to Need not that terminal unit is given the 3rd people keep in repair, userspersonal information can be avoided the occurrence of and repair because sending and lead Cause situation about revealing, improve the safety of userspersonal information.
Refer to the structural representation that Fig. 5, Fig. 5 are the touch screen prosthetic devices that fourth embodiment of the invention provides Figure, for convenience of description, illustrate only the part relevant to the embodiment of the present invention.The touch screen of Fig. 5 example Prosthetic device can be the executive agent of the touch screen restorative procedure that previous embodiment provides, and it can be terminal A functional module in equipment or terminal unit.Touching that third embodiment of the invention shown in Fig. 4 provides On the basis of touching screen prosthetic device, unlike the 3rd embodiment, in the fourth embodiment, such as Fig. 5 institute The device shown, farther includes: task trigger module 501.Repair module 404 farther includes: software Reset submodule 4041 and hardware reset submodule 4042.Each functional module describes in detail as follows:
Further, it is judged that module 403, if being additionally operable to detection module 401 and examining this intervalometer the term of execution Measure this touch event, then judge that terminal unit unlocking screen is the most successful;
Time block 402, if the judged result being additionally operable to judge module 403 is unsuccessful, the most initial Change intervalometer;
Time block 402, if the judged result being additionally operable to judge module 403 is successfully, then disables this timing Device.
Further, repair module 404, specifically for the operation of this touch screen software reset or hardware Reset operation.
Further, repair module 404 includes:
Software reset's submodule 4041, for again capturing the baseline parameter value of this touch screen, and to finger Determine depositor write preset value.
Further, repair module 404 includes:
Hardware reset submodule 4042 is for inputting low and high level to the reset pin of this touch screen and right This touch screen performs power-off power on operation again.
Further, this device also includes:
Task trigger module 501, for when receiving system wake-up message, wakes up this system up, and triggers This touch screen repairs task.
Specifically, task trigger module 501, when receiving system wake-up message, wakes up this system up, and touches Send out this touch screen and repair task.When detection module 401 detects that touch screen repairs task by task trigger module During 501 triggering, then time block 402 starts an intervalometer, and this intervalometer is performed initialization operation, Then timing is proceeded by.It is to be appreciated that time block 402 can be according to the setting of user, to intervalometer Timing parameters carry out self-defined.
After time block 402 startup initialization timing device, detection module 401 utilizes the IC of touch screen Detect whether to exist Touch event in real time, simultaneously real time inspection intervalometer whether timeout.On the one hand, if Detection module 401 views intervalometer timeout, but IC is still not detected by Touch event, it is determined that The touch function of touch screen exists abnormal, calls repair module 404 and touch screen performs preset reparation operation, Reset touch screen, such as: to the operation of touch screen software reset or hardware reset operation.Specifically, call The firmware parameters of touch screen is repaired by software reset's submodule 4041, such as, recovers the firmware of touch screen Parameter is factory-default.Further, reset submodule 4041 captures the baseline of this touch screen again Parameter value, and to specifying depositor write preset value.Or, call hardware reset submodule 4042 to touch The reset pin input low and high level of screen, and touch screen is performed power-off power on operation again.
On the other hand, if detection module 401 utilizes the IC of touch screen Touch event to be detected and now fixed Time device not timeout, then call judge module 403 and judge the whether success of terminal unit unlocking screen.If sentencing The judged result of disconnected module 403 is unsuccessful for unlocking, then call time block 402 and reinitialize intervalometer, Other correlation modules continue executing with follow-up corresponding step.If the judged result of judge module 403 is to unlock into Merit, then confirm that touch screen is without exception, and now time block 402Disable intervalometer, terminal unit normally makes With.
The touch screen prosthetic device that the embodiment of the present invention provides, by when detecting that touch screen repairs task quilt During triggering, start and initialization timing device, if being not detected by this touch event this intervalometer the term of execution, Then this touch screen is performed preset reparation operation, compared to prior art, present invention achieves touch screen Automatically self-regeneration, can solve the touch screen failure problems occurred during terminal unit uses, on the one hand easily Owing to when touch screen function lost efficacy, can automatically repair, save maintenance cost, on the other hand due to Need not that terminal unit is given the 3rd people keep in repair, userspersonal information can be avoided the occurrence of and repair because sending and lead Cause situation about revealing, improve the safety of userspersonal information.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can To realize by another way.Such as, device embodiment described above is only schematically, example Such as, the division of described module, being only a kind of logic function and divide, actual can have other drawing when realizing Point mode, the most multiple modules or assembly can in conjunction with or be desirably integrated into another system, or some are special Levy and can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling Or communication connection can be the INDIRECT COUPLING by some interfaces, device or module or communication connection, Ke Yishi Electrically, machinery or other form.
The described module illustrated as separating component can be or may not be physically separate, as The parts that module shows can be or may not be physical module, i.e. may be located at a place, or Can also be distributed on multiple mixed-media network modules mixed-media.Can select therein some or all of according to the actual needs Module realizes the purpose of the present embodiment scheme.
It addition, each functional module in each embodiment of the present invention can be integrated in a processing module, Can also be that modules is individually physically present, it is also possible to two or more modules are integrated in a module In.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ software function module Form realizes.
If described integrated module realizes using the form of software function module and as independent production marketing or During use, can be stored in a computer read/write memory medium.Based on such understanding, the present invention The part that the most in other words prior art contributed of technical scheme or this technical scheme whole or Part can embody with the form of software product, and this computer software product is stored in a storage medium In, including some instructions with so that computer equipment (can be personal computer, server, or Person's network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And it is aforesaid Storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various permissible The medium of storage program code.
It should be noted that for aforesaid each method embodiment, in order to simplicity describes, therefore it is all stated For a series of combination of actions, but those skilled in the art should know, the present invention is not by described The restriction of sequence of movement, because according to the present invention, some step can use other order or carry out simultaneously. Secondly, those skilled in the art also should know, embodiment described in this description belongs to be preferable to carry out Example, involved action and module might not be all necessary to the present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in certain embodiment the most in detail The part stated, may refer to the associated description of other embodiments.
It is more than to touch screen restorative procedure provided by the present invention and the description of device, for the skill of this area Art personnel, according to the thought of the embodiment of the present invention, the most all can change Part, to sum up, this specification content should not be construed as limitation of the present invention.

Claims (12)

1. the method that a touch screen is repaired, it is characterised in that described method includes:
When detecting that touch screen reparation task is triggered, start and initialization timing device;
Judge described intervalometer the term of execution, if touch event detected;
If being not detected by described touch event described intervalometer the term of execution, then described touch screen is performed pre- The reparation operation put.
Method the most according to claim 1, it is characterised in that described in judge whether touch thing to be detected After part, also include:
If described touch event being detected described intervalometer the term of execution, then judge terminal unit unlocking screen The most successful;
If unsuccessful, then perform the step of described initialization timing device;
If success, then disable described intervalometer.
Method the most according to claim 1 and 2, it is characterised in that described described touch screen is performed Preset reparation operation includes:
To the operation of described touch screen software reset or hardware reset operation.
Method the most according to claim 3, it is characterised in that described to described touch screen execution software Reset operation includes:
Again the baseline parameter value of described touch screen is captured, and to specifying depositor write preset value.
Method the most according to claim 3, it is characterised in that described to described touch screen execution hardware Reset operation includes:
Input low and high level to the reset pin of described touch screen, and the execution power-off of described touch screen is powered on again Operation.
Method the most according to claim 1, it is characterised in that described when detecting that touch screen reparation is appointed When business is triggered, starts and include before initialization timing device:
When receiving system wake-up message, wake up described system up, and trigger described touch screen reparation task.
7. the device that a touch screen is repaired, it is characterised in that described device includes:
Detection module, is used for detecting touch screen and repairs whether task is triggered;
Time block, for when described detection module detects that described touch screen reparation task is triggered, opening Dynamic also initialization timing device;
Described detection module, is additionally operable to detect touch event;
Judge module, for judging, described intervalometer the term of execution, it is tactile whether described detection module detects Touch event;
Repair module, if being used for the judged result of described judge module for not examine described intervalometer the term of execution Measure described touch event, then described touch screen is performed preset reparation operation.
Device the most according to claim 7, it is characterised in that
Described judge module, detects described if being additionally operable to described detection module described intervalometer the term of execution Touch event, then judge that terminal unit unlocking screen is the most successful;
Described time block, if the judged result being additionally operable to described judge module is unsuccessful, the most initial Change intervalometer;
Described time block, if the judged result being additionally operable to described judge module is successfully, then it is described fixed to disable Time device.
9. according to the device described in claim 7 or 8, it is characterised in that
Described repair module, specifically for the operation of described touch screen software reset or hardware reset operation.
Device the most according to claim 9, it is characterised in that described repair module includes:
Software reset's submodule, for again capturing the baseline parameter value of described touch screen, and to appointment Depositor write preset value.
11. devices according to claim 9, it is characterised in that described repair module includes:
Hardware reset submodule, for inputting low and high level to the reset pin of described touch screen, and to described Touch screen performs power-off power on operation again.
12. devices according to claim 7, it is characterised in that described device also includes:
Task trigger module, for when receiving system wake-up message, wakes up described system up, and triggers institute State touch screen and repair task.
CN201610177306.3A 2016-03-25 2016-03-25 Touch screen restoration method and device Pending CN105843696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610177306.3A CN105843696A (en) 2016-03-25 2016-03-25 Touch screen restoration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610177306.3A CN105843696A (en) 2016-03-25 2016-03-25 Touch screen restoration method and device

Publications (1)

Publication Number Publication Date
CN105843696A true CN105843696A (en) 2016-08-10

Family

ID=56583361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610177306.3A Pending CN105843696A (en) 2016-03-25 2016-03-25 Touch screen restoration method and device

Country Status (1)

Country Link
CN (1) CN105843696A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446046A (en) * 2018-02-27 2018-08-24 努比亚技术有限公司 A kind of touch screen control method, terminal and computer readable storage medium
CN109002216A (en) * 2018-07-31 2018-12-14 广州视源电子科技股份有限公司 A kind of touch screen restorative procedure, device and electronic equipment
CN111506477A (en) * 2020-04-16 2020-08-07 Oppo广东移动通信有限公司 Log capture method and device of touch screen and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930308A (en) * 2009-06-19 2010-12-29 炬力集成电路设计有限公司 Method and device for resetting drive circuit of touch input device
CN102681739A (en) * 2012-05-07 2012-09-19 广东欧珀移动通信有限公司 Static elimination method for touch screen
CN102968237A (en) * 2012-11-29 2013-03-13 广东欧珀移动通信有限公司 Method and device for processing capacitive touch screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930308A (en) * 2009-06-19 2010-12-29 炬力集成电路设计有限公司 Method and device for resetting drive circuit of touch input device
CN102681739A (en) * 2012-05-07 2012-09-19 广东欧珀移动通信有限公司 Static elimination method for touch screen
CN102968237A (en) * 2012-11-29 2013-03-13 广东欧珀移动通信有限公司 Method and device for processing capacitive touch screen

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446046A (en) * 2018-02-27 2018-08-24 努比亚技术有限公司 A kind of touch screen control method, terminal and computer readable storage medium
CN108446046B (en) * 2018-02-27 2021-08-10 努比亚技术有限公司 Touch screen control method, terminal and computer readable storage medium
CN109002216A (en) * 2018-07-31 2018-12-14 广州视源电子科技股份有限公司 A kind of touch screen restorative procedure, device and electronic equipment
CN111506477A (en) * 2020-04-16 2020-08-07 Oppo广东移动通信有限公司 Log capture method and device of touch screen and mobile terminal
CN111506477B (en) * 2020-04-16 2022-11-04 Oppo广东移动通信有限公司 Log capture method and device of touch screen and mobile terminal

Similar Documents

Publication Publication Date Title
CN103458124B (en) A kind of shutdown processing method of terminal, device and terminal equipment
CN106487584B (en) Management method, router and the mobile terminal of router
CN106778175B (en) Interface locking method and device and terminal equipment
CN106203035A (en) A kind of data access control method and mobile terminal
CN107465841B (en) Fault information reporting method and terminal
CN106454805A (en) Data migration method and mobile terminal
CN106068020A (en) Hinting abnormal states method and device
CN106453511A (en) Data backup method and data backup device
CN103312597B (en) A kind of speech message generation method and device
CN105430600A (en) Data transmission method and terminal
CN109525372A (en) Terminal data transmission method, apparatus and storage medium
CN106331372A (en) Data transmission method and mobile terminal
CN106598676A (en) Application management method and apparatus, and terminal device
CN106557327A (en) Payment interface call method and mobile terminal
CN106455027A (en) Network standard adjustment method and mobile terminal
CN104852802A (en) Identity verification method, equipment, and system
CN107066374B (en) Data processing method and mobile terminal
CN107423598B (en) A kind of solution lock control method and mobile terminal
CN105843696A (en) Touch screen restoration method and device
CN106406947A (en) Method and apparatus for preventing system service process from restarting, and mobile terminal
CN106469028A (en) A kind of data migration method and mobile terminal
CN105100361B (en) The way of recording and device of mobile terminal
CN105955636A (en) Mobile terminal-based application mode setting method and apparatus
CN106339617A (en) Unlocking method and unlocking device of terminal equipment
CN109687922A (en) Signal monitoring method, device, storage medium and the mobile terminal of wireless network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160810