CN106371643B - Touch chip crash handling method and device - Google Patents

Touch chip crash handling method and device Download PDF

Info

Publication number
CN106371643B
CN106371643B CN201510434060.9A CN201510434060A CN106371643B CN 106371643 B CN106371643 B CN 106371643B CN 201510434060 A CN201510434060 A CN 201510434060A CN 106371643 B CN106371643 B CN 106371643B
Authority
CN
China
Prior art keywords
touch
touch chip
chip
digital circuit
running parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510434060.9A
Other languages
Chinese (zh)
Other versions
CN106371643A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510434060.9A priority Critical patent/CN106371643B/en
Publication of CN106371643A publication Critical patent/CN106371643A/en
Application granted granted Critical
Publication of CN106371643B publication Critical patent/CN106371643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure belongs to technical field of touch control about a kind of touch chip crash handling method and device.For the method to contain in the terminal of touch screen, the touch screen includes the touch chip, comprising: obtains the running parameter of the touch chip every predetermined period;Detect whether the touch chip fails according to the running parameter;When detecting touch chip failure according to the running parameter, the touch chip is resetted.The disclosure can solve to reset touch chip by restarting terminal, so that the problem that the time for resetting consumption needed for touch chip is more, can reach the effect for improving the reset efficiency of touch chip.

Description

Touch chip crash handling method and device
Technical field
This disclosure relates to technical field of touch control, in particular to a kind of touch chip crash handling method and device.
Background technique
Most of terminals all include touch screen, and user can be operable on the touchscreen and terminal interaction.Work as touch When screen failure, terminal needs to reset touch screen.
Since capacitive touch screen includes touch chip and touch panel, when user operates on touch panel, Coupled capacitor is formed between the finger and touch panel of user, due to being connected to high-frequency signal on touch panel, a part is electric at this time Stream is siphoned away by finger, this portion of electrical current is flowed out from the electrode on the four of touch screen angles respectively, and flows through this four electrodes Electric current is proportional at a distance from finger to this four electrodes, the analog circuit in touch chip to capacitance caused by electric current into The capacitance that sampling obtains is sent to the digital circuit in touch chip by row sampling, and digital circuit determines hand according to capacitance The operating position of finger.When touch screen is by electrostatic influence, the instantaneous pressure of electrostatic causes touch screen to fail, at this point, user needs Restart terminal, the touch chip in touch screen is resetted by executing the operation that power-off is powered on again to terminal.
Summary of the invention
To solve the problems in the relevant technologies, present disclose provides a kind of touch chip crash handling method and devices.
According to the first aspect of the embodiments of the present disclosure, a kind of touch chip crash handling method is provided, to contain touch In the terminal of screen, the touch screen includes the touch chip, which comprises
The running parameter of the touch chip is obtained every predetermined period;
Detect whether the touch chip fails according to the running parameter;
When detecting touch chip failure according to the running parameter, the touch chip is resetted.
Optionally, when the touch chip includes digital circuit and analog circuit, and the running parameter is the number Circuit is when the capacitance that the predetermined period is obtained from each capacitance that the analog circuit is sampled, the basis The running parameter detects whether the touch chip fails, comprising:
Detect whether the capacitance belongs to predetermined interval by the digital circuit;
When the capacitance is not belonging to the predetermined interval, determine that the touch chip is lost by the digital circuit Effect.
It is optionally, described that the touch chip is resetted, comprising:
The analog circuit is resetted by the digital circuit.
Optionally, when the terminal further includes the processing unit being connected with the touch screen, and the touch chip includes Digital circuit, and the running parameter is the heartbeat that the digital circuit is sent every the predetermined period to the processing unit It is described to detect whether the touch chip fails according to the running parameter when signal, comprising:
The heartbeat for receiving the digital circuit transmission in scheduled time slot is detected whether by the processing unit Signal is at the time of the processing unit last time receiving the heartbeat signal at the beginning of the predetermined period, and institute The duration for stating predetermined period is greater than the duration of the predetermined period;
When detecting not receive the heartbeat signal in the predetermined period, institute is determined by the processing unit State touch chip failure.
It is optionally, described that the touch chip is resetted, comprising:
The digital circuit is resetted by the processing unit, or, by the processing unit to the touch-control Chip is resetted.
According to the second aspect of an embodiment of the present disclosure, a kind of touch chip crash handling device is provided, to contain touch In the terminal of screen, the touch screen includes the touch chip, and described device includes:
Parameter acquisition module is configured as obtaining the running parameter of the touch chip every predetermined period;
Failure detection module is configured as the running parameter obtained according to the parameter acquisition module and detects the touching Whether control chip fails;
Chip reset module is configured as detecting the touch-control according to the running parameter when the failure detection module When chip failure, the touch chip is resetted.
Optionally, when the touch chip includes digital circuit and analog circuit, and the running parameter is the number Circuit is when the capacitance that the predetermined period is obtained from each capacitance that the analog circuit is sampled, the failure Detection module, comprising:
Capacitance detection sub-module is configured as detecting whether the capacitance belongs to fate by the digital circuit Between;
First determines submodule, is configured as detecting that the capacitance is not belonging to institute when the capacitance detection sub-module When stating predetermined interval, determine that the touch chip fails by the digital circuit.
Optionally, the chip reset module, comprising:
First resets submodule, is configured as resetting the analog circuit by the digital circuit.
Optionally, when the terminal further includes the processing unit being connected with the touch screen, and the touch chip includes Digital circuit, and the running parameter is the heartbeat that the digital circuit is sent every the predetermined period to the processing unit When signal, the failure detection module, comprising:
Heartbeat signal detection sub-module is configured as detecting whether to receive in scheduled time slot by the processing unit The heartbeat signal that the digital circuit is sent is to receive the processing unit last time at the beginning of the predetermined period At the time of to the heartbeat signal, and the duration of the predetermined period is greater than the duration of the predetermined period;
Second determines submodule, is configured as detecting not when the heartbeat signal detection sub-module in the predetermined period When inside receiving the heartbeat signal, determine that the touch chip fails by the processing unit.
Optionally, the chip reset module, comprising:
Second resets submodule, is configured as resetting the digital circuit by the processing unit, or, passing through The processing unit resets the touch chip.
According to the third aspect of an embodiment of the present disclosure, a kind of touch chip crash handling device is provided, described device includes:
Touch screen comprising touch chip;
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The running parameter of the touch chip is obtained every predetermined period;
Detect whether the touch chip fails according to the running parameter;
When detecting touch chip failure according to the running parameter, the touch chip is resetted.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By the running parameter for obtaining touch chip every predetermined period;Detect whether touch chip is lost according to running parameter Effect;When according to running parameter detect touch chip failure when, touch chip is resetted, can only to touch chip into Row resets, and without restarting terminal, solves by restarting terminal and resets touch chip, so that resetting needed for touch chip The time of consumption more problem has achieved the effect that the reset efficiency for improving touch chip.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and constitutes a part of present disclosure specification, shows and meets the disclosure Embodiment, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of touch chip crash handling method shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the touch chip crash handling method shown according to another exemplary embodiment.
Fig. 3 is a kind of flow chart of the touch chip crash handling method shown according to another exemplary embodiment.
Fig. 4 is a kind of block diagram of touch chip crash handling device shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of touch chip crash handling device shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of device for touch chip crash handling shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of touch chip crash handling method shown according to an exemplary embodiment, the touch-control Chip failure processing method is applied in the terminal comprising touch screen, which includes touch chip, as shown in Figure 1, the touching Control chip failure processing method includes the following steps.
In a step 101, the running parameter of touch chip is obtained every predetermined period.
In a step 102, detect whether touch chip fails according to running parameter.
In step 103, when detecting touch chip failure according to running parameter, touch chip is resetted.
In conclusion the touch chip crash handling method that the disclosure provides, by obtaining touch-control core every predetermined period The running parameter of piece;Detect whether touch chip fails according to running parameter;When according to running parameter detect touch chip lose When effect, touch chip is resetted, only touch chip can be resetted, without restarting terminal, is solved logical It crosses and restarts terminal to reset touch chip, so that the problem that the time for resetting consumption needed for touch chip is more, has reached raising The effect of the reset efficiency of touch chip.
Fig. 2 is a kind of flow chart of the touch chip crash handling method shown according to another exemplary embodiment, the touching It controls chip failure processing method to be applied in the terminal comprising touch screen, which includes touch chip, and touch chip includes Digital circuit and analog circuit, as shown in Fig. 2, the touch chip crash handling method includes the following steps.
In step 201, the running parameter of touch chip is obtained every predetermined period, which is that digital circuit is every Every the capacitance that predetermined period is obtained from each capacitance that analog circuit is sampled.
For capacitive touch screen, when user executes operation not on touch panel, analog circuit can sample to obtain the One capacitance, the first capacitor value are greater than capacitor lower limit value;When user executes operation on touch panel, due to the hand of user Refer to and generate coupled capacitor between touch panel, therefore, the capacitance of touch screen can change, and analog circuit can sample to obtain Second capacitance, the second capacitance is greater than first capacitor value, and is less than capacitor upper limit value.According to above-mentioned touch-control principle, core is simulated Piece can be spaced at predetermined time intervals and sample to the capacitance of touch screen, and be determined whether according to the capacitance that sampling obtains There is the operation for acting on touch screen.Wherein, the duration of predetermined time interval is more than or equal to the duration of predetermined period.
When analog circuit failure, analog circuit cannot sample capacitance, or, the capacitance of analog sampling circuit can go out Therefore mistake can be detected by obtaining capacitance to analog sampling circuit and determine whether analog circuit fails.
In the present embodiment, touch chip includes timer and digital circuit, digital circuit can under the control of a timer, The capacitance that analog sampling circuit obtains is obtained every predetermined period, then executes step 202.
In step 202, detect whether capacitance belongs to predetermined interval by digital circuit.
Predetermined interval is section composed by capacitance when touch screen is in normal condition.Wherein, predetermined interval is most Small value can be there is no first capacitor value when operation on touch panel, and the maximum value of predetermined interval can be on touch panel Deposit the second capacitance in operation.
In step 203, when capacitance is not belonging to predetermined interval, determine that touch chip fails by digital circuit.
When capacitance is not belonging to predetermined interval, determine that the analog circuit fails, so that it is determined that touch chip fails;Work as electricity When capacitance belongs to predetermined interval, determines that the analog circuit is effective, continue to execute step 201.
In step 204, when detecting touch chip failure according to running parameter, by digital circuit to analog circuit It is resetted.
When determining analog circuit failure, entire touch chip can be resetted.Since it is only necessary to touch-control core Piece is resetted, without restarting terminal, it is possible to reduce is resetted the time consumed by touch chip, be can be improved to touch-control core The reset efficiency of piece.Alternatively,
Since the working power of digital circuit is digital power, that is, digital circuit and analog circuit in touch chip Working power is different, therefore, when determining analog circuit failure, can also execute power-off again to analog circuit by digital circuit The reset to analog circuit is completed in the operation of power-up.At this point, only the analog circuit in touch chip is resetted, without Entire touch chip is needed to be reset, solves the problems, such as that the time consumed needed for resetting entire touch chip is relatively long, reaches Further increase the effect of the reset efficiency of touch chip.
In conclusion the touch chip crash handling method that the disclosure provides, detects analog circuit institute by digital circuit Whether the capacitance of sampling belongs to predetermined interval, when capacitance is not belonging to predetermined interval, determines touch-control core by digital circuit Piece failure, resets analog circuit by digital circuit, can only reset to the analog circuit in touch chip, Without resetting entire touch chip, solve the problems, such as that the time consumed needed for resetting entire touch chip is relatively long, The reset efficiency for further increasing touch chip is achieved the effect that.
Fig. 3 is a kind of flow chart of the touch chip crash handling method shown according to another exemplary embodiment, the touching It controls chip failure processing method to be applied in the terminal comprising touch screen and the processing unit being connected with touch screen, the touch screen packet Touch chip is included, touch chip includes digital circuit, as shown in figure 3, the touch chip crash handling method includes the following steps.
In step 301, the running parameter of touch chip is obtained every predetermined period, which is that digital circuit is every Every the heartbeat signal that predetermined period is sent to processing unit.
When digital circuit failure, since the analog circuit in touch chip can not monitor digital circuit, therefore, it is necessary to Detect whether digital circuit fails by the processing unit in terminal.
In the present embodiment, when digital circuit is effective, digital circuit needs to send the heart to processing unit every predetermined period Jump signal;When digital circuit failure, digital circuit sends heartbeat signal without normal direction processing unit, and therefore, processing unit can be with According to whether it is effective to detect digital circuit to receive heartbeat signal.
In step 302, the heartbeat for receiving digital circuit transmission in scheduled time slot is detected whether through the processing unit Signal is at the time of the processing unit last time receiving heartbeat signal at the beginning of the predetermined period, and the predetermined period Duration is greater than the duration of predetermined period.
At the time of processing unit can recorde the last time and receive heartbeat signal, determined using the moment as start time pre- Timing section detects whether to receive heartbeat signal in the predetermined period;When receiving heartbeat signal in the predetermined period, Determine that digital circuit is effective;When not receiving heartbeat signal in the predetermined period, determine that digital circuit fails.
The duration of predetermined period can be equal to the duration of predetermined period.Since heartbeat signal may be deposited in transmission process It is being delayed, when causing processing unit to be not received by heartbeat signal in predetermined period due to transmission delay, processing unit meeting Determine digital circuit fail, so as to cause error in judgement, therefore, can be set predetermined period duration be greater than predetermined period when It is long.For example, the duration of predetermined period can be three times of the duration of predetermined period.
In step 303, when detecting not receive heartbeat signal in scheduled time slot, touching is determined through the processing unit Control chip failure.
In step 304, when detecting touch chip failure according to running parameter, through the processing unit to digital circuit It is resetted, or, being resetted through the processing unit to touch chip.
When determining digital circuit failure, entire touch chip can be resetted.Since it is only necessary to touch-control core Piece is resetted, without restarting terminal, it is possible to reduce is resetted the time consumed by touch chip, be can be improved to touch-control core The reset efficiency of piece.Alternatively,
Since the working power of digital circuit is digital power, that is, digital circuit and analog circuit in touch chip Working power is different, therefore, when determining digital circuit failure, can also execute power-off again to digital circuit through the processing unit The reset to digital circuit is completed in the operation of power-up.At this point, only the digital circuit in touch chip is resetted, without Entire touch chip is needed to be reset, solves the problems, such as that the time consumed needed for resetting entire touch chip is relatively long, reaches Further increase the effect of the reset efficiency of touch chip.
In conclusion the touch chip crash handling method that the disclosure provides, detects whether through the processing unit predetermined The heartbeat signal that digital circuit transmission is received in period leads to when detecting not receive heartbeat signal in scheduled time slot It crosses processing unit and determines that touch chip fails, digital circuit is resetted through the processing unit, it can be only to touch chip In digital circuit resetted, without resetting entire touch chip, solve consumption needed for resetting entire touch chip Time relatively long problem, achieved the effect that the reset efficiency for further increasing touch chip.
Fig. 4 is a kind of block diagram of touch chip crash handling device shown according to an exemplary embodiment, the touch-control core Piece crash handling device is applied in the terminal comprising touch screen, which includes touch chip, as shown in figure 4, the touch-control Chip failure processing unit includes: parameter acquisition module 410, failure detection module 420 and chip reset module 430.
The parameter acquisition module 410 is configured as obtaining the running parameter of touch chip every predetermined period;
The failure detection module 420 is configured as the running parameter obtained according to parameter acquisition module 410 detection touch-control core Whether piece fails;
The chip reset module 430 is configured as detecting touch chip according to running parameter when failure detection module 420 When failure, touch chip is resetted.
To sum up, the touch chip crash handling device that the disclosure provides, by obtaining touch chip every predetermined period Running parameter;Detect whether touch chip fails according to running parameter;When detecting touch chip failure according to running parameter, Touch chip is resetted, only touch chip can be resetted, without restarting terminal, is solved by restarting Terminal resets touch chip, so that resetting the time consumed needed for touch chip more problem, has reached raising touch-control core The effect of the reset efficiency of piece.
Fig. 5 is a kind of block diagram of touch chip crash handling device shown according to an exemplary embodiment, the touch-control core Piece crash handling device is applied in the terminal comprising touch screen, which includes touch chip, as shown in figure 5, the touch-control Chip failure processing unit includes: parameter acquisition module 510, failure detection module 520 and chip reset module 530.
The parameter acquisition module 510 is configured as obtaining the running parameter of touch chip every predetermined period;
The failure detection module 520 is configured as the running parameter obtained according to parameter acquisition module 510 detection touch-control core Whether piece fails;
The chip reset module 530 is configured as detecting touch chip according to running parameter when failure detection module 520 When failure, touch chip is resetted.
Optionally, when touch chip includes digital circuit and analog circuit, and running parameter is digital circuit every predetermined When the capacitance that the period obtains from each capacitance that analog circuit is sampled, failure detection module 520, comprising: capacitance Detection sub-module 521 and first determines submodule 522;
The capacitance detection sub-module 521 is configured as detecting whether capacitance belongs to predetermined interval by digital circuit;
This first determines submodule 522, is configured as when to detect that capacitance is not belonging to pre- for capacitance detection sub-module 521 When determining section, determine that touch chip fails by digital circuit.
Optionally, chip reset module 530, comprising: first resets submodule 531;
The first reset submodule 531, is configured as resetting analog circuit by digital circuit.
Optionally, when terminal further includes the processing unit being connected with touch screen, and touch chip includes digital circuit, and work It is digital circuit when the heartbeat signal that predetermined period is sent to processing unit as parameter, failure detection module 520, comprising: Heartbeat signal detection sub-module 523 and second determines submodule 524;
The heartbeat signal detection sub-module 523 is configured as detecting whether to receive in scheduled time slot through the processing unit The heartbeat signal sent to digital circuit, is when the processing unit last time receiving heartbeat signal at the beginning of predetermined period It carves, and the duration of predetermined period is greater than the duration of predetermined period;
The second determining submodule 524, is configured as heartbeat signal detection sub-module 523 and detects not in predetermined period When inside receiving heartbeat signal, touch chip failure is determined through the processing unit.
Optionally, chip reset module 530, comprising: second resets submodule 532;
The second reset submodule 532, is configured as through the processing unit resetting digital circuit, or, passing through place Reason unit resets touch chip.
In conclusion the touch chip crash handling device that the disclosure provides, by obtaining touch-control core every predetermined period The running parameter of piece;Detect whether touch chip fails according to running parameter;When according to running parameter detect touch chip lose When effect, touch chip is resetted, only touch chip can be resetted, without restarting terminal, is solved logical It crosses and restarts terminal to reset touch chip, so that the problem that the time for resetting consumption needed for touch chip is more, has reached raising The effect of the reset efficiency of touch chip.
In addition, being resetted by digital circuit to analog circuit, or, answering through the processing unit digital circuit Position, can only in touch chip analog circuit or digital circuit reset, without resetting entire touch chip, It solves the problems, such as that the time consumed needed for resetting entire touch chip is relatively long, has reached and further increased touch chip Reset the effect of efficiency.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
An exemplary embodiment of the present disclosure provides a kind of touch chip crash handling devices, can be realized disclosure offer Touch chip crash handling method, which includes: the touch screen comprising touch chip;Processing Device, for the memory of storage processor executable instruction;
Wherein, processor is configured as:
The running parameter of touch chip is obtained every predetermined period;
Detect whether touch chip fails according to running parameter;
When detecting touch chip failure according to running parameter, touch chip is resetted.
Fig. 6 is a kind of block diagram of device 600 for touch chip crash handling shown according to an exemplary embodiment. For example, device 600 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, plate set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 6, device 600 may include following one or more components: processing component 602, memory 604, power supply Component 606, multimedia component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614, and Communication component 616.
The integrated operation of the usual control device 600 of processing component 602, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 602 may include that one or more processors 618 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more modules, just Interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, it is more to facilitate Interaction between media component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in device 600.These data are shown Example includes the instruction of any application or method for operating on device 600, contact data, and telephone book data disappears Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of device 600.Power supply module 606 may include power management system System, one or more power supplys and other with for device 600 generate, manage, and distribute the associated component of electric power.
Multimedia component 608 includes the screen of one output interface of offer between described device 600 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 608 includes a front camera and/or rear camera.When device 600 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when device 600 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 604 or via communication set Part 616 is sent.In some embodiments, audio component 610 further includes a loudspeaker, is used for output audio signal.
I/O interface 612 provides interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, and the state for providing various aspects for device 600 is commented Estimate.For example, sensor module 614 can detecte the state that opens/closes of device 600, and the relative positioning of component, for example, it is described Component is the display and keypad of device 600, and sensor module 614 can be with 600 1 components of detection device 600 or device Position change, the existence or non-existence that user contacts with device 600,600 orientation of device or acceleration/deceleration and device 600 Temperature change.Sensor module 614 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 614 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 616 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 600 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 618 of device 600 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art will readily occur to other realities of the disclosure after considering specification and practicing disclosure herein Apply scheme.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or suitable The variation of answering property follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or used Use technological means.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following right It is required that pointing out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (6)

1. a kind of touch chip crash handling method, to contain in the terminal of touch screen, the touch screen includes the touch-control Chip, which is characterized in that the described method includes:
The running parameter of the touch chip is obtained every predetermined period;
Detect whether the touch chip fails according to the running parameter;
When detecting touch chip failure according to the running parameter, the touch chip is resetted;
Wherein, when the touch chip includes digital circuit and analog circuit, and the running parameter is that the digital circuit is every It is described according to the work when capacitance that the predetermined period is obtained from each capacitance that the analog circuit is sampled Make whether touch chip described in parameter detecting fails, comprising:
Detect whether the capacitance belongs to predetermined interval by the digital circuit, the predetermined interval is at the touch screen Section composed by capacitance when normal condition;
When the capacitance is not belonging to the predetermined interval, the simulation in the touch chip is determined by the digital circuit Circuit malfunction;
It is correspondingly, described that the touch chip is resetted, comprising:
The analog circuit is resetted by the digital circuit.
2. a kind of touch chip crash handling method, to contain in the terminal of touch screen, the touch screen includes the touch-control Chip, which is characterized in that the described method includes:
The running parameter of the touch chip is obtained every predetermined period;
Detect whether the touch chip fails according to the running parameter;
When detecting touch chip failure according to the running parameter, the touch chip is resetted;
Wherein, when the terminal includes the processing unit being connected with the touch screen, and the touch chip includes digital circuit, And the running parameter is the digital circuit when heartbeat signal that the predetermined period is sent to the processing unit, institute It states and detects whether the touch chip fails according to the running parameter, comprising:
The heartbeat signal for receiving the digital circuit transmission in scheduled time slot is detected whether by the processing unit, It is at the beginning of the predetermined period at the time of processing unit last time receiving the heartbeat signal, and described predetermined The duration of period is greater than the duration of the predetermined period;
When detecting not receive the heartbeat signal in the predetermined period, the touching is determined by the processing unit Control the digital circuit failure in chip;
It is correspondingly, described that the touch chip is resetted, comprising:
The digital circuit is resetted by the processing unit.
3. a kind of touch chip crash handling device, to contain in the terminal of touch screen, the touch screen includes the touch-control Chip, which is characterized in that described device includes:
Parameter acquisition module is configured as obtaining the running parameter of the touch chip every predetermined period;
Failure detection module is configured as the running parameter obtained according to the parameter acquisition module and detects the touch-control core Whether piece fails;
Chip reset module is configured as detecting the touch chip according to the running parameter when the failure detection module When failure, the touch chip is resetted;
Wherein, when the touch chip includes digital circuit and analog circuit, and the running parameter is that the digital circuit is every When the capacitance that the predetermined period is obtained from each capacitance that the analog circuit is sampled, the failure detection mould Block, comprising:
Capacitance detection sub-module is configured as detecting whether the capacitance belongs to predetermined interval by the digital circuit, The predetermined interval is section composed by capacitance when the touch screen is in normal condition;
First determines submodule, is configured as when to detect that the capacitance is not belonging to described pre- for the capacitance detection sub-module When determining section, determine that the analog circuit in the touch chip fails by the digital circuit;
Correspondingly, the chip reset module, comprising:
First resets submodule, is configured as resetting the analog circuit by the digital circuit.
4. a kind of touch chip crash handling device, to contain in the terminal of touch screen, the touch screen includes the touch-control Chip, which is characterized in that described device includes:
Parameter acquisition module is configured as obtaining the running parameter of the touch chip every predetermined period;
Failure detection module is configured as the running parameter obtained according to the parameter acquisition module and detects the touch-control core Whether piece fails;
Chip reset module is configured as detecting the touch chip according to the running parameter when the failure detection module When failure, the touch chip is resetted;
Wherein, when the terminal includes the processing unit being connected with the touch screen, and the touch chip includes digital circuit, And the running parameter is the digital circuit when heartbeat signal that the predetermined period is sent to the processing unit, institute State failure detection module, comprising:
Heartbeat signal detection sub-module is configured as detecting whether to receive in scheduled time slot by the processing unit described The heartbeat signal that digital circuit is sent is the processing unit last time to receive institute at the beginning of the predetermined period At the time of stating heartbeat signal, and the duration of the predetermined period is greater than the duration of the predetermined period;
Second determines submodule, is configured as detecting not to be inscribed in the predetermined period when the heartbeat signal detection sub-module When receiving the heartbeat signal, determine that the digital circuit in the touch chip fails by the processing unit;
Correspondingly, the chip reset module, comprising:
Second resets submodule, is configured as resetting the digital circuit by the processing unit.
5. a kind of touch chip crash handling device, which is characterized in that described device includes:
Touch screen comprising touch chip;
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The running parameter of the touch chip is obtained every predetermined period;
Detect whether the touch chip fails according to the running parameter;
When detecting touch chip failure according to the running parameter, the touch chip is resetted;
Wherein, when the touch chip includes digital circuit and analog circuit, and the running parameter is that the digital circuit is every It is described according to the work when capacitance that the predetermined period is obtained from each capacitance that the analog circuit is sampled Make whether touch chip described in parameter detecting fails, comprising:
Detect whether the capacitance belongs to predetermined interval by the digital circuit, the predetermined interval is at the touch screen Section composed by capacitance when normal condition;
When the capacitance is not belonging to the predetermined interval, the simulation in the touch chip is determined by the digital circuit Circuit malfunction;
It is correspondingly, described that the touch chip is resetted, comprising:
The analog circuit is resetted by the digital circuit.
6. a kind of touch chip crash handling device, which is characterized in that described device includes:
Touch screen comprising touch chip;
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The running parameter of the touch chip is obtained every predetermined period;
Detect whether the touch chip fails according to the running parameter;
When detecting touch chip failure according to the running parameter, the touch chip is resetted;
Wherein, when terminal includes the processing unit being connected with the touch screen, and the touch chip includes digital circuit, and institute Stating running parameter is the digital circuit when heartbeat signal that the predetermined period is sent to the processing unit, described Detect whether the touch chip fails according to the running parameter, comprising:
The heartbeat signal for receiving the digital circuit transmission in scheduled time slot is detected whether by the processing unit, It is at the beginning of the predetermined period at the time of processing unit last time receiving the heartbeat signal, and described predetermined The duration of period is greater than the duration of the predetermined period;
When detecting not receive the heartbeat signal in the predetermined period, the touching is determined by the processing unit Control the digital circuit failure in chip;
It is correspondingly, described that the touch chip is resetted, comprising:
The digital circuit is resetted by the processing unit.
CN201510434060.9A 2015-07-22 2015-07-22 Touch chip crash handling method and device Active CN106371643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510434060.9A CN106371643B (en) 2015-07-22 2015-07-22 Touch chip crash handling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510434060.9A CN106371643B (en) 2015-07-22 2015-07-22 Touch chip crash handling method and device

Publications (2)

Publication Number Publication Date
CN106371643A CN106371643A (en) 2017-02-01
CN106371643B true CN106371643B (en) 2019-11-08

Family

ID=57880068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510434060.9A Active CN106371643B (en) 2015-07-22 2015-07-22 Touch chip crash handling method and device

Country Status (1)

Country Link
CN (1) CN106371643B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600747A (en) * 2017-02-24 2018-09-28 青岛海信电器股份有限公司 The method that FPGA is controlled when laser television video signal transmission failure
CN106910447B (en) * 2017-04-21 2020-12-04 厦门天马微电子有限公司 Touch display panel, touch display device and display exception handling method
CN107257497A (en) * 2017-06-16 2017-10-17 成都市知用科技有限公司 A kind of net cast method for being capable of cross-platform browser
CN107391293A (en) * 2017-07-18 2017-11-24 惠州Tcl移动通信有限公司 A kind of contact panel exception restorative procedure, mobile terminal and storage device
CN109002207A (en) * 2018-07-04 2018-12-14 深圳市文鼎创数据科技有限公司 A kind of touch chip calibration method, electronic equipment and storage medium
CN110875590A (en) * 2018-08-31 2020-03-10 北京小米移动软件有限公司 Electrostatic protection circuit, method and device of sensor chip
CN109257251B (en) * 2018-09-06 2020-11-06 京信通信系统(中国)有限公司 Multi-board-card multi-module heartbeat detection method, device and system and computer storage medium
CN109582506B (en) * 2018-12-25 2022-01-07 深圳开立生物医疗科技股份有限公司 Touch screen failure recovery method and device, host equipment and touch system
CN112783354A (en) * 2019-11-08 2021-05-11 杭州海康威视数字技术股份有限公司 Control method, device and equipment of touch device and storage medium
CN114594753A (en) * 2022-03-07 2022-06-07 青岛中瑞汽车服务有限公司 Method for judging reset of vehicle-mounted MEMS capacitive G-SENSOR after failure

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461180A (en) * 2013-09-12 2015-03-25 广州市和唐电子科技有限公司 Interference preventing device and method of capacitive touch screen
CN104536606A (en) * 2014-12-19 2015-04-22 广东欧珀移动通信有限公司 Method and device for detecting touch screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9639261B2 (en) * 2013-12-04 2017-05-02 Sony Corporation Apparatus and method for controlling a suspended state

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461180A (en) * 2013-09-12 2015-03-25 广州市和唐电子科技有限公司 Interference preventing device and method of capacitive touch screen
CN104536606A (en) * 2014-12-19 2015-04-22 广东欧珀移动通信有限公司 Method and device for detecting touch screen

Also Published As

Publication number Publication date
CN106371643A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN106371643B (en) Touch chip crash handling method and device
CN106155504B (en) Mould group awakening method and device
CN105607805B (en) The footmark processing method and processing device of application icon
EP3282347A1 (en) Terminal and touch response method and device
CN105511686B (en) Call processing method, device and terminal electronic device
CN105657173B (en) Volume adjusting method, device and mobile terminal
CN104536684B (en) interface display method and device
CN104794382A (en) Application starting method and device
CN104980565A (en) Terminal anti-addiction method and device
CN103927200B (en) Electronic equipment awakening method and relevant apparatus
CN105159559A (en) Mobile terminal control method and mobile terminal
CN107943409A (en) Touch-screen control method and device
CN105242870A (en) False touch method and device of terminal with touch screen
CN104331237A (en) Method and device for starting application programs
CN106325623B (en) The method, apparatus and terminal device of touch are monitored on the touchscreen
CN106357910A (en) Terminal working mode switching method and device
CN106469014B (en) Terminal, fingerprint Identification sensor awakening method and device
CN103995666A (en) Method and device for setting work mode
CN107943347A (en) Touch-screen control method and device
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
CN106873834A (en) Method and device and mobile terminal that key range is triggered
CN105159496A (en) Touch event response method and mobile terminal
CN108121631A (en) Screen abnormality based reminding method and device
CN105516469B (en) Alarm clock control method and device
CN110262692A (en) A kind of touch screen scanning method, device and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant